{wc:php:start}
if($fen1){
$two_cate_list = $this->db->GetList("select cateid,parentid,name from `@#_category` where `parentid` = '$fen1' order by `order` DESC");
if(!$two_cate_list && $daohang['parentid'])
$two_cate_list = $this->db->GetList("select cateid,parentid,name from `@#_category` where `parentid` = '$daohang[parentid]' order by `order` DESC");
}
{wc:php:end}
{wc:if !empty($two_cate_list)}