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

📄 renew_moban.asp

📁 功能最强大的ASP网站
💻 ASP
字号:
<!--#include file="conn.asp"-->
<!--#include file="setting.asp"-->
<%
if session("quanxian")<>"超级管理员" then
response.Redirect("admin_wrong.asp?url=admin_center.asp&reason=你的权限可能不够,只有超级管理员才可以使用该功能!")
end if

set rs=server.createobject("adodb.recordset")
set rs2=server.createobject("adodb.recordset")
set rs3=server.createobject("adodb.recordset")
sql="select * from example where bh=1"
sql2="select * from example where bh=2"
sql3="select * from example where bh=3"
rs.open sql,conn,1,3
rs2.open sql2,conn,1,3
rs3.open sql3,conn,1,3
%>
<%
if request("action")="renew" then
new_moban=request("new_moban")
download_moban=request("download_moban")
shop_moban=request("shop_moban")
rs("example")=trim(new_moban)
rs2("example")=trim(download_moban)
rs3("example")=trim(shop_moban)
rs.update
rs2.update
rs3.update
response.Redirect("admin_right.asp?url=fresh_moban.asp&reason=代码修改成功,系统将会转到刷新页面,请手动刷新模板.")
end if
%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<link href="css/css.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
	background-image: url();
}
-->
</style></head>
<body>
<div>
  <div align="center">
    <form name="form1" method="post" action="renew_moban.asp?action=renew">
      <table width="861" border="0" bgcolor="#FFFFFF" class="tb1">
        <tr>
          <td background="image/item_bg.gif" class="STYLE13" id="new" style="border:#999999 1px solid"><div align="center" class="STYLE2">模版更新以及修改</div></td>
        </tr>
        <tr>
          <td background="image/item_bg.gif" class="STYLE13" id="new" style="border:#999999 1px solid"><div align="center">你当前使用的<span class="STYLE8">新闻模版</span>为</div></td>
        </tr>
        <tr>
          <td><div align="center">
            <label>
			
            <textarea name="new_moban" cols="200" rows="20" class="STYLE7" id="new_moban"><%=rs("example")%></textarea>
            </label>
            <p class="STYLE8">新闻模版关键子,当生成网页的时候就会替换 E_title(标题) E_now(发布时间) E_fenlei(分类) E_content(内容),请在你的模版内在显示处写上这些关键字</p>
            <p class="STYLE8">&nbsp; </p>
          </div></td>
        </tr>
        <tr>
          <td background="image/item_bg.gif" class="STYLE13" id="new" style="border:#999999 1px solid"><div align="center">你当前使用的<span class="STYLE8">下载模版</span>为</div></td>
        </tr>
        <tr>
          <td><p align="center">
            <textarea name="download_moban" cols="200" rows="20" class="STYLE7" id="download_moban"><%=rs2("example")%></textarea>
          </p>
          <p align="center"><span class="STYLE8">下载模版关键子,当生成网页的时候就会替换 E_title(标题) E_now(发布时间) E_banquan(版权信息) E_infor(内容) E_dengji(等级),E_kaifa(开发信息),E_leixing(下载类型),E_place(下载地址),E_pic(下载的图片),请在你的模版内在显示处写上这些关键字</span></p>
          <p align="center">&nbsp;</p></td>
        </tr>
        <tr>
          <td background="image/item_bg.gif" class="STYLE13" id="new" style="border:#999999 1px solid"><div align="center">你当前使用的<span class="STYLE8">商城模版</span>为</div></td>
        </tr>
        <tr>
          <td><div align="center">
            <textarea name="shop_moban" cols="200" rows="20" class="STYLE7" id="shop_moban"><%=rs3("example")%></textarea>
          </div></td>
        </tr>
        <tr>
          <td background="image/item_bg.gif" class="STYLE13" id="new" style="border:#999999 1px solid"><div align="center"><span class="STYLE8">阅读次数</span>调用</div></td>
        </tr>
        <tr>
          <td><div align="center">
            <textarea name="read" cols="200" rows="5" class="STYLE7" id="read"><script language="javascript" type="text/javascript" src="hits.asp?title=E_title&hits=1"></script>

sp3版本整合了阅读次数,其他版本的要下载补丁包</textarea>
          </div></td>
        </tr>
        <tr>
          <td><div align="left" class="STYLE13">
            <div align="center"></div>
          </div></td>
        </tr>
        <tr>
          <td><div align="center">
            <p>
              <label>
              <input name="Submit" type="submit" class="STYLE7" value="修改!">
              </label>
</p>
          </div></td>
        </tr>
      </table>
    </form>
  </div>
</div>
</body>
</html>

⌨️ 快捷键说明

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