battles/mg2.php

10 lines
345 B
PHP
Raw Normal View History

2018-01-28 16:40:49 +00:00
<?php
$im1=imageCreateFromGIF("i/sh/".$_GET['i']);
$colorcount = imagecolorstotal($im1);
$size_x=imageSX($im1);
$size_y=imageSY($im1);
imageColorSet($im1, 1, 198, 64, 1);
$transparentcolor = imagecolortransparent($im1);
imagefilledrectangle($im1,2,($size_y-$size_y*$_GET['p']/100),4,$size_y,1);
Header("Content-type: image/gif");
2018-10-31 17:34:22 +00:00
imageGIF($im1);