Пример #1
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;
}
Пример #2
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;
}
Пример #3
0
        require_once "search.php";
        search($query, $min, $orderby, $show);
        break;
    case "rateinfo":
        rateinfo($lid, $user, $title);
        break;
    case "ratedownload":
        ratedownload($lid, $user, $ttitle);
        break;
    case "addrating":
        addrating($ratinglid, $ratinguser, $rating, $ratinghost_name, $ratingcomments, $user);
        break;
    case "viewdownloadcomments":
        require_once "comments.php";
        viewdownloadcomments($lid, $ttitle);
        break;
    case "outsidedownloadsetup":
        outsidedownloadsetup($lid);
        break;
    case "viewdownloadeditorial":
        require_once "editorial.php";
        viewdownloadeditorial($lid, $ttitle);
        break;
    case "viewdownloaddetails":
        require_once "details.php";
        viewdownloaddetails($lid, $ttitle);
        break;
    default:
        index();
        break;
}