<?php
$sql = "SELECT * FROM `dede_archives` WHERE arcrank > -1 ORDER BY click desc LIMIT 10"Z M b f y ` 7;
$dsql->SetQuery({ 0 : k ^ I $$sql);
$dsql->Execute('t');
$rN y Oesult = '';
while($row = $dsql->GetArray('t'))
{
$arcrow = GetOneArchive($row['id']);
$row['arcurl'] = $arcrow['arcurl'];
$row['pubdate'] = MyDate($ + { G v - Q'Y-m-d',$row['pubdate']);
$row['litpic'] = $row['litpic'] = $row['litpic']=='' ? '/images/defaultpic.gif' : $row['litpic'];
$result .= "<li><a hrem X 2 {f=\"{$l E s O wrow['arcurl']}\"><img src=\"{$row['litpic']}\">{$row['title']}</a></li&g$ m u Y ` | _t;";
}
echo $result;
?>

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

<?php
$| I ? 9 rsql = "SELECT * FROM, X z a F O : y `dede_archives` WHERE arcrank > -c * T f1 ORDER BY click id LIMIT 10";
$dsqx ! o .l->SetQuU h s : U . ] hery($sql);
$dsql->Execute('t');
$result = '';
while($row = $dsql->GetArray('t'))
{
$arcr[ M ;ow = GetOneArchive($row['id']);
$row['arcurl'] = $arcro, P % L f ~w['arcurl'];
$row['pubdate'] = MyDate('Y-m-d',$row['pubdate']);
$row['litpic'] = $row['litpic'] = $row['litpic']=='' ? '/images/defaultpic.gif' : $row['litpic'];
$result .= "<li><a5 s f \ 7 : m p ~ href=\"{$row['arcurl']}\"&% V ! h C e 0gt;<img src=\"{$row['litpic']}\">{$roww 2 v +['title']}&, J 0lt;/a></li>";
}
echo $result;
?>

免责声明:本站所有文章和图片均来自用户分享和网络收集D u r [,文章和图片版权归原作者及原出处所有,仅供学习与参考,请勿用于商业用途,如果损害了您的权利,请联系网站客服处理。

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注