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 | ||
11 | {if $error eq true} | |
12 | <center><font style='error'>{$error}</font></center> | |
13 | {/if} | |
14 | ||
15 | {if $user_id eq false} | |
16 | <center>{include file="modules/loginbox.tpl"}</center> | |
17 | ||
18 | {else} | |
19 | ||
20 | <table width='100%' align="center"><tr> | |
21 | ||
22 | ||
23 | <!--left column--> | |
24 | <td valign='top' align='center' width='23%'> | |
25 | {*include file="modules/node_settings.tpl"*} | |
26 | {*{include file="modules/userinfo.tpl"}*} | |
27 | {* showing poll *} | |
28 | {*include file="modules/get_poll_box.tpl"*} | |
29 | <br> | |
30 | {*showing bookmark_statistics*} | |
31 | {*include file="modules/get_bookmark_statistics_box.tpl"*} | |
32 | </td> | |
33 | <!--end of left column--> | |
34 | ||
35 | ||
36 | <!--main central column--> | |
37 | <td valign='top'> | |
38 | <!--<form method='post' action='/id/{$node.node_id}'> | |
39 | <center>{include file="modules/movement.tpl"}</center> | |
40 | </form>--> | |
41 | ||
42 | {if $action eq true} | |
43 | ||
44 | <center>{include file="modules/movement.tpl"}</center> | |
45 | {include file="modules/get_creation_by_template_id.tpl" listing_amount=$listing_amount type=$action} | |
46 | ||
47 | ||
48 | {else} | |
49 | {include file="modules/node_content.tpl"} | |
50 | {* shows what other friends think about users *} | |
51 | {get_children_by_external_link external_link='session://friend' listing_amount=$listing_amount offset=$offset orderby=desc} | |
52 | {foreach from=$get_children_by_external_link item=child} | |
53 | <table> | |
54 | <tr> | |
55 | <td valign='top' rowspan='2'><img width='50' hspace='5' src='{get_image_link id=$child.node_creator}'> </td> | |
56 | <td valign='top' width='100%'> | |
57 | <table width='100%'><tr class='header' valign='top'> | |
58 | <td> | |
59 | {if $child.template_id eq 6 } | |
60 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> | |
61 | {elseif $child.template_id eq 5 } | |
62 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> | |
63 | {else} | |
64 | <a href='/id/{$child.node_creator}'>{$child.login}</a> | |
65 | {if $child.user_action neq false} | |
66 | [lokacia :: <a href='/{$child.user_action}/'>{$child.user_action}</a>] | |
67 | {/if} | |
68 | {/if} | |
69 | <br> {$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}</center> | |
70 | <tr><td>{$child.node_content}</td></tr> | |
71 | </table> | |
72 | </table> | |
73 | {/foreach} | |
74 | ||
75 | <form method='post' action='/id/{$node.node_id}'> | |
76 | <br> | |
77 | <textarea name='node_content'>{$post_vars.node_content}</textarea> | |
78 | <br> | |
79 | {if $permissions.w eq true} | |
80 | <input type='hidden' name='node_parent' value='{$node.node_id}'> | |
81 | <input type='hidden' name='external_link' value='session://friend'> | |
82 | <table><tr><td><input type='submit' name='event' value='add'> | |
83 | <td> with name:</td> <td><input type='text' name='node_name'></td> | |
84 | </table> | |
85 | {/if} | |
86 | ||
87 | </form> | |
88 | {/if} | |
89 | <!--end of central column--> | |
90 | ||
91 | </td></tr></table> | |
92 | {/if} | |
93 | ||
94 | {*include file="modules/footer.tpl"*} | |
95 | ||
96 | ||
97 | ||
98 | ||
99 | ||
100 | ||
101 | ||
102 |