[ Index ] |
|
Code source de e107 0.7.8 |
1 <?php 2 /* 3 + ----------------------------------------------------------------------------+ 4 | e107 website system 5 | 6 | ©Steve Dunstan 2001-2002 7 | http://e107.org 8 | jalist@e107.org 9 | 10 | Released under the terms and conditions of the 11 | GNU General Public License (http://gnu.org). 12 | 13 | $Source: /cvsroot/e107/e107_0.7/e107_handlers/forum.php,v $ 14 | $Revision: 1.8 $ 15 | $Date: 2006/10/24 13:35:06 $ 16 | $Author: mrpete $ 17 +----------------------------------------------------------------------------+ 18 */ 19 if (!defined('e107_INIT')) { exit; } 20 21 require_once ("../class2.php"); 22 if (!getperms("5")) { 23 header("location:".e_BASE."index.php"); 24 exit; 25 } 26 require_once ("auth.php"); 27 require_once(e_HANDLER."userclass_class.php"); 28 $aj = new textparse; 29 30 if (e_QUERY) { 31 $qs = explode(".", e_QUERY); 32 $action = $qs[0]; 33 $forum_id = $qs[1]; 34 $forum_order = $qs[2]; 35 } 36 37 $sql2 = new db; 38 39 if (isset($_POST['prune'])) { 40 if (!$_POST['prune_days']) { 41 $message = FORLAN_1; 42 } else { 43 44 $text = "<div style='text-align:center'> 45 <form method='post' action='".e_SELF."'>\n 46 <table style='width:85%' class='fborder'> 47 <tr> 48 <td style='width:75%' class='forumheader3'> 49 ".FORLAN_106."<br /> 50 <span class='smalltext'>".FORLAN_2."</span> 51 </td> 52 <td style='width:25%' class='forumheader2' style='text-align:right'> 53 <input type='radio' name='prune_type' value='delete' /> ".FORLAN_3."<br /> 54 <input type='radio' name='prune_type' value='unactivatate' checked="checked" /> ".FORLAN_4." 55 </td> 56 </tr> 57 <tr> 58 <td colspan='2' style='text-align:center' class='forumheader'> 59 <input class='button' type='submit' name='doprune' value='".FORLAN_5."' /> 60 <input class='button' type='submit' name='cancelprune' value='".FORLAN_6."' /> 61 <input type='hidden' name='prune_days' value='".$_POST['prune_days']."' /> 62 </td> 63 </tr> 64 65 </table> 66 </form> 67 </div>"; 68 $ns->tablerender(FORLAN_7, $text); 69 require_once ("footer.php"); 70 } 71 } 72 73 if (isset($_POST['doprune'])) { 74 if ($_POST['prune_type'] == "delete") { 75 $prunedate = time() - ($_POST['prune_days'] * 86400); 76 if ($sql->db_Select("forum_t", "*", "thread_lastpost < {$prunedate} AND thread_parent=0 AND thread_s!=1")) { 77 while ($row = $sql->db_Fetch()) { 78 extract($row); 79 $sql2->db_Delete("forum_t", "thread_parent = '{$thread_id}' "); 80 // delete replies 81 $sql2->db_Delete("forum_t", "thread_id = '{$thread_id}' "); 82 // delete thread 83 } 84 85 $sql->db_Select("forum", "*", "forum_parent != 0"); 86 while ($row = $sql->db_Fetch()) { 87 extract($row); 88 $threads = $sql2->db_Count("forum_t", "(*)", "WHERE thread_forum_id = {$forum_id} AND thread_parent = 0"); 89 $replies = $sql2->db_Count("forum_t", "(*)", "WHERE thread_forum_id = {$forum_id} AND thread_parent != 0"); 90 $sql2->db_Update("forum", "forum_threads = '{$threads}', forum_replies = '{$replies}' WHERE forum_id = '{$forum_id}'"); 91 } 92 $message = FORLAN_8; 93 } else { 94 $message = FORLAN_9; 95 } 96 } else { 97 $prunedate = time() - ($_POST['prune_days'] * 86400); 98 $sql->db_Update("forum_t", "thread_active = 0 WHERE thread_lastpost < {$prunedate} AND thread_parent=0 "); 99 $message = FORLAN_8; 100 } 101 } 102 103 if (isset($_POST['update_order'])) { 104 extract($_POST); 105 while (list($key, $id) = each($forum_order_)) { 106 $tmp = explode(".", $id); 107 $sql->db_Update("forum", "forum_order = {$tmp[1]} WHERE forum_id = {$tmp[0]}"); 108 echo "forum_order = {$tmp[1]} WHERE forum_id = {$tmp[0]}<br />"; 109 } 110 $message = FORLAN_73; 111 } 112 113 114 115 $sql->db_Select("forum", "forum_id, forum_order", "forum_parent=0 ORDER BY forum_order ASC"); 116 $c = 1; 117 while ($row = $sql->db_Fetch()) { 118 extract($row); 119 $sql2->db_Update("forum", "forum_order = '{$c}' WHERE forum_id = '{$forum_id}'"); 120 $c++; 121 } 122 $sql->db_Select("forum", "forum_id, forum_order", "forum_parent != 0 ORDER BY forum_order ASC"); 123 while ($row = $sql->db_Fetch()) { 124 extract($row); 125 $sql2->db_Update("forum", "forum_order = '{$c}' WHERE forum_id = '{$forum_id}' "); 126 $c++; 127 } 128 129 if (isset($_POST['updateoptions'])) { 130 $pref['email_notify'] = $_POST['email_notify']; 131 $pref['forum_poll'] = $_POST['forum_poll']; 132 $pref['forum_popular'] = $_POST['forum_popular']; 133 $pref['forum_track'] = $_POST['forum_track']; 134 $pref['forum_eprefix'] = $_POST['forum_eprefix']; 135 $pref['forum_enclose'] = $_POST['forum_enclose']; 136 $pref['forum_title'] = $_POST['forum_title']; 137 $pref['forum_postspage'] = $_POST['forum_postspage']; 138 $pref['forum_levels'] = $_POST['forum_levels']; 139 $pref['image_post'] = $_POST['image_post']; 140 $pref['html_post'] = $_POST['html_post']; 141 $pref['forum_attach'] = $_POST['forum_attach']; 142 save_prefs(); 143 $message = FORLAN_10; 144 } 145 146 If(isset($_POST['submit'])) { 147 148 $c = 0; 149 while ($_POST['mod'][$c]) { 150 $mods .= $_POST['mod'][$c].", "; 151 $c++; 152 } 153 $mods = preg_replace("/, $/", ".", $mods); 154 155 $sql->db_Select("forum", "*", "forum_name='".$_POST['parentforum']."' "); 156 $row = $sql->db_Fetch(); 157 $forum_parent = $row['forum_id']; 158 $_POST['forum_name'] = $aj->formtpa($_POST['forum_name'], "admin"); 159 $_POST['forum_description'] = $aj->formtpa($_POST['forum_description'], "admin"); 160 161 $sql->db_Insert("forum", "0, '".$_POST['forum_name']."', '".$_POST['forum_description']."', '".$forum_parent."', '".time()."', '".$mods."', 0, 0, 0, '".$_POST['forum_class']."', 0 "); 162 unset($forum_name, $forum_description, $forum_parent); 163 $message = FORLAN_11; 164 } 165 166 If(isset($_POST['update'])) { 167 168 $c = 0; 169 while ($_POST['mod'][$c]) { 170 $mods .= $_POST['mod'][$c].", "; 171 $c++; 172 } 173 $mods = preg_replace("/, $/", ".", $mods); 174 $sql->db_Select("forum", "*", "forum_name='".$_POST['parentforum']."' "); 175 $row = $sql->db_Fetch(); 176 $_POST['forum_name'] = $aj->formtpa($_POST['forum_name'], "admin"); 177 $_POST['forum_description'] = $aj->formtpa($_POST['forum_description'], "admin"); 178 $forum_parent = $row['forum_id']; 179 $sql->db_Update("forum", "forum_name='".$_POST['forum_name']."', forum_description='".$_POST['forum_description']."', forum_parent='".$forum_parent."', forum_moderators='".$mods."', forum_class='".$_POST['forum_class']."' WHERE forum_id='".$_POST['forum_id']."' "); 180 unset($forum_name, $forum_description, $forum_parent, $forum_active); 181 $message = FORLAN_12; 182 } 183 184 If(isset($_POST['psubmit'])) { 185 $_POST['parent'] = $aj->formtpa($_POST['parent'], "admin"); 186 $sql->db_Insert("forum", "0, '".$_POST['parent']."', '', '', '".time()."', '0', '0', '0', '', '".$_POST['parent_class']."', 0 "); 187 unset($parent); 188 $message = FORLAN_13; 189 } 190 191 If(isset($_POST['pupdate'])) { 192 $_POST['parent'] = $aj->formtpa($_POST['parent'], "admin"); 193 $sql->db_Update("forum", "forum_name='".$_POST['parent']."', forum_class='".$_POST['parent_class']."' WHERE forum_id='".$_POST['existing']."' "); 194 unset($parent); 195 $message = FORLAN_14; 196 } 197 198 If(isset($_POST['pedit'])) { 199 $sql->db_Select("forum", "*", "forum_id='".$_POST['existing']."' "); 200 list($forum_id, $parent, $forum_description, $forum_parent, $forum_datestamp, $forum_moderators, $forum_threads, $forum_replies, $forum_lastpost, $parent_class) = $sql->db_Fetch(); 201 $parent = stripslashes($parent); 202 } 203 204 If(isset($_POST['edit'])) { 205 $sql->db_Select("forum", "*", "forum_id='".$_POST['existing']."' "); 206 list($forum_id, $forum_name, $forum_description, $forum_parent, $forum_datestamp, $forum_moderators, $forum_threads, $forum_replies, $forum_lastpost, $forum_class) = $sql->db_Fetch(); 207 $parent = stripslashes($parent); 208 } 209 210 If(isset($_POST['delete'])) { 211 if ($_POST['confirm']) { 212 $sql->db_Select("forum", "forum_id, forum_parent", "forum_id='".$_POST['existing']."' "); 213 $row = $sql->db_Fetch(); 214 extract($row); 215 $tt = ($forum_parent ? "" : "parent"); 216 $sql->db_Delete("forum", "forum_id='".$_POST['existing']."' "); 217 $message = FORLAN_107.$tt.FORLAN_108; 218 } else { 219 $message = FORLAN_15; 220 } 221 } 222 223 224 if (isset($message)) { 225 $ns->tablerender("", "<div style='text-align:center'><b>{$message}</b></div>"); 226 } 227 228 $ns->tablerender("<div style='text-align:center'>".FORLAN_16."</div>", $text); 229 230 $text = "<div style='text-align:center'> 231 <form method='post' action='".e_SELF."'>\n 232 <table style='width:85%' class='fborder'> 233 <tr> 234 <td colspan='2' class='forumheader' style='text-align:center'>"; 235 236 $forum_parent_total = $sql->db_Select("forum", "*", "forum_parent = '0' "); 237 if ($forum_parent_total == 0) { 238 $text .= "<span class='defaulttext'>".FORLAN_17."</span>"; 239 } else { 240 $text .= "<span class='defaulttext'>".FORLAN_18.": </span> 241 <select name='existing' class='tbox'>\n"; 242 $c = 0; 243 while (list($forum_id_, $forum_parent_) = $sql->db_Fetch()) { 244 $parents[$c] = $forum_parent_; 245 $parents_id[$c] = $forum_id_; 246 $text .= "<option value='{$forum_id_}'>{$parents[$c]}</option>\n"; 247 $c++; 248 } 249 $text .= "</select> 250 <input class='button' type='submit' name='pedit' value='".FORLAN_19."' /> 251 <input class='button' type='submit' name='delete' value='".FORLAN_20."' /> 252 <input type=\"checkbox\" name=\"confirm\" value=\"1\"><span class=\"smalltext\" /> ".FORLAN_21."</span> 253 "; 254 } 255 $text .= " 256 </td> 257 </tr> 258 <tr> 259 <td style='width:20%' class='forumheader3'><u>".FORLAN_22."</u>:</td> 260 <td style='width:80%' class='forumheader3'> 261 <input class='tbox' type='text' name='parent' size='60' value='{$parent}' maxlength='250' /> 262 </td> 263 </tr> 264 265 <tr> 266 <td style='width:20%' class='forumheader3'>".FORLAN_23.":<br /><span class='smalltext'>(".FORLAN_24.")</span></td> 267 <td style='width:80%' class='forumheader3'>".r_userclass("parent_class", $parent_class); 268 269 $text .= "<tr style='vertical-align:top'> 270 <td colspan='2' style='text-align:center' class='forumheader'>"; 271 272 if (isset($_POST['pedit'])) { 273 $text .= "<input class='button' type='submit' name='pupdate' value='".FORLAN_25."' /> 274 <input type='hidden' name='existing' value='".$_POST['existing']."' />"; 275 } else { 276 $text .= "<input class='button' type='submit' name='psubmit' value='".FORLAN_26."' />"; 277 } 278 279 $text .= "</td> 280 </tr> 281 </table> 282 </form> 283 </div>"; 284 285 $ns->tablerender("Parents", $text); 286 287 if ($forum_parent_total == 0) { 288 $text = "<div style='text-align:center'>".FORLAN_27."</div>"; 289 $ns->tablerender(FORLAN_28, $text); 290 require_once ("footer.php"); 291 exit; 292 } 293 294 295 $forum_total = $sql->db_Select("forum", "*", "forum_parent!='0' "); 296 297 $text = "<div style='text-align:center'> 298 <form method='post' action='".e_SELF."'>\n 299 <table style='width:85%' class='fborder'> 300 <tr> 301 <td colspan='2' class='forumheader' style='text-align:center'>"; 302 303 if ($forum_total == "0") { 304 $text .= "<span class='defaulttext'>".FORLAN_29."</span>"; 305 } else { 306 $text .= "<span class='defaulttext'>".FORLAN_30.": </span> 307 <select name='existing' class='tbox'>"; 308 while (list($forum_id_, $forum_name_) = $sql->db_Fetch()) { 309 $text .= "<option value='{$forum_id_}'>{$forum_name_}</option>"; 310 } 311 $text .= "</select> 312 <input class='button' type='submit' name='edit' value='".FORLAN_19."' /> 313 <input class='button' type='submit' name='delete' value='".FORLAN_20."' /> 314 <input type='checkbox' name='confirm' value='1' /><span class='smalltext'> ".FORLAN_21."</span> 315 "; 316 } 317 318 $text .= " 319 </td> 320 </tr> 321 <tr> 322 <td style='width:20%' class='forumheader3'><u>".FORLAN_22."</u>:</td> 323 <td style='width:80%' class='forumheader3'> 324 <select name='parentforum' class='tbox'>"; 325 $c = 0; 326 327 while ($parents[$c]) { 328 if ($parents_id[$c] == $forum_parent) { 329 $text .= "<option selected>{$parents[$c]}</option>\n"; 330 } else { 331 $text .= "<option>{$parents[$c]}</option>\n"; 332 } 333 $c++; 334 } 335 $text .= "</select> 336 </td> 337 </tr> 338 339 340 341 <tr> 342 <td style='width:20%' class='forumheader3'><u>".FORLAN_31."</u>:</td> 343 <td style='width:80%' class='forumheader3'> 344 <input class='tbox' type='text' name='forum_name' size='60' value='{$forum_name}' maxlength='100' /> 345 </td> 346 </tr> 347 <tr> 348 349 <td style='width:20%' class='forumheader3'><u>".FORLAN_32."</u>: </td> 350 <td style='width:80%' class='forumheader3'> 351 <textarea class='tbox' name='forum_description' cols='50' rows='5'>{$forum_description}</textarea> 352 </td> 353 </tr> 354 355 <tr> 356 <td style='width:20%' class='forumheader3'>".FORLAN_23.":<br /><span class='smalltext'>(".FORLAN_24.")</span></td> 357 <td style='width:80%' class='forumheader3'>".r_userclass("forum_class", $forum_class, "on")." 358 </td></tr><tr> 359 360 <td style='width:20%' class='forumheader3'>".FORLAN_33.":<br /><span class='smalltext'>(".FORLAN_34.")</span></td> 361 <td style='width:80%' class='forumheader3'>"; 362 $admin_no = $sql->db_Select("user", "*", "user_admin='1' AND user_perms REGEXP('A.') OR user_perms='0' "); 363 while ($row = $sql->db_Fetch()) { 364 extract($row); 365 $text .= "<input type='checkbox' name='mod[]' value='{$user_name}'"; 366 if (strpos($forum_moderators, $user_name) !== FALSE) { 367 $text .= " checked"; 368 } 369 $text .= " /> {$user_name}<br />"; 370 } 371 372 $text .= "</td> 373 </tr> 374 <tr style='vertical-align:top'> 375 <td colspan='2' style='text-align:center' class='forumheader'>"; 376 377 378 If(isset($_POST['edit'])) { 379 $text .= "<input class='button' type='submit' name='update' value='".FORLAN_35."' /> 380 <input type='hidden' name='forum_id' value='{$forum_id}' />"; 381 } else { 382 $text .= "<input class='button' type='submit' name='submit' value='".FORLAN_36."' />"; 383 } 384 385 $text .= "</td> 386 </tr> 387 </table> 388 </form> 389 </div>"; 390 $ns->tablerender("Forums", $text); 391 392 393 $text = "<div style='text-align:center'> 394 <table style='width:95%' class='fborder'> 395 <form method='post' action='".e_SELF."'> 396 <tr> 397 <td colspan='2' style='width:70%; text-align:center' class='fcaption'>".FORLAN_28."</td> 398 <td style='width:30%; text-align:center' class='fcaption'>".FORLAN_37."</td> 399 </tr>"; 400 401 if (!$parent_amount = $sql->db_Select("forum", "*", "forum_parent='0' ORDER BY forum_order ASC")) { 402 $text .= "<tr><td class='forumheader3' style='text-align:center' colspan='3'>".FORLAN_29."</td></tr>"; 403 } else { 404 $sql2 = new db; 405 $sql3 = new db; 406 while ($row = $sql->db_Fetch()) { 407 extract($row); 408 if ($forum_class == 255) { 409 $text .= "<tr><td colspan='2' class='forumheader'>{$forum_name} (".FORLAN_38.")</td>"; 410 } 411 else if($forum_class == 254) { 412 $text .= "<tr><td colspan='2' class='forumheader'>{$forum_name} (".FORLAN_39.")</td>"; 413 } 414 else if($forum_class) { 415 $text .= "<tr><td colspan='2' class='forumheader'>{$forum_name} (".FORLAN_40.")</td>"; 416 } else { 417 $text .= "<tr><td colspan='2' class='forumheader'>{$forum_name}</td>"; 418 } 419 420 $text .= "<td class='forumheader' style='text-align:center'>\n<select name='activate' class='tbox'>\n"; 421 422 for($a = 1; $a <= $parent_amount; $a++) { 423 $text .= ($forum_order == $a ? "<option value='{$forum_id}.{$a}' selected>{$a}</option>\n" : "<option value='{$forum_id}.{$a}'>$a</option>\n"); 424 } 425 426 $text .= "</select></td></tr>\n"; 427 428 $forums = $sql2->db_Select("forum", "*", "forum_parent = '{$forum_id}' ORDER BY forum_order ASC"); 429 if (!$forums) { 430 $text .= "<td colspan='4' style='text-align:center' class='forumheader3'>".FORLAN_29."</td>"; 431 } else { 432 while ($row = $sql2->db_Fetch()) { 433 extract($row); 434 435 $text .= "<tr><td style='width:5%; text-align:center' class='forumheader2'><img src='".e_IMAGE."forum/new.png' alt='' /></td>\n<td style='width:55%' class='forumheader2'><a href='".e_BASE."forum_viewforum.php?".$forum_id."'>".$forum_name."</a><br /><span class='smallblacktext'>".$forum_description."</span></td> 436 <td colspan='2' class='forumheader3' style='text-align:center'>\n<select name='forum_order_[]' class='tbox'>\n"; 437 for($a = 1; $a <= $forums; $a++) { 438 $text .= ($forum_order == $a ? "<option value='{$forum_id}.{$a}' selected>{$a}</option>\n" : "<option value='{$forum_id}.{$a}'>{$a}</option>\n"); 439 } 440 441 $text .= "</select>\n</td>\n</tr>"; 442 } 443 } 444 } 445 } 446 447 $text .= "<tr> 448 <td colspan='4' style='text-align:center' class='forumheader'> 449 <input class='button' type='submit' name='update_order' value='".FORLAN_72."' /> 450 </td> 451 </tr> 452 453 </table></form></div>"; 454 $ns->tablerender(FORLAN_43, $text); 455 456 457 $text = "<div style='text-align:center'> 458 <form method='post' action='".e_SELF."'>\n 459 <table style='width:85%' class='fborder'> 460 461 <tr> 462 <td style='width:75%' class='forumheader3'> 463 ".FORLAN_44."<br /> 464 <span class='smalltext'>".FORLAN_45."</span> 465 </td> 466 <td style='width:25%' class='forumheader2' style='text-align:center'>". ($pref['forum_enclose'] ? "<input type='checkbox' name='forum_enclose' value='1' checked />" : "<input type='checkbox' name='forum_enclose' value='1' />")." 467 </td> 468 </tr> 469 470 <tr> 471 <td style='width:75%' class='forumheader3'> 472 ".FORLAN_65."<br /> 473 <span class='smalltext'>".FORLAN_46."</span> 474 </td> 475 <td style='width:25%' class='forumheader2' style='text-align:center'> 476 <input class='tbox' type='text' name='forum_title' size='15' value='".$pref['forum_title']."' maxlength='20' /> 477 </td> 478 </tr> 479 480 481 <tr> 482 <td style='width:75%' class='forumheader3'> 483 ".FORLAN_47."<br /> 484 <span class='smalltext'>".FORLAN_48."</span> 485 </td> 486 <td style='width:25%' class='forumheader2' style='text-align:center'>". ($pref['email_notify'] ? "<input type='checkbox' name='email_notify' value='1' checked />" : "<input type='checkbox' name='email_notify' value='1' />")." 487 </td> 488 </tr> 489 490 <tr> 491 <td style='width:75%' class='forumheader3'> 492 ".FORLAN_68."<br /> 493 <span class='smalltext'>".FORLAN_69."</span> 494 </td> 495 <td style='width:25%' class='forumheader2' style='text-align:center'>". ($pref['html_post'] ? "<input type='checkbox' name='html_post' value='1' checked />" : "<input type='checkbox' name='html_post' value='1' />")." 496 </td> 497 </tr> 498 499 <tr> 500 <td style='width:75%' class='forumheader3'> 501 ".FORLAN_49."<br /> 502 <span class='smalltext'>".FORLAN_50."</span> 503 </td> 504 <td style='width:25%' class='forumheader2' style='text-align:center'>". ($pref['forum_poll'] ? "<input type='checkbox' name='forum_poll' value='1' checked />" : "<input type='checkbox' name='forum_poll' value='1' />")." 505 </tr> 506 507 <tr> 508 <td style='width:75%' class='forumheader3'> 509 ".FORLAN_70."<br /> 510 <span class='smalltext'>".FORLAN_71."</span> 511 </td> 512 <td style='width:25%' class='forumheader2' style='text-align:center'>". ($pref['forum_attach'] ? "<input type='checkbox' name='forum_attach' value='1' checked />" : "<input type='checkbox' name='forum_attach' value='1' />")." 513 </td> 514 </tr> 515 516 517 518 519 <tr> 520 <td style='width:75%' class='forumheader3'> 521 ".FORLAN_51."<br /> 522 <span class='smalltext'>".FORLAN_52."</span> 523 </td> 524 <td style='width:25%' class='forumheader2' style='text-align:center'>". ($pref['forum_track'] ? "<input type='checkbox' name='forum_track' value='1' checked />" : "<input type='checkbox' name='forum_track' value='1' />")." 525 </tr> 526 527 528 529 <tr> 530 <td style='width:75%' class='forumheader3'> 531 ".FORLAN_53."<br /> 532 <span class='smalltext'>".FORLAN_54."</span> 533 </td> 534 <td style='width:25%' class='forumheader2' style='text-align:center'> 535 <input class='tbox' type='text' name='forum_eprefix' size='15' value='".$pref['forum_eprefix']."' maxlength='20' /> 536 </tr> 537 538 539 540 <tr> 541 <td style='width:75%' class='forumheader3'> 542 ".FORLAN_55."<br /> 543 <span class='smalltext'>".FORLAN_56."</span> 544 </td> 545 <td style='width:25%' class='forumheader2' style='text-align:center'> 546 <input class='tbox' type='text' name='forum_popular' size='3' value='".$pref['forum_popular']."' maxlength='3' /> 547 </tr> 548 549 <tr> 550 <td style='width:75%' class='forumheader3'> 551 ".FORLAN_57."<br /> 552 <span class='smalltext'>".FORLAN_58."</span> 553 </td> 554 <td style='width:25%' class='forumheader2' style='text-align:center'> 555 <input class='tbox' type='text' name='forum_postspage' size='3' value='".$pref['forum_postspage']."' maxlength='3' /> 556 </tr> 557 558 <tr> 559 <td style='width:75%' class='forumheader3'> 560 ".FORLAN_63."<br /> 561 <span class='smalltext'>".FORLAN_64."</span> 562 </td> 563 <td style='width:25%' class='forumheader2' style='text-align:center'> 564 <textarea class='tbox' name='forum_levels' cols='15' rows='5'>".$pref['forum_levels']."</textarea> 565 </td> 566 </tr> 567 568 569 <tr> 570 <td style='width:75%' class='forumheader3'> 571 ".FORLAN_59."<br /> 572 <span class='smalltext'>".FORLAN_60."</span> 573 </td> 574 <td style='width:25%' class='forumheader2' style='text-align:center'> 575 <span class='smalltext'>".FORLAN_109."</span> <input class='tbox' type='text' name='prune_days' size='3' value='' maxlength='3' /> 576 <input class='button' type='submit' name='prune' value='".FORLAN_110."' /> 577 </tr> 578 579 580 <tr style='vertical-align:top'> 581 <td colspan='2' style='text-align:center' class='forumheader'> 582 <input class='button' type='submit' name='updateoptions' value='".FORLAN_61."' /> 583 </td> 584 </tr> 585 586 </table> 587 </form> 588 </div>"; 589 $ns->tablerender(FORLAN_62, $text); 590 591 require_once ("footer.php"); 592 593 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Apr 1 01:23:32 2007 | par Balluche grâce à PHPXref 0.7 |