{dede:list pagesize='10'}
[field:aid runPHP='yes']
$sql="SELECT top 10 * FROM dede_addonarticle where aid < '@me' order by aid desc";
$result = "";
while($row= $dsql->GetArray())
{
$result = $result.$row['aid'].
}
@me = $result ;
[/field:aid]
{/dede:list}