[field:typeid2 runphp='yes']
global $dsql;
if(strstr(@me, ',')){
$typeid2s = explode(',', @me);
$typename2 = '';
foreach($typeid2s as $tid){
$sql = GetSonIds($tid);
$row = $dsql->GetOne("select * from dede_arctype where id=$tid");
$row['typeurl'] = GetTypeUrl($row['typeid'],$row['typedir'],$row['isdefault'],$row['defaultname'],$row['ispart'],$row['namerule2'],$row['moresite'],$row['siteurl'],$row['sitepath']);
$typename2 .= '<li><a href="'.$row['typeurl'].'">'.$row['typename'].'</a></li>';
}
}else{
$row = $dsql->GetOne("select * from dede_arctype where id=@me");
$row['typeurl'] = GetTypeUrl($row['typeid'],$row['typedir'],$row['isdefault'],$row['defaultname'],$row['ispart'],$row['namerule2'],$row['moresite'],$row['siteurl'],$row['sitepath']);
$typename2 = '<li><a href="'.$row['typeurl'].'">'.$row['typename'].'</a></li>';
}
@me = $typename2;
[/field:typeid2]
新闻热点
疑难解答