Admin_Copyright.asp
上传用户:angela
上传日期:2022-05-11
资源大小:853k
文件大小:4k
源码类别:

外挂编程

开发平台:

ASP/ASPX

  1. <!--#include file="setup.asp"-->
  2. <!--#include file="check.asp"-->
  3. <%
  4. If Not CheckAdmin("Copyright") Then
  5.     Server.Transfer("showerr.asp")
  6.     Response.End
  7. End If
  8. '=====================================================================
  9. ' 作者声明:转载请保留版权信息,鄙视不要脸的人
  10. '=====================================================================
  11. ' 程序名称:蓝宇网络发布系统
  12. ' 程序作者:蓝宇 QQ:18159079 ╲、随心゛ QQ:6821845
  13. ' 文件名称:Admin_Copyright.asp
  14. ' 更新日期:2007-6-5
  15. '=====================================================================
  16. ' 联系方式:Tel:13203117383,QQ:18159079,hi.baidu.com/hezeyu
  17. ' 程序开发:蓝宇,╲、随心゛
  18. ' 官方网站:蓝宇网络(http://hi.baidu.com/hezeyu)
  19. '=====================================================================
  20. ' Copyright 2004-2007 蓝宇 - All Rights Reserved.
  21. '=====================================================================
  22. Dim About, Contacts, advertise, help
  23. titlename="网站版权信息"
  24. Admin_header
  25. set rs = server.createobject("adodb.recordset")
  26. sql="select * from Gq_main"
  27. rs.open sql,conn,1,3
  28. About=rs("About")
  29. Contacts=rs("Contacts")
  30. advertise=rs("advertise")
  31. help=rs("help")
  32. if request.form("MM_insert") then
  33. About=request.form("About")
  34. Contacts=request.form("Contacts")
  35. advertise=request.form("advertise")
  36. help=request.form("help")
  37. if About="" then
  38.   rs("About")=""
  39. else
  40.   rs("About")=About
  41. end if
  42. if Contacts="" then
  43.   rs("Contacts")=""
  44. else
  45.   rs("Contacts")=Contacts
  46. end if
  47. if advertise="" then
  48.   rs("advertise")=""
  49. else
  50.   rs("advertise")=advertise
  51. end if
  52. if help="" then
  53.   rs("help")=""
  54. else
  55.   rs("help")=help
  56. end if
  57. tee5.execute("update Gq_main set About='"&(Request("About"))&"'")
  58. tee5.execute("update Gq_main set Contacts='"&(Request("Contacts"))&"'")
  59. tee5.execute("update Gq_main set advertise='"&(Request("advertise"))&"'")
  60. tee5.execute("update Gq_main set help='"&(Request("help"))&"'")
  61. response.Write"<script language=javascript>alert(' 恭喜您!设置成功!');this.location.href='admin_copyright.asp';</script>"
  62. end if%>
  63. <table width=98% align="center" border="0" cellspacing="1" cellpadding="2" class="tableBorder">
  64. <form name="form1" method="post" action="admin_copyright.asp">
  65. <tr>
  66. <th colspan="2">网站版权信息设置</th>
  67. </tr>
  68. <tr>
  69. <td class="TableRow1" colspan="2">*全部支持HTML代码</td>
  70. </tr>
  71. <tr>
  72. <td width="80" class="TableRow1" align="right">关于我们:</td>
  73. <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>
  74. </tr>
  75. <tr>
  76. <td width="80" class="TableRow1" align="right">联系我们:</td>
  77. <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>
  78. </tr>
  79. <tr>
  80. <td width="80" class="TableRow1" align="right">广告合作:</td>
  81. <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>
  82. </tr>
  83. <tr>
  84. <td width="80" class="TableRow1" align="right">网站帮助:</td>
  85. <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>
  86. </tr>
  87. <tr>
  88. <td align="center" colspan="2" class="TableRow1"><input class=Button type="submit" name="Submit" value="确定提交"><input class=Button type="reset" name="Reset" value="清空重写"></td>
  89. </tr>
  90. <input type="hidden" name="action" value="modpass">
  91. <input type="hidden" name="MM_insert" value="true">
  92. </form>
  93. </table>
  94. <%
  95. rs.close
  96. set rs=nothing
  97. Admin_footer
  98. CloseConn()
  99. %>