/[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

Contents of /templates/new.tpl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations)
Fri Feb 23 15:23:36 2001 UTC (23 years, 2 months ago) by dpavlin
Branch: MAIN
Changes since 1.3: +5 -0 lines
newsi po 10, multi page, today/comming natpisi

1 {section name=item loop=$data}
2 {if ($item/data.comming == 0) }
3 <tt>Today:</tt>
4 {elseif ($item/data.comming > 0) }
5 <tt>Comming:</tt>
6 {/if}
7 <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
12 {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
16 {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
20 {if (%item.rownum% != %item.loop%) }
21 <hr size="1" width="100%"><br>
22 {/if}
23
24 {/section}

  ViewVC Help
Powered by ViewVC 1.1.26