51ff3226 |
1 | {* header *}{include file="1549864.tpl"} |
2 | <style> |
3 | {literal} |
4 | .ah {display:none} |
5 | a:hover .ah {display:block; position:absolute; top:23px;left:10px;} |
6 | {/literal} |
7 | </style> |
8 | <br><br><br><br><br><br><br><br><br> |
9 | |
10 | <form method='post'> |
11 | <input tabindex=1 type='text' value='{$smarty.post.query}' name='query' id='query'><script language="Javascript">document.getElementById('query').focus();</script> |
12 | <input type='submit' name='template_event' tabindex=2 value='search'><br><br> |
13 | order by matches count: |
14 | <input type='radio' name='orderby' value='probability'> K<input type='radio' name='orderby' value='k'> |
15 | node views: |
16 | <input type='radio' name='orderby' value='node_views'> node created: <input type='radio' name='orderby' value='node_created'> |
17 | </form> |
18 | <br><br> |
19 | {if $smarty.post.query} |
20 | {get_search query=$smarty.post.query listing_amount=$listing_amount offset=$offset} |
21 | {foreach from=$get_search_short item=found} |
22 | <a href='/id/{$found.node_id}'>{$found.node_id}<span class='ah'>{$found.node_name}<br>---<br>{$found.node_content|strip_tags}</span></a>, |
23 | {/foreach} |
24 | <br><br> |
25 | |
26 | {foreach from=$get_search item=child} |
27 | <a href='/id/{$child.node_id}'>{$child.node_id}<span class='ah'>{$child.node_name}<br>---<br>{$child.node_content|strip_tags}</span></a>, |
28 | {/foreach} |
29 | {/if} |
30 | <br><br> |