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

📄 login.php

📁 通达OA2007SE源代码 非常好的
💻 PHP
字号:
<?
  include_once 'inc/auth.php';
  echo '
<html>
<head>
<title>聊天室登录</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
';
  echo '<s';
  echo 'cript Language="JavaScript">
function CheckForm()
{
   if(document.form1.USER_NAME.value=="")
   { alert("昵称不能为空!");
     return (false);
   }
   return (true);
}
</script>
</head>
<body class="bodycolor" topmargin="5" onload="document.form1.USER_NAME.focus();">
<table border="0" width="100%" cellspacing="0" cellpadding="3" class="small">
  <tr>
    <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>
    </td>
    </tr>
</table>
<br>
';
  $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 '
<div align="center">
<b>
 <form action="chat/index.php" name="form1" onsubmit="return CheckForm();">
	';
  echo '<s';
  echo 'pan class="big1">昵称:</span><input type="text" name="USER_NAME" size="10" maxlength="25" class="Biginput" value="';
  echo $NICK_NAME;
  echo '">
	<input type="hidden" value="';
  echo $CHAT_ID;
  echo '" name="CHAT_ID">
        <input type="submit" value="进入聊天室" class="BigButton" name="button">
 </form>
</font>
</b>
</div>
';
  button_back ();
  echo '
</body>
</html>
';
?>

⌨️ 快捷键说明

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