1 |
{if ($top && ($prev || $next))}<p align=right><small>[ {if ($prev)}<a href="?section={$section}&section_menu={$section_menu}&offset={$prev}" class="more"><<Prev 10</a>{else}<<Prev 10{/if} | {if ($next)}<a href="?section={$section}&section_menu={$section_menu}&offset={$next}" class="more">Next 10>></a>{else}Next 10>>{/if} ]</small></p><br>{else}<br><br>{/if} |
2 |
<table width="100%" cellspacing=0 cellpadding=5 border=0> |
3 |
|
4 |
<!-- bigin mejn kontent --> |
5 |
{$EDIT} |
6 |
{section name=i loop=$top} |
7 |
<tr><td colspan=3 valign=top> |
8 |
{if ($i/top.EDIT)} |
9 |
{$i/top.EDIT} |
10 |
{else} |
11 |
{if ($i/top.titlepic_url && ($i/top.titlepic_type == 1 || $i/top.titlepic_type == 2 || $i/top.titlepic_type == 3))} |
12 |
<p align={if ($i/top.titlepic_type == 1)}left{/if}{if ($i/top.titlepic_type == 2)}center{/if}{if ($i/top.titlepic_type == 3)}right{/if}><img src="{$newspicdir}{$i/top.titlepic_url}" border=0 alt="{$i/top.titlepic_alt}"{if ($i/top.titlepic_width)} width={$i/top.titlepic_width}{/if}{if ($i/top.titlepic_height)} height={$i/top.titlepic_height}{/if}></p> |
13 |
{/if} |
14 |
{if ($i/top.titlepic_url && ($i/top.titlepic_type == 4 || $i/top.titlepic_type == 5))} |
15 |
{if ($i/top.titlepic_type == 4)}<img src="{$newspicdir}{$i/top.titlepic_url}" border=0 alt="{$i/top.titlepic_alt}"{if ($i/top.titlepic_width)} width={$i/top.titlepic_width}{/if}{if ($i/top.titlepic_height)} height={$i/top.titlepic_height}{/if} align=left>{/if} |
16 |
{if ($i/top.titlepic_type == 5)}<img src="{$newspicdir}{$i/top.titlepic_url}" border=0 alt="{$i/top.titlepic_alt}"{if ($i/top.titlepic_width)} width={$i/top.titlepic_width}{/if}{if ($i/top.titlepic_height)} height={$i/top.titlepic_height}{/if} align=right>{/if} |
17 |
{/if} |
18 |
{if ($i/top.title)}<span class="maintitle">{$i/top.title}</span><br>{/if} |
19 |
{if ($i/top.lead)}<span class="mainsubtitle">{$i/top.lead}</span><br> {/if} |
20 |
{if ($i/top.titlepic_url && ($i/top.titlepic_type == 6 || $i/top.titlepic_type == 7 || $i/top.titlepic_type == 8))} |
21 |
<p align={if ($i/top.titlepic_type == 6)}left{/if}{if ($i/top.titlepic_type == 7)}center{/if}{if ($i/top.titlepic_type == 8)}right{/if}><img src="{$newspicdir}{$i/top.titlepic_url}" border=0 alt="{$i/top.titlepic_alt}"{if ($i/top.titlepic_width)} width={$i/top.titlepic_width}{/if}{if ($i/top.titlepic_height)} height={$i/top.titlepic_height}{/if}></p> |
22 |
{/if} |
23 |
<br> |
24 |
{section name=j loop=1} |
25 |
{if ($i/j.text/top.pic && ($i/j.text/top.pos == 1 || $i/j.text/top.pos == 2 || $i/j.text/top.pos == 3))} |
26 |
<p align={if ($i/j.text/top.pos == 1)}left{/if}{if ($i/j.text/top.pos == 2)}center{/if}{if ($i/j.text/top.pos == 3)}right{/if}><img src="{$newspicdir}{$i/j.text/top.pic}" border=0 alt="{$i/j.text/top.alt}"{if ($i/j.text/top.w)} width={$i/j.text/top.w}{/if}{if ($i/j.text/top.h)} height={$i/j.text/top.h}{/if}></p> |
27 |
{/if} |
28 |
<p class="ptitle">{if ($i/j.text/top.class)}<span class="{$i/j.text/top.class}">{/if}{$i/j.text/top.title}{if ($i/j.text/top.class)}</span>{/if}</p> |
29 |
<p class="ptext"> |
30 |
{if ($i/j.text/top.pic && ($i/j.text/top.pos == 4 || $i/j.text/top.pos == 5))} |
31 |
{if ($i/j.text/top.pos == 4)}<img src="{$newspicdir}{$i/j.text/top.pic}" border=0 alt="{$i/j.text/top.alt}"{if ($i/j.text/top.w)} width={$i/j.text/top.w}{/if}{if ($i/j.text/top.h)} height={$i/j.text/top.h}{/if} align=left>{/if} |
32 |
{if ($i/j.text/top.pos == 5)}<img src="{$newspicdir}{$i/j.text/top.pic}" border=0 alt="{$i/j.text/top.alt}"{if ($i/j.text/top.w)} width={$i/j.text/top.w}{/if}{if ($i/j.text/top.h)} height={$i/j.text/top.h}{/if} align=right>{/if} |
33 |
{/if} |
34 |
{$i/j.text/top.text} |
35 |
</p> |
36 |
{if ($i/j.text/top.pic && ($i/j.text/top.pos == 6 || $i/j.text/top.pos == 7 || $i/j.text/top.pos == 8))} |
37 |
<p align={if ($i/j.text/top.pos == 6)}left{/if}{if ($i/j.text/top.pos == 7)}center{/if}{if ($i/j.text/top.pos == 8)}right{/if}><img src="{$newspicdir}{$i/j.text/top.pic}" border=0 alt="{$i/j.text/top.alt}"{if ($i/j.text/top.w)} width={$i/j.text/top.w}{/if}{if ($i/j.text/top.h)} height={$i/j.text/top.h}{/if}></p> |
38 |
{/if} |
39 |
{/section} |
40 |
{$i/top.links} |
41 |
{/if} |
42 |
<br></td></tr> |
43 |
{sectionelse} |
44 |
<br><br><i>No articles.</i><br> |
45 |
{if ($isedit)}<p align=right><small>[ <a href="?section={$section}&section_menu={$section_menu}&cat={$cat}&top_edit=1&ed_id=0" class="more">new art.</a> ]</small></p>{/if} |
46 |
{/section} |
47 |
<!-- end mejn kontent --> |
48 |
|
49 |
</table> |
50 |
{if ($top && ($prev || $next))}<br><p align=right><small>[ {if ($prev)}<a href="?section={$section}&section_menu={$section_menu}&offset={$prev}" class="more"><<Prev 10</a>{else}<<Prev 10{/if} | {if ($next)}<a href="?section={$section}&section_menu={$section_menu}&offset={$next}" class="more">Next 10>></a>{else}Next 10>>{/if} ]</small></p>{else}<br><br>{/if} |