Commit | Line | Data |
---|---|---|
e586807d H |
1 | <!-- |
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. | |
7 | --> | |
8 | ||
9 | {include file="modules/header.tpl"} | |
10 | {if $error eq true} | |
11 | <center><font style='error'>{$error}</font></center> | |
12 | {/if} | |
13 | {if $user_id eq false} | |
14 | <center>{include file="modules/loginbox.tpl"}</center> | |
15 | {else} | |
16 | <table width='100%'><tr> | |
17 | <!--left column--> | |
18 | <td valign='top' align='center' width='23%'> | |
19 | <!--node_settings--> | |
20 | <table> | |
21 | <tr><td colspan='2' align='center'> | |
22 | <img src='{get_image_link id=$node.node_id}'> | |
23 | </td></tr> | |
24 | <tr><td>node:</td><td><a href='/id/{$node.node_id}'>{$node.node_name}</a></td></tr> | |
25 | <tr><td>datetime:</td><td> after beltaine of 85'</td></tr> | |
26 | </table> | |
27 | <br> | |
28 | <table class='bordered'> | |
29 | <tr><td colspan='2' align='center' class='important'>permissions</td></tr> | |
30 | <tr><td>you:</td><td align='center'> | |
31 | {if $permissions.r}r,{/if} | |
32 | {if $permissions.w}w,{/if} | |
33 | {$node.node_permission} | |
34 | </a></td> | |
35 | <tr><td>system:</td><td align='center'>{$node.node_system_access}</a></td> | |
36 | <tr><td>net:</td><td align='center'>{$node.node_external_access}</a></td> | |
37 | </table> | |
38 | <br> | |
39 | <center><a href='/id/{$node.node_id}/neurons'>neurons</a></center> | |
40 | <br> | |
41 | <center><a href='/id/{$node.node_id}/stats'>statistics</a></center> | |
42 | <center><a href='/id/{$node.node_id}/offtopic'>offtopic</a></center> | |
43 | <center><a href='/id/{$node.node_id}/links'>links</a></center> | |
44 | <center><a href='/id/{$node.node_id}/print'>print</a></center> | |
45 | <center><a href='/id/15/{$node.node_vector}'>k</a></center> | |
46 | <table> | |
47 | <tr> | |
48 | <td colspan='2' align='center'> | |
49 | <br><span class='important'>node viewed {$node.node_views} times</span> | |
50 | <br><span class='important'>total descendants::{$node.node_descendant_count}</span> | |
51 | <br><span class='important'>total children::{$node.node_children_count}</span> | |
52 | {if $node.node_user_subchild_count neq false} | |
53 | <br><span class='most_important'>{$node.node_user_subchild_count} NEW</span> | |
54 | {/if} | |
55 | {if $node.k neq false} | |
56 | <br><span class='most_important'>{$node.k} K</span><br><br> | |
57 | {/if} | |
58 | ||
59 | {if $offset neq false} | |
60 | <br><span class='important'>using offset:: {$offset} </span> | |
61 | {/if} | |
62 | </td> | |
63 | <form action='/id/{$node.node_id}/' method='post'> | |
64 | <tr><td colspan='2' align='center'> | |
65 | {if $node.node_bookmark neq 'yes'} | |
66 | <input type='submit' name='event' value='book'> | |
67 | {else} | |
68 | <input type='submit' name='event' value='unbook'> | |
69 | {/if} | |
70 | | |
71 | <input type='submit' name='event' value='K'> | |
72 | </td></tr> | |
73 | </form> | |
74 | </table> | |
75 | {if $node.node_creator eq $user_id or $node.node_permission eq 'master' or $node.node_permission eq 'op'}<center><a href='/id/{$node.node_id}/configure'>configure</a></center>{/if} | |
76 | <br> | |
77 | <center><a href='/id/{$node.node_id}/forum'>!!!show flat!!!</a></center> | |
78 | <br> | |
79 | <!-- end of node_settings --> | |
80 | <a href='/id/{$node.node_id}/1757900'>nodeshells</a><br> | |
81 | <a href='/id/{$node.node_id}/1761254'>forums</a><br> | |
82 | <a href='/id/{$node.node_id}/1573668'>submissions</a><br> | |
83 | <a href='/id/{$node.node_id}/1773535'>articles</a><br> | |
84 | <a href='/id/{$node.node_id}/1757556'>blogs</a><br> | |
85 | <a href='/id/{$node.node_id}/1757626'>datas</a><br> | |
86 | ||
87 | {* showing poll *} | |
88 | {*include file="modules/get_poll_box.tpl"*} | |
89 | <br> | |
90 | {*showing bookmark_statistics*} | |
91 | {include file="modules/get_bookmark_statistics_box.tpl"} | |
92 | </td> | |
93 | <!--end of left column--> | |
94 | <!--main central column--> | |
95 | <td valign='top'> | |
96 | <form method='post' action='/id/{$node.node_id}'> | |
97 | <center>{include file="modules/movement.tpl"}</center> | |
98 | </form> | |
99 | {if $action eq true} | |
100 | <center>{include file="modules/movement.tpl"}</center> | |
101 | {include file="modules/get_creation_by_template_id.tpl" listing_amount=$listing_amount type=$action} | |
102 | {else} | |
103 | {include file="modules/node_content.tpl"} | |
104 | {* shows what other friends think about users *} | |
105 | {get_children_by_external_link external_link='session://friend' listing_amount=$listing_amount offset=$offset orderby=desc} | |
106 | {foreach from=$get_children_by_external_link item=child} | |
107 | <table> | |
108 | <tr> | |
109 | <td valign='top' rowspan='2'><img width='50' hspace='5' src='{get_image_link id=$child.node_creator}'> </td> | |
110 | <td valign='top' width='100%'> | |
111 | <table width='100%'><tr class='header' valign='top'> | |
112 | <td> | |
113 | {if $child.template_id eq 6 } | |
114 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> | |
115 | {elseif $child.template_id eq 5 } | |
116 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> | |
117 | {else} | |
118 | <a href='/id/{$child.node_creator}'>{$child.login}</a> | |
119 | {if $child.user_action neq false} | |
120 | [lokacia :: <a href='/{$child.user_action}/'>{$child.user_action}</a>] | |
121 | {/if} | |
122 | {/if} | |
123 | <br> {$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}</center> | |
124 | <tr><td>{$child.node_content}</td></tr> | |
125 | </table> | |
126 | </table> | |
127 | {/foreach} | |
128 | <form method='post' action='/id/{$node.node_id}'> | |
129 | <BR> | |
130 | <textarea name='node_content'>{$post_vars.node_content}</textarea> | |
131 | <br> | |
132 | {if $permissions.w eq true} | |
133 | <input type='hidden' name='node_parent' value='{$node.node_id}'> | |
134 | <input type='hidden' name='external_link' value='session://friend'> | |
135 | <table><tr><td><input type='submit' name='event' value='add'> | |
136 | <td> with name:</td> <td><input type='text' name='node_name'></td> | |
137 | </table> | |
138 | {/if} | |
139 | </form> | |
140 | {/if} | |
141 | <!--end of central column--> | |
142 | </td></tr></table> | |
143 | {/if} | |
144 | {include file="modules/footer.tpl"} | |
145 | ||
146 | ||
147 | ||
148 | ||
149 | ||
150 | ||
151 | ||
152 |