Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
scz74
New Member
New Member


Joined: Aug 18, 2004
Posts: 4

PostPosted: Thu Nov 03, 2005 3:55 am Reply with quote

hey guys how can i enhance nsn downloads so it will have an option in admin on just how many files a user can download every month.

Ill attach my nsngr download index file here and hope anyone can code this enhancement. thanks.

Code:


<?php

/********************************************************/
/* NSN GR Downloads                                     */
/* By: NukeScripts Network (webmaster@nukescripts.net)  */
/* http://www.nukescripts.net                           */
/* Copyright © 2000-2005 by NukeScripts Network         */
/********************************************************/
/* Based on Journey Links Hack                          */
/* Copyright (c) 2000 by James Knickelbein              */
/* Journey Milwaukee (http://www.journeymilwaukee.com)  */
/********************************************************/

if(!defined('MODULE_FILE')) {
  header("Location: ../../index.php");
  die();
}
$module_name = basename(dirname(__FILE__));
@require_once("mainfile.php");
get_lang($module_name);
$pagetitle = _DOWNLOADS;
@include_once("includes/nsngd_func.php");
$result1 = $db->sql_query("SELECT * FROM ".$prefix."_nsngd_config");
$dl_config = gdget_configs();
if (!$dl_config OR $dl_config=="") {
    @include("header.php");
    title(_DL_DBCONFIG);
    @include("footer.php");
    die();
}
$index = 1;
if(isset($d_op)) { $op = $d_op; unset($d_op); }
if(!isset($op)) { $op = "index"; }
if($op == "viewdownload") { $op = "getit"; }
if($op == "viewdownloaddetails") { $op = "getit"; }
switch($op) {
    case "index":@include("modules/$module_name/public/index.php");break;
    case "NewDownloads":@include("modules/$module_name/public/NewDownloads.php");break;
    case "NewDownloadsDate":@include("modules/$module_name/public/NewDownloadsDate.php");break;
    case "MostPopular":@include("modules/$module_name/public/MostPopular.php");break;
    case "brokendownload":@include("modules/$module_name/public/brokendownload.php");break;
    case "brokendownloadS":@include("modules/$module_name/public/brokendownloadS.php");break;
    case "modifydownloadrequest":@include("modules/$module_name/public/modifydownloadrequest.php");break;
    case "modifydownloadrequestS":@include("modules/$module_name/public/modifydownloadrequestS.php");break;
    case "getit":@include("modules/$module_name/public/getit.php");break;
    case "go":@include("modules/$module_name/public/go.php");break;
    case "search":@include("modules/$module_name/public/search.php");break;
    case "gfx":@include("modules/$module_name/public/gfx.php");break;
}

?>
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©