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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by ravilov, Fri Aug 3 09:12:42 2001 UTC revision 1.7 by ravilov, Thu Aug 30 16:35:36 2001 UTC
# Line 1  Line 1 
1    {if ($top && ($prev || $next))}<p align=right><small>[ {if ($prev)}<a href="?section={$section}&amp;section_menu={$section_menu}&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;offset={$next}" class="more">Next 10&gt;&gt;</a>{else}Next 10&gt;&gt;{/if} ]</small></p><br>{else}<br><br>{/if}
2  <table width="100%" cellspacing=0 cellpadding=5 border=0>  <table width="100%" cellspacing=0 cellpadding=5 border=0>
3    
4  <!-- bigin mejn kontent -->  <!-- bigin mejn kontent -->
 <tr><td colspan=3 valign=top>  
 {if ($EDIT)}  
5  {$EDIT}  {$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}  {else}
11  {if ($top_id)}  {if ($i/top.titlepic_url && ($i/top.titlepic_type == 1 || $i/top.titlepic_type == 2 || $i/top.titlepic_type == 3))}
12  {if ($top_titlepic_url && ($top_titlepic_type == 1 || $top_titlepic_type == 2 || $top_titlepic_type == 3))}    <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    <p align={if ($top_titlepic_type == 1)}left{/if}{if ($top_titlepic_type == 2)}center{/if}{if ($top_titlepic_type == 3)}right{/if}><img src="{$newspicdir}{$top_titlepic_url}" border=0 alt="{$top_titlepic_alt}"{if ($top_titlepic_width)} width={$top_titlepic_width}{/if}{if ($top_titlepic_height)} height={$top_titlepic_height}{/if}></p>  {/if}
14  {/if}  {if ($i/top.titlepic_url && ($i/top.titlepic_type == 4 || $i/top.titlepic_type == 5))}
15  {if ($top_titlepic_url && ($top_titlepic_type == 4 || $top_titlepic_type == 5))}    {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 ($top_titlepic_type == 4)}<img src="{$newspicdir}{$top_titlepic_url}" border=0 alt="{$top_titlepic_alt}"{if ($top_titlepic_width)} width={$top_titlepic_width}{/if}{if ($top_titlepic_height)} height={$top_titlepic_height}{/if} align=left>{/if}    {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 ($top_titlepic_type == 5)}<img src="{$newspicdir}{$top_titlepic_url}" border=0 alt="{$top_titlepic_alt}"{if ($top_titlepic_width)} width={$top_titlepic_width}{/if}{if ($top_titlepic_height)} height={$top_titlepic_height}{/if} align=right>{/if}  {/if}
18  {/if}  {if ($i/top.title)}<span class="maintitle">{$i/top.title}</span><br>{/if}
19  {if ($top_title)}<span class="topictitle">{$top_title}</span><br>{/if}  {if ($i/top.lead)}<span class="mainsubtitle">{$i/top.lead}</span><br>&nbsp;{/if}
20  {if ($top_lead)}<span class="topicsubtitle">{$top_lead}</span><br>&nbsp;{/if}  {if ($i/top.titlepic_url && ($i/top.titlepic_type == 6 || $i/top.titlepic_type == 7 || $i/top.titlepic_type == 8))}
21  {if ($top_titlepic_url && ($top_titlepic_type == 6 || $top_titlepic_type == 7 || $top_titlepic_type == 8))}    <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>
   <p align={if ($top_titlepic_type == 6)}left{/if}{if ($top_titlepic_type == 7)}center{/if}{if ($top_titlepic_type == 8)}right{/if}><img src="{$newspicdir}{$top_titlepic_url}" border=0 alt="{$top_titlepic_alt}"{if ($top_titlepic_width)} width={$top_titlepic_width}{/if}{if ($top_titlepic_height)} height={$top_titlepic_height}{/if}></p>  
22  {/if}  {/if}
23  <br>  <br>
24  {section name=i loop=1}  {section name=j loop=1}
25  {if ($i/top_text.pic && ($i/top_text.pos == 1 || $i/top_text.pos == 2 || $i/top_text.pos == 3))}  {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/top_text.pos == 1)}left{/if}{if ($i/top_text.pos == 2)}center{/if}{if ($i/top_text.pos == 3)}right{/if}><img src="{$newspicdir}{$i/top_text.pic}" border=0 alt="{$i/top_text.alt}"{if ($i/top_text.w)} width={$i/top_text.w}{/if}{if ($i/top_text.h)} height={$i/top_text.h}{/if}></p>    <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}  {/if}
28  <p class="ptitle">{if ($i/top_text.class)}<span class="{$i/top_text.class}">{/if}{$i/top_text.title}{if ($i/top_text.class)}</span>{/if}</p>  <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">  <p class="ptext">
30  {if ($i/top_text.pic && ($i/top_text.pos == 4 || $i/top_text.pos == 5))}  {if ($i/j.text/top.pic && ($i/j.text/top.pos == 4 || $i/j.text/top.pos == 5))}
31    {if ($i/top_text.pos == 4)}<img src="{$newspicdir}{$i/top_text.pic}" border=0 alt="{$i/top_text.alt}"{if ($i/top_text.w)} width={$i/top_text.w}{/if}{if ($i/top_text.h)} height={$i/top_text.h}{/if} align=left>{/if}    {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/top_text.pos == 5)}<img src="{$newspicdir}{$i/top_text.pic}" border=0 alt="{$i/top_text.alt}"{if ($i/top_text.w)} width={$i/top_text.w}{/if}{if ($i/top_text.h)} height={$i/top_text.h}{/if} align=right>{/if}    {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}  {/if}
34  {$i/top_text.text}  {$i/j.text/top.text}
35  </p>  </p>
36  {if ($i/top_text.pic && ($i/top_text.pos == 6 || $i/top_text.pos == 7 || $i/top_text.pos == 8))}  {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/top_text.pos == 6)}left{/if}{if ($i/top_text.pos == 7)}center{/if}{if ($i/top_text.pos == 8)}right{/if}><img src="{$newspicdir}{$i/top_text.pic}" border=0 alt="{$i/top_text.alt}"{if ($i/top_text.w)} width={$i/top_text.w}{/if}{if ($i/top_text.h)} height={$i/top_text.h}{/if}></p>    <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}  {/if}
39  {/section}  {/section}
40  {else}  {$i/top.links}
 <br><br><i>No articles.</i>  
 {/if}  
 {$top_links}  
41  {/if}  {/if}
42  <br></td></tr>  <br></td></tr>
43    {sectionelse}
44    <br><br><i>No articles.</i><br>
45    {if ($isedit)}<p align=right><small>[ <a href="?section={$section}&amp;section_menu={$section_menu}&amp;cat={$cat}&amp;top_edit=1&amp;ed_id=0" class="more">new</a> ]</small></p>{/if}
46    {/section}
47  <!-- end mejn kontent -->  <!-- end mejn kontent -->
48    
49  </table>  </table>
50    {if ($top && ($prev || $next))}<br><p align=right><small>[ {if ($prev)}<a href="?section={$section}&amp;section_menu={$section_menu}&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;offset={$next}" class="more">Next 10&gt;&gt;</a>{else}Next 10&gt;&gt;{/if} ]</small></p>{else}<br><br>{/if}

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.26