📄 huiyuan_show.asp
字号:
<%
if request.Cookies("shiwei_username")="" then
%>
<script language="javascript">
top.location.href="../index.asp"
</script>
<%
response.end
end if
%>
<!-- #include file="../conn2.asp" -->
<!-- #include file="../const.asp" -->
<html>
<head>
<title><%=dianming%> - 会员详细资料</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../style/style.css" rel="stylesheet" type="text/css">
<style>
body {
background-color:#FFFFFF;
}
</style>
</HEAD>
<BODY>
<%
if fla36="0" and request.Cookies("shiwei_id")<>"1" then
%>
<br><center><img src="../images/note.gif" align="absmiddle"> <font color="#FF0000">你不具备此权限,请与管理员联系!</font></center>
<%
response.end
end if
%>
<%
if request("hid2")<>"" then
conn.execute("update huiyuan set enddate=enddate+365,jifen=jifen+"&xuhuijifen&" where id="&request("id"))
response.write "<script>alert('续会成功!');window.opener.location.reload();window.close();</script>"
end if
sql="select * from huiyuan where id="&request("id")
set rs=conn.execute(sql)
%>
<table width="100%" border="0" cellpadding="0" cellspacing="2" align="center">
<tr>
<td height="30" align="right">
<input type="button" value="会员购物查询" onClick="window.location.href='huiyuan_sell.asp?id=<%=rs("id")%>'" class="button">
<input type="button" value="会员兑换礼物查询" onClick="window.location.href='huiyuan_duihuanchaxun.asp?id=<%=rs("id")%>'" class="button">
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#C4D8ED">
<tr>
<td><img src="../images/r_1.gif" alt="" /></td>
<td width="100%" background="../images/r_0.gif">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td> 会员详细资料</td>
<td align="right"> </td>
</tr>
</table>
</td>
<td><img src="../images/r_2.gif" alt="" /></td>
</tr>
<tr>
<td></td>
<td>
<table align="center" cellpadding="4" cellspacing="1" class="toptable grid" border="1">
<tr>
<td width="25%" height="30" align="right">会员组:</td>
<td width="75%" class="category">
<%set rs_zu=conn.execute("select * from zu_huiyuan where id="&rs("id_zu"))%>
<%if rs_zu.eof then%> <%else%><%=rs_zu("zu")%><%end if%>
</td>
</tr>
<tr>
<td align="right" height="30">会员卡号:</td>
<td class="category">
<%=rs("card")%></td>
</tr>
<tr>
<td height="30" align="right">会员姓名:</td>
<td class="category">
<%=rs("username")%></td>
</tr>
<tr>
<td align="right" height="30">会员性别:</td>
<td class="category">
<%=rs("xinbie")%></td>
</tr>
<tr>
<td align="right" height="30">联系电话:</td>
<td class="category">
<%=rs("tel")%></td>
</tr>
<tr>
<td align="right" height="30">QQ:</td>
<td class="category">
<%if rs("qq")<>"" then%><%=rs("qq")%><a href="http://wpa.qq.com/msgrd?V=1&Uin=<%=rs("qq")%>&Site=<%=dianming%>&Menu=yes" target="_blank"><img border="0" SRC=http://wpa.qq.com/pa?p=1:<%=rs("qq")%>:7 alt="<%=rs("qq")%>"></a><%else%> <%end if%></td>
</tr>
<tr>
<td align="right" height="30">Email:</td>
<td class="category">
<%=rs("email")%></td>
</tr>
<tr>
<td align="right" height="30">家庭住址:</td>
<td class="category">
<%=rs("address")%></td>
</tr>
<tr>
<td align="right" height="30">身份证号:</td>
<td class="category">
<%=rs("sfz")%></td>
</tr>
<tr>
<td align="right" height="30">介绍人:</td>
<td class="category">
<%
if rs("jieshao")=0 then
nowjieshao="无"
else
sql="select * from huiyuan where id="&rs("jieshao")
set rs_jieshao=conn.execute(sql)
nowjieshao=rs_jieshao("username")
end if
%>
<%=nowjieshao%>
</td>
</tr>
<tr>
<td align="right" height="30">经办人:</td>
<td class="category">
<%
sql="select * from login where id="&rs("id_login")
set rs_login=conn.execute(sql)
%>
<%if rs_login.eof then%><%=rs("login")%><%else%><%=rs_login("username")%> (<%=rs_login("bianhao")%>)<%end if%>
</td>
</tr>
<tr>
<td align="right" height="30">会员生日:</td>
<td class="category">
<%=rs("shenri")%> (<%=rs("yinyan")%>)
</td>
</tr>
<tr>
<td align="right" height="30">入会时间:</td>
<td class="category">
<%=rs("startdate")%>
</td>
</tr>
<tr>
<td align="right" height="30">到期时间:</td>
<td class="category">
<%if rs("enddate")-date()<0 then%>
<font color="#ff0000"><b><%=rs("enddate")%> 已经到期</b></font>
<%elseif rs("enddate")-date()<10 then%>
<font color="#009900"><b><%=rs("enddate")%> 就快到期</b></font>
<%else%>
<%=rs("enddate")%>
<%end if%> <input type="button" value=" 续会一年 " onClick="window.location.href='?id=<%=request("id")%>&hid2=ok'" class="button">
</td>
</tr>
<tr>
<td align="right" height="30">会员积分:</td>
<td class="category">
<%=formatnumber(rs("jifen"),2)%></td>
</tr>
<tr>
<td align="right" height="30">备注:</td>
<td class="category"><%=replace(rs("beizhu")&"",chr(13),"<br>")%></td>
</tr>
</table>
</td>
<td></td>
</tr>
<tr>
<td><img src="../images/r_4.gif" alt="" /></td>
<td></td>
<td><img src="../images/r_3.gif" alt="" /></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -