/[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.2 by dpavlin, Wed Feb 21 15:52:44 2001 UTC revision 1.6 by dpavlin, Wed Feb 28 18:01:59 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">  <div class="font">
4                                <table width="100%" border="0">  {if ($item/data.comming == 0) }
5     {img src="t/today.gif" border=0}
6     &nbsp;
7    {elseif ($item/data.comming > 0) }
8     {img src="t/coming_up.gif" border=0}
9     &nbsp;
10    {/if}
11    {$item/data.title}</div></a></b><br>
12    <i>{$item/data.town_date}</i>
13    <p>{$item/data.body}</p>
14    {if $item/data.more ne "" }
15     <div align="right"><a href="new.php?more={$item/data.more}">{img src="b/Read_More.gif" border="0" alt="Read More"}</a></div>
16    {/if}
17    
18                                  {section name=item loop=$data}  {if $item/data.pdf ne "" }
19                                  <tr>   <div align="right"><a href="pdf/{$item/data.pdf}">{img src="b/PDF.gif" border="0" alt="Read PDF"}</a></div>
20                                    <td height="101">  {/if}
                                     <table width="100%" border="0" cellspacing="0" cellpadding="0">  
                                       <tr>  
                                         <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.town_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>  
21    
22                                  {if $item/data.more ne "" }  {if (%item.rownum% != %item.loop%) }
23                                  <tr>   <hr size="1" width="100%"><br>
24                                    <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}  
25    
26                                  {if $item/data.pdf ne "" }  {/section}
                                 <tr>  
                                   <td height="2">  
                                     <div align="right"><a href="pdf/{$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.2  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.26