[ Index ]
 

Code source de PHP NUKE 7.9

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/modules/Downloads/ -> d_config.php (source)

   1  <?php
   2  
   3  /************************************************************************/
   4  /* PHP-NUKE: Web Portal System                                          */
   5  /* ===========================                                          */
   6  /*                                                                      */
   7  /* Copyright (c) 2005 by Francisco Burzi                                */
   8  /* http://phpnuke.org                                                   */
   9  /*                                                                      */
  10  /* This program is free software. You can redistribute it and/or modify */
  11  /* it under the terms of the GNU General Public License as published by */
  12  /* the Free Software Foundation; either version 2 of the License.       */
  13  /************************************************************************/
  14  
  15  ######################################################################
  16  # Downloads Preferences (Some variables are valid also for Downloads)
  17  #
  18  # $perpage:                  How many downloads to show on each page?
  19  # $popular:                  How many hits need a download to be listed as popular?
  20  # $newdownloads:                 How many downloads to display in the New Downloads Page?
  21  # $topdownloads:                 How many downloads to display in The Best Downloads Page? (Most Popular)
  22  # $downloadsresults:             How many downloads to display on each search result page?
  23  # $downloads_anonadddownloadlock:       Lock Unregistered users from Suggesting New Downloads? (1=Yes 0=No)
  24  # $anonwaitdays:            Number of days anonymous users need to wait to vote on a download
  25  # $outsidewaitdays:         Number of days outside users need to wait to vote on a download (checks IP)
  26  # $useoutsidevoting:            Allow Webmasters to put vote downloads on their site (1=Yes 0=No)
  27  # $anonweight:              How many Unregistered User vote per 1 Registered User Vote?
  28  # $outsideweight:           How many Outside User vote per 1 Registered User Vote?
  29  # $detailvotedecimal:           Let Detailed Vote Summary Decimal out to N places. (no max)
  30  # $mainvotedecimal:         Let Main Vote Summary Decimal show out to N places. (max 4)
  31  # $topdownloadspercentrigger:       1 to Show Top Downloads as a Percentage (else # of downloads)
  32  # $topdownloads:                Either # of downloads OR percentage to show (percentage as whole number. #/100)
  33  # $mostpopdownloadspercentrigger:    1 to Show Most Popular Downloads as a Percentage (else # of downloads)
  34  # $mostpopdownloads:            Either # of downloads OR percentage to show (percentage as whole number. #/100)
  35  # $featurebox:              1 to Show Feature Download Box on downloads Main Page? (1=Yes 0=No)
  36  # $downloadvotemin:             Number votes needed to make the 'top 10' list
  37  # $blockunregmodify:            Block unregistered users from suggesting downloads changes? (1=Yes 0=No)
  38  # $show_links_num:              Show the number of links for each category? (1=Yes 0=No)
  39  ######################################################################
  40  
  41  $perpage = 10;
  42  $popular = 5000;
  43  $anonwaitdays = 1;
  44  $outsidewaitdays = 1;
  45  $useoutsidevoting = 1;
  46  $anonweight = 10;
  47  $outsideweight = 20;
  48  $detailvotedecimal = 2;
  49  $mainvotedecimal = 1;
  50  $featurebox = 1;
  51  $blockunregmodify = 1;
  52  $newdownloads = 10;
  53  $topdownloads = 25;
  54  $downloadsresults = 10;
  55  $downloads_anonadddownloadlock = 1;
  56  $user_adddownload = 1;
  57  $topdownloadspercentrigger = 0;
  58  $topdownloads = 25;
  59  $mostpopdownloadspercentrigger = 0;
  60  $mostpopdownloads = 25;
  61  $downloadvotemin = 5;
  62  $show_links_num = 0;
  63  
  64  ?>


Généré le : Sun Apr 1 11:11:59 2007 par Balluche grâce à PHPXref 0.7