/[pliva-si]/templates/novosti.tpl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /templates/novosti.tpl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Fri Jun 29 14:12:07 2001 UTC (22 years, 9 months ago) by dpavlin
Branch: MAIN
Changes since 1.1: +2 -2 lines
m=section support in URL

1 {if $last_days}
2 <div align="center">
3 <form action=novosti.php name=news_form>
4 List news for last:
5 <select name=days onChange=news_form.submit() >
6 {html_options values=$last_days selected=$days output=$last_desc}
7 </select>
8 <input type=submit value="Go">
9 </form>
10 <hr size="1" width="100%"><br>
11 </div>
12 {/if}
13
14 {section name=item loop=$data}
15 <b><a href="novosti.php?{$m_session}id={$item/data.id}">
16 <span class="font">
17 {if ($item/data.comming == 0) }
18 <span class="orange"><i>Today</i></span>&nbsp;
19 {elseif ($item/data.comming > 0) }
20 <span class="orange"><i>Coming Up</i></span>&nbsp;
21 {/if}
22 {$item/data.title}</span></a></b><br>
23 <i>{$item/data.town_date}</i>
24 <p>{$item/data.body}</p>
25 {if $item/data.more ne "" }
26 <div align="right"><a href="novosti.php?{$m_session}id={$item/data.id}">
27 <span class="font">Read more</span>
28 </a></div>
29 {/if}
30
31 {if $item/data.pdf ne "" }
32 <div align="right"><a href="pdf/{$item/data.pdf}">
33 <span class="font">PDF</span>
34 </a></div>
35 {/if}
36
37 {if (%item.rownum% != %item.loop%) }
38 <hr size="1" width="100%"><br>
39 {/if}
40
41 {/section}
42
43 {$warning}

  ViewVC Help
Powered by ViewVC 1.1.26