List_Add.asp
资源名称:NetPhone.rar [点击查看]
上传用户:xxtaishan
上传日期:2022-01-02
资源大小:4063k
文件大小:2k
源码类别:
IP电话/视频会议
开发平台:
ASP/ASPX
- <LINK REL="stylesheet" HREF="../images/style.css" TYPE="text/css"> <META content="text/html;charset=gb2312" http-equiv="Content-Type">
- <style type="text/css">
- <!--
- .style1 {
- color: #FFFFFF;
- font-weight: bold;
- }
- -->
- </style>
- <form name="form1" method="post" action="List_Save.asp" onSubmit="return frmchk();" enctype="multipart/form-data">
- <table width="100%" border="1" cellspacing="0" cellpadding="2" align="center" bordercolordark="#ffffff" bordercolorlight="#000000">
- <tr bgcolor="#3366CC">
- <td height="25" colspan="2">
- <div align="center" class="style1">信息添加</div> </td>
- </tr>
- <tr>
- <TD WIDTH="21%" height="25">
- <DIV ALIGN="center"> <FONT COLOR="#FF0000"> * </FONT>新闻标题:</DIV> </TD>
- <td width="79%" height="25">
- <input type="text" name="title" size="50"> </td>
- </tr>
- <tr>
- <TD WIDTH="21%" height="25">
- <DIV ALIGN="center"> <FONT COLOR="#FF0000">*</FONT> 新闻内容:</DIV> </TD>
- <td width="79%" height="25">
- <textarea name="content" cols="85" rows="25"></textarea> </td>
- </tr>
- <tr>
- <TD WIDTH="21%" height="25">
- <div align="center">* 新闻图片:</div> </TD>
- <td width="79%" height="25">
- <input type="file" name="file" size="35"> </td>
- </tr>
- <tr>
- <td height="25" colspan="2">
- <div align="center">
- <input type="submit" name="Submit" value="添加">
- <input type="button" value="取消" onClick="history.go(-1)">
- <input type="hidden" name="operation" value="add">
- </div> </td>
- </tr>
- </table>
- <script language="JavaScript">
- function frmchk()
- {
- if (form1.title.value == "")
- {
- alert("请填写新闻标题!");
- return false;
- }
- if (form1.content.value == "")
- {
- alert("请填写新闻内容!");
- return false;
- }
- }
- </script> <table width="75%" border="0" cellspacing="0" cellpadding="0" align="center" height="34">
- <tr> <td> <div align="center">说明:<font color="#FF0000">*</font> 为必须填写的内容</div></td></tr>
- </table></form>