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> |
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> |
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> |
<i>{$item/data.town_date}</i> |
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> |
|