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

夕阳的金辉把绿色的林海染成金黄一片。火红的太阳慢慢地西落了,归鸟们纷纷从我头上飞过,飞回到它们的小巢。一轮明月从东方静悄悄地升上来。夜空中美丽的星星,似乎在眨着眼睛对我说:夜,来了!
<?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 rel="nofollow noopener noreferrer" 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->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 rel="nofollow noopener noreferrer" href=\&;{$row['arcurl']}\&;><img src=\&;{$row['litpic']}\&;>{$row['title']}</a></li>";
}
echo $result;
?>

本文织梦会员空间全站热门文章调用代码到此结束。其实根本就没有什么“假如”,每个人的人生都不可重新设计。小编再次感谢大家对我们的支持!

标签: 全站