| 1 | {include file="modules/header.tpl"} |
| 2 | <ul> |
| 3 | <form method='post' class="search"> |
| 4 | <input tabindex=1 type='text' value='{$smarty.post.query}' name='query'> |
| 5 | <input type='submit' name='template_event' tabindex=2 value='search'><br><br> |
| 6 | </form> |
| 7 | <form method="get" class="search" action="http://www.google.sk/search?hl=sk"> |
| 8 | <input tabindex=1 type='text' value='' name='q'> |
| 9 | <input type='submit' name='template_event' tabindex=2 value='Google'><br><br> |
| 10 | </form> |
| 11 | |
| 12 | <br><br> |
| 13 | {if $smarty.post.query}{get_search query=$smarty.post.query listing_amount=$listing_amount offset=$offset} |
| 14 | {foreach from=$get_search_short item=found} |
| 15 | <a href='/id/{$found.node_id}'>{$found.node_name}</a><br> |
| 16 | {/foreach}<br><br> |
| 17 | {foreach from=$get_search item=child} |
| 18 | |
| 19 | <table class='bordered' cellspacing='0' cellpadding='0'> |
| 20 | <tr> |
| 21 | <td align='center' valign='top' rowspan='2'> |
| 22 | <img vspace='5' hspace='5' width='50' src='{get_image_link id=$child.node_creator}'> |
| 23 | {if $child.k eq true}<span class='most_important'>{$child.k} k</span>{/if} |
| 24 | </td> |
| 25 | |
| 26 | <td valign='top' style='width: 100%'> |
| 27 | <table width=100%> |
| 28 | <tr class='header' width=100% valign='top'><td> |
| 29 | <a href='/id/{$child.node_creator}'>{$child.login}</a> |
| 30 | {if $child.user_action neq false} |
| 31 | [lokacia :: <a href='/{$child.user_action}/'>{$child.user_action}</a>] |
| 32 | {/if} |
| 33 | {$child.node_created|date_format:"%H:%M:%S - %d.%m.%Y"} |
| 34 | <input type='checkbox' value='{$child.node_id}' name='node_chosen[]'> |
| 35 | <a href='/id/{$child.node_id}'>enter</a> |
| 36 | {if $child.node_created > $node.last_visit}<span class='most_important'> NEW</span>{/if} |
| 37 | {if $child.node_children_count}<span class='most_important'> |
| 38 | {$child.node_children_count} CHILDREN</span>{/if} |
| 39 | </td></tr> |
| 40 | <tr><td>{$child.node_content|stripslashes}</td></tr> |
| 41 | </table> |
| 42 | </table> |
| 43 | <br> |
| 44 | {/foreach} |
| 45 | {/if} |
| 46 | </ul> |
| 47 | <br /> |
| 48 | <br /> |
| 49 | {include file="modules/footer.tpl"} |