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