Commit | Line | Data |
---|---|---|
b42b2bf9 H |
1 | {* header *}{include file="1549864.tpl"} |
2 | ||
3 | <br><br><br> | |
4 | <center> | |
5 | <form method='post'> | |
6 | <div style='color:red;'>UPOZORNENIE!!: fulltext search sa updatuje kazdy den. cize ak nieco neviete najst dnes skuste zajtra. prajem pekny den</div> | |
7 | <input tabindex=1 type='text' value='{$smarty.post.query}' name='query' id='query'><script language="Javascript">document.getElementById('query').focus();</script> | |
8 | <input type='submit' name='template_event' tabindex=2 value='search'><br><br> | |
9 | order by matches count: | |
10 | <input type='radio' name='orderby' value='probability'> K<input type='radio' name='orderby' value='k'> | |
11 | node views: | |
12 | <input type='radio' name='orderby' value='node_views'> node created: <input type='radio' name='orderby' value='node_created'> | |
13 | </form> | |
14 | <br><br> | |
15 | {if $smarty.post.query} | |
16 | {get_search query=$smarty.post.query listing_amount=$listing_amount offset=$offset} | |
17 | {foreach from=$get_search_short item=found} | |
18 | <a href='/id/{$found.node_id}'>{$found.node_name}</a><br> | |
19 | {/foreach} | |
20 | <br><br> | |
21 | ||
22 | {foreach from=$get_search item=child} | |
23 | <table class='bordered' cellspacing='0' cellpadding='0'> | |
24 | <tr> | |
25 | <td align='center' valign='top' rowspan='2'> | |
26 | <img vspace='5' hspace='5' width='50' src='{get_image_link id=$child.node_creator}'> | |
27 | {if $child.k eq true} | |
28 | <span class='most_important'>{$child.k} k</span> | |
29 | {/if} | |
30 | </td> | |
31 | <td valign='top' style='width: 100%'> | |
32 | <table width=100%> | |
33 | <tr class='header' width=100% valign='top'> | |
34 | <td> | |
35 | <a href='/id/{$child.node_creator}'>{$child.login}</a> | |
36 | {if $child.user_action neq false} | |
37 | [lokacia :: <a href='/{$child.user_action}/'>{$child.user_action}</a>] | |
38 | {/if} | |
39 | {$child.node_created|date_format:"%H:%M:%S - %d.%m.%Y"} | |
40 | <a href='/id/{$child.node_id}'>{$child.node_name}</a> | |
41 | {if $child.node_created > $node.last_visit} | |
42 | <span class='most_important'> NEW</span> | |
43 | {/if} | |
44 | {if $child.node_children_count} | |
45 | <span class='most_important'>{$child.node_children_count} CHILDREN</span> | |
46 | {/if} | |
47 | </td> | |
48 | </tr> | |
49 | <tr> | |
50 | <td>{$child.node_content|truncate:320|stripslashes}</td> | |
51 | </tr> | |
52 | </table> | |
53 | </td> | |
54 | </tr> | |
55 | </table> | |
56 | <br> | |
57 | ||
58 | {/foreach} | |
59 | {/if} | |
60 | </center><br><br> | |
61 | {*footer*}{include file="1549377.tpl"} |