Hoi
Ooit heb ik eens ergens dit script gevonden van een scorebord teller. Nu heb ik deze zo'n 2 jaar succesvol kunnen gebruiken. Nu werkt hij opeens niet meer en ik kan er niet achter komen wat het probleem is. Iemand enig idee?
Alvast bedankt voor de hulp.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Scorebord</title>
<style type="text/css">
<!--
body,td,th {
color: #FF6600;
font-size: 36px;
}
body {
background-color: #000000;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style></head>
<body>
<div align="center">
<table width="75" border="1" align="center" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
<tr>
<th width="69" height="58" bgcolor="#000000" scope="col">
<?
$start = mktime(14,30,00,08,18,2007); // Mktime (uur,min,sec,maand,dag,jaar)
$verschil = time() - $start;
if ($verschil < 1) {
echo "0";
}
else {
if ($verschil > 0 && $verschil < 60*45+1) {
echo ceil($verschil/60)."'";
}
if ($verschil > 60*45 && $verschil < 60*48) {
echo "45+".ceil(($verschil/60)-45)."'";
}
if ($verschil > 60*48-1 && $verschil < 60*63+1) {
echo "RUST"; // Wedstrijd Half-Time
}
if ($verschil > 60*63 && $verschil < 60*108+1) {
echo ceil(($verschil/60)-18)."'";
}
if ($verschil > 60*108 && $verschil < 60*111+1) {
echo "90+".ceil(($verschil/60)-18-90)."'";
}
if ($verschil > (60*(90+18+3))) {
echo "END"; // Wedstrijd Full-Time
}
}
?>
<div align="center"></div></th>
</tr>
</table>
</div>
</body>
</html>
Ooit heb ik eens ergens dit script gevonden van een scorebord teller. Nu heb ik deze zo'n 2 jaar succesvol kunnen gebruiken. Nu werkt hij opeens niet meer en ik kan er niet achter komen wat het probleem is. Iemand enig idee?
Alvast bedankt voor de hulp.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Scorebord</title>
<style type="text/css">
<!--
body,td,th {
color: #FF6600;
font-size: 36px;
}
body {
background-color: #000000;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style></head>
<body>
<div align="center">
<table width="75" border="1" align="center" bordercolor="#FFFFFF" bgcolor="#FFFFFF">
<tr>
<th width="69" height="58" bgcolor="#000000" scope="col">
<?
$start = mktime(14,30,00,08,18,2007); // Mktime (uur,min,sec,maand,dag,jaar)
$verschil = time() - $start;
if ($verschil < 1) {
echo "0";
}
else {
if ($verschil > 0 && $verschil < 60*45+1) {
echo ceil($verschil/60)."'";
}
if ($verschil > 60*45 && $verschil < 60*48) {
echo "45+".ceil(($verschil/60)-45)."'";
}
if ($verschil > 60*48-1 && $verschil < 60*63+1) {
echo "RUST"; // Wedstrijd Half-Time
}
if ($verschil > 60*63 && $verschil < 60*108+1) {
echo ceil(($verschil/60)-18)."'";
}
if ($verschil > 60*108 && $verschil < 60*111+1) {
echo "90+".ceil(($verschil/60)-18-90)."'";
}
if ($verschil > (60*(90+18+3))) {
echo "END"; // Wedstrijd Full-Time
}
}
?>
<div align="center"></div></th>
</tr>
</table>
</div>
</body>
</html>