Heey ..
Ik heb een layout,en die werkt goed in Mozilla Firefox en in Opera ..
Maar in IE niet, kan iemand mij vertellen hoe dat het komt?
Voorbeeld:
http://www.pretpark-online.nl/crime/
Code:
PHP
<?php
ob_start();
include("config.php");
if(!$data){
$getal = mt_rand(1,2000);
$user = "Crimineel{$getal}";
} else {
$user = $data->login;
}
?>
<?php
if($data){
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>MafiaStar -Word de sterkste crimineel!</title>
<meta name="title" content="Index">
<meta name="author" content="Fekri Darkaoui">
<meta name="publisher" content="MafiaStar">
<meta name="robots" content="index, follow">
<meta name="keywords" content="maffia, mafia, MafiaStar, Crime Paradise, rpg, mmorpg, online, game, spel, criminals">
<meta name="revisit-after" content="1 days">
<meta name="description" content="MafiaStar is een online op tekst gebasseerd mafia spel, welke volledige gratis te spelen is via je internet browser! Door middel van criminele activiteiten kom je langzaam hogerop. ">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta content="follow" name='Robots'>
<meta content="7 days" name=REVISIT-AFTER>
<link rel="shortcut icon" href="favicon.ico" type="image/icon">
<link type="text/css" rel="stylesheet" href="css/ingame.css">
<!--[if lt IE 7.]>
<script defer type="text/javascript" src="pngfix.js"></script>
<![endif]-->
<!-- This source is a part of the MafiaStar web game. You may not use or otherwise copy or duplicate any part of the source, Javascripts or CSS files without explicit prior permission of: MafiaStar Game Copyright 2009-2010 -->
<script>
var clockid = new Array()
var clockidoutside = new Array()
var i_clock =- 1
var thistime = new Date()
var hours = thistime.getHours()
var minutes = thistime.getMinutes()
var seconds = thistime.getSeconds()
if(eval(hours) < 10){
hours = "0"+hours
}
if(eval(minutes) < 10){
minutes = "0"+minutes
}
if(seconds < 10){
seconds = "0"+seconds
}
var thistime = hours+":"+minutes+":"+seconds
function writeclock(){
i_clock++
if (document.all || document.getElementById || document.layers){
clockid[i_clock]="clock"+i_clock
document.write("<span id='"+clockid[i_clock]+"' style='position:relative'>"+thistime+"</span>")
}
}
function clockon(){
thistime = new Date()
hours = thistime.getHours()
minutes = thistime.getMinutes()
seconds = thistime.getSeconds()
if(eval(hours) < 10){
hours = "0"+hours
}
if(eval(minutes) < 10){
minutes = "0"+minutes
}
if(seconds < 10){
seconds = "0"+seconds
}
thistime = hours+":"+minutes+":"+seconds
if(document.all){
for(i=0;i<=clockid.length-1;i++){
var thisclock = eval(clockid[i])
thisclock.innerHTML = thistime
}
}
if(document.getElementById){
for(i=0;i<=clockid.length-1;i++){
document.getElementById(clockid[i]).innerHTML=thistime
}
}
var timer = setTimeout("clockon()",1000)
}
window.onload = clockon
function clearText(thefield) {
if (thefield.defaultValue == thefield.value) thefield.value = ""
else thefield.value = thefield.defaultValue
}
</script>
<SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
function popup(){
window.open('IRC/NormalApplet.php?nick=<?php echo $user; ?>','mywindow','width=640,height=400')
}
</SCRIPT>
</head>
<body>
<div id="wrap">
<div id="wrap1">
<div class="menusub">Gebruiker</div>
<div id="textmenu">
<div class="link"><a href="speler-status.php" target="content"> Status</a></div>
<div class="link"><a href="internet-bank.php" target="content"> Bank</a></div>
<div class="link"><a href="speler-respect.php" target="content">Respect</a></div>
<div class="link"><a href="internet-email.php" target="content"> Berichten</a></div>
<div class="link"><a href="speler-partners.php" target="content"> Partners</a></div>
<div class="link"><a href="algemeen-help.php" target="content"> Help</a></div>
<div class="link"><a href="algemeen-links.php" target="content"> Promotie </a></div>
<div class="link"><a href="internet-forum.php" target="content">Forum</a></div>
<div class="link"><a href="speler-instellingen.php" target="content"> Instellingen </a></div>
<div class="link"><a href="algemeen-vip.php" target="content"> Vip Shop </a></div>
<div class="link"><a href="msn.php" target="content">Msn Invite</a></div>
<div class="link"><a href="algemeen-destad.php" target="content"> <?php echo $data->land; ?> </a></div>
<div class="link"><a href="algemeen-intranet.php" target="content"> Intranet </a></div>
<div class="link"><A href="javascript:popup()"> IRC Chat </a></div>
<div class="link"><a href="algemeen-stats-criminelen-login.php" target="content"> Leden Brouwser </a></div>
<div class="link"><a href="speler-status-wachttijden.php" target="content"> Wachttijden </a></div>
</div>
<div class="menufooter"></div>
<div class="tussenstuk"></div>
<div class="menusub">Misdaaden</div>
<div class="linkboven"></div>
<div class="link"><a href="misdaad-light.php" target="content">Misdaad</a></div>
<div class="link"><a href="misdaad-kd.php" target="content"> Route 66 Overval</a></div>
<div class="link"><a href="misdaad-steelauto.php" target="content"> GTA</a></div>
<div class="link"><a href="orgcrime.php" target="content"> Georganiseerde Misdaad</a></div>
<div class="link"><a href="vermoorden.php" target="content"> Vermoorden</a></div>
<div class="menufooter"></div>
<div class="tussenstuk"></div>
<div class="menusub">Handelen</div>
<div class="linkboven"></div>
<div class="link"><a href="internet-shop.php" target="content"> MafiaStar Shop</a></div>
<div class="link"><a href="algemeen-vip.php" target="content"> VIP</a></div>
<div class="link"><a href="internet-cbay.php" target="content"> Marktplaats</a></div>
<div class="link"><a href="handel-cartune.php" target="content"> Car Tune Shop</a></div>
<div class="link"><a href="handel-drugs.php" target="content"> Drugs</a></div>
<div class="link"><a href="handel-kogels.php" target="content"> Ammo Depot</a></div>
<div class="link"><a href="netwerken-handel-ammoclips.php" target="content"> Locale Ammo Depot</a></div>
<div class="menufooter"></div>
<div class="tussenstuk"></div>
<div class="menusub">Admin Paneel</div>
<div class="linkboven"></div>
<div class="link"><a href="admin-bot.php" target="content">Bot Test</div>
<div class="link"><a href="admin-message.php" target="content">Massa Mail</div>
<div class="link"><a href="admin-mail.php" target="content">Massa E-mail</div>
<div class="link"><a href="admin-bericht.php" target="content">Message Tracker</div>
<div class="link"><a href="admin-poll.php" target="content">Admin Poll</div>
<div class="link"><a href="admin-paneel.php" target="content">Admin Paneel</div>
<div class="link"><a href="admin-helppagina.php" target="content">Admin Helppagina</div>
<div class="link"><a href="admin-search.php" target="content">Admin Search</div>
<div class="link"><a href="admin-donatie.php" target="content">Admin Donatie</div>
<div class="menufooter"></div>
<div class="tussenstuk"></div>
</div>
<div id="wrap5">
<div class="menusubrechts">Status</div>
<div class="linkboven"></div>
<form action="speler-profiel.php" method="get" target="content">
<div class="link"><input type="text" name="x" maxlength="16" class="zoekinput" value="Zoek speler" onclick="clearText(this)" ></div>
</table> <div class="link"> Rank </div> <div class="link"><td align="left" width="60" height="10"><table cellpadding="0" cellspacing="0" width="60" height="10" bgcolor="black"><tr><td><table cellpadding="0 cellspacing="0" background="layout/images/layout-statusbar.png" width="<?php echo round($data->rankvordering/100, 2);?>%" height="10"><tr><td></td></tr></table></td></tr></table></td>
</div>
<div class="link"> Health</div> <div class="link"><td align="left" width="60" height="10"><table cellpadding="0" cellspacing="0" width="60" height="10" bgcolor="black"><tr><td><table cellpadding="0 cellspacing="0" background="layout/images/layout-statusbar.png" width="<?php echo $data->health;?>%" height="10"><tr><td></td></tr></table></td></tr></table></td>
</div>
<div class="link"> Schietervaring </div> <div class="link"><td align="left" width="60" height="10"><table cellpadding="0" cellspacing="0" width="60" height="10" bgcolor="black"><tr><td><table cellpadding="0 cellspacing="0" background="layout/images/layout-statusbar.png" width="<?php echo round($data->schiet_ervaring/10, 1);?>%" height="10"><tr><td></td></tr></table></td></tr></table></td>
</div>
<div class="link"> Uitbrakenkans</div> <div class="link"><td align="left" width="60" height="10"><table cellpadding="0" cellspacing="0" width="60" height="10" bgcolor="black"><tr><td><table cellpadding="0 cellspacing="0" background="layout/images/layout-statusbar.png" width="<?php echo $data->uitbrakenkans;?>%" height="10"><tr><td></td></tr></table></td></tr></table></td>
</div>
<div class="link"> Contant €<?php $cash=geld($data->cash); echo $cash;?></a></div>
<div class="link">Bank €<?php $bank=geld($data->bank); echo $bank;?></a></div>
<div class="link"><a href="algemeen-login.php?x=logout" ><strong> Uitloggen</strong></a></div>
<div class="menufooterrechts"></div>
<div class="tussenstukrechts"></div>
<div class="menusubrechts">Vastgoed</div>
<div class="linkboven"></div>
<div class="link"><a href="speler-huwelijk.php" target="content">Trouwen</a></div>
<div class="link"><a href="speler-garage.php" target="content">Jouw garage</a> </div>
<div class="link"><a href="beheer-kogelfabriek.php" target="content">Kogelfabriek Beheer</a></div>
<div class="link"><a href="beheer-casino.php" target="content">Casino Beheer</a></div>
<div class="link"><a href="beheer-ziekenhuis.php" target="content">Ziekenhuis Beheer</a></div>
<div class="menufooterrechts"></div>
<div class="tussenstukrechts"></div>
<div class="menusubrechts">Gokken</div>
<div class="linkboven"></div>
<div class="link"><a href="misdaad-streetrace.php" target="content">Autoracen</a></div>
<div class="link"><a href="gokken-roulette.php" target="content">Roulette</a></div>
<div class="link"><a href="gokken-blackjack.php" target="content">Blackjack</a></div>
<div class="link"><a href="gokken-gokkast.php" target="content">Gokkast</a></div>
<div class="link"><a href="gokken-nummerspel.php" target="content">Nummerspel</a></div>
<div class="link"><a href="gokken-krassen.php" target="content">Krasloten</a></div>
<div class="menufooterrechts"></div>
<div class="tussenstukrechts"></div>
<div class="menusubrechts">Netwerken</div>
<div class="linkboven"></div>
<?php
if($data->familie != ""){
echo "<div class=\"link\"><a href=\"netwerken-overzicht.php\" target=\"content\">Alle netwerken</a></div>";
echo "<div class=\"link\"><a href=\"fampage.php\" target=\"content\">Netwerk pagina</a></div>";
} if($data->famconsig == 1 || $data->famleader == 1) {
echo "<div class=\"link\"><a href=\"fambank.php\" target=\"content\">Netwerk bank</a></div>";
} if($data->famleader == 1 || $data->famsotto == 1) {
echo "<div class=\"link\"><a href=\"famshop.php\" target=\"content\">winkel</a>- <a href=\"fammsg.php\" target=\"content\">Bericht</a></div>";
echo "<div class=\"link\"><a href=\"uitnodigen.php\" target=\"content\">Inviten</a> - <a href=\"famedit.php\" target=\"content\">Beheer</a></div>";
} if($data->familie == "") {
echo "<div class=\"link\"><a href=\"netwerken-overzicht.php\" target=\"content\">Alle netwerken</a></div>";
echo "<div class=\"link\"><a href=\"beginfam.php\" target=\"content\">Netwerk opzetten</a></div>";
} if($data->faminvite != ""){
echo "<div class=\"link\"><a href=\"joinfam.php\" target=\"content\">Stap in het netwerk</a></div>";
} if($data->famleader == 0 && $data->familie != ""){
echo "<div class=\"link\"><a href=\"outfam.php\" target=\"content\">Stap uit het netwerk</a></div>";
} else if($data->famleader == 1) {
echo "<div class=\"link\"><a href=\"outfam.php\" target=\"content\">Verwijder het netwerk</a></div>";
}
?>
<div class="menufooterrechts"></div>
<div class="tussenstukrechts"></div>
</div>
<div class="menu">
<ul class="solidblockmenu">
<li><a href="framework-welkom.php"target="content">Home</a></li>
<li><a href="story.php" target="content">The Story</a></li>
<li><a href="nieuws.php"target="content">News</a></li>
<li><a href="algemeen-help.php"target="content">Help/F.A.Q.</a></li>
<li><a href="">Over ons us</a></li>
<li><a href="contact.php"target="content">Contact</a></li>
</ul>
</div>
<div class="header"></div>
<div id="wrap2">
<div class="center">
<iframe src="speler-status.php" name="content" width=603 frameborder=0 height=1000></iframe>
</div>
<div class="center">
<br /><br />
<br />
</div>
</div>
<br />
<br />
</div>
</body>
</html>
<?php
} else {
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>MafiaStar -Word de sterkste crimineel!</title>
<meta name="title" content="Index">
<meta name="author" content="Fekri Darkaoui">
<meta name="publisher" content="MafiaStar">
<meta name="robots" content="index, follow">
<meta name="keywords" content="maffia, mafia, MafiaStar, Crime Paradise, rpg, mmorpg, online, game, spel, criminals">
<meta name="revisit-after" content="1 days">
<meta name="description" content="MafiaStar is een online op tekst gebasseerd mafia spel, welke volledige gratis te spelen is via je internet browser! Door middel van criminele activiteiten kom je langzaam hogerop. ">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta content="follow" name='Robots'>
<meta content="7 days" name=REVISIT-AFTER>
<link rel="shortcut icon" href="favicon.ico" type="image/icon">
<link type="text/css" rel="stylesheet" href="css/out.css">
<script defer type="text/javascript" src="pngfix.js"></script>
<!-- This source is a part of the MafiaStar web game. You may not use or otherwise copy or duplicate any part of the source, Javascripts or CSS files without explicit prior permission of: MafiaStar Game Copyright 2009-2010 -->
</head>
<?php
$dbres = mysql_query("SELECT * FROM `gebruiker`");
$signups = mysql_num_rows($dbres);
$dbres = mysql_query("SELECT * FROM `gebruiker` WHERE (UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(`online`) < 300)");
$online = mysql_num_rows($dbres);
?>
<body>
<div id="wrap">
<div id="wrap1">
<div class="menusub">Login</div>
<form action="algemeen-login.php" name="login" method="post" target="content" / >
<div id="textmenu">
<div class="inputwrap">
<div id="iconlogin"></div>
<input name="login" type="text" size="16" value="" / > </div>
<div class="inputwrap">
<div id="iconwachtwoord"></div>
<input name="pass" type="password" size="16" value=""/ >
</div>
</form>
<br><center>
<input type="submit" name="submit" class="loginbutton" value="Inloggen !" ></center>
<div id="lijn"></div>
<div class="textlogin">
<a href="algemeen-signup.php" target="content"> • Aanmelden !<br></a>
<a href="algemeen-activatie.php" target="content">• Account Activeren<br /></a>
<a href="algemeen-wwreset.php" target="content">• Wachtwoord Reset<br /></a>
</div>
</div>
<div class="menufooter"></div>
<div class="tussenstuk"></div>
<div class="menusub">Algemeen</div>
<div class="linkboven"></div>
<div class="link"><a href="algemeen-stats-criminelen-login.php" target="content">Actieve Criminelen</a></div>
<div class="link"><a href="algemeen-stats-systeem-login.php" target="content"> Statistieken</a></div>
<div class="link"><a href="algemeen-signup.php" target="content"> <b><font color="green">Aanmelden !</font></b></a></div>
<div class="link"><a href="algemeen-help.php" target="content"> Help</a></div>
<div class="link"><a href="algemeen-activate.php" target="content"> Account activeren </a></div>
<div class="link"><a href="internet-forum.php" target="content">Forum</a></div>
<div class="link"><a href="algemeen-wwreset.php" target="content"> Wachtwoord Reset </a></div>
<div class="menufooter"></div>
<div class="tussenstuk"></div>
<div class="menusub">Statistieken</div>
<div class="linkboven"></div>
<div class="textlogin">
<div class="stats"><span class="style1">Online Leden </span><br />
<?php echo $online; ?></div>
<div class="stats"><span class="style1">Leden</span><br />
<?php echo $signups; ?></div>
</div>
<div class="menufooter"></div>
<div class="tussenstuk"></div>
<div class="menusub">Linkpartners</div>
<div class="linkboven"></div>
<div id="textads">
<a href="">-Nog geen<br /></a>
</div>
<div class="menufooter"></div>
<div class="tussenstuk"></div>
</div>
<div class="menu">
<ul class="solidblockmenu">
<li><a href="framework-welkom.php"target="content">Home</a></li>
<li><a href="story.php" target="content">The Story</a></li>
<li><a href="nieuws.php"target="content">News</a></li>
<li><a href="algemeen-help.php"target="content">Help/F.A.Q.</a></li>
<li><a href="">Over ons us</a></li>
<li><a href="contact.php"target="content">Contact</a></li>
</ul>
<div id="menuright"></div>
</div>
<div class="header"></div>
<div id="wrap2">
<div class="center"> <iframe src="framework-welkom.php" name="content" width=603 frameborder=0 height=1000></iframe>
</div>
<div class="lijn"></div>
<div class="center"><br /><br />
<br />
</div>
<div id="footercenter"></div>
</div>
<br />
<br />
</div>
<div id="footer"> </div>
</body>
</html>
<?php
}
?>
Toon Meer
Alvast bedankt.