/[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.9 by dpavlin, Sat Mar 17 17:39:48 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>&nbsp;
6    {elseif ($item/data.comming > 0) }
7     <span class="orange"><i>Coming Up</i></span>&nbsp;
8    {/if}
9    {$item/data.title}</span></a></b><br>
10    <i>{$item/data.town_date}</i>
11    <p>{$item/data.body}</p>
12    {if $item/data.more ne "" }
13     <div align="right"><a href="new.php?id={$item/data.id}">
14     <span class="font">Read more</span>
15     </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}">
20                                    <td height="101">   <span class="font">PDF</span>
21                                      <table width="100%" border="0" cellspacing="0" cellpadding="0">   </a></div>
22                                        <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>  
23    
24                                  {if $item/data.more ne "" }  {if (%item.rownum% != %item.loop%) }
25                                  <tr>   <hr size="1" width="100%"><br>
26                                    <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}  
27    
28                                  {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.9

  ViewVC Help
Powered by ViewVC 1.1.26