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