1 |
ravilov |
1.1 |
{if ($titlepic_url && ($titlepic_type == 1 || $titlepic_type == 2 || $titlepic_type == 3))} |
2 |
|
|
<p align={if ($titlepic_type == 1)}left{/if}{if ($titlepic_type == 2)}center{/if}{if ($titlepic_type == 3)}right{/if}><img src="{$newspicdir}{$titlepic_url}" border=0 alt="{$titlepic_alt}"{if ($titlepic_width)} width={$titlepic_width}{/if}{if ($titlepic_height)} height={$titlepic_height}{/if}></p> |
3 |
|
|
{/if} |
4 |
|
|
{if ($titlepic_url && ($titlepic_type == 4 || $titlepic_type == 5))} |
5 |
|
|
{if ($titlepic_type == 4)}<img src="{$newspicdir}{$titlepic_url}" border=0 alt="{$titlepic_alt}"{if ($titlepic_width)} width={$titlepic_width}{/if}{if ($titlepic_height)} height={$titlepic_height}{/if} align=left>{/if} |
6 |
|
|
{if ($titlepic_type == 5)}<img src="{$newspicdir}{$titlepic_url}" border=0 alt="{$titlepic_alt}"{if ($titlepic_width)} width={$titlepic_width}{/if}{if ($titlepic_height)} height={$titlepic_height}{/if} align=right>{/if} |
7 |
|
|
{/if} |
8 |
|
|
{if ($title)}<span class="{if ($cat == 't')}topictitle{elseif ($cat == 'w')}newsworldtitle{elseif ($cat == 'p')}newsplivatitle{else}maintitle{/if}">{$title}</span><br>{/if} |
9 |
|
|
{if ($lead)}<span class="{if ($cat == 't')}topicsubtitle{elseif ($cat == 'w')}newsworldsubtitle{elseif ($cat == 'p')}newsplivasubtitle{else}mainsubtitle{/if}">{$lead}</span><br> {/if} |
10 |
|
|
<br> |
11 |
|
|
{if ($titlepic_url && ($titlepic_type == 6 || $titlepic_type == 7 || $titlepic_type == 8))} |
12 |
|
|
<p align={if ($titlepic_type == 6)}left{/if}{if ($titlepic_type == 7)}center{/if}{if ($titlepic_type == 8)}right{/if}><img src="{$newspicdir}{$titlepic_url}" border=0 alt="{$titlepic_alt}"{if ($titlepic_width)} width={$titlepic_width}{/if}{if ($titlepic_height)} height={$titlepic_height}{/if}></p> |
13 |
|
|
{/if} |
14 |
|
|
<br> |
15 |
|
|
{section name=i loop=$text} |
16 |
|
|
{if ($i/text.pic && ($i/text.pos == 1 || $i/text.pos == 2 || $i/text.pos == 3))} |
17 |
|
|
<p align={if ($i/text.pos == 1)}left{/if}{if ($i/text.pos == 2)}center{/if}{if ($i/text.pos == 3)}right{/if}><img src="{$newspicdir}{$i/text.pic}" border=0 alt="{$i/text.alt}"{if ($i/text.width)} width={$i/text.width}{/if}{if ($i/text.height)} height={$i/text.height}{/if}></p> |
18 |
|
|
{/if} |
19 |
|
|
<p class="ptitle">{$i/text.title}</p> |
20 |
|
|
<p class="ptext"> |
21 |
|
|
{if ($i/text.pic && ($i/text.pos == 4 || $i/text.pos == 5))} |
22 |
|
|
{if ($i/text.pos == 4)}<img src="{$newspicdir}{$i/text.pic}" border=0 alt="{$i/text.alt}"{if ($i/text.width)} width={$i/text.width}{/if}{if ($i/text.height)} height={$i/text.height}{/if} align=left>{/if} |
23 |
|
|
{if ($i/text.pos == 5)}<img src="{$newspicdir}{$i/text.pic}" border=0 alt="{$i/text.alt}"{if ($i/text.width)} width={$i/text.width}{/if}{if ($i/text.height)} height={$i/text.height}{/if} align=right>{/if} |
24 |
|
|
{/if} |
25 |
|
|
{if ($i/text.text)}{$i/text.text}{else} {/if} |
26 |
|
|
</p> |
27 |
|
|
{if ($i/text.pic && ($i/text.pos == 6 || $i/text.pos == 7 || $i/text.pos == 8))} |
28 |
|
|
<p align={if ($i/text.pos == 6)}left{/if}{if ($i/text.pos == 7)}center{/if}{if ($i/text.pos == 8)}right{/if}><img src="{$newspicdir}{$i/text.pic}" border=0 alt="{$i/text.alt}"{if ($i/text.width)} width={$i/text.width}{/if}{if ($i/text.height)} height={$i/text.height}{/if}></p> |
29 |
|
|
{/if} |
30 |
|
|
{/section} |
31 |
|
|
<p align=right><small>[ {if ($title_url)}<a href="{$title_url}" class="more">more info</a> | {/if}<a href="?section={$section}" class="more">back</a> ]</small></p> |