Example #1
0
        getit();
        break;
    case "Add":
        AddNow();
        break;
    case "search":
        require_once "modules/{$module_name}/search.php";
        search();
        break;
    case "ratedownload":
        ratedownload();
        break;
    case "viewdownloadcomments":
        require_once "modules/{$module_name}/comments.php";
        viewdownloadcomments();
        break;
    case "outsidedownloadsetup":
        outsidedownloadsetup();
        break;
    case "viewdownloadeditorial":
        require_once "modules/{$module_name}/editorial.php";
        viewdownloadeditorial();
        break;
    case "viewdownloaddetails":
        require_once "modules/{$module_name}/details.php";
        viewdownloaddetails();
        break;
    default:
        index();
        break;
}
Example #2
0
    case "Add":
        Add($title, $url, $auth_name, $cat, $description, $email, $filesize, $version, $homepage);
        break;
    case "search":
        search($query, $min, $orderby, $show);
        break;
    case "rateinfo":
        rateinfo($lid);
        break;
    case "ratedownload":
        ratedownload($lid, $user);
        break;
    case "addrating":
        addrating($ratinglid, $ratinguser, $rating, $ratinghost_name, $ratingcomments, $user);
        break;
    case "viewdownloadcomments":
        viewdownloadcomments($lid);
        break;
    case "outsidedownloadsetup":
        outsidedownloadsetup($lid);
        break;
    case "viewdownloadeditorial":
        viewdownloadeditorial($lid);
        break;
    case "viewdownloaddetails":
        viewdownloaddetails($lid);
        break;
    default:
        index();
        break;
}