<!--#include file="conn.asp"-->
<!--#include file="check.asp"-->
<!--#include file="school_info.asp"-->
<!--#include file="../inc/setup.asp"-->
<!--#include file="../inc/sql.asp"-->
<%
	End If
%>
<HTML>
<head>
<title><%= homename %>--院校会员中心</title>
<meta http-equiv=Content-Language content=zh-cn>
<meta http-equiv=Content-Type content=text/html; charset=gb2312>
<link href="images/1.css" rel="stylesheet" type="text/css">
<link href="images/2.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
<!--
//功能：去掉字符串前后空格
//返回值：去掉空格后的字符串
function fnRemoveBrank(strSource)
{
 return strSource.replace(/^\s*/,'').replace(/\s*$/,'');
}
function Juge(theForm)
{
  if (fnRemoveBrank(theForm.attachment.value) == "")
  {
    alert("请选择图片!");
    theForm.attachment.focus();
    return (false);
  }
  if (fnRemoveBrank(theForm.name.value) == "")
  {
    alert("请输入图片名称!");
    theForm.name.focus();
    return (false);
  }
 }
//-->
</script>
</head>
<body topmargin="0">
<table width="530"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><img src="images/m_11.gif" width="550" height="9"></td>
  </tr>
  <tr>
    <td background="images/m_13.gif">
      <table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td><div align="left"><img src="images/jianli-11.gif" width="136" height="33"></div>
		  
		  <% If shenhe=1 Then %>
            <TABLE height=272 cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
                            <TBODY>
                              <TR>
                                <TD bgColor=#83b629 height=23><FONT style="FONT-SIZE: 13px" face=Verdana color=#ffffff><STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;添加图片</STRONG></FONT></TD>
                              </TR>
                              <TR>
                                <TD bgColor=#e2e2e2 height=2></TD>
                              </TR>
 <TR>
                                <TD bgColor=#e2e2e2 height=2><form name="pictureadd" method="post" action="picture_save.asp" ENCTYPE="multipart/form-data" onSubmit="return Juge(this)">
      <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
          <tr>
            <td>
              <TABLE width=100% height="200" border=0 align="center" cellpadding=6 cellspacing=0>
                <tbody>
                  <tr bgcolor="#efefef">
                    <td height="30" colspan="2"><font style="font-size:14px" color="#FF0000"><B>注意：</B></font></td>
                  </tr>
                  <tr bgcolor="#f9f9f9" >
                    <td height="60" colspan="2"><li>以下以<font color="#ff5500">*</font>标注的为必填字段；</li>
                        <li>请点击“浏览”按钮，从您的电脑中选取需要上传的图片；</li>
                        <li>支持gif、jpg图片格式，大小应小于500K。</li></td>
                  </tr>
                  <tr>
                    <td width="180" height="30" bgcolor="#efefef">
                      <div align="right">请选择图片：</div></td>
                    <td width="430" bgcolor="#efefef"> <font color="#ff5500">
                      <INPUT NAME="attachment" TYPE="FILE" id="attachment" SIZE="20">
              *</font></td>
                  </tr>
                  <tr>
                    <td height="30" bgcolor="#f9f9f9">
                      <div align="right"> 图片名称：</div></td>
                    <td bgcolor="#f9f9f9">
                      <input name="name" type="text" id="name" size="30" maxlength="25">
                      <font color="#ff5500">*</font></td>
                  </tr>
                </tbody>
            </table></td>
          </tr>
          <tr>
            <td height="44" align="center" bgcolor="#efefef"> <input type="submit" name="Submit" value="添　加">               &nbsp; <input type="reset" name="Submit2" value="取　消"></td>
          </tr>
        </table>
		</form>
		</TD>
             </TR>
              </TBODY>
            </TABLE>
<% Else %>
 <TABLE height=400 cellSpacing=0 cellPadding=0 width="98%" align=center border=0>
                            <TBODY>
                              <TR>
                                <TD bgColor=#83b629 height=24><FONT style="FONT-SIZE: 13px" face=Verdana color=#ffffff><STRONG>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;添加图片</STRONG></FONT></TD>
                              </TR>
                              <TR>
                                <TD bgColor=#e2e2e2 height=2></TD>
                              </TR>
 <TR>
                                <TD height=410 align="center" bgColor=#e2e2e2>您的帐号还没有被审核，请稍后再试</TD>
 </TR>
              </TBODY>
            </TABLE>		
<% End If %>			
		  </td>
        </tr>
      </table>
	</td>
  </tr>
  <tr>
    <td background="images/m_13.gif"></td>
  </tr>
  <tr>
    <td><img src="images/m_12.gif" width="550" height="9"></td>
  </tr>
</table>
</body>
</html>