set rs=joekoe_cms.exec(sql,1)
if not rs.eof then...,Bullcn'Blog - 分享、交流、进步。" /> cms1.0 网站数据 - Bullcn'Blog

cms1.0 网站数据


<table border=0 cellspacing=0 cellpadding=2 width='100%'>
  <%
    sql="select top 1 num_article,num_down,num_topic,num_data,num_new,num_reg,num_news,new_username,num_product,counter,start_tim,max_online,max_tim from configs order by id desc"
    set rs=joekoe_cms.exec(sql,1)
    if not rs.eof then
    dim num_article,num_down,num_topic,num_data,num_new,num_reg,new_username,num_news,num_product,counter,start_tim,max_online,max_tim
    num_article=trim(rs("num_article"))
    num_down=trim(rs("num_down"))
    new_username=trim(rs("num_topic"))
    num_data=trim(rs("num_data"))
    num_new=trim(rs("num_new"))
    num_reg=trim(rs("num_reg"))
    num_news=trim(rs("num_news"))
    num_topic=trim(rs("num_topic"))
    num_product=trim(rs("num_product"))
    new_username=trim(rs("new_username"))
    counter=trim(rs("counter"))
    start_tim=trim(rs("start_tim"))
    max_online=trim(rs("max_online"))
    max_tim=trim(rs("max_tim"))
%>
<tr><td height=<%response.write dim_num(6)%>><img border=0 src='skin/<%response.write joekoe_cms.web_skin%>/small/h_.gif' align=absmiddle> 网站注册: <font class=red><%response.write num_reg%></font>  人</td></tr>
<tr><td height=<%response.write dim_num(6)%>><img border=0 src='skin/<%response.write joekoe_cms.web_skin%>/small/h_.gif' align=absmiddle> 最新注册: <a href='user_view.asp?username=<%response.write joekoe_cms.code_html(new_username,1,10)%>' alt='查看 "<%response.write joekoe_cms.code_html(new_username,1,50)%>" 的详细资料' target=_blank><%response.write joekoe_cms.code_html(new_username,1,10)%></a></td></tr>
<tr><td height=<%response.write dim_num(6)%>><img border=0 src='skin/<%response.write joekoe_cms.web_skin%>/small/h_.gif' align=absmiddle> 新闻总数: <font class=red><%response.write num_news%></font>  条</td></tr>
<tr><td height=<%response.write dim_num(6)%>><img border=0 src='skin/<%response.write joekoe_cms.web_skin%>/small/h_.gif' align=absmiddle> 文章总数: <font class=red><%response.write num_article%></font>  篇</td></tr>
<tr><td height=<%response.write dim_num(6)%>><img border=0 src='skin/<%response.write joekoe_cms.web_skin%>/small/h_.gif' align=absmiddle> 产品数量: <font class=red><%response.write num_product%></font>  件</td></tr>
<tr><td height=<%response.write dim_num(6)%>><img border=0 src='skin/<%response.write joekoe_cms.web_skin%>/small/h_.gif' align=absmiddle> 软件总数: <font class=red><%response.write num_down%></font>  个</td></tr>
<tr><td height=<%response.write dim_num(6)%>><img border=0 src='skin/<%response.write joekoe_cms.web_skin%>/small/h_.gif' align=absmiddle> 论坛主题: <font class=red><%response.write num_topic%></font>  贴</td></tr>
<tr><td height=<%response.write dim_num(6)%>><img border=0 src='skin/<%response.write joekoe_cms.web_skin%>/small/h_.gif' align=absmiddle> 论坛贴子: <font class=red><%response.write num_data%></font>  贴</td></tr>
<tr><td height=<%response.write dim_num(6)%>><img border=0 src='skin/<%response.write joekoe_cms.web_skin%>/small/h_.gif' align=absmiddle> 最高在线: <font class=red alt=最高在线发生于:<%response.write max_tim%>><%response.write max_online%></font>  人</td></tr>
<tr><td height=<%response.write dim_num(6)%>><img border=0 src='skin/<%response.write joekoe_cms.web_skin%>/small/h_.gif' align=absmiddle> 网站浏览: <font class=red alt=从<%response.write start_tim%>起计算至今><%response.write counter%></font>  人次</td></tr>
</table>
<%end if
rs.close%>
</td></tr>
</table>

文章来自: Original
引用通告: 查看所有引用 | 我要引用此文章
Tags:
相关日志:
评论: 7 | 引用: 0 | 查看次数: 606
发表评论
昵 称:
密 码: 游客发言不需要密码.
内 容:
验证码: 验证码
选 项:
虽然发表评论不用注册,但是为了保护您的发言权,建议您注册帐号.
字数限制 20 字 | UBB代码 关闭 | [img]标签 关闭