كود PHP:
<html>
<head>
<title>اكتب هنا عنوان الصفحة</title>
</head>
<body>
<table border=0 cellpadding=0 cellspacing=0 align=center>
<tr><td width="740">
</td></tr>
<tr><td><p align=center style="text-indent: 0; word-spacing: 0; margin: 0"><form name=loading><div align=center><p style="text-indent: 0; word-spacing: 0; margin: 0"><input type=text name=chart size=46 style="font-family:Arial; font-weight:bolder; color:#000080; background-color:white; padding:0px; border-style:none;"> <br> <input type=text name=percent size=46 style="color:#000080; text-align:center; border-width:medium; border-style:none;"><script>var bar = 0
var line = "||"
var amount ="||"
count()
function count(){
bar= bar+2
amount =amount + line
document.loading.chart.value=amount
document.loading.percent.value=bar+"%"
if (bar<99)
{setTimeout("count()",10);}
else
{window.location = "هنا ضع عنوان الصفحة الي بينقلها لك الكود";}
}</script>
</p>
</div></form>
</table>
</body>
</html>