公司简介---调用单页面
作者:cmscn 日期:2005-05-27
<!-- #include file="include/skin.asp" -->
<!-- #include file="include/jk_ubb.asp" -->
<%
tit="公司简介"
call web_head(0,0,2,0,0)
dim word,cod
sql="select top 1 id,topic,word,cod from article where topic='公司简介' and hidden=0 order by id desc"
set rs=joekoe_cms.exec(sql,1)
do while not rs.eof
word=rs("word")
cod=rs("cod")
if int(cod)=1 then word=code_jk(word)
%>
<table cellspacing=1 cellpadding=4 class=table>
<tr><td class=td0> <%response.write img_skin("m_")%></td></tr>
<tr><td class=bg_td align=center>
<table border=0 width=777 class=tf>
<tr><td class=htd><%response.write word%></td></tr>
</table>
<%
rs.movenext
loop
rs.close
call web_end(0,0)
%>
<%response.write left(word,100)%>
引用内容
<!-- #include file="include/skin.asp" -->
<table border=0 cellspacing=0 cellpadding=0 width='98%' align=center>
<%
dim word,cod
sql="select top 1 id,topic,word,cod from article where topic='联系我们' order by id desc"
set rs=joekoe_cms.exec(sql,1)
do while not rs.eof
word=rs("word")
cod=rs("cod")
if int(cod)=1 then word=code_jk(word)
%>
<tr><td class=htd><%response.write word%></td></tr>
<tr><td height=10></tr>
<%
rs.movenext
loop
rs.close
%>
</table>
评论: 7 | 引用: 0 | 查看次数: 868
发表评论