$userChannel = $cuserLogin->getUserChannel();
	require_once(dirname(__FILE__)."/../include/inc_typeunit_menu.php");
	AjaxHead();
	PutCookie('lastCidMenu',$cid,3600*24,"/");
	$tu = new TypeUnit($userChannel);
	$tu->dsql = new DedeSql(false);
	$tu->LogicListAllSunType($cid," ");
  $tu->Close();
}
/*-----------
获得子类的内容
function GetSunListsTree();
-----------*/
else if($dopost=="GetSunListsTree")
{
	$userChannel = $cuserLogin->getUserChannel();
	require_once(dirname(__FILE__)."/../include/inc_type_tree.php");
	if(empty($opall)) $opall = 0;
	if(empty($c)) $c = 0;
	if(empty($cid)) $cid = 0;
	AjaxHead();
	PutCookie('lastCidTree',$cid,3600*24,"/");
	$tu = new TypeTree($userChannel);
	$tu->dsql = new DedeSql(false);
	$tu->LogicListAllSunType($cid," ",$opall,$c);
  $tu->Close();
}

ClearAllLink();
?>