📄 index.php
字号:
<?
include_once 'inc/auth.php';
echo '
<html>
<head>
<title>新建聊天室</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script 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="/images/notify_new.gif" align="absmiddle"><span 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="SUBJECT" 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">
<input type="button" value="返回" class="BigButton" onClick="location=\'../\'">
</td>
</tr>
</table>
</form>
</body>
</html>';
?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -