$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();
?>
border-left: 1px solid #788C47;
border-right: 1px solid #788C47;
}
.top{cursor: hand;}
body {
scrollbar-base-color:#bae87c;
scrollbar-arrow-color:#FFFFFF;
scrollbar-shadow-color:#c1ea8b
}
</style>
</head>
<base target="main">
<body leftmargin="0" bgcolor="#007400" topmargin="3" target="main">
<table width='98%' border='0' align='center' cellpadding='0' cellspacing='0'>
  <tr> 
    <td height='24' background='img/mtbg1.gif'  style='border-left: 1px solid #2FA1DB; border-right: 1px solid #2FA1DB;'>
		 <strong>√请在要选择的栏目打勾</strong>
	  <input type='checkbox' name='nsel' id='selid0' class='np' onClick="ReSel(0,'请选择...')">不限栏目
	</td>
  </tr>
  <tr bgcolor='#EEFAFE'> 
    <td align='center' bgcolor="#eefef0" id='items1'> 
<?php 
$tu = new TypeTree($userChannel);
$tu->ListAllType(0,$opall,$c);
$tu->Close();
?>    </td>
  </tr>
</table>
</body>
</html>