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