X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=admin.php;h=320651ffb6aade726ea0139dde43b8dc4426454b;hb=959e721d75415314d391874d91f27564e9284664;hp=56698d1851b1d46bf1a2ea9841847b7d8ae3c0ed;hpb=5ea325bd8bedeea818812eab5f0bec15aa693e0b;p=idb%2FiDB.git.git diff --git a/admin.php b/admin.php index 56698d1..320651f 100644 --- a/admin.php +++ b/admin.php @@ -8,40 +8,104 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Revised BSD License for more details. - Copyright 2004-2008 Cool Dude 2k - http://idb.berlios.de/ - Copyright 2004-2008 Game Maker 2k - http://intdb.sourceforge.net/ + Copyright 2004-2011 iDB Support - http://idb.berlios.de/ + Copyright 2004-2011 Game Maker 2k - http://gamemaker2k.org/ - $FileInfo: admin.php - Last Update: 3/26/2009 SVN 237 - Author: cooldude2k $ + $FileInfo: admin.php - Last Update: 06/14/2011 SVN 672 - Author: cooldude2k $ */ +if(ini_get("register_globals")) { +require_once('inc/misc/killglobals.php'); } require('preindex.php'); $usefileext = $Settings['file_ext']; if($ext=="noext"||$ext=="no ext"||$ext=="no+ext") { $usefileext = ""; } $filewpath = $exfile['admin'].$usefileext.$_SERVER['PATH_INFO']; +if($GroupInfo['ViewDBInfo']=="yes") { +if($_GET['act']=="settings"||$_GET['act']=="sql") { ?> + + + + + + <?php echo $Settings['board_name'].$idbpowertitle; ?>