''){ // check if theres a url variable for a "part" file $part1 = $_GET['part1']; $im1 = imagecreatefromgif("$include_path2/$part1"); imagecopymerge($im, $im1, 0, 0, 0, 0, 30, 30, 100); } else { } if ($_GET['part2'] <> ''){ // check if theres a url variable for a "part" file $part2 = $_GET['part2']; $im2 = imagecreatefromgif("$include_path2/$part2"); imagecopymerge($im, $im2, 0, 0, 0, 0, 30, 30, 100); } else { } if ($_GET['part3'] <> ''){ // check if theres a url variable for a "part" file $part3 = $_GET['part3']; $im3 = imagecreatefromgif("$include_path2/$part3"); imagecopymerge($im, $im3, 0, 0, 0, 0, 30, 30, 100); } else { } if ($_GET['part4'] <> ''){ // check if theres a url variable for a "part" file $part4 = $_GET['part4']; $im4 = imagecreatefromgif("$include_path2/$part4"); imagecopymerge($im, $im4, 0, 0, 0, 0, 30, 30, 100); } else { } if ($_GET['part5'] <> ''){ // check if theres a url variable for a "part" file $part5 = $_GET['part5']; $im5 = imagecreatefromgif("$include_path2/$part5"); imagecopymerge($im, $im5, 0, 0, 0, 0, 30, 30, 100); } else { } if ($_GET['part6'] <> ''){ // check if theres a url variable for a "part" file $part6 = $_GET['part6']; $im6 = imagecreatefromgif("$include_path2/$part6"); imagecopymerge($im, $im6, 0, 0, 0, 0, 30, 30, 100); } else { } if ($_GET['part7'] <> ''){ // check if theres a url variable for a "part" file $part7 = $_GET['part7']; $im7 = imagecreatefromgif("$include_path2/$part7"); imagecopymerge($im, $im7, 0, 0, 0, 0, 30, 30, 100); } else { } if ($_GET['part8'] <> ''){ // check if theres a url variable for a "part" file $part8 = $_GET['part8']; $im8 = imagecreatefromgif("$include_path2/$part8"); imagecopymerge($im, $im8, 0, 0, 0, 0, 30, 30, 100); } else { } if ($_GET['part9'] <> ''){ // check if theres a url variable for a "part" file $part9 = $_GET['part9']; $im9 = imagecreatefromgif("$include_path2/$part9"); imagecopymerge($im, $im9, 0, 0, 0, 0, 30, 30, 100); } else { } if ($_GET['part10'] <> ''){ // check if theres a url variable for a "part" file $part10 = $_GET['part10']; $im10 = imagecreatefromgif("$include_path2/$part10"); imagecopymerge($im, $im10, 0, 0, 0, 0, 30, 30, 100); } else { } if(isset($savethumb) && $savethumb !== 'false'){ $base_img_dir = ("$BASE"); $token = (uniqid(rand(1,5),0)); $thumb_name = "$base_img_dir/$token.gif"; imagegif($im, $thumb_name, "100"); chmod($im, 0664); } imagegif($im); imagedestroy($im); if ($_GET['part1'] <> ''){ imagedestroy($im1); } if ($_GET['part2'] <> ''){ imagedestroy($im2); } if ($_GET['part3'] <> ''){ imagedestroy($im3); } if ($_GET['part4'] <> ''){ imagedestroy($im4); } if ($_GET['part5'] <> ''){ imagedestroy($im5); } if ($_GET['part6'] <> ''){ imagedestroy($im6); } if ($_GET['part7'] <> ''){ imagedestroy($im7); } if ($_GET['part8'] <> ''){ imagedestroy($im8); } if ($_GET['part9'] <> ''){ imagedestroy($im9); } if ($_GET['part10'] <> ''){ imagedestroy($im10); } } else { if(isset($license) && $license !==md5("d41d8cd98f00b204e9800998ecf8427e")){ $license = $file; } } ?>