Handle basic HTTP auth using PHP instead of using webserver configuration = better...
[mirrors/Kyberia-bloodline.git] / data / templates / own_templates / 2124863.tpl
1 <style>
2 .neukaz {ldelim}color:black{rdelim}
3 </style>
4
5 {get_movement_params children_count=$node.node_children_count}
6 {include file="1549864.tpl"}
7
8 {if $error eq true}
9 <center><font style='error'>{$error}</font></center>
10 {/if}
11
12 {if $user_id eq false}
13 <center>{include file="1549885.tpl"}</center><br><br>
14 {/if}
15
16 <table width='100%'><tr>
17
18 <!--left column-->
19 <td valign='top' align='center' width='23%' id='left-pan'>
20 {* show node info *}
21 {include file="1549925.tpl"}
22
23 {* showing poll *}
24 {include file="1549834.tpl"}
25 <br>
26 {*showing bookmark_statistics*}
27 {include file="1549386.tpl"}
28 </td>
29 <!--end of left column-->
30
31 <!--main central column-->
32 <td width=66% valign='top'>
33 {*showing node_content*}
34 {include file="1549916.tpl"}
35 {*showing form for adding child node*}
36 <form enctype="multipart/form-data" action='/id/{$node.node_id}/
37 {if $action neq false}{$action}{/if}' method='post' name='formular'>
38
39 {if $permissions.w eq true}{include file="1548927.tpl"}{/if}
40
41 {if $template_event eq 'preview'}
42 <table>
43 <tr>
44 <td valign='top' rowspan='2' ><img hspace='5' src='{get_image_link id=$user_id}'></td>
45 <td width='100%' valign='top'>
46 <table width='100%'>
47 <tr class='header'><td align='center'>PREVIEW</td></tr>
48 <tr><td>{$post_vars.node_content|preview}</td></tr>
49 </table>
50 </table>
51 {* end of preview *}
52 {elseif $template_event eq 'filter_by'}
53 {get_threaded_children listing_amount=23232322323 offset=$offset types=$children_types search_type=$post_vars.search_type search=$post_vars.node_content}
54 {elseif $node.node_user_subchild_count eq true}
55 {get_threaded_children offset=0 link='yes' listing_amount=23232323232 time=$node.last_visit time=$node.last_visit orderby=$listing_order }
56 <!--<center><span class='most_important'>pozor doslo k zmene funkcnosti systemu, NEW prispevky (vsetky) sa zobrazuju od najstarsieho k najnovsiemu zhora dolu</span></center>-->
57 {else}
58 {get_threaded_children link='yes' listing_amount=$listing_amount offset=$offset ordearby=$listing_order}
59 {/if}
60 {math equation="x + 16" x=$node.vector_depth assign="nparent"}
61 {foreach from=$get_threaded_children item=child}
62 <table width='666'>
63 <tr>
64 {*if $child.node_created > $node.last_visit and $child.depth>$node.vector_depth*}
65 <td colspan='3'><a href='/id/{$child.node_parent}'>{$child.node_vector}</a></td>
66 </tr>
67 {*/if*}
68 <tr>
69 <td width='{math equation="(x-y)-8" x=$child.depth y=$node.vector_depth}%'></td>
70 <td valign='top' rowspan='2'>
71 {* put.Ty hack *}
72 {if $child.synapse_creator neq ''}
73 <img src='{get_image_link id=$child.synapse_creator}' width='50' hspace='5' alt='SYNAPSE CREATOR' />
74 {else}
75 <img src='{get_image_link id=$child.node_creator}' width='50' hspace='5' alt='{$child.login}' onclick="km();sm('{$child.login}','{$child.node_creator}','{$node.node_id}')" />
76 {/if}
77 {*end of put.Ty hack *}
78 </td>
79 <td width='{math equation="100-(x-y)" x=$child.depth y=$node.vector_depth}%'>
80 <table class='bordered' width='100%'><tr class='header'>
81 <td>
82 &nbsp;<a href='/id/{$child.node_creator}'>{$child.login}</a>
83 {if $child.user_action neq false}
84 &nbsp;[lokacia :: <a href='/{$child.user_actions}/'>{$child.user_action}</a>]
85 {/if}
86 &nbsp;&nbsp;<input type='checkbox' value='{$child.node_id}' name='node_chosen[]'>
87 &nbsp;&nbsp;{$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}
88 {if $child.node_updated} (modif: {$child.node_updated|date_format:"%d.%m.%Y. - %H:%M:%S"}){/if}
89 {if $child.k > 0} [<span class='most_important'>{$child.k}K</span>] {/if}
90 {if $child.node_created > $node.last_visit}<span class='most_important'>&nbsp;&nbsp;NEW</span>{/if}
91 {if $child.node_status eq 'linked'}
92 &nbsp;<span class='most_important'>HARDLINK</span>
93 {/if}
94 {if $child.node_updated > $node.last_visit}<span class='most_important'>!!CONTENT CHANGED!!</span>{/if}
95 {if $bookmarks.last_visit eq true and $child.lastdescendant_created > $bookmarks.last_visit}<span class='most_important'>!!NEW DESCENDANT!!</span>{/if}
96
97
98 <div style='text-align:center;'>
99 {if $child.node_name eq ''}
100 <a href='/id/{$child.node_id}'>enter node {$child.node_id}</a>
101 {else}
102 <a href='/id/{$child.node_id}'>{$child.node_name}</a>
103 {/if}
104 {if $child.node_creator eq $user_id}| <a href='/id/{$child.node_id}/1961033'>conf</a>{/if}
105 </div></td></tr>
106 <tr><td>{if $child.depth eq $nparent}<span class='neukaz'>{$child.node_content|stripslashes|nl2br}</span>{else}{$child.node_content|stripslashes|nl2br}{/if}</td></tr>
107 </table></td></tr>
108 </table>
109
110 <br>
111 {/foreach}
112
113 <table align='center'><tr>
114 <td><input type='hidden' name='get_children_offset' value='{$offset}'></td>
115 <td><input type='submit' name='get_children_move' value='<'></td>
116 <td><input type='submit' name='get_children_move' value='<<'></td>
117 <td><input name='get_children_move' type='submit' value='>>'></td>
118 <td><input type='submit' name='get_children_move' value='>'></td>
119 </tr></table>
120
121 </form>
122 <!--end of central column-->
123
124 </td></tr></table>
125
126 {include file="1549377.tpl"}
This page took 0.591128 seconds and 4 git commands to generate.