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