/[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.1 by dpavlin, Tue Feb 20 12:48:03 2001 UTC revision 1.7 by dpavlin, Fri Mar 2 09:29:44 2001 UTC
# Line 1  Line 1 
1                          <table width="100%" cellspacing="0" border="0" cellpadding="0">  {section name=item loop=$data}
2                            <tr valign="top">  <b><a href="new.php?id={$item/data.id}">
3                              <td height="348">  <span class="font">
4                                <table width="100%" border="0">  {if ($item/data.comming == 0) }
5     <span class="orange"><i>Today</i></span>
6     {img src="t/today.gif" border=0}
7     &nbsp;
8    {elseif ($item/data.comming > 0) }
9     <span class="orange"><i>Coming Up</i></span>
10     &nbsp;
11    {/if}
12    {$item/data.title}</span></a></b><br>
13    <i>{$item/data.town_date}</i>
14    <p>{$item/data.body}</p>
15    {if $item/data.more ne "" }
16     <div align="right"><a href="new.php?more={$item/data.more}">
17     <span class="font">Read more</span>
18     </a></div>
19    {/if}
20    
21                                  {section name=item loop=$data}  {if $item/data.pdf ne "" }
22                                  <tr>   <div align="right"><a href="pdf/{$item/data.pdf}">
23                                    <td height="101">   <span class="font">PDF</span>
24                                      <table width="100%" border="0" cellspacing="0" cellpadding="0">   </a></div>
25                                        <tr>  {/if}
                                         <td height="2"><font face=Arial size=2><b><a href="new.php?id={$item/data.id}"><font color="#000080">  
                                         {$item/data.title}  
                                         </font></a></b></font><font face=Arial size=2><font color="#000080"><br>  
                                           <i>{$item/data.date}</i></font></font><font face="Arial" color="#000080" size="2"></font></td>  
                                       </tr>  
                                     </table>  
                                     <p><font face="Arial" color="#000080" size="2">  
                                         {$item/data.body}  
                                       </font></p>  
                                   </td>  
                                 </tr>  
26    
27                                  {if $item/data.more ne "" }  {if (%item.rownum% != %item.loop%) }
28                                  <tr>   <hr size="1" width="100%"><br>
29                                    <td height="2">  {/if}
                                     <div align="right"><a href="new.php?more={$item/data.more}">{img src="b/Read_More.gif" border="0" alt="Read More"}</a></div>  
                                   </td>  
                                 </tr>  
                                 {/if}  
30    
31                                  {if $item/data.pdf ne "" }  {/section}
                                 <tr>  
                                   <td height="2">  
                                     <div align="right"><a href="news/{$item/data.pdf}">{img src="b/PDF.gif" border="0" alt="Read PDF"}</a></div>  
                                   </td>  
                                 </tr>  
                                 {/if}  
   
                                 <tr>  
                                   <td>  
                                     <hr size="1" width="100%">  
                                   </td>  
                                 </tr>  
                                 {/section}  
   
                               </table>  
                               <p align=left><font face="Verdana, Arial, Helvetica, sans-serif" color="#000080"><small><small></small></small></font></p>  
                             </td>  
                           </tr>  
                         </table>  

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.26