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

📄 admin_websetting.asp

📁 是一个电子商务网站系统,提供前后台交易源码.
💻 ASP
字号:
<!--#include file="inc/Conn.asp"-->
<!--#include file="Admin_IsLogin.asp" -->
<!--#include file="chk.asp" -->
<!--#include file="../inc/setup.asp" -->
<%
filename="../inc/setup.asp"
if request("body")<>"" then
Set fso = Server.CreateObject("Scripting.FileSystemObject")
Set fout = fso.CreateTextFile(server.mappath(""&filename&""))
fout.Write request("" <% "&body&" %> "")
fout.close
set fout=nothing
set fso=nothing
mskrindex="ok"
end if
%>
<SCRIPT LANGUAGE="JavaScript">
helpstat = false;
stprompt = true;
basic = false;
function thelp(swtch){
	if (swtch == 1){
		basic = false;
		stprompt = false;
		helpstat = true;
	} else if (swtch == 0) {
		helpstat = false;
		stprompt = false;
		basic = true;
	} else if (swtch == 2) {
		helpstat = false;
		basic = false;
		stprompt = true;
	}
}

function AddText(NewCode) {
document.frmAnnounce.body.value+=NewCode
}

function openscriphtml()
{
if (navigator.appName!="Microsoft Internet Explorer")
   alert("此功能 Netscape 用户不能使用!")
else
   {newwin=window.open('html_editor.htm','','width=544,height=294');
    newwin.focus();
   }
}
function runEx(){
//alert('请注意,按下确定将生成页面,按下后请稍后....');
var winEx = window.open("", "winEx", "width=300,height=200,status=yes,menubar=yes,scrollbars=yes,resizable=yes"); winEx.document.open("text/html", "replace"); 
winEx.document.write(unescape(event.srcElement.parentElement.children[2].value)); 
winEx.document.close(); 
}
</SCRIPT>
<script language="Javascript">
<!-- hide

function insertsmilie(smilieface){

	document.frmAnnounce.body.value+=smilieface;
}
// -->
</script>
<%if mskrindex="ok" then
Response.write("<script>alert(""设置成功"");location.href=""admin_WebSetting.asp"";</script>")
Response.end
else
%>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="admin_css.css" rel="stylesheet" type="text/css">
<form name="form1" method="post" action="">
  <table border="0" cellspacing="1" cellpadding="3" class="table">
    <tr>
      <td class="title">网站设置</td>
    </tr>
    <tr>
      <td class="title2">
		<p align="center"><textarea name="body" cols="93" rows="16">title= "<%=title%>"          '网站名称
reg= "<%=reg%>"                   '是否开放会员注册,true为开放,false为关闭
weburl= "<%=weburl%>"                   '网站地址
webkeywords="<%=webkeywords%>"                '网站关键字,将被搜索引擎用来搜索您网站的关键内容,多个关键字用“,”隔开
</textarea></td>
    </tr>
    <tr>
      <td class="td"><div align="center">
        <input name="Edit_Setting" type="submit" value="确认修改">
      </div>
	  </td>
    </tr>
</table>
</form>
<%end if%>

⌨️ 快捷键说明

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