/[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.5 by dpavlin, Wed Feb 28 09:48:31 2001 UTC revision 1.10 by dpavlin, Thu Apr 5 11:54:09 2001 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}">
16    <span class="font">
17  {if ($item/data.comming == 0) }  {if ($item/data.comming == 0) }
18  {img src="t/today.gif"}   <span class="orange"><i>Today</i></span>&nbsp;
19  {elseif ($item/data.comming > 0) }  {elseif ($item/data.comming > 0) }
20  {img src="t/coming_up.gif"}   <span class="orange"><i>Coming Up</i></span>&nbsp;
21  {/if}  {/if}
22  <b><a href="new.php?id={$item/data.id}">  {$item/data.title}</span></a></b><br>
 {$item/data.title}</a></b><br>  
23  <i>{$item/data.town_date}</i>  <i>{$item/data.town_date}</i>
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 22  Line 39 
39  {/if}  {/if}
40    
41  {/section}  {/section}
42    
43    {$warning}

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.26