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%'><tr> | |
13 | ||
14 | <!--left column--> | |
15 | <td valign='top' align='center' width='23%'> | |
16 | <table> | |
17 | <tbody><tr><td colspan='2' align='center'> | |
18 | <a href='http://elvraba.edu.sk/~ond/'><img src='http://img279.imageshack.us/img279/682/ja1004qz.jpg' style='border-width: 1px'></a> | |
19 | </td></tr> | |
20 | <tr><td>node:</td><td><a href='/id/{$node.node_id}'>{$node.node_name}</a></td></tr> | |
21 | <tr><td>datetime:</td><td>8.8.1987</a></td></tr> | |
22 | </tbody></table> | |
23 | <br> | |
24 | </td> | |
25 | <!--end of left column--> | |
26 | ||
27 | <!--main central column--> | |
28 | <td valign='top' width='50%'> | |
29 | <!--<form method='post' action='/id/{$node.node_id}'> | |
30 | <center>{include file="modules/movement.tpl"}</center> | |
31 | </form>--> | |
32 | ||
33 | {if $action eq true} | |
34 | {include file="modules/get_creation_by_template_id.tpl" listing_amount=300 type=$action} | |
35 | ||
36 | {else} | |
37 | <!--{include file="modules/node_content.tpl"}--> | |
38 | {* shows what other friends think about users *} | |
39 | {get_children_by_external_link external_link='session://friend' listing_amount=$listing_amount offset=$offset orderby=desc } | |
40 | {foreach from=$get_children_by_external_link item=child} | |
41 | <table width='666'> | |
42 | <tr><td> | |
43 | <td valign='top' rowspan='2'><img width='50' hspace='5' src='{get_image_link id=$child.node_creator}'> </td> | |
44 | <td valign='top' width='100%'> | |
45 | <table width='100%'><tr class='header' valign='top'> | |
46 | <td> | |
47 | {if $child.template_id eq 6 } | |
48 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> | |
49 | {elseif $child.template_id eq 5 } | |
50 | <center><b><a href='/id/{$child.node_id}'>{$child.node_name}</a></b> | |
51 | {else} | |
52 | <a href='/id/{$child.node_creator}'>{$child.login}</a> | |
53 | {if $child.user_action neq false} | |
54 | [lokacia :: <a href='/{$child.user_action}/'>{$child.user_action}</a>] | |
55 | {/if} | |
56 | {/if} | |
57 | <br> {$child.node_created|date_format:"%d.%m.%Y. - %H:%M:%S"}</center> | |
58 | <tr><td>{$child.node_content}</td></tr> | |
59 | </table> | |
60 | </table> | |
61 | {/foreach} | |
62 | ||
63 | <form method='post' action='/id/{$node.node_id}'> | |
64 | <BR> | |
65 | <textarea name='node_content'>{$post_vars.node_content}</textarea> | |
66 | <br> | |
67 | {if $permissions.w eq true} | |
68 | <input type='hidden' name='node_parent' value='{$node.node_id}'> | |
69 | <input type='hidden' name='external_link' value='session://friend'> | |
70 | <table><tr><td><input type='submit' name='event' value='add'> | |
71 | <td> with name:</td> <td><input type='text' name='node_name'></td> | |
72 | </table> | |
73 | {/if} | |
74 | ||
75 | </form> | |
76 | {/if} | |
77 | <!--end of central column--> | |
78 | ||
79 | </td></tr></table> | |
80 | {/if} | |
81 | ||
82 | {include file="modules/footer.tpl"} | |
83 | ||
84 | ||
85 | ||
86 |