www.gusucode.com > 学校共青团组织网站源代码 > 学校共青团组织网站源代码/626/admin/admin_tg_config.asp

    <%
if Request.Cookies("admindj")<>"1" then
   Response.Write "<BR><BR><BR><BR><center>权限不足,你没有此功能的管理权限"
   Response.end
end if
%>
<!--#include file = admin_chk.asp -->
<!--#include file = admin_conn.asp -->

<head>
<!--#include file = language.asp -->
<STYLE type="text/css">
<!--
a:link       {text-decoration: none; font-family: AdobeSm; color: #000000 }
a:visited    {text-decoration: none; color: #000000 }
A:hover      {COLOR: green; FONT-FAMILY: "宋体,MingLiU"; TEXT-DECORATION: underline}
body         {font-size: 9pt; font-family: 宋体,MingLiU, Arial;color: #000000}
TD           {FONT-SIZE: 9pt; FONT-FAMILY: "宋体,MingLiU, Arial";color: #000000;table-layout:fixed;word-break:break-all}
p            {FONT-SIZE: 9pt; FONT-FAMILY: "宋体,MingLiU, Arial";color: #000000}
input        {FONT-SIZE: 9pt; FONT-FAMILY: "宋体,MingLiU, Arial";color: #000000}
body         {margin-top: 0; margin-bottom: 0;margin-left:0;margin-right:0; color: #000000}
select       {FONT-SIZE: 9PT;}
option       {FONT-SIZE: 9pt;}
textarea     {FONT-SIZE: 9pt;}
-->
</STYLE>
</head>
<body bgcolor="#ffffff">
<%
htmledit=trim(request("htmledit"))
conn.Execute "update [config] set tghtmledit=0 "
if htmledit<>"" then 
   conn.Execute "update [config] set tghtmledit=0 "
   conn.close
   set conn=nothing
   Response.Redirect "admin_tg.asp"
end if

Set rs = Server.CreateObject("ADODB.RecordSet")
rs.Open "select tghtmledit from [config]",conn,1,1
tghtmledit=rs("tghtmledit")
%>
<p align="center">
<BR><a href=javascript:history.back();>返回</a><BR>
</p>
	<div align="center">
		<table border="1" cellpadding="3" width="700" id="table1" style="border-collapse: collapse" bordercolor="#C0C0C0" cellspacing="0">
			<tr>
				<td width="118" align="center">是否使用HTML编辑器</td>
				<td width="567">为了安全起见,从3.3版本起,禁止网友投稿采用HTML编辑器模式。只限普通文本框。</td>
			</tr>
			</table>
	</div>

<%
conn.close:set conn=nothing
%>