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

📄 common.asp

📁 嘉缘人才6.0精简 ,很好用的人才系统
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="conn/conn.asp"-->
<!--#include file="inc/Commoncode.asp"-->
<!--#include file="inc/CommonFunction.asp"-->
<%commonid=Trim(Request("commonid"))
if commonid="" or not IsNumeric(commonid) then
Response.Write("<SCRIPT language=JavaScript>alert('参数错误!');window.close();</script>")
response.end()
else
set rs=conn.execute("select * from JOB_common where id="&commonid&"")
if not rs.eof then
templateid=rs("templateid")
Commoncontent=rs("content")
Commotitle=rs("title")
else
Response.Write("<SCRIPT language=JavaScript>alert('内容不存在!');window.close();</script>")
response.end()
end if
rs.close
set rs=nothing
end if
'读取模版内容
set rs=conn.execute("select * from JOB_Template where TemplateID="&templateid&"")
if not rs.eof then
TemplateContent=rs("TemplateContent")
else
Response.Write("读取模板出错!")
Response.end()
end if
rs.close
set rs=nothing
html=TemplateContent
html=ReplaceLableFlag(ReplaceAllLabel(html))
html=Replace(html,"{$FR_页尾导航}",GetSitebottomnav())
html=Replace(html,"{$FR_通用页面内容}",Commoncontent)
html=Replace(html,"{$FR_通用标题}",Commotitle)
Response.Write(CreateHTMLReplace(html))
conn.close
set conn=nothing
%>

⌨️ 快捷键说明

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