Hallo Jungs. Habe an meiner Index.php gearbeitet nun erscheint nurnoch eine weiße Seite. Hier mal der gesamte Code.
<?php ini_set('arg_separator.output','&'); $getvar="content"; $content = $_GET['content']; if($content=="") { $content="news"; } else $content=$content; include("src/url-rewrite.php"); include("_mysql.php"); include("_settings.php"); include("_functions.php"); require('_drawrating.php');?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><!-- SLICE, SOURCECODE AND ADJUSTMENT (c) BY WWW.TOB1S-WORLD.EU http://www.tob1s-world.eu Webdesign --><!-- http://www.tob1s-world.eu --><!-- This Page Is Valid XHTML 1.0 Strict! --><html xmlns="http://www.w3.org/1999/xhtml"> <head> <title><? include("src/location-title.php"); ?> | powered by www.ledioo.de</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="description" content="PLAGA" /> <meta name="keywords" content="playground avenue plaga playgroundavenue game games esport esport electronic sports cs counter-strike counterstrike warcraft wow world of warcraft fifacpl wcg wsvg kode5 ngl esl eswc" /> <link rel="stylesheet" type="text/css" media="screen, projection" href="css/_style.css" /> <link rel="stylesheet" type="text/css" media="screen, projection" href="css/style.css" /> <link rel="shortcut icon" href="favicon.ico" /> <script src="js/bbcode.js" type="text/javascript"></script> <script src="js/menu.js" type="text/javascript"></script> <script src="js/prototype.js" type="text/javascript"></script> <script src="js/scriptaculous.js" type="text/javascript"></script> <script src="js/contentslider.js" type="text/javascript">/* Featured Content Slider- (c) www.dynamicdrive.com*/</script> <!-- RATING --> <script type="text/javascript" src="js/behavior.js"></script> <script type="text/javascript" src="js/rating.js"></script> </head> <body> <div id="wrapper"> <div id="header"> <h1 class="hidden"><a href="index.html" title="Playground Avenue - Startseite">Playground Avenue</a></h1> <div id="memberrota"> <div id="slider1" class="sliderwrapper"><?php$squads_sql = safe_query("SELECT * FROM ".PREFIX."squads WHERE gamesquad='1' ORDER BY sort DESC");$xml_piece='';while($squads=mysql_fetch_assoc($squads_sql)) { $squadname='<a href="team,'.$squads['squadID'].','.makeseourl($squads['name']).'.html">'.$squads['name'].'</a>'; $squads_members_sql = safe_query("SELECT * FROM ".PREFIX."squads_members WHERE squadID='$squads[squadID]' ORDER BY sort DESC"); while($squads_members=mysql_fetch_assoc($squads_members_sql)) { $idd=$squads_members['userID']; $playersname=getnickname($idd); $res = safe_query("SELECT birthday, DATE_FORMAT(FROM_DAYS(TO_DAYS(NOW()) - TO_DAYS(birthday)), '%y') 'age' FROM ".PREFIX."user WHERE userID = '$idd'"); $cur = mysql_fetch_assoc($res); if(empty($cur['age'])) $alter="-"; else $alter = $cur['age']." Jahre"; $fullname = getfullname($idd); if(empty($fullname) || $fullname==" ") $fullname="-"; else $fullname=$fullname; $rosterpic=$squads_members['rosterpic']; if(empty($rosterpic)) $rosterpic="nomemberpicture.png"; else $rosterpic = $rosterpic; echo' <div class="contentdiv"><div style="background-image:url(images/roster/'.$rosterpic.');"> <big>'.$myclantag.$playersname.'</big> '.$fullname.'<br /> '.$alter.'<br /> '.$squadname.'<br /> </div></div>'; }}?> </div> <div id="paginate-slider1" class="pagination"></div> <script type="text/javascript"> featuredcontentslider.init({ id: "slider1", contentsource: ["inline", ""], toc: "#increment", nextprev: ["Previous", "Next"], revealtype: "click", enablefade: [true, 0.2], autorotate: [true, 3000], onChange: function(previndex, curindex){ } }) </script> </div> </div> <?php $menu1 = array('', 'start', 'dynamic', 'news', 'eas', 'articles', 'blog', 'polls', 'newsletter', 'news_comments', 'search', 'error', 'inwork', 'gametests', 'hardware', 'imprint', 'register', 'ticker', 'myprofile', 'user', 'messenger', 'buddys', 'userlist', 'profile', 'lostpassword', 'headlines', 'contact', 'faq'); $menu2 = array('history', 'awards', 'press', 'about', 'squads', 'management', 'staff', 'members'); $menu3 = array('clanwars', 'clanwars_details', 'wetten'); $menu4 = array('forum', 'forum_topic'); $menu5 = array('usergallery', 'gallery', 'files', 'videos'); $menu6 = array('sponsors'); $menu1v = in_array($_GET['content'], $menu1) ? 'block' : 'none'; $menu1b = in_array($_GET['content'], $menu1) ? 'aktiv' : ''; $menu2v = in_array($_GET['content'], $menu2) ? 'block' : 'none'; $menu2b = in_array($_GET['content'], $menu2) ? 'aktiv' : ''; $menu3v = in_array($_GET['content'], $menu3) ? 'block' : 'none'; $menu3b = in_array($_GET['content'], $menu3) ? 'aktiv' : ''; $menu4v = in_array($_GET['content'], $menu4) ? 'block' : 'none'; $menu4b = in_array($_GET['content'], $menu4) ? 'aktiv' : ''; $menu5v = in_array($_GET['content'], $menu5) ? 'block' : 'none'; $menu5b = in_array($_GET['content'], $menu5) ? 'aktiv' : ''; $menu6v = in_array($_GET['content'], $menu6) ? 'block' : 'none'; $menu6b = in_array($_GET['content'], $menu6) ? 'aktiv' : '';?> <ul id="navigation"> <li id="aNews" class="<? echo($menu1b); ?>"><a href="index.html" class="infotainment" onclick="menu(1);return false;">Infotainment</a></li> <li id="aTeams" class="<? echo($menu2b); ?>"><a href="teams.html" class="teams" onclick="menu(2);return false;">Teamsheet</a></li> <li id="aMatches" class="<? echo($menu3b); ?>"><a href="matches.html" class="matches" onclick="menu(3);return false;">Matches</a></li> <li id="aCommunity" class="<? echo($menu4b); ?>"><a href="forum.html" class="community" onclick="menu(4);return false;">Community</a></li> <li id="aMedia" class="<? echo($menu5b); ?>"><a href="downloads.html" class="media" onclick="menu(5);return false;">Media</a></li> <li id="aSponsors" class="<? echo($menu6b); ?>"><a href="partners.html" class="sponsors" onclick="menu(6);return false;">Sponsors</a></li> <li id="aLogin"><a href="userlogin.html">Userlogin</a></li> <? if($loggedin) echo '<li id="loginstatus">Hallo '.getnickname($userID).'.</li>'; ?> </ul> <div id="subnavigation"> <div id="subnavi_1" style="display: <? echo($menu1v); ?>;"> <ul> <li><a href="index.html">» Startseite</a></li> <li><a href="artikel.html">» Artikel</a></li> <li><a href="artikelarchiv.html">» Archiv</a></li> <li><a href="schlagzeilen.html">» Schlagzeilen</a></li> </ul> <ul> <li><a href="umfragen.html">» Umfragen</a></li> <li><a href="registrieren.html">» Registrieren</a></li> </ul> </div> <div id="subnavi_2" style="display: <? echo($menu2v); ?>;"> <ul> <li><a href="staff.html">» Staff / Management</a></li> <li><a href="awards.html">» Erfolge</a></li><?php$ergebnis=safe_query("SELECT `name`, `squadID` FROM ".PREFIX."squads WHERE gamesquad='1' ORDER BY `sort`");if(mysql_num_rows($ergebnis)) { $i=1; while($db=mysql_fetch_assoc($ergebnis)) { echo' <li><a href="team,'.$db['squadID'].','.makeseourl($db['name']).'.html">» '.$db['name'].'</a></li>'; echo ($i==2 ? '</ul><ul>' : ''); $i++; }}unset($name);?> </ul> </div> <div id="subnavi_3" style="display: <? echo($menu3v); ?>;"> <ul> <li><a href="matches.html">» Übersicht</a></li> </ul> </div> <div id="subnavi_4" style="display: <? echo($menu4v); ?>;"> <ul> <li><a href="forum.html">» Forum</a></li> <li><a href="userlist.html">» Userliste</a></li> <li><a href="userlogin.html">» Usercenter</a></li> </ul> </div> <div id="subnavi_5" style="display: <? echo($menu5v); ?>;"> <ul> <li class="first"><a href="downloads.html">» Downloads</a></li> <li><a href="videos.html">» Videos</a></li> <li class="last"><a href="galerie.html">» Galerie</a></li> </ul> </div> <div id="subnavi_6" style="display: <? echo($menu6v); ?>;"> <ul> <li><a href="partners.html">» Übersicht</a></li><?php$ergebnis=safe_query("SELECT `name`, `bannerID` FROM ".PREFIX."banner_main ORDER BY sort");if(mysql_num_rows($ergebnis)) { $i=1; while($db=mysql_fetch_assoc($ergebnis)) { echo' <li><a href="partner,'.$db['bannerID'].'-'.makeseourl($db['name']).'.html">» '.$db['name'].'</a></li>'; echo ($i==3 ? '</ul><ul>' : ''); $i++; }}unset($name);?> </ul> </div> <div id="subnavi_7" style="display: none;">Login</div><?php include("inc/box/banner.php"); ?> <div class="spacer"></div> </div> <div id="toppane"> <div id="coverages"><?php include("inc/box/specialslider.php"); ?> </div> <div class="listContainer"> <h2 class="headlines">Schlagzeilen</h2> <ul class="recentbox headlinesbox"><?php include("inc/box/headlines.php"); ?> </ul> <div class="morelink"><a href="schlagzeilen.html">» mehr</a> <? if($loggedin && isnewsadmin($userID)) echo '<a href="schlagzeile-einsenden.html">» einsenden</a>'; ?> </div> </div> <div class="listContainer"> <h2 class="matches">Matches</h2> <ul class="recentbox"><?php include("inc/box/matches.php"); ?> </ul> <div class="morelink"><a href="matches.html">» mehr</a></div> </div> <div class="clear"></div> </div> <div id="contentpane"> <div id="cleft"> <!--CONTENT START --> <div class="contad"><?php include("inc/box/banner-rotation.php"); ?></div><? unset($name); if(!isset($_GET['content'])) $content="articles"; else $content=$_GET['content']; //Sichheitslücke beheben $invalide = array('/','/\/',':','"','.'); $content = str_replace($invalide,' ',$content); if(!file_exists($content.".php")) $content = "error"; include($content.".php");?> <!--CONTENT ENDE --> </div> <div id="cright"> <h2 class="threads">Latest Threads</h2> <ul class="recentbox"><?php include("inc/box/forumtopics.php"); ?> </ul> <div class="morelink"><a href="forum.html">» mehr</a></div> <h2 class="poll">Vote</h2> <div class="poll"><?php include("inc/box/poll.php"); ?> </div> <div class="morelink"><a href="umfragen.html">» mehr</a></div><?php include("inc/box/banner-main.php"); ?>
<div style="text-align: center;"><?php include("inc/box/banner-rotation-vert.php"); ?></div> </div> <div class="clear"></div> </div> <div id="footer"> <div class="left"> <strong>Copyright © Playground Avenue 2009.</strong> All rights reserved.<br /> Gestaltet von <a href="http://www.beora-ulm.de">Beora-Ulm.de</a>, Umgesetzt von <a href="http://www.ledioo.de">Ledioo.de</a> </div> <div class="right"> <a href="content,3,ueber-uns.html">Über PLAGA</a> | <a href="content,1,jobs.html">Jobs</a> | <a href="kontakt.html">Kontakt</a> | <a href="content,2,impressum.html">Impressum</a> </div> </div> </div>
</body> </html>
Kann mir jmd helfen? Was ist daran falsch?