} switch ($d_op) { case "AddDownload": AddDownload(); break; case "NewDownloads": NewDownloads($newdownloadshowdays); break; case "NewDownloadsDate": NewDownloadsDate($selectdate); break; case "CoolSize": CoolSize($size); break; case "TopRated": TopRated($ratenum, $ratetype); break; case "MostPopular": MostPopular($ratenum, $ratetype); break; case "viewdownload": viewdownload($cid, $min, $orderby, $show); break; case "viewsdownload": viewsdownload($sid, $min, $orderby, $show); break; case "brokendownload": brokendownload($lid); break; case "modifydownloadrequest": modifydownloadrequest($lid);
$d_op = isset($_POST['d_op']) ? $_POST['d_op'] : (isset($_GET['d_op']) ? $_GET['d_op'] : ''); switch ($d_op) { case "AddDownload": AddDownload(); break; case "NewDownloads": require_once "modules/{$module_name}/new.php"; NewDownloads(); break; case "NewDownloadsDate": require_once "modules/{$module_name}/new.php"; NewDownloadsDate(); break; case "TopRated": require_once "modules/{$module_name}/top.php"; TopRated(); break; case "MostPopular": require_once "modules/{$module_name}/pop.php"; MostPopular(); break; case "viewdownload": require_once "modules/{$module_name}/view.php"; viewdownload(); break; case "brokendownload": brokendownload(); break; case "modifydownloadrequest": modifydownloadrequest(); break;
if (isset($_GET['ratenum'])) { $ratenum = intval($_GET['ratenum']); } //trigger_error($_GET['orderby']); switch ($l_op) { case "addlink": AddLink(); break; case "newlinks": NewLinks(isset($_POST['newlinkshowdays']) ? $_POST['newlinkshowdays'] : isset($_GET['newlinkshowdays']) ? $_GET['newlinkshowdays'] : ''); break; case "newlinksdate": NewLinksDate($_GET['selectdate']); break; case "toprated": TopRated(isset($_GET['ratenum']) ? $_GET['ratenum'] : (isset($_POST['ratenum']) ? $_POST['ratenum'] : NULL), isset($_GET['ratetype']) ? $_GET['ratetype'] : (isset($_POST['ratetype']) ? $_POST['ratetype'] : NULL)); break; case "mostpopular": MostPopular(isset($_GET['ratenum']) ? $_GET['ratenum'] : (isset($_POST['ratenum']) ? $_POST['ratenum'] : NULL), isset($_GET['ratetype']) ? $_GET['ratetype'] : (isset($_POST['ratetype']) ? $_POST['ratetype'] : NULL)); break; case "randomlink": RandomLink(); break; case "viewlink": if ($cid == 0) { index(); break; } viewlink($cid, isset($_POST['min']) ? $_POST['min'] : 0, isset($_GET['orderby']) ? $_GET['orderby'] : '', isset($_POST['show']) ? $_POST['show'] : ''); break; case "brokenlink":