ok also ich hab mir das jetz mal alles umgehaun und den head bereich gelassen wie er ist undzwar in der index allerdings die side bars wäre noch cool zu haben^^ und das sieht bis jetz so aus:
index:
[HTML]<!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=utf-8" />
<link rel="stylesheet" type="text/css" href="style.css" />
<title>FlyFBA</title>
<s***** type="text/javas*****">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</s*****>
</head>
<body onload="MM_preloadImages('Images/download_rollover.png','Images/Bilder/Bilder/FlyFBA_03.png','Images/Bilder/Bilder/FlyFBA_04.png','Images/Bilder/Bilder/FlyFBA_05.png','Images/Bilder/Bilder/FlyFBA_06.png','Images/Bilder/Bilder/FlyFBA_07.png','Images/Bilder/Bilder/FlyFBA_08.png')">
<div class="bg">
<div class="head1">
<a href="index.html"><div class="head"></div></a><a href="pshop/index.php" target="_blank"><div class="donate"></div>
</a></div>
<div class="navi">
<table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Bild9','','Images/Bilder/Bilder/FlyFBA_03.png',1)"><img src="Images/Bilder/FlyFBA_03.png" name="Bild9" width="203" height="94" border="0" id="Bild9" /></a></td>
<td><a href="http://flyfba-board.tk" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Bild14','','Images/Bilder/Bilder/FlyFBA_04.png',1)"><img src="Images/Bilder/FlyFBA_04.png" name="Bild14" width="157" height="94" border="0" id="Bild14" /></a></td>
<td><a href="register.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Bild7','','Images/Bilder/Bilder/FlyFBA_05.png',1)"><img src="Images/Bilder/FlyFBA_05.png" name="Bild7" width="197" height="94" border="0" id="Bild7" /></a></td>
<td><a href="team.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Bild10','','Images/Bilder/Bilder/FlyFBA_06.png',1)"><img src="Images/Bilder/FlyFBA_06.png" name="Bild10" width="151" height="94" border="0" id="Bild10" /></a></td>
<td><a href="htc.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Bild11','','Images/Bilder/Bilder/FlyFBA_07.png',1)"><img src="Images/Bilder/FlyFBA_07.png" name="Bild11" width="114" height="94" border="0" id="Bild11" /></a></td>
<td><a href="partner.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Bild12','','Images/Bilder/Bilder/FlyFBA_08.png',1)"><img src="Images/Bilder/FlyFBA_08.png" name="Bild12" width="202" height="94" border="0" id="Bild12" /></a></td>
</tr>
</table>
</div>
<div class="body">
<div class="side-left">
<?php include("left.html"); ?>
</div>
<div class="main">
<div class="main-text"></div></div>
<div class="side-right"><div class="right-text">
<center>
<a href="download.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Bild8','','Images/download_rollover.png',1)"><img src="Images/download.png" name="Bild8" width="180" height="65" border="0" id="Bild8" /></a><br /><br /><br /><br />
<b>Serverstatus:</b><br />
<?php include("ServerStatus.php"); ?><br />
<b>Ranking:</b><br />
<?php include("ranking.php"); ?> <br />
<b>Gildenranking:</b><br />
<?php include("gildenranking.php"); ?> <br />
<b>Lord:</b><br />
<?php include("new lord.php"); ?> <br />
<b>Most Violent Player:</b><br />
<?php include("MVP.php"); ?> <br />
</center></div></div>
<br /><center><a href="http://www.darkfluppi.deviantart.com">© by Fluppi</a></center><br />
</div>
</div>
</body>
</html>
[/HTML]
ich hab den include in der html datei mal ein bisschen frei gestelt zur veranschaulichung und hier ist der include:
[HTML]<div class="left-text">
<center>
<h3><font color="#FF0000"><b>Rates:</b><br /></font></h3>
<font color="#009900">
<b>Exp: 45%<br />
Drop: 50%<br />
Penya: 70%<br /></b></font><br /><br />
</center>
</div>[/HTML]
|