//获取顶级栏目名function GetTopTypename($id){ global $dsql; $row = $dsql->GetOne("SELECT typename,topid FROM jiemou_arctype WHERE id= $id"); if ($row['topid'] == '0') { return $row['typename']; } else { $row1 = $dsql->GetOne("SELECT typename FROM jiemou_arctype WHERE id= $row[topid]"); return $row1['typename']; }} |
新闻热点
疑难解答