title.php
来自「极限网络智能办公系统—MYOA26—100%—源程序。」· PHP 代码 · 共 36 行
PHP
36 行
<?php
include_once( "inc/conn.php" );
include_once( "inc/auth.php" );
echo "\r\n<html>\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n</head>\r\n\r\n<body class=\"bodycolor\" topmargin=\"5\">\r\n\r\n";
$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 "\r\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"3\" class=\"small\">\r\n <tr>\r\n <td class=\"Big\"><img src=\"/images/menu/system.gif\" WIDTH=\"22\" HEIGHT=\"20\" align=\"absmiddle\">";
echo "<s";
echo "pan class=\"big3\"> 用户管理 - 管理范围(";
echo $DEPT_PRIV;
echo ",用中括号标识)</span>\r\n </td>\r\n <td align=\"right\">\r\n <input type=\"button\" value=\"查询用户\" class=\"BigButton\" onClick=\"parent.user_main.location='query.php';\" title=\"查询用户\"> \r\n </td>\r\n </tr>\r\n</table>\r\n\r\n</body>\r\n</html>\r\n";
?>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?