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

Diff of /templates/vade.tpl

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

revision 1.1 by dpavlin, Mon Nov 19 09:11:36 2001 UTC revision 1.5 by dpavlin, Tue Nov 20 08:48:14 2001 UTC
# Line 1  Line 1 
1  <form action="{$self}">  <form action="{$self}">
2  Search for  Iskanje:
3  <input type=text name=search value="{$search}">  <input type=text name=search value="{$search}">
4  in   u
5  <select name=type>  <select name="type">
6  <option value="">any</option>  {html_options values=$types output=$types_desc selected=$type}
 <option value="H">Human</option>  
 <option value="V">Veterina</option>  
7  </select>  </select>
8  vademecum  Vademecum
9    
10  <input type=submit value="Find">  <input type=submit value="Najdi">
11  <input type=hidden name="p" value="vade">  <input type=hidden name="p" value="vade">
12  </form>  </form>
13    
14  <hr size="1" width="100%">  <hr size="1" width="100%">
15    
16  {if $data eq "notfound"}  {if $data eq "notfound"}
17   Your search didn't return any results.   Iskanje ni bilo uspešno.
18  {elseif isset($data) }  {elseif isset($data) }
19   <ul>   <ul>
20   {section name=product loop=$data}   {section name=product loop=$data}
21    <li>    <li>
22     <b>{$product/data.title}</b>     <b>{$product/data.title}</b>
23       <i>
24     {if $product/data.type eq "H"}     {if $product/data.type eq "H"}
25          human health          zdravila
26     {elseif $product/data.type eq "V"}     {elseif $product/data.type eq "V"}
27          veterina          veterina
28     {else}     {else}
29          unknown          neznano
30     {/if}     {/if}
31       </i>
32     {if $product/data.smpc}     {if $product/data.smpc}
33      [<a href="{$self}?p=vade&smpc={$product/data.smpc}">product details</a>]      [<a href="{$self}?p=vade&smpc={$product/data.smpc}">product details</a>]
34     {/if}     {/if}
# Line 37  vademecum Line 37  vademecum
37   </ul>   </ul>
38  {else}  {else}
39    
40  Disclamer goes here.  Naslednje informacije so namenjene le strokovni zdravstveni javnosti
41    in so zašcitene z geslom.
42    <br>
43    Vsa opisana zdravila tržimo na slovenskem trgu. Podrobnejše informacije o
44    zdravilih so na voljo v Plivi Ljubljana d.o.o., Dunajska 51, Ljubljana.
45    
46  {/if}  {/if}

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

  ViewVC Help
Powered by ViewVC 1.1.26