51ff3226 |
1 | {include file="modules/header.tpl"} |
2 | |
3 | {if $error eq true} |
4 | <center><font style='error'>{$error}</font></center> |
5 | {/if} |
6 | |
7 | {if $user_id eq false} |
8 | <center>{include file="modules/loginbox.tpl"}</center> |
9 | |
10 | {else} |
11 | |
12 | <table width='100%'><tr> |
13 | |
14 | <!--left column--> |
15 | <td valign='top' align='center' width='23%'> |
16 | {include file="modules/node_settings.tpl"} |
17 | {include file="modules/userinfo.tpl"} |
18 | {* showing poll *} |
19 | {*include file="modules/get_poll_box.tpl"*} |
20 | <br> |
21 | {*showing bookmark_statistics*} |
22 | {include file="modules/get_bookmark_statistics_box.tpl"} |
23 | </td> |
24 | <!--end of left column--> |
25 | |
26 | <!--main central column--> |
27 | <td valign='top'> |
28 | <form method='post' action='/id/{$node.node_id}'> |
29 | <center>{include file="modules/movement.tpl"}</center> |
30 | </form> |
31 | |
32 | {if $action eq true} |
33 | |
34 | <center>{include file="modules/movement.tpl"}</center> |
35 | {include file="modules/get_creation_by_template_id.tpl" listing_amount=$listing_amount type=$action} |
36 | |
37 | |
38 | {else} |
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 | {elseif $child.template_id eq 5 } |
52 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> |
53 | {else} |
54 | <a href='/id/{$child.node_creator}'>{$child.login}</a> |
55 | {if $child.user_action neq false} |
56 | [lokacia :: <a href='/{$child.user_action_id}/'>{$child.user_action}</a>] |
57 | {/if} |
58 | {/if} |
59 | <br> {$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}</center> |
60 | <tr><td>{$child.node_content}</td></tr> |
61 | </table> |
62 | </table> |
63 | {/foreach} |
64 | |
65 | <form method='post' action='/id/{$node.node_id}'> |
66 | <BR> |
67 | <textarea name='node_content'>{$post_vars.node_content}</textarea> |
68 | <br> |
69 | {if $permissions.w eq true} |
70 | <input type='hidden' name='node_parent' value='{$node.node_id}'> |
71 | <input type='hidden' name='external_link' value='session://friend'> |
72 | <table><tr><td><input type='submit' name='event' value='add'> |
73 | <td> with name:</td> <td><input type='text' name='node_name'></td> |
74 | </table> |
75 | {/if} |
76 | |
77 | </form> |
78 | {/if} |
79 | <!--end of central column--> |
80 | |
81 | </td></tr></table> |
82 | {/if} |
83 | |
84 | {include file="modules/footer.tpl"} |