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

📄 root_aboutus_set.asp

📁 多多网店系统v3.01 完全免费可用版-功能简介: 支持多模板皮肤色切换[8套] 支持按商品特性[推荐商品/特价商品/新品分类]浏览 支持按商品类别浏览 支持单件商品用支付宝交易按钮直接支付订
💻 ASP
字号:
<!--#include file="admin_check.asp"-->
<%dim dbpath
dbpath="../"
%>
<!--#include file="../Conn.asp"-->
<!--#include file="../include/MyRequest.asp"-->
<%
action=my_request("action",0)
if action="save" then
    call save()
end if

sub save()
    root_info_aboutus =my_request("content",0)
     
    ErrMsg=""
    if root_info_aboutus="" then
    	FoundErr=True
	    ErrMsg=ErrMsg & "<li>[关于我们] 的内容不能为空!</li>"
    end if
    if FoundErr<>True then
        Set rs=Server.CreateObject("ADODB.Recordset")
        sql="select * from root_info where id=1"
        rs.open sql,conn,1,3
        rs("root_info_aboutus") =root_info_aboutus
        rs.update
        rs.close
        set rs=nothing
        call ok("您已成功保存[关于我们]设置!","root_aboutus_set.asp")
    else
        call WriteErrMsg(ErrMsg)
    end if
end sub
%>
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>关于我们-设置</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="Editor/edit.js" type="text/javascript"></script>
</head>

<body>

<table cellspacing="1" cellpadding="4" width="100%" class="tableborder">
<tbody class="altbg2">
<form name="form1" action="Root_AboutUs_Set.asp" method="post">
<input type="hidden" name="action" value="save"> 
	<tr>
		<td class="header" colspan="2">关于我们- 设置</td>
	</tr>
	<tr>
		<td>关于我们:</td>
		<td>
		    <!--#include file="editor/editor.asp"-->
            <script language="javascript">
                document.write ('<iframe src="Root_AboutUs_TxtBox.asp" id="message" width="95%" height="400"></iframe>')
                frames.message.document.designMode = "On";
            </script>
</td>
	</tr>
	
	<tr>
		<td> </td>
		<td><input type="submit" value="  提  交  " name="B1" onclick="document.form1.Content.value = frames.message.document.body.innerHTML;">&nbsp; 
		    <input type="reset" value="重置" name="B2"><input type="hidden" name="Content" value>
        </td>
	</tr>
	</form>
 </tbody>
</table>
<br>
</body>

</html>

⌨️ 快捷键说明

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