?? huiyuan_show.asp
字號:
<%
if session("yida_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 session("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 + -