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

?php$sql = SELECT * FROM `dede_archives` WHERE arcrank -1 ORDER BY click desc LIMIT 10;$dsql-SetQuery;$dsql-Execute;$result = ;while){$arcrow = GetOneArchive;$row[arcurl] = $arcrow[arcurl];$row[pubdate] = MyDate;$row[litpic] = $row[litpic] = $row[litpic]== ? /images/defaultpic.gif : $row[litpic];$result .= lia href=\{$row[arcurl]}\img src=\{$row[litpic]}\{$row[title]}/a/li;}echo $result;?

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

?php$sql = SELECT * FROM `dede_archives` WHERE arcrank -1 ORDER BY click id LIMIT 10;$dsql-SetQuery;$dsql-Execute;$result = ;while){$arcrow = GetOneArchive;$row[arcurl] = $arcrow[arcurl];$row[pubdate] = MyDate;$row[litpic] = $row[litpic] = $row[litpic]== ? /images/defaultpic.gif : $row[litpic];$result .= lia href=\{$row[arcurl]}\img src=\{$row[litpic]}\{$row[title]}/a/li;}echo $result;?