min kilde ser sådan her ud:
<? include("inc/sql.php"); ?>
<html>
<head>
<meta http-equiv="Content-Language" content="da">
<title>Dohchatten - oppe igen :)</title>
<style type="text/css">
.menupunkt {
width : 100px ;
text-align : center ;
border : 1px solid black ;
}
.menu {
position : absolute ;
z-index : 10 ;
display : none ;
width : 100px ;
padding : 8px ;
border : 1px solid black ;
background : #c5d1da ;
}
.menupunkt a {
display : block ;
width : 100% ;
line-height : 17px ;
}
</style>
<script type="text/javascript">
function checkMenu(id) {
if (id.indexOf("menu")+4==id.length){
return true;
}
return false;
}
function mover( obj ) {
var objElm=document.getElementById( obj ) ;
//alert(objElm.offsetTop);
var menu = document.getElementById( obj + "menu" ) ;
var allElms = document.getElementsByTagName("div");
for (i=0;i<allElms.length;i++){
if (checkMenu(allElms[i].id)) {
if (allElms[i]==menu){
menu.style.top=""+(parseInt(objElm.offsetTop)+parseInt(objElm.offsetParent.offsetTop)+140)+"px";
menu.style.left=""+(parseInt(objElm.offsetLeft)+parseInt(objElm.offsetParent.offsetLeft)+125)+"px";
menu.style.display = "block" ;
}
else
{
allElms[i].style.display = "none" ;
}
}
}
}
function mout( obj ) {
elm = document.getElementById( obj ) ;
menu = document.getElementById( obj + "menu" ) ;
menu.style.display = "none" ;
}
</script>
<STYLE type="text/css">
<!--
BODY {
scrollbar-face-color: #437cb6;
scrollbar-highlight-color: #000000;
scrollbar-3dlight-color: #FFFFFF;
scrollbar-darkshadow-color: #000000;
scrollbar-shadow-color: #000000;
scrollbar-arrow-color: #a7a7a7;
scrollbar-track-color: #C5D1DA;
}
-->
</STYLE>
<style>
<!--
a:link{color: #000000;text-decoration: none;}
a:visited{color: #000000;text-decoration: none;}
a:active{color: #000000;text-decoration: underline;}
a:hover{color: #FFFFFF;text-decoration: none;}
-->
</style>
<meta name="generator" content="Namo WebEditor v5.0(Trial)">
</head>
<body style="font-family: Verdana; font-size: 10pt" background="
http://www.skyskraber.dk/co/Gitter.jpg"><center>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; font-family:Verdana; font-size:10pt" bordercolor="#111111" width="750" id="AutoNumber1" height="438">
<tr>
<td width="100%" height="438" valign="top">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="100%" id="AutoNumber2" height="449">
<tr>
<td width="100%" style="border-style:none; border-width:medium; " height="98">
</td>
</tr>
<tr>
<td width="100%" style="border-left: medium none #111111; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium" height="24">
<table border="1" cellpadding="2" cellspacing="0" style="border-collapse: collapse; font-family: Verdana; font-size: 10pt; border-width: 0" bordercolor="#111111" width="100%" id="AutoNumber4" height="19" align="center">
<tr>
<td width="27%" style="border-left-style:none; border-left-width:medium; border-top-style:none; border-top-width:medium; border-bottom-style:none; border-bottom-width:medium" background="Menu-baggrund.jpg" height="13">
<p align="center"> </td>
<td width="10%" style="border-left-style:solid; border-left-width:1; border-top-style:solid; border-top-width:1; border-bottom-style:solid; border-bottom-width:1" align="center" height="13" bgcolor="#C5D1DA"
class="menupunkt">
<p align="center"><a href="" id="punkt1" onMouseOver="mover( 'punkt1' )"><b><font size="2">Forside</font></b></a></td>
<td width="10%" style="border-left-style:solid; border-left-width:1; border-top-style:solid; border-top-width:1; border-bottom-style:solid; border-bottom-width:1" align="center" height="13" bgcolor="#C5D1DA"
class="menupunkt">
<p align="center"><a href="" id="punkt2" onMouseOver="mover( 'punkt2' )"><font size="2"><b>Chatten</b></font></a></td>
<td width="10%" style="border-left-style:solid; border-left-width:1; border-top-style:solid; border-top-width:1; border-bottom-style:solid; border-bottom-width:1" align="center" height="13" bgcolor="#C5D1DA"
class="menupunkt">
<p align="center"><a href="" id="punkt3" onMouseOver="mover( 'punkt3' )"><font size="2"><b>K</b></font><b><font size="2">onkurrencer</font></b></a></td>
<td width="10%" style="border-left-style:solid; border-left-width:1; border-top-style:solid; border-top-width:1; border-bottom-style:solid; border-bottom-width:1" align="center" height="13" bgcolor="#C5D1DA"
class="menupunkt">
<p align="center"><b><a href="" id="punkt4" onMouseOver="mover( 'punkt4' )"><font size="2">Partnere</font></a></b></td>
<td width="10%" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium; border-top: 1px solid #111111; border-bottom: 1px solid #111111; " align="center" height="13" bgcolor="#C5D1DA"
class="menupunkt">
<p align="center"><b><a href="" id="punkt5" onMouseOver="mover( 'punkt5' )"><font size="2">Info</font></a></b></td>
<td width="2%" style="border-left-style: solid; border-left-width: 1; border-right-style: none; border-right-width: medium; border-top: medium none #111111; border-bottom: medium none #111111; " align="center" height="13" background="Menu-baggrund.jpg">
<p align="center"> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" style="border-left: medium none #111111; border-right: medium none #111111; border-bottom-style: none; border-bottom-width: medium; border-top-style:none; border-top-width:medium" background="Menu-baggrund.jpg" height="15"> </td>
</tr>
<tr>
<td width="100%" style="border-left: medium none #111111; border-right: medium none #111111; border-bottom-style: none; border-bottom-width: medium; border-top-style:none; border-top-width:medium" background="Menu-baggrund.jpg" height="317">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="100%" id="AutoNumber5">
<tr>
<td width="22%" style="border-style: none; border-width: medium" align="center" valign="top">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="120" id="AutoNumber7" bgcolor="#C5D1DA">
<tr>
<td width="80%">
<p id="AutoNumber11" style="border-width:0; border-collapse:collapse;" align="center"> Login:</p>
<p style="border-width:0; border-collapse:collapse;" align="center"> </p>
<p style="border-width:0; border-collapse:collapse;"> </p>
<p style="border-width:0; border-collapse:collapse;"> </p>
<p style="border-width:0; border-collapse:collapse;"> </p>
<p style="border-width:0; border-collapse:collapse;"> </p>
</td>
</tr>
</table>
<p style="border-collapse:collapse;"> </p>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="120" id="AutoNumber7" bgcolor="#C5D1DA">
<tr>
<td width="80%">
<p id="AutoNumber11" style="border-width:0; border-collapse:collapse;" align="center">Counter:</p>
<p align="center"><font color="#FFFFFF" face="Verdana" size="1"><script language="javascript" type="text/javascript">
<!--
document.write('<a href="
http://www.chart.dk/ref.asp?ct=v003&id=83422" target="_blank">');
var myref; myref=document.referrer; if(top.document.referrer!=null) myref=top.document.referrer;
document.write('<img src="
http://cluster.chart.dk/chart.asp?id=83422&style=10&secID=' + Math.random()*10000000 + '&ref=' + escape(myref) + '" border="0" alt="Chart.dk"><');
document.write('/a>');
//-->
</script>
<noscript>
<a href="
http://www.chart.dk/ref.asp?ct=v003&id=83422" target="_blank"><img src="
http://cluster.chart.dk/chart.asp?id=83422&style=10&secID=1" alt="Chart.dk" border="0"></a>
</noscript>
<!-- Chart Basis HTML kode slut v003 -->
</font><br> <p style="border-width:0; border-collapse:collapse;" align="center"> </p>
<p style="border-width:0; border-collapse:collapse;" align="center"> </p>
<p style="border-width:0; border-collapse:collapse;"> </p>
<p style="border-width:0; border-collapse:collapse;"> </p>
<p style="border-width:0; border-collapse:collapse;"> </p>
</td>
</tr>
</table>
</td>
<td width="56%" style="border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top: medium none #111111; border-bottom-style: none; border-bottom-width: medium" align="center" valign="top">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="381" id="AutoNumber9" bgcolor="#C5D1DA">
<tr>
<td width="379">
<table border="1" cellpadding="2" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="440" id="AutoNumber13">
<tr>
<td width="100%" style="border-style: none; border-width: medium">
<FONT face="Verdana" size="1"><IFRAME name=main
src="Forside.htm" frameBorder=0 width=459
height=418></IFRAME></font><b> </b><TABLE id=AutoNumber1 borderColor=#111111 cellSpacing=0 cellPadding=0
width="100%" border=0 0 border-width: 8pt; font-size: Verdana; font-family:
collapse;>
<TR>
<TD style="BORDER-LEFT: medium none" width="200" medium none;
border-bottom-width: border-bottom-style: medium; border-top-width:
border-top-style: #111111; none border-right:></TD></TR></TBODY></TABLE> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="22%" style="border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top: medium none #111111; border-bottom-style: none; border-bottom-width: medium" align="center" valign="top">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="120" id="AutoNumber8" bgcolor="#C5D1DA">
<tr>
<td width="100%" height="38">
<p id="AutoNumber12" style="border-width:0; border-collapse:collapse;" align="center">Top 10 coinz:<br>
</p>
<p style="border-width:0; border-collapse:collapse;" align="left"><font size="1" face="Verdana"><?
$select_new5 = mysql_query("SELECT username,spir FROM users ORDER BY spir DESC LIMIT 10");
while($row_new5 = mysql_fetch_array($select_new5)) {
$gysser = floor($row_new5[spir]);
print "<div align=\"left\"></div><a href=\"soeg/seinfo.php?user=$row_new5[username]\" target=\"main\"> $row_new5[username] </a></div> <div align=\"right\">$gysser<br></div>";
}
?></font></p>
</td>
</tr>
</table>
<p style="border-collapse:collapse;"> </p>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="120" id="AutoNumber8" bgcolor="#C5D1DA">
<tr>
<td width="100%">
<p id="AutoNumber12" style="border-width:0; border-collapse:collapse;" align="center">Top 10 tid:</p>
<p id="AutoNumber12" style="border-width:0; border-collapse:collapse;"><font size="1" face="Verdana"><?
$select_new5 = mysql_query("SELECT username,onlinetid FROM users ORDER BY onlinetid DESC LIMIT 10");
while($row_new5 = mysql_fetch_array($select_new5)) {
$tid = $row_new5[onlinetid];
$timer = floor($tid/60);
?></font>
<div align="left"> <font size="1" face="Verdana"><a href="soeg/seinfo.php?user=<? echo $row_new5[username]; ?>" target="main"><? echo $row_new5[username]; ?> </a></font> </div><div align="right"> <font size="1" face="Verdana"><? echo $timer; ?> t<br></font></div> <font size="1" face="Verdana"><? } ?>
</font></p>
</td>
</tr>
</table>
<p><br></p>
</td>
</tr>
<tr>
<td width="22%" style="border-left: medium none #111111; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom: medium none #111111"> </td>
<td width="56%" style="border-left-style: none; border-left-width: medium; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom: medium none #111111">
<table border="1" cellpadding="4" cellspacing="0" style="border-collapse: collapse; border-width: 0" bordercolor="#111111" width="100%" id="AutoNumber6" height="39">
<tr>
<td width="100%" style="border-style: none; border-width: medium" align="center" height="29">
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="398" id="AutoNumber10" bgcolor="#C5D1DA">
<tr>
<td width="402" height="15">
<p align="center"><font face="verdana" size="1"><b>Copyright
© 2003 - Dohchatten</b></font></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="22%" style="border-left-style: none; border-left-width: medium; border-right: medium none #111111; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium"> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<div id="punkt1menu" class="menu" onMouseOver="mover( 'punkt1' )" onMouseOut="mout( 'punkt1' )"><p align="left"><A HREF="crew.htm" target="main">Crew</a><br><A HREF="
http://www.zoox.starthotel.dk/Dohchat/NIKSEN/LOL/SAA/FUCKAF/DOH/soeg/soeg.php" target="main">Søg<br></a></div>
<div id="punkt2menu" class="menu" onmouseOver="mover( 'punkt2' )" onMouseOut="mout( 'punkt2' )"><p align="left"><A HREF="
http://www.zoox.starthotel.dk/Dohchat/NIKSEN/LOL/SAA/FUCKAF/DOH/login.php" target="main">Login</a><br><A HREF="
http://www.zoox.starthotel.dk/Dohchat/NIKSEN/LOL/SAA/FUCKAF/DOH/opret.php" target="main">Opret</a><br><A HREF="regler.htm" target="main">Regler</a></div>
<div id="punkt3menu" class="menu" onmouseOver="mover( 'punkt3' )" onMouseOut="mout( 'punkt3' )"><p align="left"><A HREF="konkurrencer.htm" target="main">Vind
her</a><br>Vindere</div>
<div id="punkt4menu" class="menu" onmouseOver="mover( 'punkt4' )" onMouseOut="mout( 'punkt4' )"><p align="left">Dit
Link<br>Dit Link<br>Dit Link<br>Dit Link</div>
<div id="punkt5menu" class="menu" onmouseOver="mover( 'punkt5' )" onMouseOut="mout( 'punkt5' )"><p align="left"><A HREF="info.htm" target="main">Infomation</a><br></div>
</body>
</html>