예제 #1
0
    ?>
" scrolling="yes" style="height: 100%; visibility: inherit; width: 100%; z-index: 1;overflow: auto;"></iframe></td>
</tr></table>
</body>
</html>
<?php 
    exit;
}
$isfounder = isfounder();
if ($action == 'menu') {
    require_once DISCUZ_ROOT . './admin/menu.inc.php';
} elseif ($action == 'header') {
    require_once DISCUZ_ROOT . './admin/header.inc.php';
} elseif ($action == 'logout') {
    $db->query("DELETE FROM {$tablepre}adminsessions WHERE uid='{$discuz_uid}'");
    loginmsg('logout_succeed', 'index.php');
} else {
    $cpscript = '';
    if ($adminid == 1) {
        if ($action == 'home') {
            $cpscript = 'home';
        } elseif ($action == 'runwizard' && isfounder()) {
            $cpscript = 'runwizard';
        } elseif ($action == 'settings') {
            $cpscript = 'settings';
        } elseif ($action == 'xspace') {
            $cpscript = 'supesite';
        } elseif ($action == 'passport' || $action == 'shopex') {
            $cpscript = 'passport';
        } elseif ($action == 'google_config') {
            $cpscript = 'google';
예제 #2
0
</tr></table>
</body>
</html>
<?

	exit();

}
$isfounder = isfounder();
if($action == 'menu') {
	require_once DISCUZ_ROOT.'./admin/menu.inc.php';
} elseif($action == 'header') {
	require_once DISCUZ_ROOT.'./admin/header.inc.php';
} elseif($action == 'logout') {
	$db->query("DELETE FROM {$tablepre}adminsessions WHERE uid='$discuz_uid'");
	loginmsg('logout_succeed', $indexname);
} else {
	$cpscript = '';
	if($adminid == 1) {

		if($action == 'home') {
			$cpscript = 'home';
		} elseif($action == 'runwizard' && isfounder()) {
			$cpscript = 'runwizard';
		} elseif($action == 'settings') {
			$cpscript = 'settings';
		} elseif($action == 'xspace') {
			$cpscript = 'supesite';
		} elseif($action == 'passport' || $action == 'shopex') {
			$cpscript = 'passport';
		} elseif($action == 'google_config') {