/[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.1.1 by dpavlin, Tue Feb 20 12:48:03 2001 UTC revision 1.11 by dpavlin, Wed Mar 27 16:00:18 2002 UTC
# Line 1  Line 1 
1                          <table width="100%" cellspacing="0" border="0" cellpadding="0">  {if $last_days}
2                            <tr valign="top">   <div align="center">
3                              <td height="348">    <form action=new.php name=news_form>
4                                <table width="100%" border="0">    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                                  <tr>  <b><a href="new.php?id={$item/data.id}">
16                                    <td height="101">  <span class="font">
17                                      <table width="100%" border="0" cellspacing="0" cellpadding="0">  {if ($item/data.comming == 0) }
18                                        <tr>   <span class="orange"><i>Today</i></span>&nbsp;
19                                          <td height="2"><font face=Arial size=2><b><a href="new.php?id={$item/data.id}"><font color="#000080">  {elseif ($item/data.comming > 0) }
20                                          {$item/data.title}   <span class="orange"><i>Coming Up</i></span>&nbsp;
21                                          </font></a></b></font><font face=Arial size=2><font color="#000080"><br>  {/if}
22                                            <i>{$item/data.date}</i></font></font><font face="Arial" color="#000080" size="2"></font></td>  {$item/data.title}</span></a></b><br>
23                                        </tr>  <noindex><i>{$item/data.town_date}</i></noindex>
24                                      </table>  <p>{$item/data.body}</p>
25                                      <p><font face="Arial" color="#000080" size="2">  {if $item/data.more ne "" }
26                                          {$item/data.body}   <div align="right"><a href="new.php?id={$item/data.id}">
27                                        </font></p>   <span class="font">Read more</span>
28                                    </td>   </a></div>
29                                  </tr>  {/if}
30    
31                                  {if $item/data.more ne "" }  {if $item/data.pdf ne "" }
32                                  <tr>   <div align="right"><a href="pdf/{$item/data.pdf}">
33                                    <td height="2">   <span class="font">PDF</span>
34                                      <div align="right"><a href="new.php?more={$item/data.more}">{img src="b/Read_More.gif" border="0" alt="Read More"}</a></div>   </a></div>
35                                    </td>  {/if}
                                 </tr>  
                                 {/if}  
36    
37                                  {if $item/data.pdf ne "" }  {if (%item.rownum% != %item.loop%) }
38                                  <tr>   <hr size="1" width="100%"><br>
39                                    <td height="2">  {/if}
                                     <div align="right"><a href="news/{$item/data.pdf}">{img src="b/PDF.gif" border="0" alt="Read PDF"}</a></div>  
                                   </td>  
                                 </tr>  
                                 {/if}  
40    
41                                  <tr>  {/section}
                                   <td>  
                                     <hr size="1" width="100%">  
                                   </td>  
                                 </tr>  
                                 {/section}  
42    
43                                </table>  {$warning}
                               <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.1.1  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.26