/[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

Contents of /templates/knjiznica-leksikon.tpl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations)
Wed Oct 31 10:12:28 2001 UTC (22 years, 5 months ago) by ravilov
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +2 -2 lines
Replaced textual hyperlinks with images. Other beautifications.

1 {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"><img src="img/{if ($ismed)}m{else}z{/if}back.gif" width=46 height=11 alt="&lt;&lt;&nbsp;natrag" border=0></a></p>
8 {else}
9 <big><b>Medicinski leksikon</b></big><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 % 10 == 1)}am{elseif ($records % 10 >= 2 && $records % 10 <= 4)}ma{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 % 10 == 1)}{elseif ($records % 10 >= 2 && $records % 10 <= 4)}a{else}o{/if} {$records} poj{if ($records % 10 == 1)}am{elseif ($records % 10 >= 2 && $records % 10 <= 4)}ma{else}mova{/if}.
24 {else}
25 <font color="#FF0000"><big>Nema pojmova koji odgovaraju upitu.</big>
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}" class="underlined">{$i/j.pojmovi/slova.pojam}</a></li>
34 {/section}
35 </ul>
36 {if ($index)}<p align=right><a href="#top" class="more"><img src="img/{if ($ismed)}m{else}z{/if}vrh.gif" width=73 height=8 alt="vrh" border=0></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}

  ViewVC Help
Powered by ViewVC 1.1.26