/[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.3 - (hide annotations)
Thu Feb 22 09:51:25 2001 UTC (23 years, 2 months ago) by dpavlin
Branch: MAIN
Changes since 1.2: +15 -46 lines
news improvements

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

  ViewVC Help
Powered by ViewVC 1.1.26