/[pliva-si]/templates/vade.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

Annotation of /templates/vade.tpl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations)
Mon Nov 19 11:20:40 2001 UTC (22 years, 4 months ago) by dpavlin
Branch: MAIN
Changes since 1.1: +6 -8 lines
file function has a bug?

1 dpavlin 1.1 <form action="{$self}">
2 dpavlin 1.2 Iskanje:
3 dpavlin 1.1 <input type=text name=search value="{$search}">
4 dpavlin 1.2 u
5     <select name="type">
6     {html_options values=$types output=$types_desc selected=$type}
7 dpavlin 1.1 </select>
8 dpavlin 1.2 Vademecum
9 dpavlin 1.1
10 dpavlin 1.2 <input type=submit value="Najdi">
11 dpavlin 1.1 <input type=hidden name="p" value="vade">
12     </form>
13    
14     <hr size="1" width="100%">
15    
16     {if $data eq "notfound"}
17     Your search didn't return any results.
18     {elseif isset($data) }
19     <ul>
20     {section name=product loop=$data}
21     <li>
22     <b>{$product/data.title}</b>
23     {if $product/data.type eq "H"}
24     human health
25     {elseif $product/data.type eq "V"}
26     veterina
27     {else}
28     unknown
29     {/if}
30     {if $product/data.smpc}
31     [<a href="{$self}?p=vade&smpc={$product/data.smpc}">product details</a>]
32     {/if}
33     </li>
34     {/section}
35     </ul>
36     {else}
37    
38     Disclamer goes here.
39    
40     {/if}

  ViewVC Help
Powered by ViewVC 1.1.26