📄 login.php
字号:
<?
ob_start ();
include_once 'inc/reg_check.php';
if ($OA_REG_ON != 2)
{
exit ();
}
include_once 'inc/conn.php';
include_once 'inc/utility.php';
include_once 'inc/utility_all.php';
echo '
<html>
<head>
<title>';
echo $TD_MYOA_PRODUCT_NAME;
echo '登录</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
';
$LOGIN_MSG = login_check ($USERNAME, $PASSWORD);
if ($LOGIN_MSG != '1')
{
header ('location: index.php?ERROR_NO=1');
exit ();
}
$query = '' . 'SELECT * from USER where USER_ID=\'' . $USERNAME . '\'';
$cursor = exequery ($connection, $query);
if ($ROW = mysql_fetch_array ($cursor))
{
$PWD = $ROW['PASSWORD'];
}
$P = $USERNAME . '`' . $PWD;
header ('' . 'location: main.php?P=' . $P);
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -