<!--#include file="../main.asp" -->
<!--#include file="../IsLogin.asp" -->
<%if request("action")="save" then
id=request("id")
username=request("username")
text=request("text")
pic=request("pic")
dim sql
sql="select * from club_pic"
set rs=server.createobject("ADODB.Recordset")
rs.open sql,conn,1,3
rs.addnew
rs("username")=username
rs("userid")=session("goid")
rs("text")=text
rs("pic")=pic
rs("type")=0
rs.update
rs.close
set rs=nothing
conn.close
set conn = nothing
'===================================================
response.redirect "club_templet.asp?id="&id&""
end if%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML 
xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>管理中心-这里是所有管理的入口</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312"><LINK 
href="images/global.css" type=text/css rel=stylesheet><LINK 
href="images/main.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.3790.218" name=GENERATOR></HEAD>
<BODY id=main background="../images/bj.gif">
<DIV id=wrapper>
<!--#include file="top.asp"-->
<DIV class=row>
<!--#include file="left.asp"-->
<DIV class=right_side>
<DIV class=col id=bulletin>
<DIV class=col_head>
<H3><IMG height=16 alt=a hspace=3 src="images/ico_dots.gif" 
width=20 align=left vspace=3>添加背景</H3>
</DIV>
<DIV class=col_body><p>
<table width="95%" height="0" border="1" align="center" cellpadding="0" cellspacing="0" bordercolorlight="#cccccc" bordercolordark="#FFFFFF">
<form name="form1" method="post" action="cp_add.asp?id=<%=request("id")%>&action=save">
<input name="id" type="hidden" value="<%=request("id")%>">
    <tr> 
      <td width="21%" height="30" align="center"><span class="STYLE2">名称</span></td>
      <td width="79%" align="left"><input name="username" type="text" class=input id="username" maxlength="20"></td>
    </tr>
    <tr> 
      <td width="21%" height="30" align="center" class="STYLE2">说明</td>
      <td width="79%" align="left"><textarea name="text" cols="60" rows="6" id="text"></textarea></td>
    </tr>
    
    
    <tr> 
      <td width="21%" height="30" align="center"><span class="STYLE2">上传图片</span></td>
      <td width="79%" align="left"><input name="pic" type="text" id="pic" size="50">
      <input type="button" name="Submit2" value="上传图片" onClick="window.open('../jbw_zgcren2.asp?formname=form1&editname=pic&uppath=photo&filelx=jpg','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"></td>
    </tr>
    <tr align="center"> 
      <td colspan="2" height="30"><input type="submit" name="Submit" value="添 加" class=input1>　<input type="reset" name="Submit" value="重 设" class=input1></td>
    </tr>
  </form>
</table></P>
</DIV></DIV>
</DIV>
</DIV>
<!--#include file="bottom.asp"-->

</DIV></BODY></HTML>
