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