diff --git a/classes/class_invite_tree.php b/classes/class_invite_tree.php index f97d8736..26a96c40 100644 --- a/classes/class_invite_tree.php +++ b/classes/class_invite_tree.php @@ -108,12 +108,16 @@ function make_tree(){ // Manage tree depth if($TreeLevel > $PreviousTreeLevel){ - for($i = 0; $i<$TreeLevel-$PreviousTreeLevel; $i++){ echo ""; } + echo ""; + echo "
  • "; + } else { + echo "
  • "; + echo "
  • "; } ?> -
  • -
  • + set_query_id($TreeQuery); } + $Tree = ob_get_clean(); + for($i = 0; $i<$PreviousTreeLevel-$OriginalTreeLevel; $i++){ $Tree .= "\n"; } + if($Count){ ?>

    diff --git a/classes/config.template b/classes/config.template index 0ccb2280..fe867b6c 100644 --- a/classes/config.template +++ b/classes/config.template @@ -1,190 +1,190 @@ -'Personal', 1=>'Theme', 2=>'Genre introduction', 3=>'Discography', 4=>'Label', 5=>'Staff picks', 6=>'Charts'); - -$ReleaseTypes = array(1=>'Album', 3=>'Soundtrack', 5=>'EP', 6=>'Anthology', 7=>'Compilation', 9=>'Single', 11=>'Live album', 13=>'Remix', 14=>'Bootleg', 15=>'Interview', 16=>'Mixtape', 21=>'Unknown'); -//$ForumCats = array(1=>'Site', 5=>'Community', 10=>'Help', 8=>'Music', 20=>'Trash'); //No longer needed - -$ZIPGroups = array( - 0 => 'MP3 (VBR) - High Quality', - 1 => 'MP3 (VBR) - Low Quality', - 2 => 'MP3 (CBR)', - 3 => 'FLAC - Lossless', - 4 => 'Others' -); - -//3D array of attributes, OptionGroup, OptionNumber, Name -$ZIPOptions = array( - '00' => array(0,0,'V0'), - '01' => array(0,1,'APX'), - '02' => array(0,2,'256'), - '03' => array(0,3,'V1'), - '10' => array(1,0,'224'), - '11' => array(1,1,'V2'), - '12' => array(1,2,'APS'), - '13' => array(1,3,'192'), - '20' => array(2,0,'320'), - '21' => array(2,1,'256'), - '22' => array(2,2,'224'), - '23' => array(2,3,'192'), - '30' => array(3,0,'FLAC / 24bit / Vinyl'), - '31' => array(3,1,'FLAC / 24bit / DVD'), - '32' => array(3,2,'FLAC / 24bit / SACD'), - '33' => array(3,3,'FLAC / Log (100) / Cue'), - '34' => array(3,4,'FLAC / Log (100)'), - '35' => array(3,5,'FLAC / Log'), - '36' => array(3,6,'FLAC'), - '40' => array(4,0,'DTS'), - '41' => array(4,1,'Ogg Vorbis'), - '42' => array(4,2,'AAC - 320'), - '43' => array(4,3,'AAC - 256'), - '44' => array(4,4,'AAC - q5.5'), - '45' => array(4,5,'AAC - q5'), - '46' => array(4,6,'AAC - 192') -); - -// Ratio requirements, in descending order -// Columns: Download amount, required ratio, grace period -$RatioRequirements = array( - array(50*1024*1024*1024, 0.60, date('Y-m-d H:i:s')), - array(40*1024*1024*1024, 0.50, date('Y-m-d H:i:s')), - array(30*1024*1024*1024, 0.40, date('Y-m-d H:i:s')), - array(20*1024*1024*1024, 0.30, date('Y-m-d H:i:s')), - array(10*1024*1024*1024, 0.20, date('Y-m-d H:i:s')), - array(5*1024*1024*1024, 0.15, date('Y-m-d H:i:s', time()-(60*60*24*14))) -); - -//Captcha fonts should be located in /classes/fonts -$CaptchaFonts=array('ARIBLK.TTF','IMPACT.TTF','TREBUC.TTF','TREBUCBD.TTF','TREBUCBI.TTF','TREBUCIT.TTF','VERDANA.TTF','VERDANAB.TTF','VERDANAI.TTF','VERDANAZ.TTF'); -//Captcha images should be located in /captcha -$CaptchaBGs=array('captcha1.png','captcha2.png','captcha3.png','captcha4.png','captcha5.png','captcha6.png','captcha7.png','captcha8.png','captcha9.png'); - -// Special characters, and what they should be converted to -// Used for torrent searching -$SpecialChars = array( - '&' => 'and' -); -?> +'Personal', 1=>'Theme', 2=>'Genre introduction', 3=>'Discography', 4=>'Label', 5=>'Staff picks', 6=>'Charts'); + +$ReleaseTypes = array(1=>'Album', 3=>'Soundtrack', 5=>'EP', 6=>'Anthology', 7=>'Compilation', 9=>'Single', 11=>'Live album', 13=>'Remix', 14=>'Bootleg', 15=>'Interview', 16=>'Mixtape', 21=>'Unknown'); +//$ForumCats = array(1=>'Site', 5=>'Community', 10=>'Help', 8=>'Music', 20=>'Trash'); //No longer needed + +$ZIPGroups = array( + 0 => 'MP3 (VBR) - High Quality', + 1 => 'MP3 (VBR) - Low Quality', + 2 => 'MP3 (CBR)', + 3 => 'FLAC - Lossless', + 4 => 'Others' +); + +//3D array of attributes, OptionGroup, OptionNumber, Name +$ZIPOptions = array( + '00' => array(0,0,'V0'), + '01' => array(0,1,'APX'), + '02' => array(0,2,'256'), + '03' => array(0,3,'V1'), + '10' => array(1,0,'224'), + '11' => array(1,1,'V2'), + '12' => array(1,2,'APS'), + '13' => array(1,3,'192'), + '20' => array(2,0,'320'), + '21' => array(2,1,'256'), + '22' => array(2,2,'224'), + '23' => array(2,3,'192'), + '30' => array(3,0,'FLAC / 24bit / Vinyl'), + '31' => array(3,1,'FLAC / 24bit / DVD'), + '32' => array(3,2,'FLAC / 24bit / SACD'), + '33' => array(3,3,'FLAC / Log (100) / Cue'), + '34' => array(3,4,'FLAC / Log (100)'), + '35' => array(3,5,'FLAC / Log'), + '36' => array(3,6,'FLAC'), + '40' => array(4,0,'DTS'), + '41' => array(4,1,'Ogg Vorbis'), + '42' => array(4,2,'AAC - 320'), + '43' => array(4,3,'AAC - 256'), + '44' => array(4,4,'AAC - q5.5'), + '45' => array(4,5,'AAC - q5'), + '46' => array(4,6,'AAC - 192') +); + +// Ratio requirements, in descending order +// Columns: Download amount, required ratio, grace period +$RatioRequirements = array( + array(50*1024*1024*1024, 0.60, date('Y-m-d H:i:s')), + array(40*1024*1024*1024, 0.50, date('Y-m-d H:i:s')), + array(30*1024*1024*1024, 0.40, date('Y-m-d H:i:s')), + array(20*1024*1024*1024, 0.30, date('Y-m-d H:i:s')), + array(10*1024*1024*1024, 0.20, date('Y-m-d H:i:s')), + array(5*1024*1024*1024, 0.15, date('Y-m-d H:i:s', time()-(60*60*24*14))) +); + +//Captcha fonts should be located in /classes/fonts +$CaptchaFonts=array('ARIBLK.TTF','IMPACT.TTF','TREBUC.TTF','TREBUCBD.TTF','TREBUCBI.TTF','TREBUCIT.TTF','VERDANA.TTF','VERDANAB.TTF','VERDANAI.TTF','VERDANAZ.TTF'); +//Captcha images should be located in /captcha +$CaptchaBGs=array('captcha1.png','captcha2.png','captcha3.png','captcha4.png','captcha5.png','captcha6.png','captcha7.png','captcha8.png','captcha9.png'); + +// Special characters, and what they should be converted to +// Used for torrent searching +$SpecialChars = array( + '&' => 'and' +); +?> diff --git a/ocelot-0.4.tar.bz2 b/ocelot-0.4.tar.bz2 deleted file mode 100644 index ab36ef7e..00000000 Binary files a/ocelot-0.4.tar.bz2 and /dev/null differ diff --git a/sections/collages/collage.php b/sections/collages/collage.php index f7669151..98d39e13 100644 --- a/sections/collages/collage.php +++ b/sections/collages/collage.php @@ -328,7 +328,7 @@ function compare($X, $Y){ ?> <?=$DisplayName?> -

    + @@ -548,7 +548,7 @@ function compare($X, $Y){ -
    +

    Enter the URLs of torrents on the site, one per line. @@ -620,17 +620,17 @@ function compare($X, $Y){ $CollageCovers) { ?> - + //]]> diff --git a/sections/user/linkedfunctions.php b/sections/user/linkedfunctions.php index 8cdf4742..da2ecf68 100644 --- a/sections/user/linkedfunctions.php +++ b/sections/user/linkedfunctions.php @@ -160,7 +160,7 @@ function user_dupes_table($UserID) { $Dupes = array(); } ?> - +