您现在的位置是:网站首页>建站学院织梦CMS

织梦会员空间全站热门文章调用代码

2020-04-26来源: 织梦CMS 人已围观

简介 <?php $sql = "SELECT * FROM `dede_archives` WHERE arcrank > -1 ORDER BY click desc LIMIT 10";$dsql->SetQuery($sql);$dsql->Execute(&#39;t&#39;);$result

<?php    $sql = "SELECT * FROM `dede_archives` WHERE arcrank > -1 ORDER BY click desc LIMIT 10";$dsql->SetQuery($sql);$dsql->Execute('t');$result = '';while($row = $dsql->GetArray('t')){$arcrow = GetOneArchive($row['id']);$row['arcurl'] = $arcrow['arcurl'];$row['pubdate'] = MyDate('Y-m-d',$row['pubdate']);$row['litpic'] = $row['litpic'] = $row['litpic']=='' ? '/images/defaultpic.gif' : $row['litpic'];$result .= "<li><a href=/"{$row['arcurl']}/"><img src=/"{$row['litpic']}/">{$row['title']}</a></li>";}echo $result;?>

织梦会员空间全站最新文章调用代码oKP淮安网络公司_企业网站模板免费下载_网站建设_企业网站建设方案

<?php    $sql = "SELECT * FROM `dede_archives` WHERE arcrank > -1 ORDER BY click id LIMIT 10";$dsql->SetQuery($sql);$dsql->Execute('t');$result = '';while($row = $dsql->GetArray('t')){$arcrow = GetOneArchive($row['id']);$row['arcurl'] = $arcrow['arcurl'];$row['pubdate'] = MyDate('Y-m-d',$row['pubdate']);$row['litpic'] = $row['litpic'] = $row['litpic']=='' ? '/images/defaultpic.gif' : $row['litpic'];$result .= "<li><a href=/"{$row['arcurl']}/"><img src=/"{$row['litpic']}/">{$row['title']}</a></li>";}echo $result;?>
oKP淮安网络公司_企业网站模板免费下载_网站建设_企业网站建设方案

很赞哦! ()

猜您喜欢

付费说明

    1、安装cms后台,费用是200,基础费用200包括后台调试以及部分页面模板修改.

    2、请加我个人微信 634626966,或者扫一扫微信二维码。备注“网站”

    3、系统安装只限定于帝国cms,并且支持php,虚拟主机,请选择linux系统

    4、【收费说明】制作企业网站,我是这么收费的!

文章评论

站点信息

l