/[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.3 by dpavlin, Thu Feb 22 09:51:25 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">  {$item/data.title}</a></b><br>
4                                <table width="100%" border="0">  <i>{$item/data.town_date}</i>
5    <p>{$item/data.body}</p>
6    
7                                  {section name=item loop=$data}  {if $item/data.more ne "" }
8                                  <tr>   <div align="right"><a href="new.php?more={$item/data.more}">{img src="b/Read_More.gif" border="0" alt="Read More"}</a></div>
9                                    <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>  
10    
11                                  {if $item/data.more ne "" }  {if $item/data.pdf ne "" }
12                                  <tr>   <div align="right"><a href="pdf/{$item/data.pdf}">{img src="b/PDF.gif" border="0" alt="Read PDF"}</a></div>
13                                    <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}  
14    
15                                  {if $item/data.pdf ne "" }  {if (%item.rownum% != %item.loop%) }
16                                  <tr>   <hr size="1" width="100%"><br>
17                                    <td height="2">  {/if}
                                     <div align="right"><a href="pdf/{$item/data.pdf}">{img src="b/PDF.gif" border="0" alt="Read PDF"}</a></div>  
                                   </td>  
                                 </tr>  
                                 {/if}  
18    
19                                  <tr>  {/section}
                                   <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.3

  ViewVC Help
Powered by ViewVC 1.1.26