<!--#Include File="Connection.Asp"-->
<!--#Include File="Function.Asp"-->
<!--#Include File="JaClog.Asp"-->
<%
If Request.QueryString("action")="do" Then
Dim SqlA,Na,Sr,id
Na = JaKillStr(Trim(Request.Form("Na")))
Sr = JaKillStr(Trim(Request.Form("sr")))
id = JaKillStr(Trim(Request.Form("Na2")))

SqlA = "INSERT INTO [HZone](JaUid,JaPhotoUrl,JaPhotoName)VALUES('"&id&"','"&Sr&"','"&Na&"')"
Conn.ExeCute(SqlA)
Response.Write "<script language=javascript>alert('添加物品成功!');"
  Response.Write "window.document.location.href='Hzone.Asp';</script>"
  Response.End()
End If
%>
<HTML><HEAD><TITLE>无标题文档</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">

<LINK href="JaImg/css.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.2180" name=GENERATOR></HEAD>

<BODY>
<FORM name=form action="?action=do" method=post>
<TABLE class=itemhead height=25 cellSpacing=0 cellPadding=0 width="100%" 
align=center border=0>
  <TBODY>
  <TR>
    <TD class=itemheadtd vAlign=bottom bgColor=#bcdbfe>
      <TABLE height=18 cellSpacing=0 cellPadding=0 width=250 border=0>
            <TBODY>
        <TR>
                <TD class=item>添加缩略图</TD>
              </TR></TBODY></TABLE>
        </TD>
      </TR></TBODY></TABLE>
<TABLE height=8 cellSpacing=0 cellPadding=0 width=100 border=0>
  <TBODY>
  <TR>
    <TD></TD></TR></TBODY></TABLE>
  <TABLE cellSpacing=1 cellPadding=3 width="100%" align=center bgColor=#164481 
border=0>
    <TBODY>
      <TR> 
        <TD align=middle width="19%" bgColor=#daebfe height=25><STRONG>缩略图 名 称：</STRONG></TD>
        <TD width="81%" bgColor=#ffffff> <INPUT 
      name=Na id="Na" size=15 maxLength=8> </TD>
      </TR>
      <TR> 
        <TD align=middle bgColor=#daebfe height=25><STRONG>图 片 连 接：</STRONG></TD>
        <TD bgColor=#e7ebf1><INPUT 
      name=sr id="sr" size=15 maxLength=100>
          图片连接必须要和上传图片名称一致,只能使用GIF格式图片</TD>
      </TR>
      <TR> 
        <TD align=middle bgColor=#daebfe height=25><STRONG> 图 片 上 传：</STRONG></TD>
        <TD bgColor=#e7ebf1> <iframe marginwidth=0 framespacing=0 marginheight=0 frameborder=0 width=100% height=25 scrolling=no src="PhotoUpload.asp"></iframe> 
        </TD>
      </TR>
      <TR> 
        <TD align=middle bgColor=#daebfe height=25><STRONG>ZONE空间用户ID ：</STRONG></TD>
        <TD bgColor=#ffffff><INPUT 
      name=Na2 id="Na2" size=15 maxLength=8> </TD>
      </TR>
      <TR> 
        <TD align=middle bgColor=#daebfe height=35>&nbsp;</TD>
        <TD bgColor=#ffffff colSpan=2><INPUT class=button1 type=submit value=确认无误，我要添加 name=Submit23></TD>
      </TR>
    </TBODY>
  </TABLE>
</FORM>
</BODY></HTML>
