📄 title.php
字号:
<?
include_once 'inc/conn.php';
include_once 'inc/auth.php';
echo '
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body class="bodycolor" topmargin="5">
';
$query = 'SELECT * from USER where USER_ID=\'' . $LOGIN_USER_ID . '\'';
$cursor = exequery ($connection, $query);
if ($ROW = mysql_fetch_array ($cursor))
{
$POST_PRIV = $ROW['POST_PRIV'];
$POST_DEPT = $ROW['POST_DEPT'];
}
if ($POST_PRIV == '1')
{
$DEPT_PRIV = '全体';
}
else
{
if ($POST_PRIV == '2')
{
$DEPT_PRIV = '指定部门';
}
else
{
$query1 = 'select * from DEPARTMENT where DEPT_ID=' . $LOGIN_DEPT_ID;
$cursor1 = exequery ($connection, $query1);
if ($ROW = mysql_fetch_array ($cursor1))
{
$DEPT_PRIV = $ROW['DEPT_NAME'];
}
}
}
echo '
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
<tr>
<td class="Big"><img src="/images/menu/system.gif" WIDTH="22" HEIGHT="20" align="absmiddle"><span class="big3"> 用户管理 - 管理范围(';
echo $DEPT_PRIV;
echo ',用中括号标识)</span>
</td>
<td align="right">
<input type="button" value="查询用户" class="BigButton" onClick="parent.user_main.location=\'query.php\';" title="查询用户">
<input type="button" value="导入" class="BigButton" onClick="parent.user_main.location=\'import.php\';" title="导入用户">
</td>
</tr>
</table>
</body>
</html>
';
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -