Onbekend |
|
het deel van de index waar je bent uigelogd, is een afbeelding met een form om in te loggen en als je ingelogd bent krijg je alle links die er staan+header+iframe
maar als je uitgelogd bent krijg je dus de afbeelding met form+header+iframe, eigenlijk mag er enkel de afbeelding met form komen
hier mijn index.php
<?php /* ------------------------- */
if(isset($_COOKIE['login'],$_COOKIE['validate'])) {
setcookie("login",$_COOKIE['login'],time()+24*60*60,"/","");
setcookie("validate",$_COOKIE['validate'],time()+24*60*60,"/","");
}
include("_include-config.php");
/* ------------------------- */ ?>
<html>
<head>
<title><--counter terrors--></title>
<link rel="stylesheet" type="text/css" href="css-v1.css">
<base target="home" />
</head>
<body style="margin: 5px;">
<table align="center" width=800 height=100% cellpadding=0 cellspacing=0>
<tr><td width=800 height=100 style="background: url(images/criminals.jpg) no-repeat top center;"></td></tr>
<tr><td valign="top"><table width=100% height=100% cellpadding=0 cellspacing=0>
<td valign="top"><table width=100% height=100% cellpadding=0 cellspacing=0>
<tr><td width=150 valign="top" align="center" style="position: relative; top: -40;">
<?php /* ------------------------- */
$dbres = mysql_query("SELECT `id` FROM `[users]`WHERE `activated`=1");
$members = mysql_num_rows($dbres);
$dbres25 = mysql_query("SELECT `id` FROM `[users]` WHERE UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(`online`) < 300");
$online = mysql_num_rows($dbres25);
$sentence2 = ($$adminsonline == 1) ? Array("","Admins") : Array("","Admins");
$dbres3 = mysql_query("SELECT `id` FROM `[users]` WHERE `level`=255 AND UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(`online`) < 300 ORDER BY `login`");
$adminsonline = mysql_num_rows($dbres3);
$laatstelid = mysql_query("select `login` from `[users]`order by id desc limit 1");
$lastmember = @mysql_result($laatstelid,0,0);
print <<<ENDHTML
ENDHTML;
if($data) {
print <<<ENDHTML
<td align="right" valign="top">
<table class="menu" width=150 cellpadding=0 cellspacing=0>
<tr><td height="20" class="menuTitle"><div align="center">Algemeen</div></td></tr>
<tr><td class="menuLink"> - <a href="home.php" class="menu">Home</a></td></tr>
<tr><td class="menuLink"> - <a href="help.php" class="menu">Help/FAQ</a></td></tr>
<tr><td class="menuLink"> - <a href="login.php?x=logout" class="menu">Logout</a></td></tr>
</table><br>
<table height="20" class="menu" width=150 cellpadding=0 cellspacing=0>
<tr><td class="menuTitle"><div align="center">$data->login</div></td></tr>
<tr><td class="menuLink"> - <a href="hq.php" class="menu">Hoofdkwartier</a></td></tr>
<tr><td class="menuLink"> - <a href="bank.php" class="menu">Bank</a></td></tr>
<tr><td class="menuLink"> - <a href="shop.php" class="menu">Winkel</a></td></tr>
<tr><td class="menuLink"> - <a href="city/city.php" class="menu">De stad</a></td></tr>
</table><br>
<table height="20" class="menu" width=150 cellpadding=0 cellspacing=0>
<tr><td class="menuTitle"><div align="center">Statistieken</div></td></tr>
<tr><td class="menuLink"> - <a href="stats.php" class="menu">Hall of Fame</a></td></tr>
<tr><td class="menuLink"> - <a href="clanstats.php" class="menu">Clan statstieken</a></td></tr>
<tr><td class="menuLink"> - <a href="cofeeshopstats.php" class="menu">Cofee shop statistieken</a></td></tr>
<tr><td class="menuLink"> - <a href="lottostats.php" class="menu">Lotto statistieken</a></td></tr>
<tr><td class="menuLink"> - <a href="dobellenstats.php" class="menu">Dobellen statistieken</a></td></tr>
</table><br>
<table width=100% cellpadding=0 cellspacing=0 class="menu">
<tr><td height="20" class="menuTitle"><div align="center">Clan</div></td></tr>
<tr><td class="menuLink"> - <a href="clan.php?p=list" class="menu">Clan list</a></td></tr>
ENDHTML;
if($data->clanlevel == 0) {
print "<tr><td class=\"menuLink\"> - <a href=\"clan.php?p=join\">Aanmelden</a></td></tr>\n";
if($data->level & 0x01)
print "<tr><td class=\"menuLink\"> - <a href=\"clan.php?p=new\">Nieuwe clan</a></td></tr>\n";
}
else {
print "<tr><td class=\"menuLink\"> - <a href=\"clan.php?x={$data->clan}\">Clan profiel</a></td></tr>\n";
if($data->clanlevel >= 8 || $data->clanlevel == 6) {
print "<tr><td class=\"menuLink\"> - <a href=\"clanbank.php\">Bank</a></td></tr>\n";
print "<tr><td class=\"menuLink\"> - <a href=\"clandonate.php\">doneren aan clan</a></td></tr>\n";
print "<tr><td class=\"menuLink\"> - <a href=\"clanshop.php\">Bouwterrein</a></td></tr>\n";
print "<tr><td class=\"menuLink\"> - <a href=\"clansms.php\">clansms</a></td></tr>\n";
print "<tr><td class=\"menuLink\"> - <a href=\"clanlog.php\">clanlogs</a></td></tr>\n";
}
if($data->clanlevel >= 8 || $data->clanlevel == 2)
print "<tr><td class=\"menuLink\"> - <a href=\"clanhq.php?p=recruits\">Aanmeldingen</a></td></tr>\n";
if($data->clanlevel >= 8) {
print "<tr><td class=\"menuLink\"> - <a href=\"clanhq.php?p=members\">Members</a></td></tr>\n";
print "<tr><td class=\"menuLink\"> - <a href=\"clanhq.php?p=info\">Clan info</a></td></tr>\n";
}
if($data->clanlevel > 0) {
if($data->clanlevel < 9)
print "<tr><td class=\"menuLink\"> - <a href=\"clanlog.php?p=quit\">Stap uit je clan</a></td></tr>\n";
else
print "<tr><td class=\"menuLink\"> - <a href=\"clan.php?p=delete\">Stop de clan</a></td></tr>\n";
}
}
print <<<ENDHTML
</table><br>
}
ENDHTML;
}
else {
include("index2.html");
}
/* ------------------------- */ ?>
<td align="right" valign="top">
<iframe src="home.php" name="home" style="position: relative; top:"" ;" width=650 frameborder=0 height=100%></iframe>
</td></tr>
</td></tr>
<tr><td></td>
</table></td>
</table></td></tr>
</table>
</head>
</html>
<?php /* ------------------------- */ if(isset($_COOKIE['login'],$_COOKIE['validate'])) { setcookie("validate",$_COOKIE['validate'],time()+24*60*60,"/",""); } include("_include-config.php"); /* ------------------------- */ ?> <html> <head> <title><--counter terrors--></title> <link rel="stylesheet" type="text/css" href="css-v1.css"> <base target="home" /> </head> <body style="margin: 5px;"> <table align="center" width=800 height=100% cellpadding=0 cellspacing=0> <tr><td width=800 height=100 style="background: url(images/criminals.jpg) no-repeat top center;"></td></tr> <tr><td valign="top"><table width=100% height=100% cellpadding=0 cellspacing=0> <td valign="top"><table width=100% height=100% cellpadding=0 cellspacing=0> <tr><td width=150 valign="top" align="center" style="position: relative; top: -40;"> <?php /* ------------------------- */ $dbres = mysql_query("SELECT `id` FROM `[users]`WHERE `activated`=1"); $dbres25 = mysql_query("SELECT `id` FROM `[users]` WHERE UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(`online`) < 300"); $sentence2 = ($$adminsonline == 1) ? Array("","Admins") : Array("","Admins"); $dbres3 = mysql_query("SELECT `id` FROM `[users]` WHERE `level`=255 AND UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(`online`) < 300 ORDER BY `login`"); $laatstelid = mysql_query("select `login` from `[users]`order by id desc limit 1"); ENDHTML; if($data) { print <<<ENDHTML <td align="right" valign="top"> <table class="menu" width=150 cellpadding=0 cellspacing=0> <tr><td height="20" class="menuTitle"><div align="center">Algemeen</div></td></tr> <tr><td class="menuLink"> - <a href="home.php" class="menu">Home</a></td></tr> <tr><td class="menuLink"> - <a href="help.php" class="menu">Help/FAQ</a></td></tr> <tr><td class="menuLink"> - <a href="login.php?x=logout" class="menu">Logout</a></td></tr> </table><br> <table height="20" class="menu" width=150 cellpadding=0 cellspacing=0> <tr><td class="menuTitle"><div align="center">$data->login</div></td></tr> <tr><td class="menuLink"> - <a href="hq.php" class="menu">Hoofdkwartier</a></td></tr> <tr><td class="menuLink"> - <a href="bank.php" class="menu">Bank</a></td></tr> <tr><td class="menuLink"> - <a href="shop.php" class="menu">Winkel</a></td></tr> <tr><td class="menuLink"> - <a href="city/city.php" class="menu">De stad</a></td></tr> </table><br> <table height="20" class="menu" width=150 cellpadding=0 cellspacing=0> <tr><td class="menuTitle"><div align="center">Statistieken</div></td></tr> <tr><td class="menuLink"> - <a href="stats.php" class="menu">Hall of Fame</a></td></tr> <tr><td class="menuLink"> - <a href="clanstats.php" class="menu">Clan statstieken</a></td></tr> <tr><td class="menuLink"> - <a href="cofeeshopstats.php" class="menu">Cofee shop statistieken</a></td></tr> <tr><td class="menuLink"> - <a href="lottostats.php" class="menu">Lotto statistieken</a></td></tr> <tr><td class="menuLink"> - <a href="dobellenstats.php" class="menu">Dobellen statistieken</a></td></tr> </table><br> <table width=100% cellpadding=0 cellspacing=0 class="menu"> <tr><td height="20" class="menuTitle"><div align="center">Clan</div></td></tr> <tr><td class="menuLink"> - <a href="clan.php?p=list" class="menu">Clan list</a></td></tr> ENDHTML; if($data->clanlevel == 0) { print "<tr><td class=\"menuLink\"> - <a href=\"clan.php?p=join\">Aanmelden</a></td></tr>\n"; if($data->level & 0x01) print "<tr><td class=\"menuLink\"> - <a href=\"clan.php?p=new\">Nieuwe clan</a></td></tr>\n"; } else { print "<tr><td class=\"menuLink\"> - <a href=\"clan.php?x={$data->clan}\">Clan profiel</a></td></tr>\n"; if($data->clanlevel >= 8 || $data->clanlevel == 6) { print "<tr><td class=\"menuLink\"> - <a href=\"clanbank.php\">Bank</a></td></tr>\n"; print "<tr><td class=\"menuLink\"> - <a href=\"clandonate.php\">doneren aan clan</a></td></tr>\n"; print "<tr><td class=\"menuLink\"> - <a href=\"clanshop.php\">Bouwterrein</a></td></tr>\n"; print "<tr><td class=\"menuLink\"> - <a href=\"clansms.php\">clansms</a></td></tr>\n"; print "<tr><td class=\"menuLink\"> - <a href=\"clanlog.php\">clanlogs</a></td></tr>\n"; } if($data->clanlevel >= 8 || $data->clanlevel == 2) print "<tr><td class=\"menuLink\"> - <a href=\"clanhq.php?p=recruits\">Aanmeldingen</a></td></tr>\n"; if($data->clanlevel >= 8) { print "<tr><td class=\"menuLink\"> - <a href=\"clanhq.php?p=members\">Members</a></td></tr>\n"; print "<tr><td class=\"menuLink\"> - <a href=\"clanhq.php?p=info\">Clan info</a></td></tr>\n"; } if($data->clanlevel > 0) { if($data->clanlevel < 9) print "<tr><td class=\"menuLink\"> - <a href=\"clanlog.php?p=quit\">Stap uit je clan</a></td></tr>\n"; else print "<tr><td class=\"menuLink\"> - <a href=\"clan.php?p=delete\">Stop de clan</a></td></tr>\n"; } } </table><br> } ENDHTML; } else { include("index2.html"); } /* ------------------------- */ ?> <td align="right" valign="top"> <iframe src="home.php" name="home" style="position: relative; top:"" ;" width=650 frameborder=0 height=100%></iframe> </td></tr> </td></tr> <tr><td></td> </table></td> </table></td></tr> </table> </head> </html>
|