1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
|
require ("./global.php");
if (!ini_get('register_globals')) { //globals = OFF ??
$types_to_register = array('GET','POST','COOKIE','SESSION','SERVER');
foreach ($types_to_register as $type){
if (@count(${'HTTP_' . $type . '_VARS'}) > 0){
extract(${'HTTP_' . $type . '_VARS'}, EXTR_OVERWRITE);
}
}
}
if($wbbuserdata['a_can_use_acp']==1){
if($_REQUEST['action'] == "send"){
$boardid= $_REQUEST['boardid'];
$db->query("UPDATE bb".$n."_boards SET description='".addslashes($_REQUEST['description'])."' WHERE boardid='".$boardid."'");
}
$board = $db->query_first("SELECT * FROM bb".$n."_boards WHERE boardid='$boardid'");
|