<%
fzid=request.QueryString("g")

fzid = YeSqlStr(ClearSQL(fzid),3)


If fzid = "" or not isnumeric(fzid) Then
	Call WriteErr("参数错误","1")
End If


Call ConnectionDatabase()



SQL = "Select * From [L_fenzu] Where ID="&fzid
Set Ress = conn.execute(SQL)
if ress.eof then
	Call WriteErr("分组不存在","1")
end if

SQL = "Select * From [L_woool] Where fzid="&cint(fzid)&" order by paixu desc"
Set Res = conn.execute(SQL)
if res.eof then
	Call WriteErr("分组不存在任何分区","1")
  else
  rr=1
end if


%>



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><%=ress("name")%>在线支付 - 选择分区</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link type="text/css" rel="stylesheet" href="css/reset.css" />
<link type="text/css" rel="stylesheet" href="css/main.css" />
<link type="text/css" rel="stylesheet" href="css/template.css" />
<script type="text/javascript" src="/scripts/common.js"></script>
</head>
<body>
	<div id="header">
		<div id="pagetitle"><%=ress("name")%></div>
		<div id="utils">
			<a href="queryorder.asp" class="underline" target="_blank">订单查询</a><span class="separator"> | </span>
			<a id="msgEntry" href="#" class="underline">给管理员留言</a>
		</div>
		<div class="clear"></div>
	</div>
	<div id="outer">
		<div id="outerpad">
			<div id="notice">
				<span>所有充值业务即时自动生效，充值完成以后自动领取，无需向管理员索要。</span>
			</div>
			
			<div id="main">
				<div id="progress" class="progress_step1"></div>
				<div id="layout">
					<table class="grid fixed">


                          <%
		if rr=1 then	
				do while not res.eof%>

						
								<tr class="alt">
									<td width="160" height="30"><span class=" bold"><%=res("wooolname")%></span></td>
									<td><%=res("gonggao")%></td>
									<td width="90" class="center"><a href="?m=<%=res("id")%>"><img src="images/paybutton.gif" border="0" alt="" /></a></td>
								</tr>

                          <%
		  res.movenext
		  loop
		  end if

%>

							
					</table>
				</div>
			</div>
	
		</div>
	</div>
	<div id="msgLayer" class="floatLayer" style="display:none">
		<table cellpadding="0" cellspacing="0" style="width:375px">
			<tr>
				<td><h3 class="bigger">给管理员留言</h3></td>
				<td class="right"><a id="msgClose" href="#" class="underline">取消</a></td>
			</tr>
		</table>
		<div class="vspace"></div>
		<input type="hidden" id="msgToMerchantId" value="<%=Ress("userid")%>" />
		<select id="msgType">
				<option value="3">意见建议</option>
				<option value="1">充值失败</option>
				<option value="2">服务器故障</option>
				<option value="4">投诉抱怨</option>
				<option value="99">其它</option>
			</select>
		<div class="lb"></div>
		<textarea id="msgContent" style="width:369px; height:90px"></textarea>
		<div class="vspace"></div>
		<table cellpadding="0" cellspacing="0">
			<tr>
				<td>我的游戏帐号:<br /><input type="input" id="msgSender" maxlength="16" style="width:85px" /> &nbsp; <div class="lb"></div></td>
				<td valign="top"><span style="visibility:hidden">　</span><br /><span class="t2">(必填)</span></td>
				<td></td>
			</tr>
			<tr>
				<td>我的QQ:<br /><input type="input" id="msgQQ" maxlength="11" style="width:85px" /> &nbsp; </td>
				<td>我的手机:<br /><input type="input" id="msgCell" maxlength="11" style="width:85px" /> &nbsp; </td>
				<td>我的Email:<br /><input type="input" id="msgEmail" maxlength="36" style="width:175px" /></td>
			</tr>
		</table>
		<div class="vspace"></div>
		<div class="center">
			<input type="button" id="msgSend" value="发送" style="width:90px !important; height:23px !important" class="button" />
			<input type="button" id="msgCancel" value="取消" style="width:90px !important; height:23px !important" class="button" />
		</div>
	</div>
	<script language="javascript" src="/scripts/SendMessage.js"></script>
</body>
</html>
