src = $sursa; $this->img = $this->loadImage(); if($this->img) $this->color = @imagecolorallocate($this->img, 255, 255, 255); } function save($dest,$c=100) { if($this->imgtype == 1) imagegif($this->InternalImage,$dest); if($this->imgtype == 2) imagejpeg($this->InternalImage,$dest,$c); if($this->imgtype == 3) imagepng($this->InternalImage,$dest); } function setColor($r=255,$g=255,$b=255) { return $this->color = imagecolorallocate($this->img, $r, $g, $b); } function loadImage() { if(file_exists($this->src)) { $data = getimagesize($this->src); //[0] = w, [1] = h, [2] = type, [3] = attr $this->w = $data[0]; $this->h = $data[1]; switch ($data[2]) { case 1: $this->imgtype = 1; $tmp_image = @imagecreatefromgif($this->src); break; case 2: $this->imgtype = 2; $tmp_image = @imagecreatefromjpeg($this->src); break; case 3: $this->imgtype = 3; $tmp_image = @imagecreatefrompng($this->src); break; default: $this->Err = 'Fisierul nu este imagine!'; return false; exit; break; } return $tmp_image; }else{ $this->Err = 'Fisierul nu exista!'; return false; } } function resize($nw='auto',$nh='auto',$stretch=false,$enlarge = false) { if($nw == 'auto' && $nh == 'auto') { $nw = $this->w; $nh = $this->h; }else{ if($nw == 'auto') { $nw = ( $this->w * $nh )/ $this->h; } if($nh == 'auto') { $nh = ( $this->h * $nw )/ $this->w; } } // setam dimensiunile initiale ale imaginii $fw = $nw; $fh = $nh; // daca nu se doreste distorsionarea imaginii if($stretch === false) { // verificam mai intai dupa inaltime -> nw constanta! $nh_ = ( $this->h * $nw )/ $this->w; // daca $nh_ este mai mare, atunci se modifica nw -> nh = constant! if($nh_ > $nh) { $fw = ( $this->w * $nh )/ $this->h; $fh = $nh; }else{ $fw = $nw; $fh = ( $this->h * $nw )/ $this->w; } } // daca imaginea este mai mica, se mareste sau nu? if($enlarge === false) { if($this->w < $fw && $this->h < $fh) { $fw = $this->w; $fh = $this->h; } } $tmp=imagecreatetruecolor($fw,$fh); // copiem imaginea originala in $tmp -> se face resize if(imagecopyresampled($tmp,$this->img,0,0,0,0,$fw,$fh,$this->w,$this->h)) { $this->InternalImage = $tmp; return $this; }else{ $this->Err = 'Redimensionare nereusita!'; return false; } } function smartcrop($nw,$nh) { $r = $this->w / $this->h; $nr = $nw / $nh; $fw = $nw; $fh = $nh; if($r > $nr) { $this->resize('auto',$nh); $fw = ( $this->w * $nh ) / $this->h; }else{ if($r < $nr) { $this->resize($nw); $fh = ( $this->h * $nw ) / $this->w; }else{ return $this->resize($nw,$nh); } } $tmp = imagecreatetruecolor($nw,$nh); $x = ( $fw - $nw ) / 2; $y = ( $fh - $nh ) / 2; if(imagecopyresampled($tmp, $this->InternalImage, 0, 0, $x, $y, $nw, $nh, $nw, $nh)) { $this->InternalImage = $tmp; return $this; }else{ $this->Err = 'Redimensionare nereusita!'; return false; } } function justcrop($x,$y,$nw,$nh) { $tmp = imagecreatetruecolor($nw,$nh); if(imagecopyresampled($tmp, $this->img, 0, 0, $x, $y, $nw, $nh, $nw, $nh)) { $this->InternalImage = $tmp; return $this; }else{ $this->Err = 'Redimensionare nereusita!'; return false; } } function addtext($text,$size=12,$angle = 0, $x=5, $y=5,$fontfile='engine/resource/fonts/verdana.ttf') { $fx = $x; $fy = $y + $size; imagettftext ($this->InternalImage,$size,$angle,$fx,$fy,$this->color,$fontfile,$text); return $this; } function watermark($wstring,$part='CENTER') { $watermark = imagecreatefrompng($wstring); $ww = imagesx($watermark); $wh = imagesy($watermark); $iw = imagesx($this->InternalImage); $ih = imagesy($this->InternalImage); // watermark position switch($part) { case 'CENTER': $x = ( $iw - $ww ) / 2; $y = ( $ih - $wh ) / 2; break; case 'TOPLEFT': $x = 5; $y = 5; break; case 'TOPRIGHT': $x = $iw - $ww - 5; $y = 5; break; case 'BOTTOMLEFT': $x = 5; $y = $ih - $wh - 5; break; case 'BOTTOMRIGHT': $x = $iw - $ww - 5; $y = $ih - $wh - 5; break; default: return false; } imagecopymerge($this->InternalImage, $watermark, $x, $y, 0, 0, $ww, $wh, 50); return $this; } function display($c=100) { /* header("Content-type: image/jpeg"); imagejpeg($this->InternalImage); */ ob_start(); imagejpeg($this->InternalImage, "", 100); $this->InternalImage = ob_get_contents(); ob_end_clean(); $this->InternalImage = substr_replace($this->InternalImage, pack("Cnn", 0x01, 300, 300), 13, 5); header("Content-type: image/jpeg"); echo $this->InternalImage; } function showErr() { echo $this->Err; } } ?> The Game – California Republic (No DJ) // Free Mixtapes @ HDMixtapes.com
Home > Mixtapes
Views: 16400 Downloads: 4890

Rating:   

Dj: N/A Genre: Hip Hop/Rap
Released: Apr 12, 2012 Runtime: 65 min Size: 214.0 MBs


The Game | California Republic (No DJ)
Name
Artist
Time
Rating
1.
God Speed (Feat. Mele)
The Game
06:05

2.
Red Bottom Boss (Feat. Rick Ross)
The Game
03:21

3.
The Drill (Feat Ace Hood, Meek Mill)
The Game
04:12

4.
Hit The J (Feat. Lifestyle)
The Game
03:41

5.
Mean Muggin (Feat. 2 Chainz, French Montana)
The Game
03:18

6.
Yonkers (Freestyle Base) (Feat. Nobody)
The Game
02:31

7.
Death Penalty (Feat. Fabolous, Eric Bellinger, Slim Thu...
The Game
04:34

8.
Bottles & Rockin Js (Remix) (Feat. DJ Khaled, Busta Rhy...
The Game
05:39

9.
Tonight (Feat. Mele)
The Game
04:30

10.
Graystone (Feat. Fat Joe, Young Chris, Sam Hook)
The Game
03:26

11.
Pussy, Money, Weed (Feat. Kid Red Lifestyle, Ben J.)
The Game
02:59

12.
Gone Ahead (Feat. Sam Hook)
The Game
03:25

13.
Now That Im Paid (Feat. Rick Ross, Mele)
The Game
03:44

14.
Skate On (Feat. Lupe Fiasco)
The Game
04:11

15.
When My Niggas Come Home (Feat. Pharrell, Snoop Dogg)
The Game
04:36

16.
It Must Me Tough (Feat. Pharrell, Mysonne)
The Game
04:22

17.
She Want To Have My Baby (Feat. Trey Songz)
The Game
04:27

18.
Come Up (Feat. Drake, Lifestyle)
The Game
03:39

19.
Cats And Dogs (Feat. Kobe)
The Game
06:16

20.
The Logo (Feat. Lifestyle Atlas, Mele)
The Game
04:18

21.
The Best Revenge (Feat. Lyfe Jennings, Denise Janae)
The Game
03:06

22.
They Dont Want None (Feat. Shyne, Pharrell)
The Game
03:57

23.
Bills Is Paid (Feat. Nipsey Hussle, Sam Hook)
The Game
04:51

24.
Roll My Shit (Feat. Snoop Dogg, Pharrell)
The Game
04:30

24 Items Total




Lil Durk They Forgot

Lil Uzi Vert, Gucci Mane 1017 vs The World

Fetty Wap Zoovier

Nick Cannon The Gospel Of Ike Tu...