$tbname = $_GET['tbname']; DelInfoData($start, $classid, $from, $retype, $startday, $endday, $startid, $endid, $tbname, $_GET, $logininid, $loginin); } elseif ($enews == "InfoToDoc") { if ($_GET['ecmsdoc'] == 1) { InfoToDoc_class($_GET, $logininid, $loginin); } elseif ($_GET['ecmsdoc'] == 2) { InfoToDoc($_GET, $logininid, $loginin); } else { InfoToDoc_info($_POST, $logininid, $loginin); } } elseif ($enews == "DoInfoAndSendNotice") { $doing = (int) $_POST['doing']; $adddatar = $_POST; if ($doing == 1) { $enews = 'DelNews'; DelNews($adddatar['id'], $adddatar['classid'], $logininid, $loginin); } elseif ($doing == 2) { $enews = 'CheckNews_all'; $doid[0] = $adddatar['id']; CheckNews_all($adddatar['classid'], $doid, $logininid, $loginin); } elseif ($doing == 3) { $enews = 'NoCheckNews_all'; $doid[0] = $adddatar['id']; NoCheckNews_all($adddatar['classid'], $doid, $logininid, $loginin); } elseif ($doing == 4) { $enews = 'MoveNews_all'; $doid[0] = $adddatar['id']; MoveNews_all($adddatar['classid'], $doid, $adddatar['to_classid'], $logininid, $loginin); } } else { printerror("ErrorUrl", "history.go(-1)");
} require "../class/hinfofun.php"; if ($enews == "AddNews") { $navtheid = (int) $_POST['filepass']; AddNews($_POST, $logininid, $loginin); } elseif ($enews == "EditNews") { $navtheid = (int) $_POST['id']; EditNews($_POST, $logininid, $loginin); } elseif ($enews == "EditInfoSimple") { $navtheid = (int) $_POST['id']; EditInfoSimple($_POST, $logininid, $loginin); } elseif ($enews == "DelNews") { $id = $_GET['id']; $classid = $_GET['classid']; $bclassid = $_GET['bclassid']; DelNews($id, $classid, $logininid, $loginin); } elseif ($enews == "DelNews_all") { $id = $_POST['id']; $classid = $_POST['classid']; $bclassid = $_POST['bclassid']; DelNews_all($id, $classid, $logininid, $loginin); } elseif ($enews == "DelInfoDoc_all") { $id = $_POST['id']; $classid = $_POST['classid']; $bclassid = $_POST['bclassid']; DelNews_all($id, $classid, $logininid, $loginin, 1); } elseif ($enews == 'AddInfoToReHtml') { AddInfoToReHtml($_GET['classid'], $_GET['dore']); } elseif ($enews == "TopNews_all") { $bclassid = $_POST['bclassid']; $classid = $_POST['classid'];