index.php

来自「通达OA2007SE源代码 非常好的」· PHP 代码 · 共 54 行

PHP
54
字号
<?
  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.SUBJECT.value=="")
   { alert("聊天室名称不能为空!");
     return (false);
   }
   return (true);
}
</script>
</head>
<body class="bodycolor" topmargin="5" onload="document.form1.SUBJECT.focus();">
<table border="0" width="90%" cellspacing="0" cellpadding="3" class="small">
  <tr>
    <td class="Big"><img src=';
  echo '"/images/notify_new.gif" align="absmiddle">';
  echo '<s';
  echo 'pan class="big3"> 新建聊天室</span>
    </td>
  </tr>
</table>
<br>
<table border="0" width="500" cellpadding="2" cellspacing="1" align="center" bgcolor="#000000" class="small">
  <form action="submit.php"  method="post" name="form1" onsubmit="return CheckForm();">
    <tr>
      <td nowrap class="TableData"> 聊天室名称:</td>
      <td class="TableData"> 
        <input type="text" name="SUBJEC';
  echo 'T" size="40" maxlength="100" class="BigInput" value="';
  echo $SUBJECT;
  echo '">
      </td>
    </tr>
    <tr align="center" class="TableControl">
      <td colspan="2" nowrap>
        <input type="submit" value="保存" class="BigButton">&nbsp;&nbsp;
        <input type="button" value="返回" class="BigButton" onClick="location=\'../\'">
      </td>
    </tr>
  </table>
</form>
</body>
</html>';
?>

⌨️ 快捷键说明

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