{dede:include filename="head.htm"/}
{dede:php} $thisid=$refObj->Fields['typeid']; $sql="SELECT id,typename,topid FROM #@__arctype where id=".$thisid; $rs=$dsql->GetOne($sql); if($rs['topid'] == 0){ echo $rs['typename']; }else{ $sql2="SELECT id,typename,topid FROM #@__arctype where id=".$rs['topid']; $rs2=$dsql->GetOne($sql2); echo $rs2['typename']; } {/dede:php}
走进优鲁班 了解我们
{dede:include filename="left.htm"/}
{dede:include filename="footer.htm"/}