{188:php}
$sql = "select litpic, typename, id from 188_arctype where channeltype=1 and reid=897 order by sortrank asc,id DESC limit 12";
$dsql->SetQuery($sql);
$dsql->Execute();
$index = 1;
while($row = $dsql->GetArray()){
echo '
{188:php}
$sql = "select litpic, typename, id from 188_arctype where channeltype=1 and reid=897 order by sortrank asc,id DESC limit 40";
$dsql->SetQuery($sql);
$dsql->Execute();
$index = 1;
while($row = $dsql->GetArray()){
echo '