[insert_php] include 'text.php'; include 'ads1.php'; include 'giffile.php'; $image = imagecreatefrompng('template-gif/akteb-omq-01.png'); imagealphablending($image, false); imagesavealpha($image, true); $facebook_white = imagecolorallocate($image, 0,0,0); // Create blue color imagealphablending($image, true); //bring back alpha blending for transperent font imagettftext($image, 28,0,170,260, $facebook_white , $font, $tx1); ob_start(); imagegif($image); $frames[]=ob_get_contents(); $framed[]=60; // Delay in the animation. ob_end_clean(); $image = imagecreatefrompng('template-gif/akteb-omq-02.png'); imagealphablending($image, false); imagesavealpha($image, true); $facebook_white = imagecolorallocate($image, 0,0,0); // Create blue color imagealphablending($image, true); //bring back alpha blending for transperent font imagettftext($image, 28,0,170,260, $facebook_white , $font, $tx1); ob_start(); imagegif($image); $frames[]=ob_get_contents(); $framed[]=60; // Delay in the animation. ob_end_clean(); $image = imagecreatefrompng('template-gif/akteb-omq-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, 28,0,170,260, $facebook_white , $font, $tx1); ob_start(); imagegif($image); $frames[]=ob_get_contents(); $framed[]=60; // Delay in the animation. ob_end_clean(); $image = imagecreatefrompng('template-gif/akteb-omq-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, 28,0,170,260, $facebook_white , $font, $tx1); ob_start(); imagegif($image); $frames[]=ob_get_contents(); $framed[]=60; // Delay in the animation. ob_end_clean(); $image = imagecreatefrompng('template-gif/akteb-omq-05.png'); imagealphablending($image, false); imagesavealpha($image, true); $facebook_white = imagecolorallocate($image, 2,27,50); // Create blue color imagealphablending($image, true); //bring back alpha blending for transperent font imagettftext($image, 28,0,170,260, $facebook_white , $font, $tx1); ob_start(); imagegif($image); $frames[]=ob_get_contents(); $framed[]=60; // Delay in the animation. ob_end_clean(); $image = imagecreatefrompng('template-gif/akteb-omq-06.png'); imagealphablending($image, false); imagesavealpha($image, true); $facebook_white = imagecolorallocate($image, 2,27,50); // Create blue color imagealphablending($image, true); //bring back alpha blending for transperent font imagettftext($image, 28,0,170,260, $facebook_white , $font, $tx1); ob_start(); imagegif($image); $frames[]=ob_get_contents(); $framed[]=60; // Delay in the animation. ob_end_clean(); $image = imagecreatefrompng('template-gif/akteb-omq-07.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, 28,0,170,260, $facebook_white , $font, $tx1); ob_start(); imagegif($image); $frames[]=ob_get_contents(); $framed[]=60; // Delay in the animation. ob_end_clean(); $image = imagecreatefrompng('template-gif/akteb-omq-08.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, 28,0,170,260, $facebook_white , $font, $tx1); ob_start(); imagegif($image); $frames[]=ob_get_contents(); $framed[]=60; // Delay in the animation. ob_end_clean(); $image = imagecreatefrompng('template-gif/akteb-omq-09.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, 28,0,170,260, $facebook_white , $font, $tx1); ob_start(); imagegif($image); $frames[]=ob_get_contents(); $framed[]=60; // Delay in the animation. ob_end_clean(); $image = imagecreatefrompng('template-gif/akteb-omq-10.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, 28,0,170,260, $facebook_white , $font, $tx1); ob_start(); imagegif($image); $frames[]=ob_get_contents(); $framed[]=60; // Delay in the animation. ob_end_clean(); $image = imagecreatefrompng('template-gif/akteb-omq-11.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, 28,0,170,260, $facebook_white , $font, $tx1); ob_start(); imagegif($image); $frames[]=ob_get_contents(); $framed[]=60; // 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]