[ Index ] |
|
Code source de PHP NUKE 7.9 |
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 /* Based on Journey Links Hack */ 11 /* Copyright (c) 2000 by James Knickelbein */ 12 /* Journey Milwaukee (http://www.journeymilwaukee.com) */ 13 /* */ 14 /* This program is free software. You can redistribute it and/or modify */ 15 /* it under the terms of the GNU General Public License as published by */ 16 /* the Free Software Foundation; either version 2 of the License. */ 17 /************************************************************************/ 18 19 ###################################################################### 20 # Web Links Preferences (Some variables are valid also for Downloads) 21 # 22 # $perpage: How many links to show on each page? 23 # $popular: How many hits need a link to be listed as popular? 24 # $newlinks: How many links to display in the New Links Page? 25 # $toplinks: How many links to display in The Best Links Page? (Most Popular) 26 # $linksresults: How many links to display on each search result page? 27 # $links_anonaddlinklock: Lock Unregistered users from Suggesting New Links? (0=Yes 1=No) 28 # $anonwaitdays: Number of days anonymous users need to wait to vote on a link 29 # $outsidewaitdays: Number of days outside users need to wait to vote on a link (checks IP) 30 # $useoutsidevoting: Allow Webmasters to put vote links on their site (1=Yes 0=No) 31 # $anonweight: How many Unregistered User vote per 1 Registered User Vote? 32 # $outsideweight: How many Outside User vote per 1 Registered User Vote? 33 # $detailvotedecimal: Let Detailed Vote Summary Decimal out to N places. (no max) 34 # $mainvotedecimal: Let Main Vote Summary Decimal show out to N places. (max 4) 35 # $toplinkspercentrigger: 1 to Show Top Links as a Percentage (else # of links) 36 # $toplinks: Either # of links OR percentage to show (percentage as whole number. #/100) 37 # $mostpoplinkspercentrigger: 1 to Show Most Popular Links as a Percentage (else # of links) 38 # $mostpoplinks: Either # of links OR percentage to show (percentage as whole number. #/100) 39 # $featurebox: 1 to Show Feature Link Box on links Main Page? (1=Yes 0=No) 40 # $linkvotemin: Number votes needed to make the 'top 10' list 41 # $blockunregmodify: Block unregistered users from suggesting links changes? (1=Yes 0=No) 42 ###################################################################### 43 44 $perpage = 10; 45 $popular = 5000; 46 $newlinks = 10; 47 $toplinks = 25; 48 $linksresults = 10; 49 $links_anonaddlinklock = 1; 50 $anonwaitdays = 1; 51 $outsidewaitdays = 1; 52 $useoutsidevoting = 1; 53 $anonweight = 10; 54 $outsideweight = 20; 55 $detailvotedecimal = 2; 56 $mainvotedecimal = 1; 57 $toplinkspercentrigger = 0; 58 $toplinks = 25; 59 $mostpoplinkspercentrigger = 0; 60 $mostpoplinks = 25; 61 $featurebox = 1; 62 $linkvotemin = 5; 63 $blockunregmodify = 1; 64 65 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Apr 1 11:11:59 2007 | par Balluche grâce à PHPXref 0.7 |