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

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

revision 1.7 by ravilov, Fri Sep 28 23:34:37 2001 UTC revision 1.8 by ravilov, Tue Oct 2 16:18:09 2001 UTC
# Line 2  Line 2 
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>    <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}  {/if}
4  {if ($title)}<span class="{if ($cat == 't')}topictitle{elseif ($cat == 'w')}newsworldtitle{elseif ($cat == 'p')}newsplivatitle{else}maintitle{/if}">{$title}</span><br>{/if}  {if ($title)}<span class="{if ($cat == 't')}topictitle{elseif ($cat == 'w')}newsworldtitle{elseif ($cat == 'p')}newsplivatitle{else}maintitle{/if}">{$title}</span><br>{/if}
5    {if ($date)}<small>Objavljeno: {$date}</small><br>{/if}
6  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=middle>  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=left valign=middle>
7  {if ($titlepic_url && ($titlepic_type == 4 || $titlepic_type == 5))}  {if ($titlepic_url && ($titlepic_type == 4 || $titlepic_type == 5))}
8    {if ($titlepic_type == 4)}<img src="{$newspicdir}{$titlepic_url}" border=0 hspace=5 vspace=5 alt="{$titlepic_alt}"{if ($titlepic_width)} width={$titlepic_width}{/if}{if ($titlepic_height)} height={$titlepic_height}{/if} align=left>{/if}    {if ($titlepic_type == 4)}<img src="{$newspicdir}{$titlepic_url}" border=0 hspace=5 vspace=5 alt="{$titlepic_alt}"{if ($titlepic_width)} width={$titlepic_width}{/if}{if ($titlepic_height)} height={$titlepic_height}{/if} align=left>{/if}
# Line 13  Line 14 
14  {if ($titlepic_url && ($titlepic_type == 6 || $titlepic_type == 7 || $titlepic_type == 8))}  {if ($titlepic_url && ($titlepic_type == 6 || $titlepic_type == 7 || $titlepic_type == 8))}
15    <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>    <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>
16  {/if}  {/if}
17    
18  {if ($text)}  {if ($text)}
19  <br>  <br>
20  {section name=i loop=$text}  {section name=i loop=$text}
21  {if ($i/text.title)}  {if ($i/text.title)}
22  {section name=j loop=$i/text.level}<ul style="padding-top:0;padding-bottom:0;margin-top:0;margin-bottom:0;">{/section}  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr>{if ($i/text.level2)}<td width="1%"><img src="img/klir.gif" border=0 alt="" width="{$i/text.level2}" height=2></td>{/if}<td><a href="#{%i.rownum%}" class="more">{$i/text.title}</a></td></tr></table>
 <li><a href="#{%i.rownum%}" class="more">{$i/text.title}</a></li></ul>  
 {section name=j loop=$i/text.level}</ul>{/section}  
23  {/if}  {/if}
24  {/section}  {/section}
25  {/if}  {/if}
26    
27  <br>  <br>
28  {section name=i loop=$text}  {section name=i loop=$text}
29  {if ($i/text.pic && ($i/text.pos == 1 || $i/text.pos == 2 || $i/text.pos == 3))}  {if ($i/text.pic && ($i/text.pos == 1 || $i/text.pos == 2 || $i/text.pos == 3))}
# Line 42  Line 43 
43  {if ($i/text.pic && ($i/text.pos == 6 || $i/text.pos == 7 || $i/text.pos == 8))}  {if ($i/text.pic && ($i/text.pos == 6 || $i/text.pos == 7 || $i/text.pos == 8))}
44    <p align={if ($i/text.pos == 6)}left{/if}{if ($i/text.pos == 7)}center{/if}{if ($i/text.pos == 8)}right{/if}><table border=0 cellspacing=0 cellpadding=0><tr><td>{if ($i/text.full)}{$i/text.full}{/if}<img src="{$newspicdir}{$i/text.pic}" border=0 alt="{$i/text.alt}"{if ($i/text.w)} width={$i/text.w}{/if}{if ($i/text.h)} height={$i/text.h}{/if}>{if ($i/text.full)}</a>{/if}</td></tr>{if ($i/text.exp)}<tr><td align=center>{$i/text.exp}</td></tr>{/if}</table></p>    <p align={if ($i/text.pos == 6)}left{/if}{if ($i/text.pos == 7)}center{/if}{if ($i/text.pos == 8)}right{/if}><table border=0 cellspacing=0 cellpadding=0><tr><td>{if ($i/text.full)}{$i/text.full}{/if}<img src="{$newspicdir}{$i/text.pic}" border=0 alt="{$i/text.alt}"{if ($i/text.w)} width={$i/text.w}{/if}{if ($i/text.h)} height={$i/text.h}{/if}>{if ($i/text.full)}</a>{/if}</td></tr>{if ($i/text.exp)}<tr><td align=center>{$i/text.exp}</td></tr>{/if}</table></p>
45  {/if}  {/if}
46  <br><table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=right valign=middle><a href="#top" class="more">Vrh stranice</a></td></tr></table><br><br>  <br><br>
47  {/section}  {/section}
48  <p align=right><small>[ <a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}{if ($spec)}&amp;spec={$spec}{/if}" class="more">&lt;&lt;&nbsp;nazad</a>{if ($title_url)} | <a href="{$title_url}" class="more"{if ($title_url_new)} target="_blank"{/if}>{if ($title_url_title)}{$title_url_title}{else}više...{/if}</a>{/if} ]</small></p>  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr><td align=right valign=middle><small>[ <a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}{if ($spec)}&amp;spec={$spec}{/if}" class="more">&lt;&lt;&nbsp;nazad</a> | <a href="#top" class="more">vrh</a>{if ($title_url)} | <a href="{$title_url}" class="more"{if ($title_url_new)} target="_blank"{/if}>{if ($title_url_title)}{$title_url_title}{else}više...{/if}</a>{/if} ]</small></td></tr></table><br>
49  {$AUTHOR}  {$AUTHOR}

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

  ViewVC Help
Powered by ViewVC 1.1.26