<!--#include file="include/conn.asp"-->
<%Call limsss(sQxa,"$$LstNewsInfoRoad$$")%>
<%
Dim abc,def
abc=Trim(request("abc"))
def=Trim(request("def"))
If abc="" Then abc="MenuId"
If def="" Then def="desc"
%>
<html>
<title>线路管理</title>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../css/lst.css" rel="stylesheet" type="text/css" />
<script charset="utf-8" src="/Classeditor/kindeditor.js"></script>
<script charset="utf-8" src="/Classeditor/lang/zh_CN.js"></script>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0">

<table width="100%" height="31" border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2"><tr><td height="31"><div class="titlebt">线路管理</div></td></tr></table>

<table border="1" width="100%" cellpadding="2" style="border-collapse: collapse" bordercolor="#B5D0D9" bgcolor="#FFFFFF">
	<tr>
		<td>
		
<%
Set oRs = server.CreateObject ("adodb.recordset")
sSql="select top 1 * from [LstRoad] where NewsId="& NewsId
oRs.open sSql,oConn,1,1
If oRs.bof And oRs.eof Then
	oConn.Execute("INSERT INTO [LstRoad] (NewsId) VALUES ('"&NewsId&"')")
	Call BACKURL("LstNewsInfoRoad.asp?NewsId="&NewsId)
End If
%>			
<form action="?action=eddinfo&NewsId=<%=NewsId%>" method=post>			
<table border="1" width="100%" id="table3" cellspacing="3" cellpadding="3" style="border-collapse: collapse" bordercolor="#F6F6F6">
<tr>
<td height="30" align="right" width="165">线路名称：</td>
<td height="30"><%=NEWSNAME(NewsId)%></td>
</tr>
<tr>
<td height="30" align="right">线路描述：
<script>
	var editor;
	KindEditor.ready(function(K) {
		editor = K.create('textarea[name="lvXianlu"]', {
			resizeType : 1,
			allowPreviewEmoticons : false,
			allowImageUpload : true,
			items : [
				'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
				'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
				'insertunorderedlist', '|', 'emoticons', 'image', 'link']
		});
	});
</script>
</td>
<td height="30">
<textarea class="input500" id="lvXianlu" name="lvXianlu" rows="15" cols="107"><%=oRs("lvXianlu")%></textarea></td>
</tr>


<tr>
<td height="30" align="right">行程安排：
<script>
	var editor;
	KindEditor.ready(function(K) {
		editor = K.create('textarea[name="lvXingch"]', {
			resizeType : 1,
			allowPreviewEmoticons : false,
			allowImageUpload : true,
			items : [
				'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
				'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
				'insertunorderedlist', '|', 'emoticons', 'image', 'link']
		});
	});
</script>
</td>
<td height="30">
<textarea class="input500" id="lvXingch" name="lvXingch" rows="15" cols="107"><%=oRs("lvXingch")%></textarea></td>
</tr>



<tr>
<td height="30" align="right">预订联系：
<script>
	var editor;
	KindEditor.ready(function(K) {
		editor = K.create('textarea[name="lvYuding"]', {
			resizeType : 1,
			allowPreviewEmoticons : false,
			allowImageUpload : true,
			items : [
				'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
				'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
				'insertunorderedlist', '|', 'emoticons', 'image', 'link']
		});
	});
</script>
</td>
<td height="30">
<textarea class="input500" id="lvYuding" name="lvYuding" rows="15" cols="107"><%=oRs("lvYuding")%></textarea></td>
</tr>


<tr>
<td height="30" align="right">服务标准：
<script>
	var editor;
	KindEditor.ready(function(K) {
		editor = K.create('textarea[name="lvFuwu"]', {
			resizeType : 1,
			allowPreviewEmoticons : false,
			allowImageUpload : true,
			items : [
				'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
				'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
				'insertunorderedlist', '|', 'emoticons', 'image', 'link']
		});
	});
</script>
</td>
<td height="30">
<textarea class="input500" id="lvFuwu" name="lvFuwu" rows="15" cols="107"><%=oRs("lvFuwu")%></textarea></td>
</tr>


<tr>
<td height="30" align="right">友情提示：
<script>
	var editor;
	KindEditor.ready(function(K) {
		editor = K.create('textarea[name="lvYouqing"]', {
			resizeType : 1,
			allowPreviewEmoticons : false,
			allowImageUpload : true,
			items : [
				'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
				'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
				'insertunorderedlist', '|', 'emoticons', 'image', 'link']
		});
	});
</script>
</td>
<td height="30">
<textarea class="input500" id="lvYouqing" name="lvYouqing" rows="15" cols="107"><%=oRs("lvYouqing")%></textarea></td>
</tr>


<tr>
<td height="30" align="right">其他提示：
<script>
	var editor;
	KindEditor.ready(function(K) {
		editor = K.create('textarea[name="lvYouQT"]', {
			resizeType : 1,
			allowPreviewEmoticons : false,
			allowImageUpload : true,
			items : [
				'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
				'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
				'insertunorderedlist', '|', 'emoticons', 'image', 'link']
		});
	});
</script>
</td>
<td height="30">
<textarea class="input500" id="lvYouQT" name="lvYouQT" rows="15" cols="107"><%=oRs("lvYouQT")%></textarea></td>
</tr>


<tr>
<td height="30" align="right">　</td>
<td height="30"><input type=submit value="    保存以上信息    "></td>
</tr>
</table>
</form>	
		
		
		
		</td>
	</tr>
</table>

</body>
</html>
<%

'小类编辑
If action="eddinfo" Then
	Set oRs=server.createobject("adodb.recordset")
	sSql="Select top 1 * from [LstRoad] where NewsId="&NewsId
	oRs.open sSql,oconn,1,3
		oRs("lvXianlu")=trim(request("lvXianlu"))
		oRs("lvXingch")=trim(request("lvXingch"))
		oRs("lvYuding")=trim(request("lvYuding"))
		oRs("lvFuwu")=trim(request("lvFuwu"))
		oRs("lvYouqing")=trim(request("lvYouqing"))
		oRs("lvYouQT")=trim(request("lvYouQT"))
		oRs.update
		oRs.close
		call alert("编辑成功!","LstNewsInfoRoad.asp?NewsId="&NewsId)

	Set oRs = Nothing
End If

%>
