📄 adminbase.asp
字号:
<%dim nowplace
nowplace="style"
dim dbpath
dbpath="../"
%>
<!--#include file="chk.asp"-->
<!--#include file="../comm/my_lib.asp" -->
<!--#include file="../db_conn.asp" -->
<%
dim r(22),sql,rs,k,taobao,ebay,paipai,i,i1,i2
sql="select Sweb_name,Surl,Slogo,Small_name,Sphone,Sfax,Semail,Saddress,Sqq,Smsn,Staobao,Sisopen,Stitleclose,Sistaobao,Sisebay,Sispaipai,Svtaobao,Svebay,Svpaipai,Saboutus,Sbeian,Sisbuy,ScodeNo from system_setup where id=1"
set rs=conn.execute (sql)
for k=0 to 22
r(k)=rs(k)
next
rs.close
set rs=nothing
taobao=split(r(16),"‖")
ebay=split(r(17),"‖")
paipai=split(r(18),"‖")
conn.close
set conn=nothing
%>
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>基本设置</title>
<link href=AdminStyle.css rel=stylesheet type=text/css>
<script src="edit.js" type="text/javascript"></script>
<script language=javascript>
function showlist(dd){
if(dd.style.display=="none"){
dd.style.display="";
}else{
dd.style.display="none";
}
}
</script>
</head>
<body>
<table border="0" width="100%" id="table1" cellpadding="4" style="border:1px solid #183789; border-collapse: collapse; padding-left:4px; padding-right:4px; padding-top:1px; padding-bottom:1px" cellspacing="1">
<form action=save_baseinf.asp method=post name=form1>
<tr>
<td width="100%" colspan="2" bgcolor="#F7F7F7" background="Image/admin_bg_1.gif" height="25">
<font color="#FFFFFF"><b>基本设置:</b></font></td>
</tr>
<tr>
<td width="167">网站名称:</td>
<td width="798">
<input type="text" name="s0" size="48" maxlength="50" value="<%=r(0)%>"></td>
</tr>
<tr>
<td width="167">认证码:</td>
<td width="798"><font color="#FF0000"><%=base64Decode(r(22))%></font></td>
</tr>
<tr>
<td width="167">网址:</td>
<td width="798"><input type="text" name="s1" size="48" maxlength="80" value="<%=r(1)%>"> <font color="#FF3300">(已认证)</font></td>
</tr>
<tr>
<td width="167">网站LOGO:</td>
<td width="798">
<img src="../upimg/<%=r(2)%>" border=0><br>
<input type="text" name="s2" size="30" maxlength="100" value="<%=r(2)%>" readonly><input type="button" value="上传LOGO图片" name="B3" onclick="javascript:openWin('upload1.asp?Fname=s2','upload','toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=yes,width=410,height=230')"></td>
</tr>
<tr>
<td width="167">店长名称:</td>
<td width="798">
<input type="text" name="s3" size="48" maxlength="50" value="<%=r(3)%>"></td>
</tr>
<tr>
<td width="167">电话:</td>
<td width="798">
<input type="text" name="s4" size="48" maxlength="50" value="<%=r(4)%>"></td>
</tr>
<tr>
<td width="167">传真:</td>
<td width="798">
<input type="text" name="s5" size="48" maxlength="20" value="<%=r(5)%>"></td>
</tr>
<tr>
<td width="167">Email:</td>
<td width="798">
<input type="text" name="s6" size="48" maxlength="30" value="<%=r(6)%>"></td>
</tr>
<tr>
<td width="167">办公地址:</td>
<td width="798">
<input type="text" name="s7" size="48" maxlength="100" value="<%=r(7)%>"></td>
</tr>
<tr>
<td width="167">QQ号码:</td>
<td width="798">
<input type="text" name="s8" size="48" maxlength="15" value="<%=r(8)%>"></td>
</tr>
<tr>
<td width="167">MSN帐号:</td>
<td width="798">
<input type="text" name="s9" size="48" maxlength="30" value="<%=r(9)%>"></td>
</tr>
<tr>
<td width="167">淘宝旺旺:</td>
<td width="798">
<input type="text" name="s10" size="48" maxlength="30" value="<%=r(10)%>"></td>
</tr>
<tr>
<td width="970" colspan="2" bgcolor="#F7F7F7"><b>网站状态:</b></td>
</tr>
<tr>
<td width="167">网店状态:</td>
<td width="798"><input type="radio" value="0" <%if r(11)=0 then response.write "checked"%> name="s11">开启<input type="radio" value="1" name="s11" <%if r(11)=1 then response.write "checked"%>>关闭</td>
</tr>
<tr>
<td width="167">关闭时的提示语句:</td>
<td width="798">
<input type="text" name="s12" size="48" maxlength="100" value="<%=r(12)%>"></td>
</tr>
<tr>
<td width="970" colspan="2" bgcolor="#F7F7F7"><b>我在其他知名个人网店平台上的开店情况(如有,请划√,可多选):</b></td>
</tr>
<tr>
<td width="970" colspan="2">
<input type="checkbox" name="s13" value="1" onClick='showlist(taobao);' <%if r(13)=1 then response.write "checked"%>>我在淘宝有网店
<input type="checkbox" name="s14" value="1" onClick='showlist(ebay);' <%if r(14)=1 then response.write "checked"%>>我在易趣有网店
<input type="checkbox" name="s15" value="1" onClick='showlist(paipai);' <%if r(15)=1 then response.write "checked"%>>我在拍拍有网店</td>
</tr>
<tr>
<td width="100%" colspan="2">
<table border="0" width="100%" cellspacing="0" cellpadding="4" id=taobao <%if r(13)<>1 then response.write "style='display:none'"%>>
<tr>
<td width="100%" colspan="2" bgcolor="#F7F7F7" height="20"><b>淘宝网店情况介绍:</b></td>
</tr>
<tr>
<td width="148">淘宝网店名称:</td>
<td width="810">
<input type="text" name="s16" size="27" maxlength="50" value="<%=taobao(0)%>"></td>
</tr>
<tr>
<td width="148">淘宝网店网址:</td>
<td width="810">
<input type="text" name="s17" size="48" maxlength="30" value="<%=taobao(1)%>"></td>
</tr>
<tr>
<td width="148">淘宝网店星级:</td>
<td width="810"><select size="1" name="s18">
<option value="1" <%if cint(taobao(2))=1 then response.write "selected"%>>1颗红星</option>
<option value="2" <%if cint(taobao(2))=2 then response.write "selected"%>>2颗红星</option>
<option value="3" <%if cint(taobao(2))=3 then response.write "selected"%>>3颗红星</option>
<option value="4" <%if cint(taobao(2))=4 then response.write "selected"%>>4颗红星</option>
<option value="5" <%if cint(taobao(2))=5 then response.write "selected"%>>5颗红星</option>
<option>-------</option>
<option value="11" <%if cint(taobao(2))=11 then response.write "selected"%>>1颗钻石</option>
<option value="12" <%if cint(taobao(2))=12 then response.write "selected"%>>2颗钻石</option>
<option value="13" <%if cint(taobao(2))=13 then response.write "selected"%>>3颗钻石</option>
<option value="14" <%if cint(taobao(2))=14 then response.write "selected"%>>4颗钻石</option>
<option value="15" <%if cint(taobao(2))=15 then response.write "selected"%>>5颗钻石</option>
</select></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="970" colspan="2">
<table border="0" width="100%" cellspacing="0" cellpadding="4" id=ebay <%if r(14)<>1 then response.write "style='display:none'"%>>
<tr>
<td width="100%" colspan="2" bgcolor="#F7F7F7" height="20"><b>易趣网店情况介绍:</b></td>
</tr>
<tr>
<td width="148">易趣网店名称:</td>
<td width="806">
<input type="text" name="s19" size="27" maxlength="50" value="<%=ebay(0)%>"></td>
</tr>
<tr>
<td width="148">易趣网店网址:</td>
<td width="806">
<input type="text" name="s20" size="48" maxlength="30" value="<%=ebay(1)%>"></td>
</tr>
<tr>
<td width="148">易趣网店信用星星:</td>
<td width="806"><select size="1" name="s21">
<option value="1" <%if cint(ebay(2))=1 then response.write "selected"%>>黄色星星</option>
<option value="2" <%if cint(ebay(2))=2 then response.write "selected"%>>蓝色星星</option>
<option value="3" <%if cint(ebay(2))=3 then response.write "selected"%>>青色星星</option>
<option value="4" <%if cint(ebay(2))=4 then response.write "selected"%>>紫色星星</option>
<option value="5" <%if cint(ebay(2))=5 then response.write "selected"%>>红色星星</option>
<option value="6" <%if cint(ebay(2))=6 then response.write "selected"%>>绿色星星</option>
<option value="7" <%if cint(ebay(2))=7 then response.write "selected"%>>黄色流星</option>
<option value="8" <%if cint(ebay(2))=8 then response.write "selected"%>>青色流星</option>
<option value="9" <%if cint(ebay(2))=9 then response.write "selected"%>>紫色流星</option>
<option value="10" <%if cint(ebay(2))=10 then response.write "selected"%>>红色流星</option>
</select></td>
</tr>
</table></td>
</tr>
<tr>
<td width="970" colspan="2">
<table border="0" width="100%" cellspacing="0" cellpadding="4" id=paipai <%if r(15)<>1 then response.write "style='display:none'"%>>
<tr>
<td width="100%" colspan="2" bgcolor="#F7F7F7" height="20"><b>拍拍网店情况介绍:</b></td>
</tr>
<tr>
<td width="154">拍拍网店名称:</td>
<td width="800">
<input type="text" name="s22" size="27" maxlength="50" value="<%=paipai(0)%>"></td>
</tr>
<tr>
<td width="154">拍拍网店网址:</td>
<td width="800">
<input type="text" name="s23" size="48" maxlength="30" value="<%=paipai(1)%>"></td>
</tr>
<tr>
<td width="154">拍拍网店等级:</td>
<td width="800"><select size="1" name="s24">
<%for i2=1 to 52%>
<option <%if cint(paipai(2))=i2 then response.write "selected"%>><%=i2%>级</option>
<%next%>
<option value=N <%if cint(paipai(2))="N" then response.write "selected"%>>N级</option>
</select></td>
</tr>
</table></td>
</tr>
<tr>
<td width="167">关于我们:</td>
<td width="798"><textarea rows="10" name="s25" cols="55"><%=Outleach(r(19))%></textarea></td>
</tr>
<tr>
<td width="167">是否允许匿名购物:</td>
<td width="798">
<input type="radio" name="s27" value="0" <%if r(21)=0 then response.write "checked"%>>允许
<input type="radio" name="s27" value="1" <%if r(21)=1 then response.write "checked"%>>不允许 (选择“不允许”将必须注册会员才能购买)</td>
</tr>
<tr>
<td width="167">是否申请ICP备案:</td>
<td width="798">
<input type="text" name="s26" size="24" maxlength="20" value="<%=r(20)%>">
(申请了就填,没申请别填,填写格式如“粤ICP备05004107号”)</td>
</tr>
<tr>
<td width="167"> </td>
<td width="798"><input type="submit" value="保存数据" name="B1"></td>
</tr></form>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -