/[corp_html]/templates/new.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

Annotation of /templates/new.tpl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations)
Wed Feb 28 09:48:31 2001 UTC (23 years, 2 months ago) by dpavlin
Branch: MAIN
Changes since 1.4: +2 -2 lines
kozmetičke promjene

1 dpavlin 1.3 {section name=item loop=$data}
2 dpavlin 1.4 {if ($item/data.comming == 0) }
3 dpavlin 1.5 {img src="t/today.gif"}
4 dpavlin 1.4 {elseif ($item/data.comming > 0) }
5 dpavlin 1.5 {img src="t/coming_up.gif"}
6 dpavlin 1.4 {/if}
7 dpavlin 1.3 <b><a href="new.php?id={$item/data.id}">
8     {$item/data.title}</a></b><br>
9     <i>{$item/data.town_date}</i>
10     <p>{$item/data.body}</p>
11 dpavlin 1.1
12 dpavlin 1.3 {if $item/data.more ne "" }
13     <div align="right"><a href="new.php?more={$item/data.more}">{img src="b/Read_More.gif" border="0" alt="Read More"}</a></div>
14     {/if}
15 dpavlin 1.1
16 dpavlin 1.3 {if $item/data.pdf ne "" }
17     <div align="right"><a href="pdf/{$item/data.pdf}">{img src="b/PDF.gif" border="0" alt="Read PDF"}</a></div>
18     {/if}
19 dpavlin 1.1
20 dpavlin 1.3 {if (%item.rownum% != %item.loop%) }
21     <hr size="1" width="100%"><br>
22     {/if}
23 dpavlin 1.1
24 dpavlin 1.3 {/section}

  ViewVC Help
Powered by ViewVC 1.1.26