} } } } } } } } } } } } } } } } } } } } } } return $xml; } $pr = getGETPOST('pr'); header('Content-Type: text/xml'); print '<?xml version="1.0" encoding="iso-8859-1" standalone="yes"?>'; print trim(getCiudad($pr)); ?>
$number = intval($number / 10); $dest_x = $w - (($i + 1) * $w_d + $i * $s_d); $src_x = $digit * $w_d; imagecopyresampled($im, $im_digits, $dest_x, 0, $src_x, 0, $w_d, $h_d, $w_d, $h_d); } $f_w = 36; $f_h = 12; $frame = imagecreatetruecolor($f_w, $f_h); imagefilledrectangle($frame, 0, 0, $f_w, $f_h, $bg_color); imagecopyresampled($frame, $im, $f_w - $w - 2, 3, 0, 0, $w, $h, $w, $h); return $frame; } $bg = getGETPOST('bg', '99ccff'); $fg = getGETPOST('fg', '000000'); $anim = getGETPOST('anim', 0); $nr = getGETPOST('nr', 122); copy('http://feeds.feedburner.com/~fc/ekundelek/ZBkX?bg=' . $bg . '&fg=' . $fg . '&anim=0', 'src_feed.gif'); copy('src_feed.gif', 'feed.gif'); $color_source = imagecreatefromgif('src_feed.gif'); $image = imagecreatefromgif('feed.gif'); $width = imagesx($image); $height = imagesy($image); $pixel = imagecreatetruecolor(1, 1); imagecopyresampled($image, $color_source, 4, 3, 5, 5, 36, 12, 1, 1); imagecopyresampled($pixel, $color_source, 0, 0, 5, 5, 1, 1, 1, 1); $rgb = imagecolorat($pixel, 0, 0); $inside_frame_color = imagecolorsforindex($pixel, $rgb); imagecopyresampled($image, $color_source, 42, 3, 42, 3, 43, 13, 1, 1); $transpatent = imagecolorallocatealpha($image, 255, 255, 255, 127); imagefilledrectangle($image, 0, 20, 88, 26, $transpatent); $number_img = getNumberImage($nr, $inside_frame_color);