//define reviewer rating variable.. $reviewer = array(85,95,80,85,90,80,90,85,70,80,75,90); // trk numbers $trk1 = array();$trk2 = array();$trk3 = array();$trk4 = array();$trk5 = array();$trk6 = array();$trk7 = array();$trk8 = array();$trk9 = array();$trk10 = array();$trk11 = array();$trk12 = array();$trk13 = array();$trk14 = array();$trk15 = array();$trk16 = array();$trk17 = array();$trk18 = array();$trk19 = array();$trk20 = array();$trk21 = array();$trk22 = array();$trk23 = array(); //define user ratings variable.. Open the datafile and read the content $filelocation = "comments/vanhunt_vanhunt.txt"; $newfile = fopen($filelocation,"r"); $content = fread($newfile, filesize($filelocation)); fclose($newfile); // Remove the slashes PHP automatically puts before special characters $content=stripslashes($content); // Put the entries into the array $lines $lines = explode("%",$content); // Define and fill the reverse array (showing the last entry first) // Display all the entries of the guestbook while(list($key) = each ($lines)){ // split the data lines into a user array - user[0] is the name, user[1] is the date, [2] is the message, [3] is album rating [4 and up] are the individual track ratings $user = explode("#",$lines[$key]); switch($user[4]){ case 0: $user[4] = $reviewer[0]; $right = $user[4]; array_push($trk1, $right); break; default: $right = $user[4]; array_push($trk1, $right); } switch($user[5]){ case 0: $user[5] = $reviewer[1]; $right = $user[5]; array_push($trk2, $right); break; default: $right = $user[5]; array_push($trk2, $right); } switch($user[6]){ case 0: $user[6] = $reviewer[2]; $right = $user[6]; array_push($trk3, $right); break; default: $right = $user[6]; array_push($trk3, $right); } switch($user[7]){ case 0: $user[7] = $reviewer[3]; $right = $user[7]; array_push($trk4, $right); break; default: $right = $user[7]; array_push($trk4, $right); } switch($user[8]){ case 0: $user[8] = $reviewer[4]; $right = $user[8]; array_push($trk5, $right); break; default: $right = $user[8]; array_push($trk5, $right); } switch($user[9]){ case 0: $user[9] = $reviewer[5]; $right = $user[9]; array_push($trk6, $right); break; default: $right = $user[9]; array_push($trk6, $right); } switch($user[10]){ case 0: $user[10] = $reviewer[6]; $right = $user[10]; array_push($trk7, $right); break; default: $right = $user[10]; array_push($trk7, $right); } switch($user[11]){ case 0: $user[11] = $reviewer[7]; $right = $user[11]; array_push($trk8, $right); break; default: $right = $user[11]; array_push($trk8, $right); } switch($user[12]){ case 0: $user[12] = $reviewer[8]; $right = $user[12]; array_push($trk9, $right); break; default: $right = $user[12]; array_push($trk9, $right); } switch($user[13]){ case 0: $user[13] = $reviewer[9]; $right = $user[13]; array_push($trk10, $right); break; default: $right = $user[13]; array_push($trk10, $right); } switch($user[14]){ case 0: $user[14] = $reviewer[10]; $right = $user[14]; array_push($trk11, $right); break; default: $right = $user[14]; array_push($trk11, $right); } switch($user[15]){ case 0: $user[15] = $reviewer[11]; $right = $user[15]; array_push($trk12, $right); break; default: $right = $user[15]; array_push($trk12, $right); } switch($user[16]){ case 0: $user[16] = $reviewer[12]; $right = $user[16]; array_push($trk13, $right); break; default: $right = $user[16]; array_push($trk13, $right); } switch($user[17]){ case 0: $user[17] = $reviewer[13]; $right = $user[17]; array_push($trk14, $right); break; default: $right = $user[17]; array_push($trk14, $right); } switch($user[18]){ case 0: $user[18] = $reviewer[14]; $right = $user[18]; array_push($trk15, $right); break; default: $right = $user[18]; array_push($trk15, $right); } switch($user[19]){ case 0: $user[19] = $reviewer[15]; $right = $user[19]; array_push($trk16, $right); break; default: $right = $user[19]; array_push($trk16, $right); } switch($user[20]){ case 0: $user[20] = $reviewer[16]; $right = $user[20]; array_push($trk17, $right); break; default: $right = $user[20]; array_push($trk17, $right); } switch($user[21]){ case 0: $user[21] = $reviewer[17]; $right = $user[21]; array_push($trk18, $right); break; default: $right = $user[21]; array_push($trk18, $right); } switch($user[22]){ case 0: $user[22] = $reviewer[18]; $right = $user[22]; array_push($trk19, $right); break; default: $right = $user[22]; array_push($trk19, $right); } switch($user[23]){ case 0: $user[23] = $reviewer[19]; $right = $user[23]; array_push($trk20, $right); break; default: $right = $user[23]; array_push($trk20, $right); } switch($user[24]){ case 0: $user[24] = $reviewer[20]; $right = $user[24]; array_push($trk21, $right); break; default: $right = $user[24]; array_push($trk21, $right); } switch($user[25]){ case 0: $user[25] = $reviewer[21]; $right = $user[25]; array_push($trk22, $right); break; default: $right = $user[25]; array_push($trk22, $right); } switch($user[26]){ case 0: $user[26] = $reviewer[22]; $right = $user[26]; array_push($trk23, $right); break; default: $right = $user[26]; array_push($trk23, $right); } } // end while loop //create track averages if($trk1[1]){ $avgtrk1 = array_sum($trk1) - $trk1[0]; $avgtrk2 = array_sum($trk2) - $trk2[0]; $avgtrk3 = array_sum($trk3) - $trk3[0]; $avgtrk4 = array_sum($trk4) - $trk4[0]; $avgtrk5 = array_sum($trk5) - $trk5[0]; $avgtrk6 = array_sum($trk6) - $trk6[0]; $avgtrk7 = array_sum($trk7) - $trk7[0]; $avgtrk8 = array_sum($trk8) - $trk8[0]; $avgtrk9 = array_sum($trk9) - $trk9[0]; $avgtrk10 = array_sum($trk10) - $trk10[0]; $avgtrk11 = array_sum($trk11) - $trk11[0]; $avgtrk12 = array_sum($trk12) - $trk12[0]; $avgtrk13 = array_sum($trk13) - $trk13[0]; $avgtrk14 = array_sum($trk14) - $trk14[0]; $avgtrk15 = array_sum($trk15) - $trk15[0]; $avgtrk16 = array_sum($trk16) - $trk16[0]; $avgtrk17 = array_sum($trk17) - $trk17[0]; $avgtrk18 = array_sum($trk18) - $trk18[0]; $avgtrk19 = array_sum($trk19) - $trk19[0]; $avgtrk17 = array_sum($trk20) - $trk20[0]; $avgtrk18 = array_sum($trk21) - $trk21[0]; $avgtrk19 = array_sum($trk22) - $trk22[0]; $avgtrk19 = array_sum($trk23) - $trk23[0]; $trkcount1 = count($trk1) - 1; $trkcount2 = count($trk2) - 1; $trkcount3 = count($trk3) - 1; $trkcount4 = count($trk4) - 1; $trkcount5 = count($trk5) - 1; $trkcount6 = count($trk6) - 1; $trkcount7 = count($trk7) - 1; $trkcount8 = count($trk8) - 1; $trkcount9 = count($trk9) - 1; $trkcount10 = count($trk10) - 1; $trkcount11 = count($trk11) - 1; $trkcount12 = count($trk12) - 1; $trkcount13 = count($trk13) - 1; $trkcount14 = count($trk14) - 1; $trkcount15 = count($trk15) - 1; $trkcount16 = count($trk16) - 1; $trkcount17 = count($trk17) - 1; $trkcount18 = count($trk18) - 1; $trkcount19 = count($trk19) - 1; $trkcount20 = count($trk20) - 1; $trkcount21 = count($trk21) - 1; $trkcount22 = count($trk22) - 1; $trkcount23 = count($trk23) - 1; } else{ $avgtrk1 = array_sum($trk1); $avgtrk2 = array_sum($trk2); $avgtrk3 = array_sum($trk3); $avgtrk4 = array_sum($trk4); $avgtrk5 = array_sum($trk5); $avgtrk6 = array_sum($trk6); $avgtrk7 = array_sum($trk7); $avgtrk8 = array_sum($trk8); $avgtrk9 = array_sum($trk9); $avgtrk10 = array_sum($trk10); $avgtrk11 = array_sum($trk11); $avgtrk12 = array_sum($trk12); $avgtrk13 = array_sum($trk13); $avgtrk14 = array_sum($trk14); $avgtrk15 = array_sum($trk15); $avgtrk16 = array_sum($trk16); $avgtrk17 = array_sum($trk17); $avgtrk18 = array_sum($trk18); $avgtrk19 = array_sum($trk19); $avgtrk20 = array_sum($trk20); $avgtrk21 = array_sum($trk21); $avgtrk22 = array_sum($trk22); $avgtrk23 = array_sum($trk23); $trkcount1 = 1; $trkcount2 = 1; $trkcount3 = 1; $trkcount4 = 1; $trkcount5 = 1; $trkcount6 = 1; $trkcount7 = 1; $trkcount8 = 1; $trkcount9 = 1; $trkcount10 = 1; $trkcount11 = 1; $trkcount12 = 1; $trkcount13 = 1; $trkcount14 = 1; $trkcount15 = 1; $trkcount16 = 1; $trkcount17 = 1; $trkcount18 = 1; $trkcount19 = 1; $trkcount20 = 1; $trkcount21 = 1; $trkcount22 = 1; $trkcount23 = 1; } $avgtrk1 = $avgtrk1 / $trkcount1; $avgtrk2 = $avgtrk2 / $trkcount2; $avgtrk3 = $avgtrk3 / $trkcount3; $avgtrk4 = $avgtrk4 / $trkcount4; $avgtrk5 = $avgtrk5 / $trkcount5; $avgtrk6 = $avgtrk6 / $trkcount6; $avgtrk7 = $avgtrk7 / $trkcount7; $avgtrk8 = $avgtrk8 / $trkcount8; $avgtrk9 = $avgtrk9 / $trkcount9; $avgtrk10 = $avgtrk10 / $trkcount10; $avgtrk11 = $avgtrk11 / $trkcount11; $avgtrk12 = $avgtrk12 / $trkcount12; $avgtrk13 = $avgtrk13 / $trkcount13; $avgtrk14 = $avgtrk14 / $trkcount14; $avgtrk15 = $avgtrk15 / $trkcount15; $avgtrk16 = $avgtrk16 / $trkcount16; $avgtrk17 = $avgtrk17 / $trkcount17; $avgtrk18 = $avgtrk18 / $trkcount18; $avgtrk19 = $avgtrk19 / $trkcount19; $avgtrk20 = $avgtrk20 / $trkcount20; $avgtrk21 = $avgtrk21 / $trkcount21; $avgtrk22 = $avgtrk22 / $trkcount22; $avgtrk23 = $avgtrk23 / $trkcount23; $realtrkavg = $avgtrk1+$avgtrk2+$avgtrk3+$avgtrk4+$avgtrk5+$avgtrk6+$avgtrk7+$avgtrk8+$avgtrk9+$avgtrk10+$avgtrk11+$avgtrk12; $realtrkavg = $realtrkavg/12; $realtrkavg = round($realtrkavg); // comment count function function howmany($counter, $lines){ // Remove the slashes PHP automatically puts before special characters // Put the entries into the array lines $counter = sizeof($lines)-1; return $counter; } // bar width 10 = 12px, 15 = 23px, 20 = 46px, 25 = 56px, 30 = 78px, 35 = 89px, 40 = 110px, 45 = 120px, 50 = 142px, 55 = 153px, 60 = 171px, 65 = 182px, 70 = 203px, 75 = 214px, 80 = 235px, 85 = 246px, 90 = 267px, 95 = 277px, 100 = 302px function getrating($revrating, $users){ //define reviewers rating bar width if($revrating <= 10) {$reviewerwidth = 12;} elseif($revrating <= 15) {$reviewerwidth = 23;} elseif($revrating <= 20) {$reviewerwidth = 46;} elseif($revrating <= 25) {$reviewerwidth = 56;} elseif($revrating <= 30) {$reviewerwidth = 78;} elseif($revrating <= 35) {$reviewerwidth = 89;} elseif($revrating <= 40) {$reviewerwidth = 110;} elseif($revrating <= 45) {$reviewerwidth = 120;} elseif($revrating <= 50) {$reviewerwidth = 142;} elseif($revrating <= 55) {$reviewerwidth = 153;} elseif($revrating <= 60) {$reviewerwidth = 171;} elseif($revrating <= 65) {$reviewerwidth = 183;} elseif($revrating <= 70) {$reviewerwidth = 203;} elseif($revrating <= 75) {$reviewerwidth = 214;} elseif($revrating <= 80) {$reviewerwidth = 235;} elseif($revrating <= 85) {$reviewerwidth = 246;} elseif($revrating <= 90) {$reviewerwidth = 267;} elseif($revrating <= 95) {$reviewerwidth = 280;} elseif($revrating <= 100) {$reviewerwidth = 303;} //define users rating bar width if($users <= 10) {$userwidth = 12;} elseif($users <= 15) {$userwidth = 23;} elseif($users <= 20) {$userwidth = 46;} elseif($users <= 25) {$userwidth = 56;} elseif($users <= 30) {$userwidth = 78;} elseif($users <= 35) {$userwidth = 89;} elseif($users <= 40) {$userwidth = 110;} elseif($users <= 45) {$userwidth = 120;} elseif($users <= 50) {$userwidth = 142;} elseif($users <= 55) {$userwidth = 153;} elseif($users <= 60) {$userwidth = 171;} elseif($users <= 65) {$userwidth = 183;} elseif($users <= 70) {$userwidth = 203;} elseif($users <= 75) {$userwidth = 214;} elseif($users <= 80) {$userwidth = 235;} elseif($users <= 85) {$userwidth = 246;} elseif($users <= 90) {$userwidth = 267;} elseif($users <= 95) {$userwidth = 280;} elseif($users <= 100) {$userwidth = 303;} // display ratings $rating = "
"; echo $rating; } function getrev_rating(){ $reviewer = array(85,95,80,85,90,80,90,85,70,80,75,90); $avgrevrating = array_sum($reviewer)/ count($reviewer); $avgrevrating = round($avgrevrating); echo $avgrevrating; } function getuser_rating($user){ echo $user; } ?>You know those weekend afternoon's when you're just at home alone chillin'? Thinkin' of nothin' but the good moods, vibes, and sounds that are comin' from your stereo… When we talk about R&B or neo-soul, what exactly is it that we look for when we categorize the artist? What, funny clothes, raspy joints and an off-the-wall personality? I know we hear difference, and mostly an unnoted flair and genius that should be honored beyond any statue-granted recognition. It's the memory of chart topping records set that truly matter. Neo-Soul or not, good music is just that… Good music. It's a story of life and passion given to us by those who have a voice and who have a dream and talent to create and walk the path. Music is life and life is love, right?
You know those weekend afternoon's when you're just at home alone chillin'? Thinkin' of nothin' but the good moods, vibes, and sounds that are comin' from your stereo… When we talk about R&B or neo-soul, what exactly is it that we look for when we categorize the artist? What, funny clothes, raspy joints and an off-the-wall personality? I know we hear difference, and mostly an unnoted flair and genius that should be honored beyond any statue-granted recognition. It's the memory of chart topping records set that truly matter. Neo-Soul or not, good music is just that… Good music. It's a story of life and passion given to us by those who have a voice and who have a dream and talent to create and walk the path. Music is life and life is love, right?
Movin' ya head back and forth along with the perfectly mastered tone of this album, you realize and mumble "Damn… This is pretty good." The proof later comes when your own damn neighbor comes and knocks on your door askin' you who's song is that, only echoin' your "pretty good" comment, followin' up with "where can I get my copy?"
Well written, timed, and given is what I say. The LP is definitely hot - two thumbs up, go out and get ya copy legit and keep that sh't in ya cd player for some tranquility, power, and meanin' in ya life! Van Hunt not only has skill, but a talent beyond what most of our male singers, writers, producers, entertainers, let alone artists have had to offer us for a while.
Van Hunt follows in the great and persevering footsteps of artists like the legendary Marvin Gaye and Stevie Wonder. You can't help but to love the album and want more! He's found an unimpaired technique to breathe life back into the R&B field of the industry. Van Hunt's self titled album presents us with an eclectic and definitely addictive, deep, but lighthearted silhouette of what good times with good music can feel like… And hell, what they should feel, sound, and be like!
-- Degrees -- | 10 | 20 | 30 | 40 | 50 | 60 | 70 | 80 | 90 | 100 |
1. Dust | ||||||||||
2. Seconds of Pleasure | ||||||||||
3.  Hello, Goodbye | ||||||||||
4. Down Here in Hell | ||||||||||
5. What Can I Say | ||||||||||
6. Anything | ||||||||||
7. Highlights | ||||||||||
8. Precious | ||||||||||
9. Her December | ||||||||||
10. Hold My Hand | ||||||||||
11. Who Will Love Me.. | ||||||||||
12. Out of the Sky |
brotherlove.com - "Van Hunt deftly combines the vinyl appeal of Curtis Mayfield and Sly Stone soul with the spunky affectations of Prince and Lewis Taylor. The 12 tracks on Van Hunt consist of soul-based yearnings and observations, smoldering with muted falsettos, deep basslines and catchy keyboarding in a gumbo of jazzy R&B and funk, with a dash of psychedelica."
zboneman.com - 4.5 outta 5 "Yes, the further you go, the more this record transcends the barriers of era and genre and just is, what it is, incredible music. In the years to come I think this album might just be referred to as VH1, because Van Hunt has offered up a brilliant debut that I’d bet the farm will take the airwaves by storm. Never has a genre of music been so ready for a savior. And I don’t think mankind has evolved far enough to concieve of a device that could accurately measure how much pussy this guy’s gonna get."
The Boston Globe - "If you think that too many neo-soulmen are obsessed with bedroom high jinks and not enough with mature relationships, welcome Van Hunt. The Atlanta-based singer-songwriter has crafted a delicious debut filled with songs about yearning, desire, regret, romance, and conflicted passion, with rubbery grooves that are irresistible.. Indeed, Hunt isn't perfect, but this is a confident debut that should stand the test of time."
"; echo $user[2]; echo "