Commit | Line | Data |
---|---|---|
b42b2bf9 | 1 | {* header *}{include file="1549864.tpl"} |
e586807d H |
2 | |
3 | {if $error eq true} | |
4 | <center><font style='error'>{$error}</font></center> | |
5 | {/if} | |
6 | ||
7 | {if $user_id eq false} | |
b42b2bf9 | 8 | <center>{* loginbox *}{include file="1549885.tpl"}</center> |
e586807d H |
9 | |
10 | {else} | |
11 | ||
12 | <table width='100%'><tr> | |
13 | ||
14 | <!--left column--> | |
15 | <td valign='top' align='center' width='23%'> | |
b42b2bf9 | 16 | {* node_settings *}{include file="1549925.tpl"} |
e586807d | 17 | |
b42b2bf9 | 18 | {* showing poll *}{*include file="1549834.tpl"*} |
e586807d | 19 | <br> |
b42b2bf9 | 20 | {*showing bookmark_statistics*}{include file="1549386.tpl"} |
e586807d H |
21 | </td> |
22 | <!--end of left column--> | |
23 | ||
24 | <!--main central column--> | |
25 | <td valign='top'> | |
26 | ||
27 | {include file="1549916.tpl"} | |
28 | {* shows what other friends think about users *} | |
29 | {get_children_by_external_link external_link='session://friend' listing_amount=$listing_amount offset=$offset orderby=desc} | |
30 | {foreach from=$get_children_by_external_link item=child} | |
31 | <table> | |
32 | <tr> | |
33 | <td valign='top' rowspan='2'><img width='50' hspace='5' src='{get_image_link id=$child.node_creator}'> </td> | |
34 | <td valign='top' width='100%'> | |
35 | <table width='100%'><tr class='header' valign='top'> | |
36 | <td> | |
37 | {if $child.template_id eq 6 } | |
38 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> | |
39 | {elseif $child.template_id eq 5 } | |
40 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> | |
41 | {else} | |
b42b2bf9 | 42 | comment::<a href='/id/{$child.node_id}'>{$child.node_name}</a> by |
e586807d H |
43 | <a href='/id/{$child.node_creator}'>{$child.login}</a> |
44 | {if $child.user_action neq false} | |
45 | [<a href='/id/{$child.user_action_id}/'>{$child.user_action}</a>] | |
46 | {/if} | |
47 | {/if} | |
48 | <br> {$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}</center> | |
b42b2bf9 | 49 | <tr><td>{$child.node_content|nl2br|stripslashes}</td></tr> |
e586807d H |
50 | </table> |
51 | </table> | |
52 | {/foreach} | |
53 | ||
54 | <form method='post' action='/id/{$node.node_id}'> | |
55 | <BR> | |
56 | <textarea name='node_content'>{$post_vars.node_content}</textarea> | |
57 | <br> | |
58 | {if $permissions.w eq true} | |
59 | <!-- | |
60 | pridane input z template_id 8ckou. | |
61 | vid /id/1860668 | |
62 | [pyxel] | |
63 | --> | |
64 | <input type='hidden' name='template_id' value='8'> | |
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> | |
b42b2bf9 | 73 | <form method='post'> <table align='center'><tr> <td><input type='hidden' name='get_children_offset' value='{$offset}'></td> <td><input type='submit' name='get_children_move' value='<'></td> <td><input type='submit' name='get_children_move' value='<<'></td> <td><input name='get_children_move' type='submit' value='>>'></td> <td><input type='submit' name='get_children_move' value='>'></td> </tr></table> </form> |
e586807d H |
74 | <!--end of central column--> |
75 | ||
76 | </td></tr></table> | |
77 | {/if} |