⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 login.php

📁 极限网络智能办公系统—MYOA26—100%—源程序。
💻 PHP
字号:
<?php

include_once( "inc/auth.php" );
echo "\r\n<html>\r\n<head>\r\n<title>聊天室登录</title>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\">\r\n\r\n";
echo "<s";
echo "cript Language=\"JavaScript\">\r\nfunction CheckForm()\r\n{\r\n   if(document.form1.USER_NAME.value==\"\")\r\n   { alert(\"昵称不能为空!\");\r\n     return (false);\r\n   }\r\n   return (true);\r\n}\r\n\r\n</script>\r\n</head>\r\n<body class=\"bodycolor\" topmargin=\"5\" onload=\"document.form1.USER_NAME.focus();\">\r\n\r\n<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"3\" class=\"small\">\r\n  <tr>\r\n    <td class=\"Big\"><img src=\"/ima";
echo "ges/menu/chatroom.gif\" WIDTH=\"22\" HEIGHT=\"20\" align=\"absmiddle\">";
echo "<s";
echo "pan class=\"big3\"> 聊天室 - ";
echo $SUBJECT;
echo " - 登录</span><br>\r\n    </td>\r\n    </tr>\r\n</table>\r\n\r\n<hr width=\"95%\" height=\"1\" align=\"left\" class=\"big1\">\r\n\r\n";
$connection = openconnection( );
$query = "SELECT * from USER where USER_ID='{$LOGIN_USER_ID}'";
$cursor = exequery( $connection, $query );
if ( $ROW = mysql_fetch_array( $cursor ) )
{
	$NICK_NAME = $ROW['NICK_NAME'];
}
echo "\r\n<div align=\"center\">\r\n<b>\r\n\r\n <form action=\"chat/index.php\" name=\"form1\" onsubmit=\"return CheckForm();\">\r\n\t";
echo "<s";
echo "pan class=\"big1\">昵称:</span><input type=\"text\" name=\"USER_NAME\" size=\"10\" maxlength=\"25\" class=\"Biginput\" value=\"";
echo $NICK_NAME;
echo "\">\r\n\t<input type=\"hidden\" value=\"";
echo $CHAT_ID;
echo "\" name=\"CHAT_ID\">\r\n        <input type=\"submit\" value=\"进入聊天室\" class=\"BigButton\" name=\"button\">\r\n </form>\r\n</font>\r\n</b>\r\n</div>\r\n\r\n";
button_back( );
echo "\r\n</body>\r\n</html>\r\n";
?>

⌨️ 快捷键说明

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