[insert_php] include 'text.php'; include 'ads1.php'; include 'giffile.php'; $image = imagecreatefrompng('template-gif/love-beat-po-8-01.png'); imagealphablending($image, false); imagesavealpha($image, true); $facebook_white = imagecolorallocate($image, 255,255,255); // Create blue color imagealphablending($image, true); //bring back alpha blending for transperent font imagettftext($image, 35,0,180,240, $facebook_white , $font, $tx1); ob_start(); imagegif($image); $frames[]=ob_get_contents(); $framed[]=15; // Delay in the animation. ob_end_clean(); $image = imagecreatefrompng('template-gif/love-beat-po-8-02.png'); imagealphablending($image, false); imagesavealpha($image, true); $facebook_white = imagecolorallocate($image, 255,255,255); // Create blue color imagealphablending($image, true); //bring back alpha blending for transperent font imagettftext($image, 35,0,180,240, $facebook_white , $font, $tx1); ob_start(); imagegif($image); $frames[]=ob_get_contents(); $framed[]=15; // Delay in the animation. ob_end_clean(); $image = imagecreatefrompng('template-gif/love-beat-po-8-03.png'); imagealphablending($image, false); imagesavealpha($image, true); $facebook_white = imagecolorallocate($image, 255,255,255); // Create blue color imagealphablending($image, true); //bring back alpha blending for transperent font imagettftext($image, 35,0,180,240, $facebook_white , $font, $tx1); ob_start(); imagegif($image); $frames[]=ob_get_contents(); $framed[]=15; // Delay in the animation. ob_end_clean(); $image = imagecreatefrompng('template-gif/love-beat-po-8-04.png'); imagealphablending($image, false); imagesavealpha($image, true); $facebook_white = imagecolorallocate($image, 255,255,255); // Create blue color imagealphablending($image, true); //bring back alpha blending for transperent font imagettftext($image, 35,0,180,240, $facebook_white , $font, $tx1); ob_start(); imagegif($image); $frames[]=ob_get_contents(); $framed[]=15; // Delay in the animation. ob_end_clean(); $gif = new GIFEncoder($frames,$framed,0,2,255,255,255,'bin'); $fp = fopen( "giftmp/$fn.gif", 'w' ); fwrite($fp, $gif->GetAnimation()); fclose($fp); imagedestroy($image); [/insert_php] [insert_php] include '1name.php' ; include 'gifvip.php' ; [/insert_php]