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

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

revision 1.1 by ravilov, Thu Aug 30 16:35:36 2001 UTC revision 1.4 by ravilov, Fri Sep 28 23:34:37 2001 UTC
# Line 1  Line 1 
1  Currently empty...  {if ($ID)}
2    <br><br>
3    <table border=0 cellspacing=0 cellpadding=2 width="100%">
4    <tr><td align=left valign=middle><big><b><font color="#000080">{$pojam}</font></b></big></td></tr>
5    <tr><td align=left valign=top>{$opis}</td></tr>
6    </table>
7    <p align=right class="small"><a href="javascript:history.go(-1);" class="more">Nazad</a></p>
8    {else}
9    <center><big><b>Medicinski leksikon</b></big></center><br><br>
10    {$SEARCH}
11    <br><br>
12    {if ($index || $srch)}
13    {if ($index)}
14    <font color="#008000"><b>Abecedni popis{if ($index != 1)}: <tt><big>{if ($index == '@')}<i>[non-alpha]</i>{else}{$index}{/if}</big></tt>{/if} {if ($records)}<small>({$records} poj{if ($records % 100 >= 10 && $records % 100 <= 20)}mova{elseif ($records % 10 > 1 && $records % 10 < 5)}ma{elseif ($records % 10 == 1)}am{else}mova{/if})</small>{/if}</b></font><br><br>
15    {if ($index == 1)}
16    {if ($records > 0)}<table border=0 cellspacing=0 cellpadding=3 width="100%"><tr><td align=left valign=top width="1%" class="small"><b>QuickJump:</b></td><td align=left valign=top class="small">[{section name=l loop=$letters}{if ($l/letters != '@')}<a href="#{$l/letters}" class="more">{$l/letters}</a>{if (%l.index% == %l.loop% / 2)}]<br>[{elseif (%l.index% < %l.loop% - 1)}|{/if}{/if}{/section}]</td></tr></table>{/if}
17    {else}
18    <table border=0 cellspacing=0 cellpadding=3 width="100%"><tr><td align=left valign=top width="1%" class="small"><b>Popis:</b></td><td align=left valign=top class="small">[{section name=l loop=$letters}{if ($index == $l/letters)}<span class="idxselected">{$l/letters}</span>{else}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;index={$l/letters}&amp;stype={$stype}" class="more">{$l/letters}</a>{/if}{if (%l.index% == %l.loop% / 2)}]<br>[{elseif (%l.index% < %l.loop% - 1)}|{/if}{/section}|<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;index=1&amp;stype={$stype}" class="more"><i>SVE</i></a>]</td></tr></table>
19    {/if}
20    <br>
21    {else}
22    <b>{if ($records > 0)}
23    <font color="#008000">Pronašen{if ($records % 100 >= 10 && $records % 100 <= 20)}o{elseif ($records % 10 > 1 && $records % 10 < 5)}e{else}{/if} {$records} poj{if ($records % 100 >= 10 && $records % 100 <= 20)}mova{elseif ($records % 10 > 1 && $records % 10 < 5)}ma{else}am{/if}.
24    {else}
25    <font color="#FF0000">Nema pojmova koji odgovaraju upitu.
26    {/if}</font></b><br><br>
27    {/if}
28    <hr width="90%" size=2>
29    {section name=i loop=$slova}
30    {if ($index == 1)}<center><a name="{$i/slova.l}"><big><b>{$i/slova.l}</b></big></a></center>{/if}
31    <ul>
32    {section name=j loop=$i/slova.pojmovi}
33    <li><a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;id={$i/j.pojmovi/slova.id}">{$i/j.pojmovi/slova.pojam}</a></li>
34    {/section}
35    </ul>
36    {if ($index)}<p align=right><a href="#top" class="more">Vrh stranice</a></p><br><br>{/if}
37    {sectionelse}
38    {if ($index)}<big><b><font color="#FF0000">Nema pojmova.</font></b></big><br><br>{/if}
39    {/section}
40    {/if}
41    {if (! $index && $letters)}<table border=0 cellspacing=0 cellpadding=3 width="100%"><tr><td align=left valign=top width="1%" class="small"><b>Popis:</b></td><td align=left valign=top class="small">[{section name=l loop=$letters}{if ($index == $l/letters)}<span class="idxselected">{$l/letters}</span>{else}<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;index={$l/letters}&amp;stype={$stype}" class="more">{$l/letters}</a>{/if}{if (%l.index% == %l.loop% / 2)}]<br>[{elseif (%l.index% < %l.loop% - 1)}|{/if}{/section}|<a href="?section={$section}&amp;section_menu={$section_menu}&amp;section_menu2={$section_menu2}&amp;index=1&amp;stype={$stype}" class="more"><i>SVE</i></a>]</td></tr></table>{/if}
42    {/if}

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.26