<!--#include file="conn.asp"-->
<!--#include file="ConnUser.asp"-->
<!--#include file="Config.ASP"-->
<!--#include file="char.inc"-->
<!--#include file="chkuser.asp" -->
<!--#include file="ChkManage.asp" -->
<!--#include file="ChkURL.asp"-->
<!--#include file="Function.asp"-->
<SCRIPT event=onclick for=Ok language=JavaScript>
  window.returnValue = a.value
  window.close();
</SCRIPT>
<script>
function IsDigit()
{
  return ((event.keyCode >= 48) && (event.keyCode <= 57));
}
</script>
<%
if not(request.cookies(echsys)("ManageKEY")="super" or request.cookies(echsys)("ManageKEY")="typemaster" or request.cookies(echsys)("ManageKEY")="bigmaster") then
	Show_Err("对不起，您的后台管理权限不够操作！")
	response.end
else
	dim EC_SpecialID
	EC_SpecialID = ChkRequest(Request("EC_SpecialID"),1)	'防注入
	
	if EC_SpecialID="" then
		Show_Err("未指定参数<br><br>－－－<a href='javascript:history.back()'>回去重来</a>－－－")
		response.end
	else
		if not IsNumeric(EC_SpecialID) then
			Show_Err("非法参数<br><br>－－－<a href='javascript:history.back()'>回去重来</a>－－－")
			response.end
		else
		end if
	end if
	
	set rs=server.CreateObject("ADODB.RecordSet")
	rs.Source="select * from "& db_wygkcn_Special_Table &" where EC_SpecialID=" & EC_SpecialID
	rs.Open rs.Source,conn,1,1
	if rs("specialmaster")=request.cookies(echsys)("username") or request.cookies(echsys)("key")="super" or request.cookies(echsys)("KEY")="check" or request.cookies(echsys)("KEY")="bigmaster" then
		%>
<html><head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href=site.css rel=stylesheet>
<title><%=copyright%><%=version%>&nbsp;<%=ver%> - 修改专题</title>
</head>
<body topmargin="0">

<div align="center">
<table border="1" cellpadding="3" cellspacing="0" style="border-collapse: collapse" bordercolor="#FFDFBF" width="100%" id="AutoNumber1">
<form method="POST" action="SpecialEditok.asp" name="type">
<tr> 
	<td width="100%" height="25"  class="TDtop" ><p align="center" >┊ <strong>专题修改</strong> ┊</p></td>
</tr>
<tr align="center"> 
	<td width="100%"  bgcolor="#FFFFFF"> 
		<table width="100%" height="108"  border="1" cellpadding="3" cellspacing="0" bordercolor="#FFDFBF" bgcolor="#FFFFFF" id="AutoNumber1" style="border-collapse: collapse">
          <tr>
            <td width="32%" height="35" align="right">专题名称：</td>
            <td width="68%">
			<input type="hidden" name="EC_SpecialID" value=<%=request("EC_SpecialID")%>>
			<input type="text" name="E_SpecialName" size="50" value='<%=nohtml(rs("E_SpecialName"))%>' >
			</td>
          </tr>
          <tr>
            <td height="32" align="right">专题注释：</td>
            <td><textarea name="specialzs" cols="50" rows="5" class="text"><%=nohtml(rs("Specialzs"))%></textarea></td>
          </tr>
          <tr>
            <td align="right">专题图片：</td>
            <td>
			<IFRAME name=zt src="UploadSpe.htm" frameBorder=0 width="100%" scrolling=no 
height=20></IFRAME>
			<input id=a name=picname size="60" value='<%=rs("picname")%>'></td>
          </tr>
        </table>
	</td>
</tr>
<tr align="center"> 
	<td width="100%" class="TDtop1" height="60"> 
		<input type="submit" value=" 修 改 " name="cmdok" class=button  >&nbsp;
		<input type="reset" value=" 复 原 " name="cmdcancel" class=button >&nbsp; 
		<input type="button" name="ok" value=" 放 弃 " onClick="javascript:history.go(-1)" class=button >
	</td>
</tr>
</form>
</table>
</div>
</body>
</html>
<!--#include file="Admin_Bottom.asp"-->
		<%rs.close
		set rs=nothing
		conn.close
		set conn=nothing
	else
		Show_Err("因为这不是您添加的专题，所以您无权编辑该专题！<br><br>－－－<a href='javascript:history.back()'>返回</a>－－－")
		response.end
	end if
end if%>