<!DOCTYPE html>
<%@ language="vbscript" codepage="936" %>
<%
'========================================================================================
' 文 件 名: m_admin_auditing.asp
' 版    本: 岭峰网行业专用留言系统3.10.0 (LFMessS 2020 - 3.10.0.F Build 200604)
' 说    明: 移动端留言审核文件 | 请勿自行修改该处文件，以确保程序正确的执行
' 文件日期: 2020-06-04
' 设 计 者: 疾风之狼
'========================================================================================
' 郑州文达岭峰网络科技有限公司.
'========================================================================================
' Copyright (C) 2001-2020 岭峰网. All rights reserved.
' 网    站: http://www.lfmesss.com
' 电子邮件: support@lfmesss.com
' 联系ＱＱ: 85112407
'========================================================================================
%>
<!-- #include file="../common/m_sub_inc.asp" -->
<!-- #include file="../common/commfun.asp" -->
<!-- #include file="../common/ip_purview.asp" -->
<!-- #include file="../common/contencrypt.asp" -->
<%flg = "man_ts"%>
<!-- #include file="../common/purview.asp" -->
<!-- #include file="../common/checkru.asp" -->
<!-- #include file="../common/connect.asp" -->
<%  
gbookid = Request.QueryString("page")
sql = "SELECT encrypt,username,content,re,Auditing,silentlywords,enpass,topok,addtime,filemulu,lylx,ip FROM lfmessb WHERE id="&gbookid
Set rs = Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,0,1
IF rs("encrypt") = 1 Then
	username = DeCrypt(rs("username"))
	content = DeCrypt(rs("content"))
	ip = DeCrypt(rs("ip"))
	IF rs("re") = "0" Then
		re = "0"
	Else
		re = DeCrypt(rs("re"))
	End IF
Else
	username = rs("username")
	content = rs("content")
	ip = rs("ip")
	re = rs("re")
	lylx = rs("lylx")
	filemulu = rs("filemulu")
	filemulu_dow = "<a style=""display: block""  href=upload/"& filemulu &">"& LingFengNet_MS_language_upload_11 & filemulu & "</a>"
End IF
addtime = rs("addtime")
Auditing = rs("Auditing")
silentlywords = rs("silentlywords")
enpass = rs("enpass")
topok = rs("topok")
	
IF Session("LingFengNet_MS_admin_flg") = "1" and Auditing <> 0 Then
	Response.Write "<meta http-equiv=Content-Type content=text/html;charset="& LingFengNet_MS_language_meta_mes_1 &"><script>" 
	Response.Write "alert('"& LingFengNet_MS_language_Auditing_nook &" ');" 
	Response.Write "history.go(-1);" 
	Response.Write "</script>" 
	Response.End
End IF	
%>
<head>
<title><%= LingFengNet_MS_language_title_Auditing %></title>
<%  
Call htmlmeta() 
IF re <> "0" Then
	retext = re
	text_opentext = "<textarea name=re rows=8 id=re style=width:100%;onkeydown=showcon('re'); onkeyup=showcon('re'); onclick=showcon('re'); >"&retext&"</textarea>"
	text_opentext_1 = "&ensp;["& LingFengNet_MS_language_Warning_addnew_7 &"&ensp;<strong><span id='showcon'>?</span></strong>&ensp;"& LingFengNet_MS_language_Warning_addnew_5 &"]<br>&ensp;["& LingFengNet_MS_language_Warning_addnew_8 &"&ensp;<strong>"&LingFengNet_MS_maxword_re&"</strong>&ensp;"& LingFengNet_MS_language_Warning_addnew_5 &"]<br>&ensp;[<a href=javascript:set_Size(3,'re');>"&  LingFengNet_MS_language_addnew_content_mes_2 &"</a>]<br>&ensp;[<a href=javascript:set_Size(-3,'re');>"&  LingFengNet_MS_language_addnew_content_mes_3 &"</a>]"
	checked_id_6 = "checked"
Else
	retext = LingFengNet_MS_language_Auditing_neizhi
	text_opentext = ""
End IF
%>
<link rel="stylesheet" href="../style/css/<%= LingFengNet_MS_web_css %>.css" type="text/css">
<link rel="stylesheet" href="../style/css/m_common.css" type="text/css">
<link rel="shortcut icon" href="../pic/favicon.ico" type="image/x-icon">
<link rel="bookmark" href="../pic/favicon.ico" type="image/x-icon">
<style type="text/css">
	.wdlf_commonBody{
		border: none;
	}
	.wdlf_liuYan_detail {
	    width: 95%;
	    height: 100%;
	    padding-top: 20px;
	}
	.wdlf_howToDo{
		height: 600px;
	    line-height:  normal;
	}
	.wdlf_fuShuCaiLiao{
		width: 62%;
		line-height: normal;
		word-wrap:break-word;
		margin-top: 11px; 
	}
	#opentext{
	    width: 95%;
	}
</style>
</head>
<body onkeydown="EnableKey()">
<%
	Call htmltop()
%>
  <form name="Auditing" method="post" action="admin_auditingok<%= Get_Suffix() %>">
    <div class="wdlf_liuYan_detail bgc">
    	<!--留言者姓名-->
    	<div class="wdlf_common_detail_item" style="margin: 0;">
			<div class="wdlf_liuYan_detail_content">
				<%= LingFengNet_MS_language_Auditing_username %>:
			</div>
			<div class="wdlf_div_content">
				<%= username %>
			</div>
			
		</div>
		<!--留言时间-->
    	<div class="wdlf_common_detail_item" >
			<div class="wdlf_liuYan_detail_content">
				<%= LingFengNet_MS_language_Auditing_addtimes %>:
			</div>
			<div class="wdlf_div_content">
				<%= addtime %>
			</div>
			
		</div>
		<!--留言内容-->
    	<div class="wdlf_common_detail_item" style="height: 110px;" >
			<div class="wdlf_liuYan_detail_content">
				<%= LingFengNet_MS_language_Auditing_con %>:
			</div>
			<div class="wdlf_div_content" style="width: 60%;">
				 <% IF Session("LingFengNet_MS_admin_flg") = "3" Then %>
                      <textarea name="content" rows="6" id=content style="width:100%;    border-radius: 3px;"><%= content %></textarea>
	              <%Else%>
	              <%= content %>
	              <%End IF%>
			</div>
			
		</div>
		<!--附属材料-->
    	<div class="wdlf_common_detail_item" >
			<div class="wdlf_liuYan_detail_content">
				<%= LingFengNet_MS_language_Auditing_filemulu %>:
			</div>
			<div class="wdlf_div_content wdlf_fuShuCaiLiao">
				<%IF filemulu = "0" Then%>
                    <%= LingFengNet_MS_language_Auditing_filemulu_no %>
                    <%Else%>
                    <%= filemulu_dow %><% IF Session("LingFengNet_MS_admin_flg")="3" Then %>&ensp;&ensp;&ensp;&ensp;<label style="line-height: 1.5;display: inline-block;    margin-bottom: 15px;"><input name="filedelok" type="checkbox" id="filedelok" value="yes" >&ensp;<%= LingFengNet_MS_language_Auditing_filemulu_delok %></label><%End IF%>
                <%End IF%>
			</div>
		</div>
		<!--目前状态-->
    	<div class="wdlf_common_detail_item" style="margin-top: 20px;">
			<div class="wdlf_liuYan_detail_content">
				<%= LingFengNet_MS_language_Auditing_Appear %>:
			</div>
			<div class="wdlf_div_content">
				<%IF Auditing = 0 Then%>
                  <%= LingFengNet_MS_language_Auditing_Appear_mes_1 %>
                  <% checked_id_1 = "checked" %>
                  <%ElseIF Auditing = 1 Then%>
                  <%= LingFengNet_MS_language_Auditing_Appear_mes_2 %>
                  <% checked_id_1="checked" %>
                  <%ElseIF Auditing = 2 and re <> "" Then%>
                  <%= LingFengNet_MS_language_Auditing_Appear_mes_3 %>
                  <% checked_id_2 = "checked" %>
                  <%ElseIF Auditing = 2 Then%>
                  <%= LingFengNet_MS_language_Auditing_Appear_mes_4 %>
                  <% checked_id_3 = "checked" %>
                  <%ElseIF Auditing =  3 Then%>
                  <%= LingFengNet_MS_language_Auditing_Appear_mes_5 %>
                  <% checked_id_4 = "checked" %>
                  <%ElseIF Auditing = 5 Then%>
                  <%= LingFengNet_MS_language_Auditing_Appear_mes_6 %>
                  <% checked_id_5 = "checked" %>
                  <%End IF%>
			</div>
			
		</div>
    	<!--如何处理-->
    	<div class="wdlf_common_detail_item wdlf_howToDo" >
			<div class="wdlf_liuYan_detail_content" style="width: 40%;">
				<%= LingFengNet_MS_language_Auditing_Appear_howdo %>:
			</div>
			<ul class="wdlf_shenHe_toDo_list">
				<li>
					<label >
						<input type="radio" onClick="closetext()" name="sh" value="1" <%= checked_id_1 %>>
						<%= LingFengNet_MS_language_Auditing_Appear_howdo_1 %>
					</label>
				</li>
				<li>
					<label >
						<input type="radio" onClick="closetext()" name="sh" value="2" <%= checked_id_2 %>>
						<%= LingFengNet_MS_language_Auditing_Appear_howdo_2 %>
					</label>
				</li>
				<li>
					<label >
						<input type="radio" onClick="closetext()" name="sh" value="3" <%= checked_id_3 %>>
						<%= LingFengNet_MS_language_Auditing_Appear_howdo_3 %>
					</label>
				</li>
				<li>
					<label >
						<input type="radio" onClick="closetext()" name="sh" value="0" <%= checked_id_4 %>>
						<%= LingFengNet_MS_language_Auditing_Appear_howdo_4 %>
					</label>
				</li>
				<li>
					<label >
						<input type="radio" onClick="closetext()" name="sh" value="5" <%= checked_id_5 %>>
						<%= LingFengNet_MS_language_Auditing_Appear_howdo_8 %>
					</label>
				</li>
				<li>
					<label >
						<input type="radio" name="sh" value="4" onClick="opentext()" <%= checked_id_6 %>>
						<%= LingFengNet_MS_language_Auditing_Appear_howdo_5 %><%= LingFengNet_MS_maxword_re %><%= LingFengNet_MS_language_Auditing_Appear_howdo_6 %>
					</label>
				</li>
				<!--悄悄话-->
				<li>
					<label >
                      <%if silentlywords=1 Then%>
					  <input name="yesword" type="checkbox" id="yesword" value="yes" checked>
                      <%= LingFengNet_MS_language_Auditing_Appear_howdo_7 %>
					  <%else%>
					  <input name="yesword" type="checkbox" id="yesword" value="yes" disabled>
                      <%= LingFengNet_MS_language_Auditing_Appear_howdo_10 %>
                      <%End IF%>
	                </label>
				</li>
				<!--置顶-->
				<li>
					<label >
						<input name="topok" type="checkbox" id="topok" value="yes" <%if topok=0 Then%>checked<%End IF%>>
	                    <%= LingFengNet_MS_language_Auditing_Appear_howdo_9 %>
                    </label>
				</li>
				<!--点击回复模式出现文本框-->
				<li id="opentext">
					 <%= text_opentext %>
				</li>
			</ul>
		</div>
		<div class="wdlf_liuYan_tiJiao" style="padding-bottom: 20px;">
			<input type="submit" name="Submit" value="<%= LingFengNet_MS_language_Auditing_sub_1 %>"  class="wdlf_liuYan_tiJiao_btn buttonface">
			<input type="reset" name="Submit" value="<%= LingFengNet_MS_language_Auditing_sub_2 %>"  class="wdlf_liuYan_tiJiao_btn buttonface">
		</div>
    </div>
    
    <input name=gbookid type=hidden id="gbookid" value="<%= gbookid %>">
    <input name=reok type=hidden id="reok" value="">
    <input name=enpass type=hidden id="enpass" value="<%= enpass %>">
    <input name=wherefrom type=hidden id="wherefrom" value="<%= Get_ReplaceSuffix(Cstr(Request.ServerVariables("HTTP_REFERER"))) %>">
  </form>
<script src="../common/mouseok.js"></script> 
<script src="../common/jquery-3.2.1.min.js"></script> 
<script>
var maxword = <%= LingFengNet_MS_maxword_re %>;
function opentext(){
	document.getElementById("opentext").innerHTML = "<textarea name=re rows=8 id=re style=width:100%; onkeydown=showcon('re'); onkeyup=showcon('re'); onclick=showcon('re'); ><%= retext %></textarea>";
	showcon("re"); 
}

function closetext(){
	document.getElementById("opentext").innerHTML = "";
}

function showcon(theform) {
	messagetxt = document.getElementById(theform).value;
	document.getElementById("reok").value = messagetxt;
}

function set_Size(num,objname){
	var obj = document.getElementById(objname);
	if (parseInt(obj.rows) + num >= 3) {
		obj.rows = parseInt(obj.rows) + num;	
	}
	if (num > 0){
		obj.width = "90%";
	}
}
$('.wdlf_commonHead').css('height', $('.wdlf_commonHead .wdlf_commonHead_right img').css('height'));
showcon('re');
</script>
</body>
</html>
<%
	Call html_admin_cebianlan()
	Call htmladminlogoout()	
%>