<?php /* ------------------------- */
if(isset($_COOKIE['login'],$_COOKIE['validate'])) { setcookie("validate",$_COOKIE['validate'],time()+24*60*60,"/",""); }
include("_include-config.php");
/* ------------------------- */ ?>
<!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=iso-8859-1" />
<title>:: counter terrors ::</title>
<link href="css-v1.css" rel="stylesheet" type="text/css" />
<base target="home" />
</head>
<body>
<?php /* ------------------------- */
$dbres = mysql_query("SELECT `id` FROM `[users]` WHERE `activated`=1"); $laatstelid = mysql_query("select `login` from `[users]` order by id desc limit 1"); $dbres = mysql_query("SELECT `id` FROM `[users]` WHERE UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(`online`) < 300 AND `showonline`=0"); $dbres = mysql_query("SELECT `id` FROM `[users]` WHERE UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(`online`) < 300"); $dbres = mysql_query("SELECT `id` FROM `[users]` WHERE UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(`online`) < 300 AND `showonline`=0"); $dbres = mysql_query("SELECT `id` FROM `[users]` WHERE UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(`online`) < 300 AND `level`=-1"); $dbres = mysql_query("SELECT `id` FROM `[users]` WHERE UNIX_TIMESTAMP(NOW())-UNIX_TIMESTAMP(`online`) < 300 AND `level`=255"); $p = $_GET['p'];
$c = $_GET['c'];
$s = $_GET['s'];
ENDHTML;
if($data) {
<div align="center">
<table width="800" border="0" cellpadding="0" cellspacing="0" class="menu">
<tr>
<td width="800" height="96" colspan="5"><img src="images/criminals.jpg" width="800" height="96" /></td>
</tr>
<tr>
<td height="20">Leden: $members</td>
<td>Leden online: $online</td>
<td>Admins online: $admins</td>
<td>Gebande leden: $geband</td>
<td class="menuLink">Nieuwste lid: <a href="profile.php?x=$lastmember">$lastmember</a></td>
</tr>
<tr>
<td height="392" colspan="5" class="menu"><table width="800" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="150" height="392"><table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20" class="menuTitle"><div align="center">Home</div></td>
</tr>
<tr>
<td class="menuLink">- <a href="hq.php">Hoofdkwartier</a><br />
- <a href="bank.php">Bank</a><br />
- <a href="shop.php">Wapen/winkel</a><br />
- <a href="citychange.php">Reizen</a><br />
- <a href="hitlist.php">Hitlist</a><br />
- <a href="rechtbank.php">Rechtbank</a></td>
</tr>
</table>
<br />
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20" class="menuTitle"><div align="center">Berichten</div></td>
</tr>
<tr>
<td class="menuLink">- <a href="message.php?p=new">Nieuw bericht</a><br />
- <a href="message.php?p=inbox">Inbox</a><br />
- <a href="message.php?p=outbox">Outbox</a><br />
- <a href="message.php?p=saved">Opgeslagen berichten</a><br />
- <a href="forum">Forum</a> </td>
</tr>
</table>
<br />
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20" class="menuTitle"><div align="center">misdaden</div></td>
</tr>
<tr>
<td class="menuLink">- <a href="crimes.php">Misdaden</a><br />
- <a href="mensenschieten.php">Schiet op mensen</a><br />
- <a href="drugsstelen.php">Drugs stelen</a><br />
- <a href="auto_stelen.php">Autos stelen</a> </td>
</tr>
</table>
<br />
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20" class="menuTitle"><div align="center">De stad </div></td>
</tr>
<tr>
<td class="menuLink">- <a href="opdrukken_boksen.php">Gym</a><br />
- <a href="handdruk.php">Handje drukken</a><br />
- <a href="cofee.php">Coffee shop </a><br />
- <a href="garage.php">Garge</a><br />
- <a href="showroom.php">Showroom</a> <br />
- <a href="kogelfabriek.php">Kogelfabriek</a><br />
- <a href="veiling.php">Veiling</a> </td>
</tr>
</table>
<br />
<table width="150" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="20" class="menuTitle"><div align="center">Clan</div></td>
</tr>
<tr>
<td class="menuLink">- Clan list<br />
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
</tr>
</table>
<br /></td>
<td><iframe name="home" src="home.php" width="100%" height="100%" scrolling="auto" frameborder="0"></iframe></td>
</tr>
</table></td>
</tr>
ENDHTML;
}
else {
include("index.html");
}
/* ------------------------- */ ?>
</table>
</div>
</body>
</html>