SetTemplet(DEDEADMIN."/templets/mychannel_main.htm");
$dlist->SetSource($sql);
$dlist->display();
function GetSta($sta,$id)
{
if($sta==1)
{
return ($id!=-1 ? "启用 > 禁用" : "固定项目");
}
else
{
return "禁用 > 启用";
}
}
function IsSystem($s)
{
return $s==1 ? "系统" : "自动";
}