?? jifen-leavel.asp
字號:
<!--#include file="adminconn.inc" -->
<html>
<head>
<title>騰科B2C購物系統-級別管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../inc/guhongying.css" type="text/css">
</head>
<body bgcolor="#6699CC" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellspacing="1" cellpadding="2" bgcolor="#000000" vspace="0" hspace="0">
<tr>
<td bgcolor="#316395" height="27"><font color="#FFFFFF">.:: 您可以在這里更改用戶累計點數和級別的關系</font></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="50"> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="6">
<tr>
<td align="center">
<form name="editleavel" method="post" action="jifen-leavel.asp">
<table border="0" cellspacing="1" cellpadding="4" bgcolor="#000000" width="40%">
<tr>
<td bgcolor="#336699" colspan="2"><b><font color="#FFFFFF">修改積分與級別關系</font></b></td>
</tr>
<%
sql="select * from discount order by id desc"
set rs=server.createobject("ADODB.Recordset")
rs.open sql,conn,1,1
for i=1 to rs.recordcount
%>
<tr>
<td bgcolor="#7C96B8" align="center" width="26%"><font color=ffffff><%=rs("leavel")%> 級用戶須</font></td>
<td bgcolor="#7C96B8" align="center" width="74%">
<%=rs("jifen")%>
<font color=ffffff>點積分</font>
</td>
</tr>
<%
rs.movenext
next
%>
<tr>
<td bgcolor="#eeeeee" align="center" colspan="2">
<br>用戶在站上每購買1000元商品,加1000點積分<br><br>
</tr>
<tr>
<td bgcolor="#7C96B8" align="center" width="26%"><font color=ffffff>關系修改</font></td>
<td bgcolor="#7C96B8" align="center" width="74%"><font color=ffffff>
<select name="leavel" class="bk">
<option value="0" selected>請選擇</option>
<%
set rs1=server.createobject("ADODB.Recordset")
rs1.open sql,conn,1,1
while not rs1.eof
%>
<option value="<%=rs1("leavel")%>"><%=rs1("leavel")%></option>
<%
rs1.movenext
wend
rs1.Close()
%>
</select>
級用戶需要
<input type="text" name="jifen" maxlength="50" size="10" >
點</font></td>
</tr>
<tr>
<td bgcolor="#336699" align="center" colspan="2">
<input type="submit" name="Submit" value="設定" class="Tips_bo">
<input type="hidden" name="action" value="jifen-leavel"></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
</body>
</html>
<%
if request("action")="" then response.end
leavel=request("leavel")
jifen =request("jifen")
conn.execute "update discount set jifen='"&jifen&"' where leavel='"&leavel&"'"
response.write"<SCRIPT language=JavaScript>alert('設置成功!');"
response.write "</SCRIPT>"
%>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -