|
织梦会员空间全站热门文章调用代码
-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 .= "[*,[url=,
[img][/img]
{$row['title',}[/url]";
}
echo $result;
?> |
|