makeviewpl(); break; case "viewday": checkViewType(); makeviewday(); break; case "topicindex": checkViewType(); maketopicindex(); break; case "topic": checkViewType(); maketopic(); break; case "topicall": checkViewType(); maketopicall(); break; default: main(); break; } function checkViewType() { global $flag, $sql, $sql1, $makeinterval; if ($flag == "art") { $viewtype = app_artviewtype; $makeinterval = app_artmakeinterval; } else { $viewtype = app_vodviewtype; $makeinterval = app_vodmakeinterval;
makeviewpl(); break; case "viewday": checkViewType("content"); makeviewday(); break; case "topicindex": checkViewType("topic"); maketopicindex(); break; case "topic": checkViewType("topic"); maketopic(); break; case "topicall": checkViewType("topic"); maketopicall(); break; default: main(); break; } dispseObj(); function checkViewType($cs) { global $flag, $makeinterval; if ($flag == "art") { $makeinterval = app_artmakeinterval; switch ($cs) { case "type": $viewtype = app_artlistviewtype;