Admin_Copyright.asp
资源名称:haohj.rar [点击查看]
上传用户:angela
上传日期:2022-05-11
资源大小:853k
文件大小:4k
源码类别:
外挂编程
开发平台:
ASP/ASPX
- <!--#include file="setup.asp"-->
- <!--#include file="check.asp"-->
- <%
- If Not CheckAdmin("Copyright") Then
- Server.Transfer("showerr.asp")
- Response.End
- End If
- '=====================================================================
- ' 作者声明:转载请保留版权信息,鄙视不要脸的人
- '=====================================================================
- ' 程序名称:蓝宇网络发布系统
- ' 程序作者:蓝宇 QQ:18159079 ╲、随心゛ QQ:6821845
- ' 文件名称:Admin_Copyright.asp
- ' 更新日期:2007-6-5
- '=====================================================================
- ' 联系方式:Tel:13203117383,QQ:18159079,hi.baidu.com/hezeyu
- ' 程序开发:蓝宇,╲、随心゛
- ' 官方网站:蓝宇网络(http://hi.baidu.com/hezeyu)
- '=====================================================================
- ' Copyright 2004-2007 蓝宇 - All Rights Reserved.
- '=====================================================================
- Dim About, Contacts, advertise, help
- titlename="网站版权信息"
- Admin_header
- set rs = server.createobject("adodb.recordset")
- sql="select * from Gq_main"
- rs.open sql,conn,1,3
- About=rs("About")
- Contacts=rs("Contacts")
- advertise=rs("advertise")
- help=rs("help")
- if request.form("MM_insert") then
- About=request.form("About")
- Contacts=request.form("Contacts")
- advertise=request.form("advertise")
- help=request.form("help")
- if About="" then
- rs("About")=""
- else
- rs("About")=About
- end if
- if Contacts="" then
- rs("Contacts")=""
- else
- rs("Contacts")=Contacts
- end if
- if advertise="" then
- rs("advertise")=""
- else
- rs("advertise")=advertise
- end if
- if help="" then
- rs("help")=""
- else
- rs("help")=help
- end if
- tee5.execute("update Gq_main set About='"&(Request("About"))&"'")
- tee5.execute("update Gq_main set Contacts='"&(Request("Contacts"))&"'")
- tee5.execute("update Gq_main set advertise='"&(Request("advertise"))&"'")
- tee5.execute("update Gq_main set help='"&(Request("help"))&"'")
- response.Write"<script language=javascript>alert(' 恭喜您!设置成功!');this.location.href='admin_copyright.asp';</script>"
- end if%>
- <table width=98% align="center" border="0" cellspacing="1" cellpadding="2" class="tableBorder">
- <form name="form1" method="post" action="admin_copyright.asp">
- <tr>
- <th colspan="2">网站版权信息设置</th>
- </tr>
- <tr>
- <td class="TableRow1" colspan="2">*全部支持HTML代码</td>
- </tr>
- <tr>
- <td width="80" class="TableRow1" align="right">关于我们:</td>
- <td width="*" class="TableRow1"><textarea name="About" rows="8" class=txtmain><%=About%></textarea><a href="javascript:admin_Size(-10,'About')"><img src="images/minus.gif" unselectable="on" border='0'></a><a href="javascript:admin_Size(10,'About')"><img src="images/plus.gif" unselectable="on" border='0'></a></td>
- </tr>
- <tr>
- <td width="80" class="TableRow1" align="right">联系我们:</td>
- <td width="*" class="TableRow1"><textarea name="Contacts" rows="8" class=txtmain><%=Contacts%></textarea><a href="javascript:admin_Size(-10,'Contacts')"><img src="images/minus.gif" unselectable="on" border='0'></a><a href="javascript:admin_Size(10,'Contacts')"><img src="images/plus.gif" unselectable="on" border='0'></a></td>
- </tr>
- <tr>
- <td width="80" class="TableRow1" align="right">广告合作:</td>
- <td width="*" class="TableRow1"><textarea name="advertise" rows="8" class=txtmain><%=advertise%></textarea><a href="javascript:admin_Size(-10,'advertise')"><img src="images/minus.gif" unselectable="on" border='0'></a><a href="javascript:admin_Size(10,'advertise')"><img src="images/plus.gif" unselectable="on" border='0'></a></td>
- </tr>
- <tr>
- <td width="80" class="TableRow1" align="right">网站帮助:</td>
- <td width="*" class="TableRow1"><textarea name="help" rows="8" class=txtmain><%=help%></textarea><a href="javascript:admin_Size(-10,'help')"><img src="images/minus.gif" unselectable="on" border='0'></a><a href="javascript:admin_Size(10,'help')"><img src="images/plus.gif" unselectable="on" border='0'></a></td>
- </tr>
- <tr>
- <td align="center" colspan="2" class="TableRow1"><input class=Button type="submit" name="Submit" value="确定提交"><input class=Button type="reset" name="Reset" value="清空重写"></td>
- </tr>
- <input type="hidden" name="action" value="modpass">
- <input type="hidden" name="MM_insert" value="true">
- </form>
- </table>
- <%
- rs.close
- set rs=nothing
- Admin_footer
- CloseConn()
- %>