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