<%
if request.servervariables("REQUEST_METHOD")<>"POST" then
  response.redirect "index.asp"
  response.end
end if
%>
<!--#include file="dbinc/dbpath.asp" -->
<!--#include file="dbinc/char.inc" -->
<html>
<head>
<title>3鸟设社网站评测 -- 成员网站信息修改</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="link.css">
</head>

<body leftmargin="0" bgcolor="#FFFFFF" topmargin="0">
<!--#include file="top.htm" -->
<br>
<%
Dim rs
set rs=server.createobject("adodb.recordset")
rs.open "Select * from zkpick where pickid="&CLng(request.form("modiid")),conn,1,3

if not(rs.bof and rs.eof) then
  rs("pickpwd")=htmlencode2(Trim(request.form("pickpwd")))
  rs("pickname")=htmlencode2(Trim(request.form("pickname")))
  rs("pickemail")=htmlencode2(Trim(request.form("pickemail")))
  rs("picksite")=htmlencode2(Trim(request.form("picksite")))
  rs("pickurl")=htmlencode2(Trim(request.form("pickurl")))
  rs("pickicon")=htmlencode2(Trim(request.form("pickicon")))
  rs("pickmemo")=htmlencode2(Trim(request.form("pickmemo")))
  rs("pickjink")=htmlencode2(Trim(request.form("pickjink")))
  rs("picktype")=Clng(request.form("picktype"))
  rs("pickdiyu")=Clng(request.form("pickdiyu"))
   rs("pickleibie")=Clng(request.form("pickleibie"))
  rs.update
%>
<table width="764" border="0" cellspacing="1" cellpadding="0" align="center" class="9p" bgcolor="#CC3366">
  <tr bgcolor="#FF6633">
    <td bgcolor="#CC3366" height="17" width="758"> 
      <div align="center"><font color="#FFCC00"><b><font color="#FFFFFF">3鸟设社网站评测</font></b></font><font color="#FFFFFF"><b>祝贺</b></font></div>
    </td>
  </tr>
  <tr bgcolor="#FF6633"> 
    <td bgcolor="#FFFFFF" width="758"> 
      <p>&nbsp;</p>
      <p align="center"><font color="#FFCC00"><font color="#cc3366">您的网站信息已经成功修改，谢谢您的光临！</font></font></p>
      <p align="center"> 
        <input type="button" name="Button" value=" 返 回 " class="buttonface" onclick="javascript:location.href='index.asp'">
      </p>
      <p align="center">&nbsp;</p>
    </td>
  </tr>
</table> 
<%else%> 
<table width="766" border="0" cellspacing="1" cellpadding="0" align="center" class="9p" bgcolor="#EDB7D1">
  <tr bgcolor="#FF6633">
    <td bgcolor="#CC3366" height="17" width="760"> 
      <div align="center"><font color="#FFCC00"><b><font color="#FFFFFF">3鸟设社网站评测提示</font></b></font></div>
    </td>
  </tr>
  <tr bgcolor="#FF6633"> 
    <td bgcolor="#FFFFFF" width="760"> 
      <p>&nbsp;</p>
      <p align="center"><font color="#FFCC00"> <font color="#cc3366">数据处理过程中发生错误，请与本盟管理员联系，谢谢！</font></font></p>
      <p align="center"> 
        <input type="button" name="Button2" value=" 返 回 " class="buttonface" onclick="javascript:history.back()">
      </p>
      <p align="center">&nbsp;</p>
    </td>
  </tr>
</table> 
<% 
end if 
rs.close 
set rs=nothing 
conn.close 
set conn=nothing 
%>  
</body> 
</html>
