<?php $sql="SELECT id,title FROM `dede_archives` WHERE typeid='36' ORDER BY pubdate DESC LIMIT 0,12"; $dsql->Execute('me',$sql); while($arr = $dsql->GetArray('me')) { $url=GetOneArchive($arr['id']); echo "<li><a href=\"{$url['arcurl']}\" target=\"_blank\">{$arr['title']}</a></li>\n"; } ?> |