/[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.10 by ravilov, Wed Oct 10 12:40:59 2001 UTC revision 1.16 by ravilov, Wed Oct 31 10:12:28 2001 UTC
# Line 1  Line 1 
1  {if ($date)}<small>Objavljeno: {$date}</small><br>{/if}  {if ($date)}<small>Objavljeno: {$date}</small><br>{/if}
2  {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}
3  <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>
4  {if ($lead)}<span class="{if ($cat == 't')}topicsubtitle{elseif ($cat == 'w')}newsworldsubtitle{elseif ($cat == 'p')}newsplivasubtitle{else}mainsubtitle{/if}">{if ($pgfs)}<b>{/if}{$lead}{if ($pgfs)}</b>{/if}</span><br>{/if}  {if ($lead)}<span class="{if ($cat == 't')}topicsubtitle{elseif ($cat == 'w')}newsworldsubtitle{elseif ($cat == 'p')}newsplivasubtitle{else}mainsubtitle{/if}">{if ($pgfs)}<b>{/if}{$lead}{if ($pgfs)}</b>{/if}</span>{/if}
5  </td></tr></table>  </td></tr></table>
   
 {if ($text)}  
6  <br>  <br>
7    {if (! $ismed && $exclusive && $AUTHOR)}{$AUTHOR}<br>{/if}
8    
9    {if ($text && $some_title)}
10  {section name=i loop=$text}  {section name=i loop=$text}
11  {if ($i/text.title)}  {if ($i/text.title)}
12  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr>{if ($i/text.level2)}<td width="{$i/text.level2}"><img src="img/klir.gif" border=0 alt="" width={$i/text.level2} height=1></td>{/if}<td width="100%" align=left><a href="#{%i.rownum%}" class="more">{$i/text.title}</a></td></tr></table>  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr>{if ($i/text.level2)}<td width="{$i/text.level2}"><img src="img/klir.gif" border=0 alt="" width={$i/text.level2} height=1></td>{/if}<td width="100%" align=left><a href="#{%i.rownum%}" class="more">{$i/text.title}</a></td></tr></table>
13  {/if}  {/if}
14  {/section}  {/section}<br>
15  {/if}  {/if}
16    
17  {section name=i loop=$text}  {section name=i loop=$text}
18  {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))}
19    <p align={if ($i/text.pos == 1)}left{/if}{if ($i/text.pos == 2)}center{/if}{if ($i/text.pos == 3)}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><b>{$i/text.exp}</b></td></tr>{/if}</table></p>    <p align={if ($i/text.pos == 1)}left{/if}{if ($i/text.pos == 2)}center{/if}{if ($i/text.pos == 3)}right{/if}><table border=0 cellspacing=0 cellpadding=0><tr><td>{if ($i/text.full)}<a href="{$newspicdir}{$i/text.full}" target="_blank" onclick="{$i/text.full|js_popup:"syspicdir"}" title="Kliknite za veću sliku">{/if}<img src="{$newspicdir}{$i/text.pic}" border=0 alt="{$i/text.alt}{if ($i/text.full)}{if ($i/text.alt)}. {/if}Kliknite za veću sliku.{/if}"{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><b>{$i/text.exp}</b></td></tr>{/if}</table></p>
20  {/if}  {/if}
21  <a name="#{%i.rownum%}"></a>  <a name="{%i.rownum%}"></a>
22  {if ($i/text.title)}<p class="ptitle">{if ($i/text.class)}<span class="{$i/text.class}">{/if}{$i/text.title}{if ($i/text.class)}</span>{/if} </p>{/if}  {if ($i/text.title)}<p class="ptitle">{if ($i/text.class)}<span class="{$i/text.class}">{/if}{$i/text.title}{if ($i/text.class)}</span>{/if} </p>{/if}
23  <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>
24  <p class="ptext">  <p class="ptext">
25  {if ($i/text.pic && ($i/text.pos == 4 || $i/text.pos == 5))}  {if ($i/text.pic && ($i/text.pos == 4 || $i/text.pos == 5))}
26    <table border=0 cellspacing=0 cellpadding=0{if ($i/text.pos == 4)} align=left{/if}{if ($i/text.pos == 5)} align=right{/if}><tr><td>{if ($i/text.full)}{$i/text.full}{/if}<img src="{$newspicdir}{$i/text.pic}" border=0 hspace=5 vspace=5 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><b>{$i/text.exp}</b></td></tr>{/if}</table>    <table border=0 cellspacing=0 cellpadding=0{if ($i/text.pos == 4)} align=left{/if}{if ($i/text.pos == 5)} align=right{/if}><tr><td>{if ($i/text.full)}<a href="{$newspicdir}{$i/text.full}" target="_blank" onclick="{$i/text.full|js_popup:"syspicdir"}" title="Kliknite za veću sliku">{/if}<img src="{$newspicdir}{$i/text.pic}" border=0 hspace=5 vspace=5 alt="{$i/text.alt}{if ($i/text.full)}{if ($i/text.alt)}. {/if}Kliknite za veću sliku.{/if}"{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><b>{$i/text.exp}</b></td></tr>{/if}</table>
27  {/if}  {/if}
28  {if ($i/text.hl)}{$i/text.hl}{/if}  {if ($i/text.hl)}{$i/text.hl}{/if}
29  {if ($i/text.text)}{$i/text.text}{else}&nbsp;{/if}  {if ($i/text.text)}{$i/text.text}{else}&nbsp;{/if}
30  </p>  </p>
31  </td></tr></table>  </td></tr></table>
32  {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))}
33    <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><b>{$i/text.exp}</b></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)}<a href="{$newspicdir}{$i/text.full}" target="_blank" onclick="{$i/text.full|js_popup:"syspicdir"}" title="Kliknite za veću sliku">{/if}<img src="{$newspicdir}{$i/text.pic}" border=0 alt="{$i/text.alt}{if ($i/text.full)}{if ($i/text.alt)}. {/if}Kliknite za veću sliku.{/if}"{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><b>{$i/text.exp}</b></td></tr>{/if}</table></p>
34  {/if}  {/if}
35  <br>  <br>
36  {/section}  {/section}
37  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr>  <table border=0 cellspacing=0 cellpadding=0 width="100%"><tr>
38  {if ($title_url)}<td align=right valign=middle><small><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></td></tr>{/if}  {if ($title_url)}<td align=right valign=middle><small><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></td></tr>{/if}
39  <td align=left valign=middle><br><small>[ <a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}{if ($spec)}&amp;spec={$spec}{/if}{if ($offset)}&amp;offset={$offset}{/if}{if ($acat)}&amp;acat={$acat}{/if}{if ($acat2)}&amp;acat2={$acat2}{/if}" class="more">&lt;&lt;&nbsp;nazad</a> | <a href="#top" class="more">vrh</a> ]</small></td></tr>  <td align=left valign=middle><br><small><a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}{if ($spec)}&amp;spec={$spec}{/if}{if ($offset)}&amp;offset={$offset}{/if}{if ($acat)}&amp;acat={$acat}{/if}{if ($acat2)}&amp;acat2={$acat2}{/if}" class="tmore"><img src="img/{if ($ismed)}m{else}z{/if}back.gif" width=46 height=11 alt="&lt;&lt;&nbsp;natrag" border=0></a> | <a href="#top" class="tmore"><img src="img/{if ($ismed)}m{else}z{/if}vrh.gif" alt="vrh" width=73 height=8 border=0></a> | <a href="?section=salji&amp;id={$id}" class="tmore">pošalji e-mailom</a></small></td></tr>
40  </tr></table><br>  </tr></table><br>
41  {$AUTHOR}  {if ($ismed || ! $exclusive)}{$AUTHOR}{/if}
42    <a name="vise"></a>
43    {if ($related)}
44    <br><img src="img/viseotemi.gif" border=0 alt="više o ovoj temi..."><br>
45    <table border=0 cellspacing=0 cellpadding=1 width="100%">
46    {section name=i loop=$related}
47    <tr><td>&nbsp;</td></tr>
48    <tr><td align=left valign=middle>{if ($i/related.read)}<a href="{$i/related.read}">{/if}<span class="newzworld">{$i/related.title}</span>{if ($i/related.read)}</a>{/if}</td></tr>
49    <tr><td align=left valign=top>{$i/related.lead}</td></tr>
50    {if ($i/related.read)}<tr><td align=right valign=middle><a href="{$i/related.read}"><img src="img/procitaj02.gif" width=98 height=10 alt="pročitaj članak..." border=0></a></td></tr>{/if}
51    {/section}
52    <tr><td>&nbsp;</td></tr>
53    </table>
54    {/if}

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.26