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

📄 addnews1.asp

📁 为了开发出适用于中小型企业的通用人才管理软件。对于已备电脑等硬件设备而无人才管理软件的企业更能带来更高的收益。此人才管理软件主要应用了DELPHI 7和SQL。解决企业管理中的员工管理
💻 ASP
字号:
<%@ Language=VBScript %>
<% If Session(strCookieURL & "www.3rom.com") = "1369852475213" and Session("count")<10 Then %> 
<!--#INCLUDE FILE="inc_Conn.asp" -->
<%
set rs=Server.createObject("adodb.Recordset") 
strSql="Select * from Class"
rs.open strSql,MyCon


%>

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>AddNews</title>
</head>

<body bgcolor="#D6D3CE">
<form method="POST" action="AddNews2.asp?active=DoIt">
<table align="center" border="1" cellPadding="0" cellSpacing="0" width="75%" height="338">
  <tr>
    <td width="67" valign="top" align="right" nowrap bgcolor="#C0C0C0" height="23"><b><font color="#FFFFFF">标题:</font></b></td>
    <td width="625" colspan="2" height="23"><input id="Title" name="Title" title="Title" size="20"></td>
  </tr>
  <tr>
    <td width="67" valign="top" align="right" nowrap bgcolor="#C0C0C0" height="23"><b><font color="#FFFFFF">作者:</font></b></td>
    <td width="625" colspan="2" height="23"><input type="text" name="Author" size="20"> 
      务必填写新闻的原作者</td>
  </tr>
  <tr>
    <td width="67" valign="top" align="right" nowrap bgcolor="#C0C0C0" height="23"><b><font color="#FFFFFF">出处:</font></b></td>
    <td width="625" colspan="2" height="23"><input id="Freind" name="Freind" title="Friend" size="20"> 
      例:中南大学</td> 
  </tr>
  <tr>
    <td width="67" valign="top" align="right" nowrap bgcolor="#C0C0C0" height="23"><b><font color="#FFFFFF">链接:</font></b></td>
    <td width="625" colspan="2" height="23"><input id="Link" name="Link" title="Link" size="20"> 
      例:http://www.csu.edu.cn</td>                 
  </tr>
  <tr>
    <td align="right" vAlign="top" width="67" nowrap bgcolor="#C0C0C0" height="23"><b><font color="#FFFFFF">类别:</font></b></td>
    <td width="625" colspan="2" height="23"><select size="1" name="Class">
        <option value="0">请选择类别...</option>
        <% Do While not rs.EOF %>
        <option value="<%=rs("ClassID")%>"><%=rs("Class_Name")%></option>
        <% rs.movenext %>
        <% Loop %>  
      </select> 选择新闻所属的类别,如:校内新闻</td>              
  </tr>
  <tr>
    <td align="right" vAlign="top" width="67" nowrap bgcolor="#C0C0C0" rowspan="3" height="184"><b><font color="#FFFFFF">内容:</font></b></td>
    <td width="313" rowspan="3" height="184"><textarea id="Content" name="Content" rows="12" cols="49"></textarea></td>
    <td width="312" valign="top" align="left" height="108">如果要添加图片,请在要加入图片的地方写入[image<font color="#FF0000">1</font>][image<font color="#FF0000">2</font>]......[image<font color="#FF0000">N</font>]否则按默认方式处理。</td>
  </tr>
  <tr>
    <td width="312" valign="top" align="left" height="30"><select size="1" name="Image">
        <option value="0">请选择图片数</option>
        <% For i=1 to 10 %>
        <option value="<%=i%>"><%=i%></option>
        <% next %>    
        </select></td> 
  </tr>
  <tr>
    <td width="312" valign="top" align="left" height="42"></td>
  </tr>
  <tr>
    <td width="67" valign="top" align="right" nowrap bgcolor="#C0C0C0" height="25"> </td>
    <td width="625" colspan="2" height="25"><input id="submit" name="submit" type="submit" value=" 确 定 ">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
      <input type="reset" value=" 全部重写 " name="Reset"></td>
  </tr>
</table>
</form>
<div align="center">
  <center>
  <table border="0" width="100%" cellspacing="0" cellpadding="0">
    <tr>
      <td width="100%" align="center"><a href="Index.asp">返回管理</a></td>
    </tr>
    <tr>
      <td width="100%" valign="top" align="right"><font face="宋体,Arial, Helvetica" size="1"><acronym title="Powered By: 小鬼工作室 Version 1.0.01"><a href="http://www.3rom.com" target="_blank"><img border="0" src="../IMAGES/logo_3rom_by.gif"></a></acronym></font></td>
    </tr>
  </table>
  </center>
</div>
</body>

</html>
<%
rs.close
set rs=Nothing
MyCon.close
set MyCon=Nothing
%>
<% 
Else
Response.redirect "Login.asp"
End If
%>

⌨️ 快捷键说明

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