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