title.php

来自「极限网络智能办公系统 Office Automation V3.0官方100%源」· PHP 代码 · 共 55 行

PHP
55
字号
<?
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="查询用户">&nbsp;&nbsp;
		<input type="button" value="导入" class="BigButton" onClick="parent.user_main.location=\'import.php\';" title="导入用户">&nbsp;&nbsp;&nbsp;&nbsp;
	</td>
	</tr>
</table>
</body>
</html>
';
?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?