|
[تحسين]
<?
$redirection = \'http://www.jooria.com\';
$heures = 0;
$minutes = 0;
$secondes = 22;
$secondes = mktime(date(\"H\") + $heures,
date(\"i\") + $minutes,
date(\"s\") + $secondes,
date(\"m\"),
date(\"d\"),
date(\"Y\")
) - time();
?>
<html>
<head>
<title>Countdown Timer Redirect</title>
<script type=\"text/javascript\">
var temps = <?php echo $secondes;?>;
var timer =setInterval(\'CompteaRebour()\',1000);
function CompteaRebour(){
temps-- ;
j = parseInt(temps) ;
h = parseInt(temps/3600) ;
m = parseInt((temps%3600)/60) ;
s = parseInt((temps%3600)%60) ;
document.getElementById(\'minutes\').innerHTML= (h<10 ? \"0\"+h : h) + \' h : \' +
(m<10 ? \"0\"+m : m) + \' mn : \' +
(s<10 ? \"0\"+s : s) + \' s \';
if ((s == 0 && m ==0 && h ==0)) {
clearInterval(timer);
url = \"<?php echo $redirection;?>\"
Redirection(url)
}
}
function Redirection(url) {
setTimeout(\"window.location=url\", 500)
}
</script>
</head>
<body onload=\"timer\">
<?php
if ($secondes <= 3600*24) {
?>
<span style=\"font-size: 36px;\">You still have time as:</span>
<div id=\"minutes\" style=\"font-size: 36px;\"></div></span>
<?php
}
?>
<body>
<html>
|
الموقع الآن فى الفترة التجريبية وهذا الجزء غير كامل وجارى العمل عليه، للراغبين في المساعدة برجاء التقدم

