<!--#include file="../../conn/conn.asp"-->
<!--#include file="../../conn/nosql.asp"-->
<!--#include file="../../conn/config.asp"-->
<!--#include file="../../conn/md5.asp"-->
 <%
if session("user")="" then
response.write "<script language='javascript'>"
response.write "alert('您没还有登录，请登录后再访问本页！');"
response.write"this.location.href='/index.asp';</SCRIPT>"
response.end
end if
if session("id")="" then 
response.write "<script language='javascript'>"
response.write "alert('您没还有登录，请登录后再访问本页！');"
response.write"this.location.href='/index.asp';</SCRIPT>"
response.end
end if

%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>交易助手管理操作平台_<%=webname%></title>
<link rel="stylesheet" href="/css.css" type="text/css">
<style type="text/css">
<!--
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 00px;
	margin-bottom: 0px;
}
-->
</style></head>
<body><!--#include file="../../top.asp"-->
<table width="90%"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td>&nbsp;</td>
    <td width="970"><table width="970"  border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td width="10"><img src="/img/m_left.gif" width="10" height="20"></td>
          <td width="950" bgcolor="#FFFFFF"></td>
          <td width="10"><img src="/img/m_right.gif" width="10" height="20"></td>
        </tr>
        <tr bgcolor="#FFFFFF">
          <td height="188" colspan="3"><table width="950"  border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="1" bgcolor="efefef"></td>
                <td width="200" height="77" valign="top"><!--#include file="../left.asp"--></td>
                <td width="1" bgcolor="efefef"></td>
                <td valign="top"><p>                    <%if not isempty(request.form("selected_friend_id")) then%>
                    </p>
                    <table width="90%" border="0" align="center" cellpadding="0" cellspacing="0" class="content_border">
                      <tr>
                        <td align="center"><br>
                            <script language="JavaScript">
function groupCheck() {
	if(document.form.flag[0].checked){
          	document.all.mv.style.display = "";
          	document.all.cp.style.display = "none"
    	}
    	else if(document.form.flag[1].checked){
    		document.all.mv.style.display = "none";
          	document.all.cp.style.display = "";
    	}
}
                      </script>
                            <br>
                            <table width="95%" border="0" cellPadding="2" cellSpacing="1" bgcolor="#BBD7FF">
                              <tr>
                                <td width="523" height="23" bgcolor="#e8f4ff">把好友转移</td>
                              </tr>
                              <form name = "form" method="POST" action="save_movefriend.asp">
                                <input type="hidden" name="selected_friend_id" value="<%=request.form("selected_friend_id")%>">
                                <tbody>
                                  <tr>
                                    <td width="29%" height="23" bgcolor="#FFFFFF">将
                                        <%
secuserlist=nosql(request.form("selected_friend_id"))
if instr(secuserlist,",")>0 then
secuserArr=split(secuserlist)
for i = 0 to ubound(secuserarr)
secuser=secuserarr(i)
secuser=trim(secuser)
secuser=replace(replace(replace(secuser,"-1+",""),"0+",""),"1+","")
response.write secuser
next
else
secuser=replace(replace(replace(secuserlist,"-1+",""),"0+",""),"1+","")
response.write secuser
end if
%></td>
                                  </tr>
                                  <tr>
                                    <td bgcolor="#FFFFFF"><input type="radio"  name="flag" value="0" onClick="groupCheck()" checked>
                转移
            
                <div id="mv" style="display">
                  <select size="1" name="group_id_mv">
                    <option value="0">我的普通好友</option>
                    <option value="1">我的亲密好友</option>
                    <option value="-1">黑名单</option>
                  </select>
                </div>
                </td>
                                  </tr>
                                  <tr align="center">
                                    <td align="center" bgcolor="#FFFFFF">
                                      <p>
                                        <INPUT name="submit" type=submit value="提  交" class="go-wenbenkuang">
                                    </p></td>
                                  </tr>
                                </tbody>
                              </form>
                              <script language="JavaScript">
	document.form.flag[0].click();
groupCheck();
                      </script>
                            </table>
                            <br>
                            <br>
                            <br>
                            <br>
                        </td>
                      </tr>
                    </table>
                    <%
else
response.write"亲爱的会员，请选择要转移/复制的好友!<a href='haoyou.asp'>返回</a>"
end if
conn.close
set conn=nothing
%>
                </td>
              </tr>
          </table></td>
        </tr>
    </table></td>
    <td valign="top"><img src="/img/index_img.jpg" width="10"></td>
  </tr>
</table>
<!--#include file="../../end.asp"-->
</body>
</html>
