/[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.6 - (show annotations)
Tue Nov 20 08:48:14 2001 UTC (17 years, 10 months ago) by dpavlin
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +5 -5 lines
new dbi, prijevodi, corporate news

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

  ViewVC Help
Powered by ViewVC 1.1.26