"; progressBarInit(550, 16, "img/bar-grey.gif", "img/bar-life.gif"); progressBarInit(550, 16, "img/bar-grey.gif", "img/bar-mana.gif"); progressBarInit(550, 16, "img/bar-grey.gif", "img/bar-life.gif"); progressBarInit(550, 16, "img/bar-grey.gif", "img/bar-mana.gif"); for($i=0;$i<=100;$i+=2){ sleep(1); progressSetValue($i); progressSetText($i."%"); progressSetValue($i/2,1); progressSetText(($i/2)."%",1); progressSetValue($i/4,2); progressSetText(($i/4)."%",2); progressSetValue($i/3,3); progressSetText(($i/3)."%",3); //echo $i."% > "; } echo"
"; redirect("http://google.com"); function progressBarInit($width, $height, $imgBar, $imgProggress){ GLOBAL $progressInit, $progressNextId; if(!$progressInit){ echo" "; $progressInit = true; } $id = $progressNextId; $progressNextId++; echo"
"; flush(); return $id; } function progressSetValue($value,$id=0){ echo" "; flush(); } function progressSetText($text,$id=0){ echo" "; flush(); } function redirect($url){ echo" "; flush(); } ?>