home *** CD-ROM | disk | FTP | other *** search
/ Internet Magazine 2003 May / INTERNET103.ISO / pc / software / windows / building / php_nuke / html / modules / downloads / d_config.php next >
Encoding:
PHP Script  |  2002-09-16  |  3.1 KB  |  65 lines

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