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

织梦会员空间全站热门文章及最新文章调用代码,第1张

概述?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[
<?PHP    $sql = "SELECT * FROM `dede_archives` WHERE arcrank > -1 ORDER BY click desc liMIT 10";$dsql->Set@R_301_5962@($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;?>

织梦会员空间全站最新文章调用代码

<?PHP    $sql = "SELECT * FROM `dede_archives` WHERE arcrank > -1 ORDER BY click ID liMIT 10";$dsql->Set@R_301_5962@($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;?>

上一篇:织梦本地环境后台 *** 作卡顿的解决方法

下一篇:处理关键字(织梦关键词提取功能)

总结

以上是内存溢出为你收集整理的织梦会员空间全站热门文章及最新文章调用代码全部内容,希望文章能够帮你解决织梦会员空间全站热门文章及最新文章调用代码所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zz/1038000.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-24
下一篇 2022-05-24

发表评论

登录后才能评论

评论列表(0条)

保存