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

📄 article_add.asp

📁 我勇 java 和access 做的一个网站
💻 ASP
字号:
<!--#include file="islogin.asp"-->
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css/css.css" rel="stylesheet" type="text/css">
<title></title>
<style type="text/css">
<!--
@import url("../style/admin.css");
.STYLE1 {	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #FF0000;
}
.STYLE2 {color: #FF0000}
.STYLE5 {color: #0000FF}
body {
	background-color: #FFFFFF;
}
-->
</style></head>

<body>
<br><form name="form1" method="post" action="article_do.asp?action=add">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_1">
  <tr>
    <td height="25" class="header"><strong class="header">文章添加中...</strong></td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">
	<table width="100%" border="0" align="center" cellpadding="3" cellspacing="0" class="table_1_inc">
      <tr>
        <td width="68" align="right"><strong>标题:</strong></td>
        <td><input name="title" type="text" id="title" size="55"></td>
        </tr>
      <tr>
        <td align="right"><strong>模版:</strong></td>
        <td><label>
<%set rs=server.createobject("adodb.recordset")
sql="select * from moban"
rs.open sql,conn,1,1
%>		
<select name="moban" id="moban">
<% do while not rs.eof%>
<option value="<%=rs("id")%>"><%=rs("name")%></option>
<%
rs.movenext      
loop
rs.close
%>
</select>
        </label></td>
      </tr>
      <tr>
        <td align="right"><strong>类别:</strong></td>
        <td><label>
        <%
sql="select * from class where id="+request("class_id")
rs.open sql,conn,1,1
class_id=rs("id")
class_name=rs("name")
class_big=rs("class_big")
rs.close
%>
        <input name="class_id" type="hidden" id="class_id" value="<%=class_id%>" size="10">
        <input name="class_name" type="hidden" id="class_name" value="<%=class_name%>" size="10">
        <input name="class_big" type="hidden" id="class_big" value="<%=class_big%>" size="10">
        <span class="STYLE1"><%=class_big%>><%=class_name%></span> [<a href="article_add_class.asp" style="color:green"><strong>更换位置</strong></a>] </label></td>
      </tr>
      <tr>
        <td align="right"><strong>图片:</strong></td>
        <td><iframe name="ad" frameborder=0 width="454" height="23" scrolling=no src="UpFileForm.asp"></iframe></td>
      </tr>
      <tr>
        <td align="right">&nbsp;</td>
        <td><label></label>
          <input name="images" type="text" id="images" size="40">
          <br>
          <span class="STYLE2">此图片只可以放在内容中显示,用ubb代码调用,如<span class="STYLE5">[img]../../upload/2006529144831.jpg[/img]</span></span></td>
      </tr>
      <tr>
        <td align="right"><strong>图片:</strong></td>
        <td><input type="radio" name="pic" value="1">
          有图 
            <input type="radio" name="pic" value="0">
            无图 </td>
      </tr>
      <tr>
        <td align="right" valign="middle"><p>&nbsp;</p>          </td>
        <td><p>
<img onclick=sel('[B]文字[/B]') src="../images/ubbpic/bold.gif" alt="加粗" width="23" height="22"> <img src="../images/ubbpic/underline.gif" alt="下划线" width="23" height="22" onclick=sel('[U]文字[/U]')> 
<img onclick=sel('[I]文字[/I]') src="../images/ubbpic/italic.gif" width="23" height="22"> 
<img src="../images/ubbpic/center.gif" alt="居中" width="23" height="22" onclick=sel('[center]文字[/center]')> 
<img onclick=sel('[fly]文字[/fly]') src="../images/ubbpic/fly.gif" width="23" height="22"> 
<img src="../images/ubbpic/glow.gif" alt="闪光文字" width="23" height="22" onclick=sel('[glow=255,red,2]文字[/glow]')> 
<img src="../images/ubbpic/image.gif" alt="图片" width="23" height="22" onclick=sel('[img][/img]')> 
<img src="../images/ubbpic/mpeg.gif" alt="多媒体" width="23" height="22" onclick=sel('[MP=500,350][/MP]')> 
<img src="../images/ubbpic/rm.gif" alt="多媒体" width="23" height="22" onclick=sel('[RM=500,350][/RM]')> 
<img src="../images/ubbpic/swf.gif" alt="flash动画" width="23" height="22" onclick=sel('[flash=500,450][/flash]')> 
<img src="../images/ubbpic/url.gif" alt="网址" width="23" height="22" onclick=sel('[URL][/URL]')> 
<a onclick=sel('[code]代码[/code]')  href="#">代码</a> &nbsp;<a href="ubb_help.html" target="_blank"  onClick="window.open(this.href,'','left=100,top=200,width=700,height=380,scrollbars=yes,resizable=no');return false;">更多ubb帮助</a></p>          </td>
        </tr>
      <tr>
        <td align="right" valign="top"><p><strong>内容:</strong></p>
          <p>&nbsp;</p></td>
<script language="javascript">
function sel(theinput)
{
  if(document.getElementById("content").value!="")
     document.getElementById("content").value+="\n"+theinput
  else
	 document.getElementById("content").value=theinput
}
</script>
        <td><textarea name="content" rows="15" id="content" style="width:100%"></textarea></td>
      </tr>
      <tr>
        <td align="right" valign="top"><strong>作者:</strong></td>
        <td><input name="zz" type="text" id="zz" value="admin" size="20"></td>
      </tr>
      <tr>
        <td align="right" valign="top"><strong>出处:</strong></td>
        <td><input name="from" type="text" id="from" value="青海旅游网" size="55"></td>
      </tr>
      <tr>
        <td align="right" valign="top"><strong>推荐:</strong></td>
        <td>          <label>
          <select name="up" id="up">
		  <%for i=0 to 25%>
            <option value="<%=i%>" <%if i=0 then%> selected <%end if%>><%=i%></option>
		  <%next%>	
          </select>
        </label>
          数字越大排队名越前</td>
      </tr>
      <tr>
        <td align="right" valign="top"><strong>点击:</strong></td>
        <td><label>
          <input name="hits" type="text" id="hits" value="2" size="10">
        点击初始化</label></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="25" align="center" bgcolor="#FFFFFF">
      <label>
      <input type="submit" name="Submit" value="提交">
      </label>
      <input name="button" type="button" onClick="history.go(-1)"  value="取消">
      <label></label>
   </td>
  </tr>
</table>
</form>
</body>     
</html>

⌨️ 快捷键说明

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