<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="
http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-2" />
<meta name="Distribution" content="Global" />
<link rel='Stylesheet' type='text/css' href='newindex.css' />
<script type='text/javascript' src='scripts.js'></script>
<title>crisis Dekaron</title>
</head>
<body>
<div id='last-update'>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(".head").click(function() {
$(".body").slideUp(500);
var obj = $(this).parent();
if(!$(".body", obj).is(":hidden"))
return false;
$(".body", obj).css("visibility", "hidden");
$(".body", obj).toggle(500, function callback(){
$(".body", obj).css("visibility", "visible");
$(".body", obj).fadeOut(0);
$(".body", obj).fadeIn("slow");
});
});
$(".body").slideUp(500);
});
</script>
<script type='text/javascript'>
var imglist = new Array();
var labels = new Array();
var imgs = new Array();
imglist.push ('img/update/00.00.0000.png');
imglist.push ('img/update/01.00.0000.png');
labels.push('<b>Update [13-11-2010]</font></b><br><br />Dekaron Crisis');
labels.push('<b>Update [13-11-2010]</b><br><br />Dekaron Crisis');
</script>
<script type='text/javascript' src='rotator.js'></script>
<div id='rotator' style='position: relative;'>
<img src='img/spacer.gif'>
</div>
</div>
<div id=texting>
<img src="img/txt.jpg"/>
</div>
<h2 id=annucement1><span style='color: #FFB400;'>Register</span></h2>
<h3 id=annucementtxt>Please follow the guide.</h2>
<div id='center'>
<div id='menu'>
<div id='menu-txt' align='center'>
<a href="newindex.html"><div id=home><img src='img/home.png'></div></a>
<a href="register.html"><div id=register><img src='img/register.png'></div></a>
<a href="download.html"><div id=download><img src='img/download.png'></div></a>
<a href="
http://dekaroncrisis.sytes.net/"><div id=forum><img src='img/forum.png'></div></a>
<a href="contact.html"><div id=contact><img src='img/contact.png'></div></a>
<div id=contact1><img src='img/1111.png'></div>
</div>
</div>
<div id=serverlogin>
<img src="img/bg-user_panel.jpg"/>
</div>
<div id=serverstatus>
<img src="img/bg-server_status.jpg"/>
</div>
<div id=serverdf>
<img src="img/bg-dead_front.jpg"/>
</div>
<div id=kight>
<img src="img/crisis.png"/>
</div>
<div id='footer'>
Copyright @ 2010 - <span style='color: #FFB400; font-weight: bold;'>CrisisDekaron.com</span> All rights reserved.<span style='float: right; margin-right: 20px;'>Design: Bocimy. Made by: <a href='mailto:dekaron12@live.dk'>Trill</a></span>
</div>
<script>
//Alert message once script- By JavaScript Kit
//Credit notice must stay intact for use
//Visit
http://javascriptkit.com for this script
//specify message to alert
var alertmessage="Welcome to dekaron crisis. The web site is not 100 % compleate."
///No editing required beyond here/////
//Alert only once per browser session (0=no, 1=yes)
var once_per_session=1
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) { // if cookie exists
offset += search.length
// set index of beginning of value
end = document.cookie.indexOf(";", offset);
// set index of end of cookie value
if (end == -1)
end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}
function alertornot(){
if (get_cookie('alerted')==''){
loadalert()
document.cookie="alerted=yes"
}
}
function loadalert(){
alert(alertmessage)
}
if (once_per_session==0)
loadalert()
else
alertornot()
</script>
</body>
</html>
Hvordan laver jeg dette om til php så?