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

Diff of /templates/new.tpl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by dpavlin, Thu Feb 22 09:51:25 2001 UTC revision 1.11 by dpavlin, Wed Mar 27 16:00:18 2002 UTC
# Line 1  Line 1 
1    {if $last_days}
2     <div align="center">
3      <form action=new.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}  {section name=item loop=$data}
15  <b><a href="new.php?id={$item/data.id}">  <b><a href="new.php?id={$item/data.id}">
16  {$item/data.title}</a></b><br>  <span class="font">
17  <i>{$item/data.town_date}</i>  {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    <noindex><i>{$item/data.town_date}</i></noindex>
24  <p>{$item/data.body}</p>  <p>{$item/data.body}</p>
   
25  {if $item/data.more ne "" }  {if $item/data.more ne "" }
26   <div align="right"><a href="new.php?more={$item/data.more}">{img src="b/Read_More.gif" border="0" alt="Read More"}</a></div>   <div align="right"><a href="new.php?id={$item/data.id}">
27     <span class="font">Read more</span>
28     </a></div>
29  {/if}  {/if}
30    
31  {if $item/data.pdf ne "" }  {if $item/data.pdf ne "" }
32   <div align="right"><a href="pdf/{$item/data.pdf}">{img src="b/PDF.gif" border="0" alt="Read PDF"}</a></div>   <div align="right"><a href="pdf/{$item/data.pdf}">
33     <span class="font">PDF</span>
34     </a></div>
35  {/if}  {/if}
36    
37  {if (%item.rownum% != %item.loop%) }  {if (%item.rownum% != %item.loop%) }
# Line 17  Line 39 
39  {/if}  {/if}
40    
41  {/section}  {/section}
42    
43    {$warning}

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.26