<!--#include file="conn.asp"-->
<!-- #include file="inc/htmlencode2.asp"-->
<!-- #include file="bbsuser.asp" -->
<script language=javascript src="inc/cookies.js"></script>
<script>
var stylecook = getCookie("STYLESHOW");
var style;
var strstyle;
if(stylecook=="")
{
 stylecook=1;
}
else
{
 stylecook++;
}
style="main0"+stylecook+".css";
strstyle="<link href=\"css/"+style+"\"  rel=\"stylesheet\" type=\"text/css\"> ";
document.write(strstyle);
</script>
<%
bbsuser=request.cookies("name")
sql="select * from clubuser where clubuser_name='"&bbsuser&"'"
set rs=server.createobject("adodb.recordset")
rs.open sql,conn,3,1
%>
<body topmargin="2">
<%
if request.cookies("ftbbstype")=1 then
  response.write headhtml
end if
%>
  <table width="99%" border="0" align="center" class="maintbbg" cellspacing="1" cellpadding="2">
  <form name="form1" method="post" action="userimgact.asp" ENCTYPE="multipart/form-data">
    <tr class="f12bg"> 
      <td height="25" colspan="2"> <div align="center">用户自定义头像</div></td>
    </tr>
    <tr> 
      <td width="23%" height="11" class="maintbtr3"><div align="right">当前头像：</div></td>
      <td width="77%" height="200" class="maintbtr3"><div align="center">
	  <%if rs("userimg")<>"" then%>
	  <img src="userheadimg/<%=rs("userimg")%>" width="84">
	  <%else%>
	  你目前用的不是自定义头像
	  <%end if%>
	  </div></td>
    </tr>
    <tr> 
      <td width="23%" height="11" class="maintbtr3" valign="middle"> 
        <div align="right">上传头像：</div></td>
      <td width="77%" height="50" class="maintbtr3"><input TYPE="file" NAME="userimg"></td>
    </tr>
    <tr> 
      <td height="50" colspan="2" class="maintbtr3"> 
        <div align="center"> 
          <input type="submit" name="Submit" value="上传头像">
        </div></td>
    </tr>
    <tr> 
      <td width="23%" height="11" class="maintbtr3"><div align="right">当前头像：</div></td>
      <td width="77%" height="70" class="maintbtr3"> 
        <div align="left">1、头像尺寸为84X84<br>
          <br>
          2、头像大小不超过50K</div></td>
    </tr>
	</form>
  </table>
<%
rs.close
set rs=nothing
conn.close
%>
<!--#include file="inc/bbstail.htm" -->