Zeile 6 | Zeile 6 |
---|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html *
|
* Website: http://www.mybboard.com * License: http://www.mybboard.com/eula.html *
|
* $Id: forums.php 2148 2006-08-27 04:10:33Z Tikitiki $
| * $Id: forums.php 2630 2007-01-11 10:51:24Z chris $
|
*/
define("IN_MYBB", 1);
| */
define("IN_MYBB", 1);
|
Zeile 78 | Zeile 78 |
---|
reset($iforumcache); if(is_array($iforumcache[$pid])) {
|
reset($iforumcache); if(is_array($iforumcache[$pid])) {
|
| $comma = "";
|
foreach($iforumcache[$pid] as $key => $main) {
|
foreach($iforumcache[$pid] as $key => $main) {
|
$comma = "";
| |
foreach($main as $key => $forum) { $forum['name'] = $forum['name'];
| foreach($main as $key => $forum) { $forum['name'] = $forum['name'];
|
Zeile 197 | Zeile 197 |
---|
cperror($lang->forum_noparent); } $sqlarray = array(
|
cperror($lang->forum_noparent); } $sqlarray = array(
|
"name" => htmlspecialchars_uni($db->escape_string($mybb->input['name'])),
| "name" => $db->escape_string($mybb->input['name']),
|
"description" => $db->escape_string($mybb->input['description']), "linkto" => $db->escape_string($mybb->input['linkto']), "type" => $type, "pid" => $pid,
|
"description" => $db->escape_string($mybb->input['description']), "linkto" => $db->escape_string($mybb->input['linkto']), "type" => $type, "pid" => $pid,
|
| "parentlist" => '',
|
"disporder" => intval($mybb->input['disporder']), "active" => $db->escape_string($mybb->input['isactive']), "open" => $db->escape_string($mybb->input['isopen']),
| "disporder" => intval($mybb->input['disporder']), "active" => $db->escape_string($mybb->input['isactive']), "open" => $db->escape_string($mybb->input['isopen']),
|
Zeile 346 | Zeile 347 |
---|
$updatequery = array( "usergroup" => "2" );
|
$updatequery = array( "usergroup" => "2" );
|
$db->update_query(TABLE_PREFIX."usergroups", $updatequery, "uid IN ($mod_list) AND usergroup='6'");
| $db->update_query(TABLE_PREFIX."users", $updatequery, "uid IN ($mod_list) AND usergroup='6'");
|
} } $db->delete_query(TABLE_PREFIX."forums", "CONCAT(',',parentlist,',') LIKE '%,$fid,%'");
| } } $db->delete_query(TABLE_PREFIX."forums", "CONCAT(',',parentlist,',') LIKE '%,$fid,%'");
|
Zeile 432 | Zeile 433 |
---|
}
$sqlarray = array(
|
}
$sqlarray = array(
|
"name" => htmlspecialchars_uni($db->escape_string($mybb->input['name'])),
| "name" => $db->escape_string($mybb->input['name']),
|
"description" => $db->escape_string($mybb->input['description']), "linkto" => $db->escape_string($mybb->input['linkto']), "type" => $type,
| "description" => $db->escape_string($mybb->input['description']), "linkto" => $db->escape_string($mybb->input['linkto']), "type" => $type,
|