📄 index.php
字号:
<?php
// +-------------------------------------------------------------+
// | DeskPRO v [2.0.1 Production]
// | Copyright (C) 2001 - 2004 Headstart Solutions Limited
// | Supplied by WTN-WDYL
// | Nullified by WTN-WDYL
// | Distribution via WebForum, ForumRU and associated file dumps
// +-------------------------------------------------------------+
// | DESKPRO IS NOT FREE SOFTWARE
// +-------------------------------------------------------------+
// | License ID : Full Enterprise License =) ...
// | License Owner : WTN-WDYL Team
// +-------------------------------------------------------------+
// | $RCSfile: index.php,v $
// | $Date: 2004/02/10 01:34:28 $
// | $Revision: 1.26 $
// +-------------------------------------------------------------+
// | File Details:
// | - Technician home page frame shell.
// +-------------------------------------------------------------+
error_reporting(E_ALL ^ E_NOTICE);
include "./../global.php";
reload_index_frameset();
?>
<html>
<head>
<title>DeskPRO Technician Interface</title>
</head>
<frameset rows="*, 120, 0" id="rowframeset"> <?php
if ($_REQUEST['url']) {
// First, we can't let users load a few of these supporting files
// directly because they aren't meant to run that way.
$url = parse_url($_REQUEST['url']);
$file = basename($url['path'], '.php');
$noload = array(
'autoload',
'cache',
'quickfind',
'global'
);
if (in_array($file, $noload)) { // Ignore the request, go back to main page.
unset($_REQUEST['url']);
} else {
if (!stristr($_REQUEST['url'], '?')) {
$_REQUEST['url'] .= "?";
}
foreach($_GET AS $name => $val) {
$_REQUEST['url'] .= "&$name=$val";
}
}
}
switch ($user['footer']) {
default:
case '1':
$file = 'footer_select.php';
break;
case '2':
$file = 'footer_search.php';
break;
case '4':
$file = '../faq/footer_faq.php';
break;
case '3':
$file = 'footer_tickets.php';
break;
}
if ($_REQUEST['url']) { ?>
<frame name="center" src="<?php echo $_REQUEST['url'] ?>" marginheight="0" marginwidth="0" border="0" topmargin="0" frameborder="No"> <?php
} else { ?>
<frame name="center" src="main.php" marginheight="0" marginwidth="0" border="0" topmargin="0" frameborder="No"> <?php
} ?>
<frameset cols="*, 0, 0">
<frame name="footer" scrolling="NO" marginheight="0" border="0" marginwidth="0" topmargin="0" frameborder="No" noresize src="<?php echo $file; ?>">
<frame name="cache" src="autoload.php" NORESIZE SCROLLING=NO marginheight="0" topmargin="0" marginwidth="0" border="0" frameborder="No">
<frame name="empty" scrolling="no" marginheight="0" border="0" marginwidth="0" topmargin="0" frameborder="No" noresize src="cache.php">
</frameset>
</frameset>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -