<!--#include file=hyconn.asp-->
<!--#include file=subbdw.asp-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<TD bgColor=#666666 colSpan=2></TD>
<% dim lm
lm=request.querystring("lm")
set rs=server.createobject("adodb.recordset")
sql="select * from txt where lm='"&lm&"'"
rs.open sql,conn,1,1
content=rs("content")
contentname=rs("contentname")
rs.close
set rs=nothing
%>
<HTML><HEAD><TITLE>深圳市宝鼎威货运有限公司</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<SCRIPT language=JavaScript type=text/JavaScript>
function deleteitem(){
if (confirm('Delete this content item?')) self.location.href='search.asp?kill=55';
}
</SCRIPT>
//STEP 10: Here we move the edited content & style into form fields.
if (document.getElementById("thehtmleditor").style.display!='none'){
form1.content.value = obj1.getContentBody() //move edited content into form field, to be submitted.
}
form1.submit()
}
function LoadContent()
{
obj1.putContent(form1.content.value)
}
function transferContent()
{
form1.content.value=obj1.getContentBody();
}
function texteditor(){
transferContent();
document.getElementById("thetexteditor").style.display='';
document.getElementById("thehtmleditor").style.display='none';
}
function htmleditor(){
LoadContent();
document.getElementById("thetexteditor").style.display='none';
document.getElementById("thehtmleditor").style.display='';
}
</SCRIPT>
<SCRIPT>
var obj1 = new ACEditor("obj1")
obj1.width = "100%" //editor width
obj1.height = 360 //editor height
obj1.ImagePageURL = "selimage.asp" //specify Image library management page
//obj1.PageStyle = "ace_document.css"; //apply external css to the document
obj1.PageStylePath_RelativeTo_EditorPath = "style/"; //location of the external css (relative to the editor)
obj1.isFullHTML = false //edit full HTML (not just BODY)s
obj1.RUN() //show
</SCRIPT>
</TD>
</TR>
</TBODY>
</TABLE>
</TD>
</TR>
<TR vAlign=top align=left>
<TD bgColor=#eeeeee width="17%">
<INPUT type=hidden value=55 name=contentid>
</TD>
<TD bgColor=#efeff7 width="83%">
<input id=Button12 onClick=SubmitForm() type=button name=Button1 value="保存内容">
</TD>
</TR>
<TR vAlign=top align=left>
<TD bgColor=#666666 colSpan=2></TD>
</TR>
</TBODY>
</TABLE>
</FORM>
</BODY></HTML>