[insert_php] include 'text.php'; include 'ads1.php'; include 'giffile.php'; $image = imagecreatefrompng('template-gif/heartlove1.png'); imagealphablending($image, false); imagesavealpha($image, true); $facebook_white = imagecolorallocate($image, 255,225,225); // Create blue color imagealphablending($image, true); //bring back alpha blending for transperent font imagettftext($image, 33, 0, 92,243, $facebook_white , $font2, $tx1); ob_start(); imagegif($image); $frames[]=ob_get_contents(); $framed[]=40; // Delay in the animation. ob_end_clean(); $image = imagecreatefrompng('template-gif/heartlove2.png'); imagealphablending($image, false); imagesavealpha($image, true); $facebook_white = imagecolorallocate($image, 255,225,225); // Create blue color imagealphablending($image, true); //bring back alpha blending for transperent font imagettftext($image, 33, 0, 92,243, $facebook_white , $font2, $tx1); ob_start(); imagegif($image); $frames[]=ob_get_contents(); $framed[]=40; // Delay in the animation. ob_end_clean(); $image = imagecreatefrompng('template-gif/heartlove3.png'); imagealphablending($image, false); imagesavealpha($image, true); $facebook_white = imagecolorallocate($image, 255,225,225); // Create blue color imagealphablending($image, true); //bring back alpha blending for transperent font imagettftext($image, 33, 0, 92,243, $facebook_white , $font2, $tx1); ob_start(); imagegif($image); $frames[]=ob_get_contents(); $framed[]=40; // Delay in the animation. ob_end_clean(); $image = imagecreatefrompng('template-gif/heartlove4.png'); imagealphablending($image, false); imagesavealpha($image, true); $facebook_white = imagecolorallocate($image, 255,225,225); // Create blue color imagealphablending($image, true); //bring back alpha blending for transperent font imagettftext($image, 33, 0, 92,243, $facebook_white , $font2, $tx1); ob_start(); imagegif($image); $frames[]=ob_get_contents(); $framed[]=40; // Delay in the animation. ob_end_clean(); $image = imagecreatefrompng('template-gif/heartlove5.png'); imagealphablending($image, false); imagesavealpha($image, true); $facebook_white = imagecolorallocate($image, 255,225,225); // Create blue color imagealphablending($image, true); //bring back alpha blending for transperent font imagettftext($image, 33, 0, 92,243, $facebook_white , $font2, $tx1); ob_start(); imagegif($image); $frames[]=ob_get_contents(); $framed[]=40; // Delay in the animation. ob_end_clean(); $gif = new GIFEncoder($frames,$framed,0,2,0,0,0,'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]