<?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;?> |
上一篇:织梦本地环境后台 *** 作卡顿的解决方法
下一篇:处理关键字(织梦关键词提取功能)
总结以上是内存溢出为你收集整理的织梦会员空间全站热门文章及最新文章调用代码全部内容,希望文章能够帮你解决织梦会员空间全站热门文章及最新文章调用代码所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)