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 | <!-- PHP code and design stolen from "frr", "MARIN" and "hromi" || regards & thanks --> | |
10 | ||
11 | {include file="modules/header.tpl"} | |
12 | {if $error eq true} | |
13 | ||
14 | <center><font style='error'>{$error}</font></center> | |
15 | {/if} | |
16 | ||
17 | {if $user_id eq false} | |
18 | <center>{include file="modules/loginbox.tpl"}</center> | |
19 | ||
20 | {else} | |
21 | ||
22 | <table width='100%'><tr valign='top'><td width='30%'> | |
23 | ||
24 | {get_userlist} | |
25 | ||
26 | <!--left column--> | |
27 | <!-- taken from '/id/1416619' | |
28 | >><span class='important'> friendz</span> | |
29 | <table width='100' style="border-bottom:1px solid #6dae42;"><tr><td> | |
30 | {foreach name=friends from=$active_friends item=active_friend} | |
31 | <div style=" clear:left; margin-bottom:15px"> | |
32 | <a href='/id/{$active_friend.user_id}/' style="float:left;"> | |
33 | <img width='23' height='23' alt='{$node_visitor.login}' src='{get_image_link id=$active_friend.user_id}' border='0'></a></font> | |
34 | {$active_friend.login} | |
35 | [<a href='/id/{$active_friend.user_action_id}'>{$active_friend.user_action}</a></b></font>] {$active_friend.idle_time_minutes}m {$active_friend.idle_time_seconds}s | |
36 | </div> | |
37 | {/foreach} | |
38 | </td></tr></table><br> --> | |
39 | ||
40 | ::<span class='important'> friendz</span> | |
41 | <table width='75%' ><tr><td> | |
42 | {foreach name=friends from=$active_friends item=active_friend} | |
43 | {if $smarty.foreach.friends.iteration is div by 3}</tr><tr>{/if} | |
44 | <td width='100%'> | |
45 | <table><tr><td width='42' align='center'><a href='/id/{$active_friend.user_id}/'> | |
46 | <img border='0' name='{$active_friend.login}' width='40' height='40' alt='{$node_visitor.login}' src='{get_image_link id=$active_friend.user_id}'></a></td></tr> | |
47 | ||
48 | </table> | |
49 | </td> | |
50 | {/foreach} | |
51 | </td></tr> | |
52 | ||
53 | </table> | |
54 | ||
55 | ||
56 | ||
57 | ||
58 | <br> | |
59 | ||
60 | ||
61 | ::<span align='center' class='important'> latest forums</span></center><br> | |
62 | {get_nodes_by_type type=3 listing_amount=10 offset=$offset} | |
63 | {foreach from=$get_nodes_by_type item=child} | |
64 | <div style=" clear:left; margin-bottom:4px"> | |
65 | <a href='/id/{$child.node_id}'>{$child.node_name}</a><br> | |
66 | by <a href='/id/{$child.node_creator}'>{$child.login}</a> | |
67 | ({$child.node_children_count} children)</a><br> | |
68 | </div> | |
69 | {/foreach} | |
70 | ||
71 | ||
72 | <br><br> | |
73 | ||
74 | ::<span class='important'> latest blogs</span><br> | |
75 | {get_nodes_by_parent parent=21 listing_amount=15 offset=$offset} | |
76 | {foreach from=$get_nodes_by_parent item=child} | |
77 | <table width='100%'> | |
78 | <tr><td> | |
79 | <a href='/id/{$child.node_id}'>{$child.node_name|wordwrap:20:"<br>":true}</a><br> | |
80 | by <a href='/id/{$child.node_creator}'>{$child.login}</a> ({$child.node_views} views)</td></tr> | |
81 | </table> | |
82 | {/foreach} | |
83 | ||
84 | <br><br> | |
85 | ||
86 | ::<span class='important'> latest data nodes</span></center><br> | |
87 | {get_nodes_by_type type=12 listing_amount=20 offset=$offset} | |
88 | {foreach from=$get_nodes_by_type item=child} | |
89 | <div style=" clear:left; margin-bottom:4px"> | |
90 | <a href='/id/{$child.node_id}'>{$child.node_name|wordwrap:40:"<br>":true}</a> | |
91 | by <a href='/id/{$child.node_creator}'>{$child.login|wordwrap:40:"<br>":true}</a><br> | |
92 | in <a href='/id/{$child.node_parent}'>{$child.parent_name|wordwrap:40:"<br>":true}</a> | |
93 | <br> | |
94 | </div> | |
95 | {/foreach} | |
96 | ||
97 | <br><br> | |
98 | ||
99 | ::<span class='important'> latest nodeshells</span></center><br> | |
100 | {get_nodes_by_type type=2 listing_amount=20 offset=$offset} | |
101 | {foreach from=$get_nodes_by_type item=child} | |
102 | <div style=" clear:left; margin-bottom:4px"> | |
103 | <a href='/id/{$child.node_id}'>{$child.node_name|wordwrap:40:"<br>":true}</a> | |
104 | by <a href='/id/{$child.node_creator}'>{$child.login|wordwrap:40:"<br>":true}</a><br> | |
105 | in <a href='/id/{$child.node_parent}'>{$child.parent_name|wordwrap:40:"<br>":true}</a> | |
106 | <br> | |
107 | </div> | |
108 | {/foreach} | |
109 | ||
110 | ||
111 | </td> | |
112 | <!--end of left column--> | |
113 | ||
114 | <!--main central colmn--> | |
115 | <td valign='top'> | |
116 | ||
117 | <!-- | |
118 | <form method='post'> | |
119 | <table align='center'><tr> | |
120 | <td><input type='hidden' name='get_children_offset' value='{$offset}'></td> | |
121 | <td><input type='submit' name='get_children_move' value='<'></td> | |
122 | <td><input type='submit' name='get_children_move' value='<<'></td> | |
123 | <td><input name='get_children_move' type='submit' value='>>'></td> | |
124 | <td><input type='submit' name='get_children_move' value='>'></td> | |
125 | </tr></table> | |
126 | </form> | |
127 | --> | |
128 | ||
129 | ||
130 | ::<span class='important'> last sumbissions</span><br> | |
131 | {include file="modules/get_last.tpl" vector=$action listing_amount=$listing_amount} | |
132 | <!--end of central column--> | |
133 | ||
134 | </td></tr></table> | |
135 | ||
136 | {/if} | |
137 | ||
138 | ||
139 | {include file="modules/footer.tpl"} | |
140 | ||
141 | ||
142 | ||
143 | ||
144 | ||
145 | ||
146 | ||
147 | ||
148 | ||
149 | ||
150 | ||
151 | ||
152 | ||
153 | ||
154 | ||
155 | ||
156 | ||
157 | ||
158 | ||
159 | ||
160 | ||
161 | ||
162 | ||
163 | ||
164 | ||
165 | ||
166 | ||
167 | ||
168 | ||
169 | ||
170 | ||
171 | ||
172 | ||
173 | ||
174 | ||
175 | ||
176 | ||
177 | ||
178 | ||
179 | ||
180 | ||
181 | ||
182 | ||
183 | ||
184 | ||
185 | ||
186 | ||
187 | ||
188 | ||
189 | ||
190 | ||
191 |