<!--#include virtual="/show/userhead.asp"-->
<script>document.getElementById('o_1').setAttribute("class", "ed"); document.getElementById("t_1").style.display="";document.getElementById('s_1_10').setAttribute("class", "ed4");</script>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

<%
act=SafeRequest("act")
cact=SafeRequest("cact")
page=SafeRequest("page")
link="gongdan?ct="

if cact="cha" then
link="gongdan?cact=cha"


end if


if SafeRequest("act")="del" then
buyid=SafeRequest("buyid")
if buyid="" then call PopErr("缺少参数")

	sql="select * from ayname where aynameid="&request.Cookies("aynameid")&"" 
	rs.open sql,conn,1,3
	rs("nobuyid")=replace(trim(rs("nobuyid")),buyid&","," ")
	rs.update
	rs.close
	call logadd(request.Cookies("aynameid"),"封禁买家ID删除成功",0,0)
	call PopErr2("买家ID删除成功","nobuylist")
end if


%>




<br>
<DIV id=main2> 
<DIV style="PADDING-LEFT:0px">
<DIV id=main_right_content>

<H2><SPAN>封禁买家</SPAN></H2>
<DIV class=main4>

<br>
<style>
table{font-size:14px; font-weight:normal;line-height:27px;}
.regts{width:440px; height:36px; border:#CCC solid 1px; background:#f1f1f1; color:#666666; line-height:36px; padding-left:10px}
.reginput{width:290px; height:36px; border:#CCC solid 1px; color:#949494; text-indent:10px; line-height:36px}
.gexian20{float:left;width:100%;height:20px;}
.mzsmbox2{width:90%; height:auto; overflow:hidden; background:#fcf8e2; border-left:#edd28a solid 5px; color:#956825; line-height:22px; padding:20px;margin-left:40px; margin-bottom:60px; font-size:13px;padding-top:20px;}
.neitable table{border: 1px solid #E8E8E8;width: 100%;}
.neitable table tr{border-bottom: 1px solid #E8E8E8;}
.neitable table tr td{line-height: 42px;text-align: center;color: #1b1b1b;font-size: 14px;}
.neitable table tr.hd td{line-height: 35px;background-color: #F7F7F7;}
.btnFn1 {cursor:pointer!important;cursor:hand;  height:40px; width:101px; padding:0px 0px 0 0; }
.btnFn2 {cursor:pointer!important;cursor:hand;  height:40px; width:101px; padding:0px 0px 0 0; font-weight:bold; }
</style>
<div class="neitable">
					<table>
                        <tr class="hd">
                            <td>买家ID</td>
                            <td>操作</td>
                        </tr>
						<%
						sql="select * from ayname where aynameid="&request.Cookies("aynameid")&"" 
						rs.open sql,conn,1,3

						
						if trim(rs("nobuyid"))<>"" and isnull(trim(rs("nobuyid")))=false then
							
						diankastr=mid(trim(rs("nobuyid")),1,len(trim(rs("nobuyid")))-1)	
						diankastr=split(trim(diankastr),",")

						For dianka=0 To Ubound(diankastr) 	
						%>
                  		<tr onmouseover=this.bgColor='#FAFAFA' onmouseout=this.bgColor='#ffffff'>
                            <td><%=trim(diankastr(dianka))%></td>
                            <td><a href="?act=del&buyid=<%=trim(diankastr(dianka))%>">删除</a></td>
                        </tr>
						<%
						next 
						end if
                        rs.close%>
                        
               		  </table>
            		</div>

<br>

</DIV></DIV>
<DIV class=clear></DIV></DIV>
</DIV>

<br>

	<!--#include virtual="/show/foot.asp"-->


