2 This program is free software. It comes without any warranty, to
3 the extent permitted by applicable law. You can redistribute it
4 and/or modify it under the terms of the Do What The Fuck You Want
5 To Public License, Version 2, as published by Sam Hocevar. See
6 http://sam.zoy.org/wtfpl/COPYING for more details.
9 {include file="modules/header.tpl"}
11 {if $user_id eq false}
12 <center>{include file="modules/loginbox.tpl"}</center><br><br>
16 <table width='100%'><tr>
19 <td valign='top' align='center' width='23%'>
21 {include file="modules/node_settings.tpl"}
24 {include file="modules/get_poll_box.tpl"}
26 {*showing bookmark_statistics*}
28 {include file="modules/get_bookmark_statistics_box.tpl"}
30 <!--end of left column-->
32 <!--main central column-->
33 <td width=666 valign='top'>
34 {*showing node_content*}
35 <table width='666' border=0 style='background:#111;'><tr><td>
36 {$node.node_content|nl2br}
37 </td></tr></table><br><br>
38 {*showing form for adding child node*}
39 <form enctype="multipart/form-data" action='/id/{$node.node_id}/{if $action neq false}{$action}{/if}'method='post' name='formular'>
40 {if $permissions.w eq true}{include file="modules/addnode.tpl"}{/if}
42 {if $template_event eq 'preview'}
45 <td valign='top' rowspan='2' ><img hspace='5' src='{get_image_link id=$user_id}'></td>
46 <td width='100%' valign='top'>
47 <table width='100%'><tr class='header'>
48 <td align='center'>PREVIEW
50 <tr><td>{$post_vars.node_content|preview}</td></tr>
55 {elseif $template_event eq 'filter_by'}
56 {get_threaded_children listing_amount=23232322323 offset=$offset types=$children_types search_type=$post_vars.search_type search=$post_vars.node_content}
57 {elseif $user_id neq true}
58 {get_threaded_children offset=0 listing_amount=232 orderby="asc"}
59 {elseif $node.node_user_subchild_count eq true}
60 {get_threaded_children offset=0 listing_amount=232 time=$node.last_visit time=$node.last_visit orderby=$listing_order types=$children_types}
61 <!--<center><span class='most_important'>pozor doslo k zmene funkcnosti systemu, NEW prispevky (vsetky) sa zobrazuju od najstarsieho k najnovsiemu zhora dolu</span></center>-->
63 {get_threaded_children listing_amount=$listing_amount offset=$offset types=$children_types orderby=$listing_order}
68 {*get_linked_nodes time_1=$time_1 time_2=$time_2 orderby=$listing_order*}
69 {if $user_id neq true}
70 {merge_arrays array1=$get_threaded_children array2=$get_linked_nodes sort_by='thread' orderby="asc"}
72 {merge_arrays array1=$get_threaded_children array2=$get_linked_nodes sort_by='thread' orderby=$listing_order}
76 {foreach from=$merged item=child}
77 {if $child.template_id eq 11}
78 {get_poll poll=$child}
79 {include file="modules/show_poll.tpl" get_poll=$get_poll}
85 {*if $child.node_created > $node.last_visit and $child.depth>$node.vector_depth*}
86 <td colspan='3'><a href='/id/{$child.node_parent}'>{$child.node_vector}</a></td>
89 <td width='{math equation="(x-y)-9" x=$child.depth y=$node.vector_depth}%'></td>
90 <td valign='top' rowspan='2'><img width='50' hspace='5' src='{get_image_link id=$child.node_creator}'></td>
91 <td width='{math equation="100-(x-y)" x=$child.depth y=$node.vector_depth}%'>
92 <table class='bordered' width='100%'><tr class='header'>
94 <a href='/id/{$child.node_creator}'>{$child.login}</a>
95 {if $child.user_action neq false}
96 [lokacia :: <a href='/{$child.user_actions}/'>{$child.user_action}</a>]
98 <input type='checkbox' value='{$child.node_id}' name='node_chosen[]'>
99 {$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}
100 {if $child.node_created > $node.last_visit}<span class='most_important'> NEW</span>{/if}
101 {if $child.node_status eq 'linked'}<span class='most_important'>LINKED</span>{/if}
103 {if $child.node_name eq ''}
104 <div align='center'><a href='/id/{$child.node_id}'>enter node {$child.node_id}</a></div>
106 <div align='center'><a href='/id/{$child.node_id}'>{$child.node_name}</a></div>
108 <tr><td>{$child.node_content|stripslashes|nl2br}</td></tr>
115 <table align='center'><tr>
116 <td><input type='hidden' name='get_children_offset' value='{$offset}'></td>
117 <td><input type='submit' name='get_children_move' value='<'></td>
118 <td><input type='submit' name='get_children_move' value='<<'></td>
119 <td><input name='get_children_move' type='submit' value='>>'></td>
120 <td><input type='submit' name='get_children_move' value='>'></td>
126 <!--end of central column-->
130 {include file="modules/footer.tpl"}