PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
scz74
New Member
New Member


Joined: Aug 18, 2004
Posts: 4

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

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

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum