gusucode.com > 爱美尔女性商城源码 1.0源码程序 > admintouch/Pic1.asp
<!--#include file="conn.asp"--> <%if session("bjxadmin")="" then response.Write "<script language='javascript'>alert('网络超时或您还没有登陆!');window.location.href='login.asp';</script>" response.End else if session("flag")>1 then response.Write "<p align=center><font color=red>您没有此项目管理权限!</font></p>" response.End end if end if%> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>无标题文档</title> <link href="images/css.css" rel="stylesheet" type="text/css"> </head> <% id=request("id") TypeId=request("TypeId") set rs=server.createobject("adodb.recordset") '显示信息 rs.open "select * from T_IndexPic where id="&id&"",conn,1,1 if not rs.eof then title=rs("title") title1=rs("title1") title2=rs("title2") title3=rs("title3") Pic=rs("Pic") Pic1=rs("Pic1") Pic2=rs("Pic2") Pic3=rs("Pic3") Pic4=rs("Pic4") Pic5=rs("Pic5") Pic6=rs("Pic6") Pic7=rs("Pic7") Pic8=rs("Pic8") Pic9=rs("Pic9") Pic10=rs("Pic10") url=rs("url") url1=rs("url1") url2=rs("url2") url3=rs("url3") url4=rs("url4") url5=rs("url5") url6=rs("url6") url7=rs("url7") url8=rs("url8") url9=rs("url9") url10=rs("url10") end if if rs.state then rs.close set rs=nothing %> <body > <table width="99%" border="0" > <tr> <form name="myform" method="post" action="PPicSave.asp?action=edit&id=<%=id%>" id="myform"> <td width="100%" align="center" valign="top" height="456" bgcolor="#FFFFFF" > <table width="100%" border="0" cellpadding="5" cellspacing="1" bgcolor="#6699CC"> <tr> <td height="30" colspan="2" align="center" valign="middle" bgcolor="#ccddee" class="zuobian"><span class="STYLE6">广告修改</span></td> </tr> <tr bgcolor="#FFFFFF"> <td width="258" align="center" valign="middle" bgcolor="#ccddee" >首页切换广告1 (595*300):</td> <td width="858" ><input name="Pic" type="text" id="Pic" value="<%=Pic%>" size="30"> <input type="button" name="subProd" value="上传图片" onClick="window.open('UpFile/upfile.asp?formname=myform&editname=Pic&uppath=adpic&filelx=rar','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"> 地址1: <input name="url" type="text" id="url" value="<%=url%>" size="30"> 名称: <label> <input name="title" type="text" id="title" value="<%=title%>"> </label></td> </tr> <tr bgcolor="#FFFFFF"> <td align="center" valign="middle" bgcolor="#ccddee" >首页切换广告2(595*300) :</td> <td width="858" ><input name="Pic1" type="text" id="Pic1" value="<%=Pic1%>" size="30"> <input type="button" name="subProd" value="上传图片" onClick="window.open('UpFile/upfile.asp?formname=myform&editname=Pic1&uppath=adpic&filelx=rar','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"> 地址2: <input name="url1" type="text" id="url1" value="<%=url1%>" size="30"> 名称2: <label> <input name="title1" type="text" id="title1" value="<%=title1%>"> </label></td> </tr> <tr bgcolor="#FFFFFF"> <td align="center" valign="middle" bgcolor="#ccddee" >首页切换广告3(595*300) :</td> <td width="858" ><input name="Pic2" type="text" id="Pic2" value="<%=Pic2%>" size="30"> <input type="button" name="subProd" value="上传图片" onClick="window.open('UpFile/upfile.asp?formname=myform&editname=Pic2&uppath=adpic&filelx=rar','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"> 地址3: <input name="url2" type="text" id="url2" value="<%=url2%>" size="30"> 名称3: <label> <input name="title2" type="text" id="title2" value="<%=title2%>"> </label></td> </tr> <tr bgcolor="#FFFFFF"> <td align="center" valign="middle" bgcolor="#ccddee" >首页切换广告4(595*300):</td> <td width="858" ><input name="Pic3" type="text" id="Pic3" value="<%=Pic3%>" size="30"> <input type="button" name="subProd" value="上传图片" onClick="window.open('UpFile/upfile.asp?formname=myform&editname=Pic3&uppath=adpic&filelx=rar','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"> 地址4: <input name="url3" type="text" id="url3" value="<%=url3%>" size="30"> 名称4: <label> <input name="title3" type="text" id="title3" value="<%=title3%>"> </label></td> </tr> <tr bgcolor="#FFFFFF"> <td align="center" valign="middle" bgcolor="#ccddee" >首页左边:</td> <td width="858" ><input name="Pic4" type="text" id="Pic4" value="<%=Pic4%>" size="30"> <input type="button" name="subProd" value="上传图片" onClick="window.open('UpFile/upfile.asp?formname=myform&editname=Pic4&uppath=adpic&filelx=rar','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"> 地址5: <input name="url4" type="text" id="url4" value="<%=url4%>" size="30"> <label></label></td> </tr> <tr bgcolor="#FFFFFF"> <td align="center" valign="middle" bgcolor="#ccddee" >内页左边:</td> <td width="858" ><input name="Pic5" type="text" id="Pic5" value="<%=Pic5%>" size="30"> <input type="button" name="subProd" value="上传图片" onClick="window.open('UpFile/upfile.asp?formname=myform&editname=Pic5&uppath=adpic&filelx=rar','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"> 地址6: <input name="url5" type="text" id="url5" value="<%=url5%>" size="30"></td> </tr> <tr bgcolor="#FFFFFF"> <td align="center" valign="middle" bgcolor="#ccddee" >内页左边2:</td> <td width="858" ><input name="Pic6" type="text" id="Pic6" value="<%=Pic6%>" size="30"> <input type="button" name="subProd" value="上传图片" onClick="window.open('UpFile/upfile.asp?formname=myform&editname=Pic6&uppath=adpic&filelx=rar','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"> 地址7: <input name="url6" type="text" id="url6" value="<%=url6%>" size="30"></td> </tr> <tr bgcolor="#FFFFFF"> <td align="center" valign="middle" bgcolor="#ccddee" >内页导航下:</td> <td width="858" ><input name="Pic7" type="text" id="Pic7" value="<%=Pic7%>" size="30"> <input type="button" name="subProd" value="上传图片" onClick="window.open('UpFile/upfile.asp?formname=myform&editname=Pic7&uppath=adpic&filelx=rar','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"> 地址8: <input name="url7" type="text" id="url7" value="<%=url7%>" size="30"></td> </tr> <!-- <tr bgcolor="#FFFFFF"> <td align="center" valign="middle" bgcolor="#ccddee" >首页右下角 270×300:</td> <td width="858" ><input name="Pic7" type="text" id="Pic7" value="<%=Pic7%>" size="30"> <input type="button" name="subProd" value="上传图片" onClick="window.open('UpFile/upfile.asp?formname=myform&editname=Pic7&uppath=adpic&filelx=rar','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"> 地址8: <input name="url7" type="text" id="url7" value="<%=url7%>" size="30"></td> </tr> <tr bgcolor="#FFFFFF"> <td align="center" valign="middle" bgcolor="#ccddee" >内页横条 717×200:</td> <td width="858" ><input name="Pic8" type="text" id="Pic8" value="<%=Pic8%>" size="30"> <input type="button" name="subProd" value="上传图片" onClick="window.open('UpFile/upfile.asp?formname=myform&editname=Pic8&uppath=adpic&filelx=rar','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"> 地址9: <input name="url8" type="text" id="url8" value="<%=url8%>" size="30"></td> </tr> <tr bgcolor="#FFFFFF"> <td align="center" valign="middle" bgcolor="#ccddee" >登陆/注册页 911×150:</td> <td width="858" ><input name="Pic9" type="text" id="Pic9" value="<%=Pic9%>" size="30"> <input type="button" name="subProd" value="上传图片" onClick="window.open('UpFile/upfile.asp?formname=myform&editname=Pic9&uppath=adpic&filelx=rar','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"> 地址10: <input name="url9" type="text" id="url9" value="<%=url9%>" size="30"></td> </tr> <tr bgcolor="#FFFFFF"> <td align="center" valign="middle" bgcolor="#ccddee" >11:</td> <td width="858" ><input name="Pic10" type="text" id="Pic10" value="<%=Pic10%>" size="30"> <input type="button" name="subProd" value="上传图片" onClick="window.open('UpFile/upfile.asp?formname=myform&editname=Pic10&uppath=UpPicImg&filelx=rar','','status=no,scrollbars=no,top=20,left=110,width=420,height=165')"> 地址11: <input name="url10" type="text" id="url10" value="<%=url10%>" size="30"></td> </tr>--> <tr> <td align="center" valign="middle" bgcolor="#EAEAEA" colspan="2"> <input name="btnEdit" type="submit" id="btnEdit" value="修 改" > <input name="TypeId" type="hidden" value="<%=TypeId%>"> </td> </tr> </table> </td> </form> </tr> </table> </body> </html>