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

📄 add.asp

📁 个人求职网源代码
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<% If session("fbcpassword")<>"admin" Then 
response.Redirect("index.asp")

end if%>




<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>fbc制作</title>
<script language="javascript">
<!--
function checkdata()
{
if (document.form1.n_title.value=="") {
alert ("请输入新闻标题 !")
return false
}

return true
}
//-->
</script>
<script>
<!--

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>
<link href="style/css.css" rel="stylesheet" type="text/css">
<link href="beauty.css" rel="stylesheet" type="text/css">
</head>

<body>
<form ACTION="saveadd.asp" METHOD="POST"   name="form1" id="form1" OnSubmit="return checkdata()"  >
  
  <table width="600" border="0" align="center" cellpadding="0" cellspacing="0" class="line">
    <tr> 
      <td height="7" colspan="3" align="center" nowrap class="bg"></td>
    </tr>
    <tr> 
      <td width="18%" height="20" align="left" nowrap>新闻类别:</td>
      <td height="20" colspan="2"> 
        <select style="font-family: 宋体; font-size: 9pt" name="n_tid">
          <option value="1" selected>生活拾趣</option>
          <option value="2">学习笔记</option>
          <option value="3">技术文档</option>
          <option value="4">好歌共享</option>
          <option value="5">在线电影</option>
        </select> </td>
    </tr>
    
   
   
    <tr class="bg"> 
      <td width="18%" height="20" align="left" nowrap>文章标题:</td>
      <td height="20" colspan="2"> 
        <input style="font-family: 宋体; font-size: 9pt" type="text" name="n_title" size="32"> 
      </td>
    </tr>
  </table>
  <table width="575" border="0" align="center" cellpadding="0" cellspacing="0" id="img" style="display: none">
    <tr class="bg"> 
      <td width="18%" height="20" align="center" nowrap>缩略图:</td>
      <td width="50%" height="20"> 
        <input style="font-family: 宋体; font-size: 9pt"  type="text" name="n_mpic" value="" size="32"> 
      </td>
      <td width="32%" height="20"> <a href="#" onClick="MM_openBrWindow('yns_upload.asp?m=1','上传图片','width=300,height=100')">上传缩略图</a></td>
    </tr>
    <tr> 
      <td width="18%" height="20" align="center" nowrap>真实图:</td>
      <td width="50%" height="20"> 
        <input style="font-family: 宋体; font-size: 9pt" type="text" name="n_rpic" value="" size="32"> 
      </td>
      <td width="32%" height="20"> <a href="#" onClick="MM_openBrWindow('yns_upload.asp?m=2','上传图片','width=300,height=100')">上传真实图</a></td>
    </tr>
  </table>
  <table width="600" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
    <tr> 
      <td bgcolor="#FFFFFF"> 
	  <iframe ID="eWebEditor1" src="editor/ewebeditor.asp?id=n_content&style=mini" frameborder="0" scrolling="no" width="100%" HEIGHT="350"></iframe>
      </td>
    </tr>
  </table>
  <div align="center">
    <input id=Submit1  type=submit name=Submit1 value="添加新闻">
    <input name="n_date" type="hidden" id="n_date2" value="<%=now()%>">
    <input name="n_content" type="hidden" id="n_content">

  </div>
</form>
</body>
</html>

⌨️ 快捷键说明

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