Kyberia v2.0
[mirrors/Kyberia-bloodline.git] / templates / hysteria / modules / get_threaded_children.tpl~
1 {if $template_event eq 'preview'}
2 <table>
3 <tr>
4 <td valign='top' rowspan='2' ><img hspace='5' src='{get_image_link id=$user_id}'></td>
5 <td width='100%' valign='top'>
6 <table width='100%'><tr class='header'>
7 <td align='center'>PREVIEW
8
9 <tr><td>{$post_vars.node_content|preview}</td></tr>
10 </table>
11 </table>
12 {* end of preview *}
13
14 {elseif $template_event eq 'filter_by'}
15 {get_threaded_children listing_amount=23232322323 offset=$offset types=$children_types search_type=$post_vars.search_type search=$post_vars.node_content}
16 {elseif $node.node_user_subchild_count eq true}
17 {get_threaded_children listing_amount=$node.node_user_subchild_count time=$node.last_visit offset=$offset types=$children_types}
18 {else}
19 {get_threaded_children listing_amount=$listing_amount offset=$offset types=$children_types}
20 {/if}
21
22 {foreach from=$get_threaded_children item=child}
23 <table width=100%>
24 <tr>
25 <td width='{math equation="(x-y)" x=$child.depth y=$node.vector_depth}%'></td>
26
27 <td width='{math equation="100-(x-y)" x=$child.depth y=$node.vector_depth}%'>
28 <table class='bordered' width='100%'><tr class='header'>
29 <td>
30 &nbsp;<a href='/id/{$child.node_creator}'>{$child.login}</a>
31 {if $child.user_action neq false}
32 &nbsp;[lokacia :: <a href='/{$child.user_actions}/'>{$child.user_action}</a>]
33 {/if}
34 &nbsp;&nbsp;<input type='checkbox' value='{$child.node_id}' name='node_chosen[]'>
35 &nbsp;&nbsp;{$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}
36 {if $child.node_name eq ''}
37 <div align='center'><a href='/id/{$child.node_id}'>enter node {$child.node_id}</a></div>
38 {else}
39 <div align='center'><a href='/id/{$child.node_id}'>enter node <b>{$child.node_name}</b></a></div>
40 {/if}
41 <tr><td>{$child.node_content|stripslashes|imagestrip}</td></tr>
42 </table>
43 </table>
44 <br>
45 {/foreach}
This page took 0.284019 seconds and 4 git commands to generate.