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