/[health_html]/templates/lifestyle.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

Contents of /templates/lifestyle.tpl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations)
Tue Sep 25 15:38:05 2001 UTC (22 years, 7 months ago) by ravilov
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +12 -9 lines
Major changes. Too numeruous to mention all here.

1 {if ($top && ($prev || $next))}<p align=right><small>[ {if ($prev)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;offset={$prev}" class="more">&lt;&lt;Prev 10</a>{else}&lt;&lt;Prev 10{/if} | {if ($next)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;offset={$next}" class="more">Next 10&gt;&gt;</a>{else}Next 10&gt;&gt;{/if} ]</small></p><br><br>{/if}
2 <table width="100%" cellspacing=0 cellpadding=5 border=0>
3
4 {$EDIT}
5 {section name=i loop=$top}
6 <tr><td colspan=3 valign=top>
7 {if ($i/top.EDIT)}
8 {$i/top.EDIT}
9 {else}
10 {if ($i/top.titlepic_url && ($i/top.titlepic_type == 1 || $i/top.titlepic_type == 2 || $i/top.titlepic_type == 3))}
11 <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>
12 {/if}
13 {if ($i/top.title)}<span class="maintitle">{$i/top.title}</span><br>{/if}
14 <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top>
15 {if ($i/top.titlepic_url && ($i/top.titlepic_type == 4 || $i/top.titlepic_type == 5))}
16 {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}
17 {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}
18 {/if}
19 {if ($i/top.lead)}<span class="mainsubtitle">{$i/top.lead}</span><br>{/if}
20 </td></tr></table>
21 {if ($i/top.titlepic_url && ($i/top.titlepic_type == 6 || $i/top.titlepic_type == 7 || $i/top.titlepic_type == 8))}
22 <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>
23 {/if}
24 <br>
25 {section name=j loop=0}
26 {if ($i/j.text/top.pic && ($i/j.text/top.pos == 1 || $i/j.text/top.pos == 2 || $i/j.text/top.pos == 3))}
27 <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>
28 {/if}
29 <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>
30 <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=top>
31 <p class="ptext">
32 {if ($i/j.text/top.pic && ($i/j.text/top.pos == 4 || $i/j.text/top.pos == 5))}
33 {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}
34 {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}
35 {/if}
36 </td></tr></table>
37 {$i/j.text/top.text}
38 </p>
39 </td></tr></table>
40 {if ($i/j.text/top.pic && ($i/j.text/top.pos == 6 || $i/j.text/top.pos == 7 || $i/j.text/top.pos == 8))}
41 <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>
42 {/if}
43 {/section}
44 {$i/top.links}
45 {/if}
46 <br></td></tr>
47 {sectionelse}
48 {if (! $EDIT)}<br><br><i>Nema èlanaka.</i><br>
49 {if ($isedit)}<p align=right><small>[ <a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;cat={$cat}&amp;top_edit=1&amp;ed_id=0" class="more">novi</a> ]</small></p>{/if}{/if}
50 {/section}
51
52 </table>
53 {if ($top && ($prev || $next))}<p align=right><small>[ {if ($prev)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;offset={$prev}" class="more">&lt;&lt;Prev 10</a>{else}&lt;&lt;Prev 10{/if} | {if ($next)}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;offset={$next}" class="more">Next 10&gt;&gt;</a>{else}Next 10&gt;&gt;{/if} ]</small></p><br><br>{/if}

  ViewVC Help
Powered by ViewVC 1.1.26