⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 worldec_expo.asp

📁 全球商务网站系统介绍 GLOBALEC.COM.CN[生成HTML版] 系统概述: 软件名称:全球商务网站系统 当前版本:V1.0 最新版本:V1.1 运行环境:WINNT+(IIS)
💻 ASP
字号:
<!--#include file="../../conn/conn.asp"-->
<!--#include file="../../inc/safe.asp"-->
<%
if Request.Cookies("globalec")("globalecmaster")="" or Request.Cookies("globalec")("masterflag")="" then
response.write "<script language='javascript'>"
response.write"this.location.href='../login.asp';</SCRIPT>" 
response.end
end if
if instr(Request.Cookies("globalec")("masterflag"),"121")=0 then
response.redirect "../err.asp"
response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>网站HTML模版信息设置</title>
<LINK href="../css/style.css" rel=stylesheet type=text/css>
</head>
<body>
<SCRIPT language=javascript>
<!--
function admin_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%";
	}
}
//--> 
</SCRIPT>
<table border="0" cellspacing="1" cellpadding="3" align=center class="tableBorder"> 
  <tr> 
    <th height=25 colspan="2" class="tableHeaderText">网站HTML模板管理</th> 
  </tr> 
  <tr> 
    <td colspan="2" class="forumRowHighlight"><p><B>注意</B>:<BR> 
        ①在这里,您可以修改模板,可以编辑风格,操作时请按照相关页面提示完整填写表单信息。<BR> 
        ②执行删除时要慎重,任何的删除操作都是不可逆的。<br> 
        </td> 
  </tr> 
  <tr>
	 <td width="30%" class="forumRowHighlight"><strong>操作选项:</strong></td> 
     <td width="70%" class="forumRowHighlight"><a href="worldec_index.asp">返回总类模板</a> | [<a href="javascript:location.reload()">刷新页面</a>] </td>
  </tr>
</table>
<%
If request("action")="" Then
sql="select expo_type,expo_detail,expoinfo_type,expoinfo_detail from worldec_Temp where id=1"
Set rs= Server.CreateObject("ADODB.Recordset")
rs.open sql,conn,1,1
expo_type=rs("expo_type")
expo_detail=rs("expo_detail")
expoinfo_type=rs("expoinfo_type")
expoinfo_detail=rs("expoinfo_detail")
%>  
<form name="Form" action="?action=saveedit" method=post> 
  <table border="0" cellspacing="1" cellpadding="3" align=center class="tableBorder"> 
    <tr> 
      <th class="tableHeaderText" colspan=3 height=25>采购模板风格管理</th> 
    </tr> 
	<tr> 
      <td class="forumRowHighlight" width=33% height=40 align=left>国内及国际展会模版:<br></td> 
      <td class="forumRowHighlight" width=64% height=25 align=left><textarea name="expo_type" id="expo_type" cols="100" rows="5"><%=expo_type%></textarea></td> 
      <td width="3%" class="forumRowHighlight"><a href="javascript:admin_Size(-5,'expo_type')"><img src="../images/minus.gif" width="20" height="20" border='0' unselectable="on"></a> <a href="javascript:admin_Size(5,'expo_type')"><img src="../images/plus.gif" width="20" height="20" border='0' unselectable="on"></a>        </td> 
    </tr> 
	<tr> 
      <td class="forumRowHighlight" width=33% height=40 align=left>展会详细内容模版:<br></td> 
      <td class="forumRowHighlight" width=64% height=25 align=left><textarea name="expo_detail" id="expo_detail" cols="100" rows="5"><%=expo_detail%></textarea></td> 
      <td class="forumRowHighlight"><a href="javascript:admin_Size(-5,'expo_detail')"><img src="../images/minus.gif" width="20" height="20" border='0' unselectable="on"></a> <a href="javascript:admin_Size(5,'expo_detail')"><img src="../images/plus.gif" width="20" height="20" border='0' unselectable="on"></a>        </td> 
    </tr> 
	<tr> 
      <td class="forumRowHighlight" width=33% height=40 align=left>展会资讯模版:<br></td> 
      <td class="forumRowHighlight" width=64% height=25 align=left><textarea name="expoinfo_type" id="expoinfo_type" cols="100" rows="5"><%=expoinfo_type%></textarea></td> 
      <td class="forumRowHighlight"><a href="javascript:admin_Size(-5,'expoinfo_type')"><img src="../images/minus.gif" width="20" height="20" border='0' unselectable="on"></a> <a href="javascript:admin_Size(5,'expoinfo_type')"><img src="../images/plus.gif" width="20" height="20" border='0' unselectable="on"></a>        </td> 
    </tr> 
	<tr> 
      <td class="forumRowHighlight" width=33% height=40 align=left>展会资讯详细内容模版:<br></td> 
      <td class="forumRowHighlight" width=64% height=25 align=left><textarea name="expoinfo_detail" id="expoinfo_detail" cols="100" rows="5"><%=expoinfo_detail%></textarea></td> 
      <td class="forumRowHighlight"><a href="javascript:admin_Size(-5,'expoinfo_detail')"><img src="../images/minus.gif" width="20" height="20" border='0' unselectable="on"></a> <a href="javascript:admin_Size(5,'expoinfo_detail')"><img src="../images/plus.gif" width="20" height="20" border='0' unselectable="on"></a>        </td> 
    </tr> 
    <tr> 
      <td height="25" colspan="3" align="center" class="forumRowHighlight"><input type="submit" name="B1" value="确定修改设置"></td> 
    </tr> 
  </table> 
</form>  
<%
rs.close
set rs=nothing
end if
If request("action")="saveedit" Then
expo_type=Request.Form("expo_type")
expo_detail=Request.Form("expo_detail")
expoinfo_type=Request.Form("expoinfo_type")
expoinfo_detail=Request.Form("expoinfo_detail")

sql="select expo_type,expo_detail,expoinfo_type,expoinfo_detail from worldec_Temp where id=1"
Set rs= Server.CreateObject("ADODB.Recordset") 
rs.open sql,conn,1,3

rs("expo_type")=expo_type
rs("expo_detail")=expo_detail
rs("expoinfo_type")=expoinfo_type
rs("expoinfo_detail")=expoinfo_detail

rs.update
rs.close
set rs=noting
conn.close
set conn=nothing

response.write"<br><table cellpadding=2 cellspacing=1 border=0 width=400 class=tableBorder align=center>"
response.write"<TR>"
response.write"<TH class=tableHeaderText colSpan=2 height=25>保存网站模板信息</TH>"
response.write"<TR><tr><td height=85 valign=top class=forumRow><div align=center><br><br>展会模板保存成功!</div></td></tr>"
response.write"<tr align=center><td height=30 class=forumRowHighlight><a href='worldec_expo.asp'>&lt;&lt; 返回上一页</a></td>"
response.write"</tr>"
response.write"</table>"
response.write"<br><br>"
end if
%>
 
</body>
</html>
<!--#include file="../copy.asp"-->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -