]>
Commit | Line | Data |
---|---|---|
ef8be8ea AD |
1 | <?php |
2 | function module_pref_users($link) { | |
3 | ||
d20f3544 AD |
4 | global $access_level_names; |
5 | ||
85ef2118 AD |
6 | if (!SINGLE_USER_MODE && $_SESSION["access_level"] < 10) { |
7 | print __("Your access level is insufficient to open this tab."); | |
8 | return; | |
9 | } | |
10 | ||
fbf7d545 | 11 | $subop = $_REQUEST["subop"]; |
ef8be8ea | 12 | |
5a437c88 AD |
13 | if ($subop == "user-details") { |
14 | ||
951906dc AD |
15 | header("Content-Type: text/xml"); |
16 | print "<dlg id=\"$subop\">"; | |
17 | ||
b4e75b2a | 18 | $uid = sprintf("%d", $_REQUEST["id"]); |
5a437c88 | 19 | |
951906dc | 20 | print "<title>".__('User details')."</title>"; |
5a437c88 | 21 | |
951906dc | 22 | print "<content><![CDATA["; |
5a437c88 AD |
23 | |
24 | $result = db_query($link, "SELECT login, | |
25 | ".SUBSTRING_FOR_DATE."(last_login,1,16) AS last_login, | |
26 | access_level, | |
27 | (SELECT COUNT(int_id) FROM ttrss_user_entries | |
28 | WHERE owner_uid = id) AS stored_articles, | |
29 | ".SUBSTRING_FOR_DATE."(created,1,16) AS created | |
30 | FROM ttrss_users | |
31 | WHERE id = '$uid'"); | |
32 | ||
33 | if (db_num_rows($result) == 0) { | |
2a52d96f | 34 | print "<h1>".__('User not found')."</h1>"; |
5a437c88 AD |
35 | return; |
36 | } | |
37 | ||
38 | // print "<h1>User Details</h1>"; | |
39 | ||
40 | $login = db_fetch_result($result, 0, "login"); | |
41 | ||
5a437c88 AD |
42 | print "<table width='100%'>"; |
43 | ||
324944f3 | 44 | $last_login = make_local_datetime($link, |
d90c741e | 45 | db_fetch_result($result, 0, "last_login"), true); |
5a437c88 | 46 | |
324944f3 | 47 | $created = make_local_datetime($link, |
d90c741e | 48 | db_fetch_result($result, 0, "created"), true); |
5a437c88 AD |
49 | |
50 | $access_level = db_fetch_result($result, 0, "access_level"); | |
51 | $stored_articles = db_fetch_result($result, 0, "stored_articles"); | |
52 | ||
5a437c88 AD |
53 | print "<tr><td>".__('Registered')."</td><td>$created</td></tr>"; |
54 | print "<tr><td>".__('Last logged in')."</td><td>$last_login</td></tr>"; | |
5a437c88 | 55 | |
fad8506f AD |
56 | $result = db_query($link, "SELECT COUNT(id) as num_feeds FROM ttrss_feeds |
57 | WHERE owner_uid = '$uid'"); | |
58 | ||
59 | $num_feeds = db_fetch_result($result, 0, "num_feeds"); | |
60 | ||
61 | print "<tr><td>".__('Subscribed feeds count')."</td><td>$num_feeds</td></tr>"; | |
62 | ||
5a437c88 AD |
63 | print "</table>"; |
64 | ||
65 | print "<h1>".__('Subscribed feeds')."</h1>"; | |
66 | ||
67 | $result = db_query($link, "SELECT id,title,site_url FROM ttrss_feeds | |
68 | WHERE owner_uid = '$uid' ORDER BY title"); | |
69 | ||
70 | print "<ul class=\"userFeedList\">"; | |
71 | ||
72 | $row_class = "odd"; | |
73 | ||
74 | while ($line = db_fetch_assoc($result)) { | |
75 | ||
76 | $icon_file = ICONS_URL."/".$line["id"].".ico"; | |
77 | ||
78 | if (file_exists($icon_file) && filesize($icon_file) > 0) { | |
79 | $feed_icon = "<img class=\"tinyFeedIcon\" src=\"$icon_file\">"; | |
80 | } else { | |
81 | $feed_icon = "<img class=\"tinyFeedIcon\" src=\"images/blank_icon.gif\">"; | |
82 | } | |
83 | ||
84 | print "<li class=\"$row_class\">$feed_icon <a href=\"".$line["site_url"]."\">".$line["title"]."</a></li>"; | |
85 | ||
86 | $row_class = toggleEvenOdd($row_class); | |
87 | ||
88 | } | |
89 | ||
90 | if (db_num_rows($result) < $num_feeds) { | |
91 | // FIXME - add link to show ALL subscribed feeds here somewhere | |
92 | print "<li><img | |
93 | class=\"tinyFeedIcon\" src=\"images/blank_icon.gif\"> ...</li>"; | |
94 | } | |
95 | ||
96 | print "</ul>"; | |
97 | ||
98 | print "<div align='center'> | |
577399e8 AD |
99 | <button onclick=\"closeInfoBox()\">".__("Close this window"). |
100 | "</button></div>"; | |
5a437c88 | 101 | |
951906dc | 102 | print "]]></content></dlg>"; |
5a437c88 AD |
103 | |
104 | return; | |
105 | } | |
106 | ||
ef8be8ea AD |
107 | if ($subop == "edit") { |
108 | ||
951906dc AD |
109 | header("Content-Type: text/xml"); |
110 | ||
b4e75b2a | 111 | $id = db_escape_string($_REQUEST["id"]); |
ef8be8ea | 112 | |
951906dc AD |
113 | print "<dlg id=\"$subop\">"; |
114 | print "<title>".__('User Editor')."</title>"; | |
115 | print "<content><![CDATA["; | |
ef8be8ea | 116 | |
e6312f6c | 117 | print "<form id=\"user_edit_form\" onsubmit='return false'>"; |
ef8be8ea AD |
118 | |
119 | print "<input type=\"hidden\" name=\"id\" value=\"$id\">"; | |
120 | print "<input type=\"hidden\" name=\"op\" value=\"pref-users\">"; | |
121 | print "<input type=\"hidden\" name=\"subop\" value=\"editSave\">"; | |
122 | ||
123 | $result = db_query($link, "SELECT * FROM ttrss_users WHERE id = '$id'"); | |
124 | ||
125 | $login = db_fetch_result($result, 0, "login"); | |
126 | $access_level = db_fetch_result($result, 0, "access_level"); | |
127 | $email = db_fetch_result($result, 0, "email"); | |
128 | ||
41ed2d38 | 129 | $sel_disabled = ($id == $_SESSION["uid"]) ? "disabled" : ""; |
ef8be8ea | 130 | |
41ed2d38 AD |
131 | print "<div class=\"dlgSec\">".__("User")."</div>"; |
132 | print "<div class=\"dlgSecCont\">"; | |
ef8be8ea | 133 | |
34cd59a4 AD |
134 | if ($sel_disabled) { |
135 | print "<input type=\"hidden\" name=\"login\" value=\"$login\">"; | |
8f4e59ec AD |
136 | print "<input size=\"30\" style=\"font-size : 16px\" |
137 | onkeypress=\"return filterCR(event, userEditSave)\" $sel_disabled | |
138 | value=\"$login\">"; | |
139 | } else { | |
140 | print "<input size=\"30\" style=\"font-size : 16px\" | |
141 | onkeypress=\"return filterCR(event, userEditSave)\" $sel_disabled | |
142 | name=\"login\" value=\"$login\">"; | |
34cd59a4 | 143 | } |
41ed2d38 AD |
144 | |
145 | print "</div>"; | |
146 | ||
147 | print "<div class=\"dlgSec\">".__("Authentication")."</div>"; | |
148 | print "<div class=\"dlgSecCont\">"; | |
149 | ||
150 | print __('Access level: ') . " "; | |
ef8be8ea | 151 | |
014accd1 AD |
152 | if (!$sel_disabled) { |
153 | print_select_hash("access_level", $access_level, $access_level_names, | |
154 | $sel_disabled); | |
155 | } else { | |
156 | print_select_hash("", $access_level, $access_level_names, | |
157 | $sel_disabled); | |
158 | print "<input type=\"hidden\" name=\"access_level\" value=\"$access_level\">"; | |
159 | } | |
41ed2d38 AD |
160 | |
161 | print "<br/>"; | |
162 | ||
163 | print __('Change password to') . | |
8df90057 | 164 | " <input size=\"20\" onkeypress=\"return filterCR(event, userEditSave)\" |
41ed2d38 AD |
165 | name=\"password\">"; |
166 | ||
167 | print "</div>"; | |
168 | ||
169 | print "<div class=\"dlgSec\">".__("Options")."</div>"; | |
170 | print "<div class=\"dlgSecCont\">"; | |
171 | ||
172 | print __('E-mail: '). | |
8df90057 | 173 | " <input size=\"30\" name=\"email\" onkeypress=\"return filterCR(event, userEditSave)\" |
41ed2d38 AD |
174 | value=\"$email\">"; |
175 | ||
176 | print "</div>"; | |
ef8be8ea AD |
177 | |
178 | print "</table>"; | |
179 | ||
180 | print "</form>"; | |
8f4e59ec | 181 | |
41ed2d38 | 182 | print "<div class=\"dlgButtons\"> |
577399e8 AD |
183 | <button onclick=\"return userEditSave()\">". |
184 | __('Save')."</button> | |
185 | <button onclick=\"return userEditCancel()\">". | |
186 | __('Cancel')."</button></div>"; | |
ef8be8ea | 187 | |
951906dc | 188 | print "]]></content></dlg>"; |
ef8be8ea AD |
189 | |
190 | return; | |
191 | } | |
192 | ||
193 | if ($subop == "editSave") { | |
194 | ||
913f374b | 195 | if ($_SESSION["access_level"] >= 10) { |
ef8be8ea | 196 | |
fbf7d545 AD |
197 | $login = db_escape_string(trim($_REQUEST["login"])); |
198 | $uid = db_escape_string($_REQUEST["id"]); | |
199 | $access_level = (int) $_REQUEST["access_level"]; | |
200 | $email = db_escape_string(trim($_REQUEST["email"])); | |
201 | $password = db_escape_string(trim($_REQUEST["password"])); | |
ef8be8ea AD |
202 | |
203 | if ($password) { | |
c3a005ad | 204 | $pwd_hash = encrypt_password($password, $login); |
ef8be8ea | 205 | $pass_query_part = "pwd_hash = '$pwd_hash', "; |
4dccf1ed | 206 | print_notice(T_sprintf('Changed password of user <b>%s</b>.', $login)); |
ef8be8ea AD |
207 | } else { |
208 | $pass_query_part = ""; | |
209 | } | |
210 | ||
211 | db_query($link, "UPDATE ttrss_users SET $pass_query_part login = '$login', | |
212 | access_level = '$access_level', email = '$email' WHERE id = '$uid'"); | |
213 | ||
214 | } | |
215 | } else if ($subop == "remove") { | |
216 | ||
ec800fe1 | 217 | if ($_SESSION["access_level"] >= 10) { |
ef8be8ea | 218 | |
b4e75b2a | 219 | $ids = split(",", db_escape_string($_REQUEST["ids"])); |
ef8be8ea AD |
220 | |
221 | foreach ($ids as $id) { | |
50e7dd7d | 222 | if ($id != $_SESSION["uid"] && $id != 1) { |
ec800fe1 AD |
223 | db_query($link, "DELETE FROM ttrss_tags WHERE owner_uid = '$id'"); |
224 | db_query($link, "DELETE FROM ttrss_feeds WHERE owner_uid = '$id'"); | |
225 | db_query($link, "DELETE FROM ttrss_users WHERE id = '$id'"); | |
226 | } | |
ef8be8ea AD |
227 | } |
228 | } | |
229 | } else if ($subop == "add") { | |
230 | ||
ec800fe1 | 231 | if ($_SESSION["access_level"] >= 10) { |
ef8be8ea | 232 | |
b4e75b2a | 233 | $login = db_escape_string(trim($_REQUEST["login"])); |
ef8be8ea | 234 | $tmp_user_pwd = make_password(8); |
c3a005ad | 235 | $pwd_hash = encrypt_password($tmp_user_pwd, $login); |
ef8be8ea AD |
236 | |
237 | $result = db_query($link, "SELECT id FROM ttrss_users WHERE | |
238 | login = '$login'"); | |
239 | ||
240 | if (db_num_rows($result) == 0) { | |
241 | ||
242 | db_query($link, "INSERT INTO ttrss_users | |
54a3d3cf AD |
243 | (login,pwd_hash,access_level,last_login,created) |
244 | VALUES ('$login', '$pwd_hash', 0, null, NOW())"); | |
ef8be8ea AD |
245 | |
246 | ||
247 | $result = db_query($link, "SELECT id FROM ttrss_users WHERE | |
248 | login = '$login' AND pwd_hash = '$pwd_hash'"); | |
249 | ||
250 | if (db_num_rows($result) == 1) { | |
251 | ||
252 | $new_uid = db_fetch_result($result, 0, "id"); | |
253 | ||
4dccf1ed AD |
254 | print_notice(T_sprintf("Added user <b>%s</b> with password <b>%s</b>", |
255 | $login, $tmp_user_pwd)); | |
ef8be8ea AD |
256 | |
257 | initialize_user($link, $new_uid); | |
258 | ||
259 | } else { | |
260 | ||
4dccf1ed | 261 | print_warning(T_sprintf("Could not create user <b>%s</b>", $login)); |
ef8be8ea AD |
262 | |
263 | } | |
264 | } else { | |
4dccf1ed | 265 | print_warning(T_sprintf("User <b>%s</b> already exists.", $login)); |
ef8be8ea AD |
266 | } |
267 | } | |
268 | } else if ($subop == "resetPass") { | |
269 | ||
913f374b | 270 | if ($_SESSION["access_level"] >= 10) { |
ef8be8ea | 271 | |
b4e75b2a | 272 | $uid = db_escape_string($_REQUEST["id"]); |
ef8be8ea AD |
273 | |
274 | $result = db_query($link, "SELECT login,email | |
275 | FROM ttrss_users WHERE id = '$uid'"); | |
276 | ||
277 | $login = db_fetch_result($result, 0, "login"); | |
278 | $email = db_fetch_result($result, 0, "email"); | |
279 | $tmp_user_pwd = make_password(8); | |
c3a005ad | 280 | $pwd_hash = encrypt_password($tmp_user_pwd, $login); |
ef8be8ea AD |
281 | |
282 | db_query($link, "UPDATE ttrss_users SET pwd_hash = '$pwd_hash' | |
283 | WHERE id = '$uid'"); | |
284 | ||
4dccf1ed AD |
285 | print_notice(T_sprintf("Changed password of user <b>%s</b> |
286 | to <b>%s</b>", $login, $tmp_user_pwd)); | |
ef8be8ea | 287 | |
d134e3a3 | 288 | if ($email) { |
f1d9632e | 289 | print_notice(T_sprintf("Notifying <b>%s</b>.", $email)); |
ef8be8ea | 290 | |
fe7537b5 | 291 | require_once "lib/MiniTemplator.class.php"; |
eb0b4ee8 AD |
292 | |
293 | $tpl = new MiniTemplator; | |
294 | ||
295 | $tpl->readTemplateFromFile("templates/resetpass_template.txt"); | |
296 | ||
297 | $tpl->setVariable('LOGIN', $login); | |
298 | $tpl->setVariable('NEWPASS', $tmp_user_pwd); | |
299 | ||
300 | $tpl->addBlock('message'); | |
301 | ||
302 | $message = ""; | |
303 | ||
304 | $tpl->generateOutputToString($message); | |
305 | ||
306 | $mail = new PHPMailer(); | |
307 | ||
d134e3a3 AD |
308 | $mail->PluginDir = "lib/phpmailer/"; |
309 | $mail->SetLanguage("en", "lib/phpmailer/language/"); | |
eb0b4ee8 AD |
310 | |
311 | $mail->CharSet = "UTF-8"; | |
312 | ||
313 | $mail->From = DIGEST_FROM_ADDRESS; | |
314 | $mail->FromName = DIGEST_FROM_NAME; | |
315 | $mail->AddAddress($email, $login); | |
316 | ||
317 | if (DIGEST_SMTP_HOST) { | |
318 | $mail->Host = DIGEST_SMTP_HOST; | |
319 | $mail->Mailer = "smtp"; | |
19a1da0d | 320 | $mail->SMTPAuth = DIGEST_SMTP_LOGIN != ''; |
eb0b4ee8 AD |
321 | $mail->Username = DIGEST_SMTP_LOGIN; |
322 | $mail->Password = DIGEST_SMTP_PASSWORD; | |
323 | } | |
324 | ||
325 | $mail->IsHTML(false); | |
ebb41333 | 326 | $mail->Subject = __("[tt-rss] Password change notification"); |
eb0b4ee8 AD |
327 | $mail->Body = $message; |
328 | ||
329 | $rc = $mail->Send(); | |
330 | ||
331 | if (!$rc) print_error($mail->ErrorInfo); | |
332 | ||
333 | /* mail("$login <$email>", "Password reset notification", | |
ef8be8ea AD |
334 | "Hi, $login.\n". |
335 | "\n". | |
336 | "Your password for this TT-RSS installation was reset by". | |
337 | " an administrator.\n". | |
338 | "\n". | |
339 | "Your new password is $tmp_user_pwd, please remember". | |
340 | " it for later reference.\n". | |
341 | "\n". | |
eb0b4ee8 | 342 | "Sincerely, TT-RSS Mail Daemon.", "From: " . MAIL_FROM); */ |
ef8be8ea AD |
343 | } |
344 | ||
345 | print "</div>"; | |
346 | ||
347 | } | |
348 | } | |
349 | ||
fe8d2059 AD |
350 | set_pref($link, "_PREFS_ACTIVE_TAB", "userConfig"); |
351 | ||
b4e75b2a | 352 | $user_search = db_escape_string($_REQUEST["search"]); |
a5bd7bf0 | 353 | |
b4e75b2a | 354 | if (array_key_exists("search", $_REQUEST)) { |
a5bd7bf0 AD |
355 | $_SESSION["prefs_user_search"] = $user_search; |
356 | } else { | |
357 | $user_search = $_SESSION["prefs_user_search"]; | |
358 | } | |
359 | ||
577399e8 | 360 | print "<div style='float : right'> |
a5bd7bf0 AD |
361 | <input id=\"user_search\" size=\"20\" type=\"search\" |
362 | onfocus=\"javascript:disableHotkeys();\" | |
363 | onblur=\"javascript:enableHotkeys();\" | |
364 | onchange=\"javascript:updateUsersList()\" value=\"$user_search\"> | |
577399e8 AD |
365 | <button onclick=\"javascript:updateUsersList()\">". |
366 | __('Search')."</button> | |
a5bd7bf0 AD |
367 | </div>"; |
368 | ||
b4e75b2a | 369 | $sort = db_escape_string($_REQUEST["sort"]); |
ef8be8ea AD |
370 | |
371 | if (!$sort || $sort == "undefined") { | |
372 | $sort = "login"; | |
373 | } | |
374 | ||
577399e8 AD |
375 | print "<button onclick=\"javascript:addUser()\">".__('Create user')."</button>"; |
376 | ||
377 | print " | |
378 | <button onclick=\"javascript:selectedUserDetails()\">". | |
379 | __('Details')."</button> | |
380 | <button onclick=\"javascript:editSelectedUser()\">". | |
381 | __('Edit')."</button> | |
382 | <button onclick=\"javascript:removeSelectedUsers()\">". | |
383 | __('Remove')."</button> | |
384 | <button onclick=\"javascript:resetSelectedUserPass()\">". | |
385 | __('Reset password')."</button>"; | |
1e5548db AD |
386 | |
387 | print "</div>"; | |
ef8be8ea | 388 | |
a5bd7bf0 | 389 | if ($user_search) { |
1638fc4e AD |
390 | |
391 | $user_search = split(" ", $user_search); | |
392 | $tokens = array(); | |
393 | ||
394 | foreach ($user_search as $token) { | |
395 | $token = trim($token); | |
396 | array_push($tokens, "(UPPER(login) LIKE UPPER('%$token%'))"); | |
397 | } | |
398 | ||
399 | $user_search_query = "(" . join($tokens, " AND ") . ") AND "; | |
400 | ||
a5bd7bf0 AD |
401 | } else { |
402 | $user_search_query = ""; | |
403 | } | |
404 | ||
ef8be8ea AD |
405 | $result = db_query($link, "SELECT |
406 | id,login,access_level,email, | |
f52fb64d AD |
407 | ".SUBSTRING_FOR_DATE."(last_login,1,16) as last_login, |
408 | ".SUBSTRING_FOR_DATE."(created,1,16) as created | |
ef8be8ea AD |
409 | FROM |
410 | ttrss_users | |
a5bd7bf0 AD |
411 | WHERE |
412 | $user_search_query | |
413 | id > 0 | |
ef8be8ea AD |
414 | ORDER BY $sort"); |
415 | ||
a5bd7bf0 AD |
416 | if (db_num_rows($result) > 0) { |
417 | ||
ef8be8ea AD |
418 | print "<p><table width=\"100%\" cellspacing=\"0\" |
419 | class=\"prefUserList\" id=\"prefUserList\">"; | |
420 | ||
421 | print "<tr><td class=\"selectPrompt\" colspan=\"8\"> | |
e8d0177d | 422 | ".__('Select:')." |
e69fb880 AD |
423 | <a href=\"#\" onclick=\"selectTableRows('prefUserList', 'all')\">".__('All')."</a>, |
424 | <a href=\"#\" onclick=\"selectTableRows('prefUserList', 'none')\">".__('None')."</a> | |
ef8be8ea AD |
425 | </td</tr>"; |
426 | ||
427 | print "<tr class=\"title\"> | |
428 | <td align='center' width=\"5%\"> </td> | |
a998dbef AD |
429 | <td width=''><a href=\"#\" onclick=\"updateUsersList('login')\">".__('Login')."</a></td> |
430 | <td width='20%'><a href=\"#\" onclick=\"updateUsersList('access_level')\">".__('Access Level')."</a></td> | |
431 | <td width='20%'><a href=\"#\" onclick=\"updateUsersList('created')\">".__('Registered')."</a></td> | |
432 | <td width='20%'><a href=\"#\" onclick=\"updateUsersList('last_login')\">".__('Last login')."</a></td></tr>"; | |
ef8be8ea AD |
433 | |
434 | $lnum = 0; | |
435 | ||
436 | while ($line = db_fetch_assoc($result)) { | |
437 | ||
438 | $class = ($lnum % 2) ? "even" : "odd"; | |
439 | ||
440 | $uid = $line["id"]; | |
b4e75b2a | 441 | $edit_uid = $_REQUEST["id"]; |
ef8be8ea AD |
442 | |
443 | if ($subop == "edit" && $uid != $edit_uid) { | |
ca8e3d75 | 444 | $class .= " Grayed"; |
ef8be8ea AD |
445 | $this_row_id = ""; |
446 | } else { | |
447 | $this_row_id = "id=\"UMRR-$uid\""; | |
448 | } | |
449 | ||
450 | print "<tr class=\"$class\" $this_row_id>"; | |
451 | ||
452 | $line["login"] = htmlspecialchars($line["login"]); | |
453 | ||
324944f3 AD |
454 | $line["created"] = make_local_datetime($link, $line["created"], false); |
455 | $line["last_login"] = make_local_datetime($link, $line["last_login"], false); | |
ef8be8ea | 456 | |
a998dbef | 457 | print "<td align='center'><input onclick='toggleSelectRow(this);' |
ef8be8ea AD |
458 | type=\"checkbox\" id=\"UMCHK-$uid\"></td>"; |
459 | ||
a998dbef | 460 | $onclick = "onclick='editUser($uid, event)' title='".__('Click to edit')."'"; |
ef8be8ea | 461 | |
a95da136 | 462 | print "<td $onclick>" . $line["login"] . "</td>"; |
ef8be8ea | 463 | |
a95da136 | 464 | if (!$line["email"]) $line["email"] = " "; |
ef8be8ea | 465 | |
a95da136 AD |
466 | print "<td $onclick>" . $access_level_names[$line["access_level"]] . "</td>"; |
467 | print "<td $onclick>" . $line["created"] . "</td>"; | |
468 | print "<td $onclick>" . $line["last_login"] . "</td>"; | |
ef8be8ea AD |
469 | |
470 | print "</tr>"; | |
471 | ||
472 | ++$lnum; | |
473 | } | |
474 | ||
475 | print "</table>"; | |
476 | ||
a5bd7bf0 AD |
477 | } else { |
478 | print "<p>"; | |
479 | if (!$user_search) { | |
cea04d61 | 480 | print_warning(__('No users defined.')); |
a5bd7bf0 | 481 | } else { |
cea04d61 | 482 | print_warning(__('No matching users found.')); |
a5bd7bf0 AD |
483 | } |
484 | print "</p>"; | |
485 | ||
486 | } | |
487 | ||
ef8be8ea AD |
488 | } |
489 | ?> |