📄 startadd.php
字号:
<?
include "../check.php"
?>
<?
include "../sql.php"
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<script language="JavaScript">
function Juge(theForm)
{
if (theForm.nasip.value =="")
{
alert("无可接入设备,请在备管理里配置NAS信息!");
theForm.nasip.focus();
return (false);
}
}
</script>
</head>
<body>
<div align="center">
<p> </p>
<p> </p>
<p>请首先选择新开用户的接入设备</p>
<form name="form1" method="post" action="add.php" onsubmit="javascript:return Juge(this);">
<table border="1">
<tr>
<td>接入NAS:</td>
<td><select name="nasip" id="nasip">
<?
$sql ="select * from nasport ";
$reslust=mysql_query($sql);
echo mysql_error();
while ($row=mysql_fetch_row($reslust))
{//echo $row[2]."<br>";
echo "<option value=".$row[1].">".$row[1]." 备注:".$row[26]."</option>";
}
?>
</select></td>
</tr>
</table>
<input type="submit" name="Submit" value="提交">
</form>
<p> </p>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -