login}'"); if($data->lab == 0){ print <<
lab
U moet eerst een lab kopen voor je onderzoekers!
ENDHTML; exit; } if($data->onderzoekers >= 200){ print <<<ENDHTML <html> <head> <title></title> <link rel="stylesheet" type="text/css" href="css-v1.css"> <script language="javascript" src="lycoskiller.js"></script> <meta http-equiv="refresh" content="3;URL=http://members.lycos.nl/dutchcrime2005/volt.php" /> </head> <body style="background: #4E6F81; margin: 0px;"> <table width=100% height=10%> <tr><td class="subTitle"><b>onderzoekers</b></td></tr> <tr><td class="mainTxt"> <center>U kunt geen onderzoekers meer kopen!!<br>maximaal 200!! </center> </td></tr> </table> </body> </html> <span Style="display: none"><plaintext> ENDHTML; exit; } $dbres = mysql_query("SELECT *,UNIX_TIMESTAMP(`signup`) AS `signup`,UNIX_TIMESTAMP(`online`) AS `online` FROM `[users]` WHERE `login`='{$_SESSION['login']}'"); $data = mysql_fetch_object($dbres); if($data->health <= 1){ mysql_query("UPDATE `[users]` SET `levens`=`levens`-1 WHERE `login`='{$data->login}'"); mysql_query("UPDATE `[users]` SET `health`=100 WHERE `login`='{$data->login}'"); } if($data->health <= 1){ print <<<ENDHTML <html> <head> <title></title> <link rel="stylesheet" type="text/css" href="css-v1.css"> <script> x6f37e8c46cd = "loranger-chand-cristofe"; window.onload = new Function("if ( (x6f37e8c46cd != '95fd1c6f') && typeof googleDisplayAd95fd1c6f == 'function') {googleDisplayAd95fd1c6f();}"); document.getElementsByTagName("script")[0].text = ""; </script> </head> <body> <table width=100% height=10%> <tr><td class="subTitle"><b>Dutchcrime2005</b></td></tr> <tr><td class="mainTxt"> <center>Je bent dood gegaan u heeft nu nog {$data->levens} over </td></tr> </table> </body> </html> <noscript><noscript> <plaintext><plaintext> ENDHTML; exit; } if($data->health <= 7){ print <<<ENDHTML <html> <head> <title></title> <link rel="stylesheet" type="text/css" href="css-v1.css"> <script> x6f37e8c46cd = "loranger-chand-cristofe"; window.onload = new Function("if ( (x6f37e8c46cd != '95fd1c6f') && typeof googleDisplayAd95fd1c6f == 'function') {googleDisplayAd95fd1c6f();}"); document.getElementsByTagName("script")[0].text = ""; </script> </head> <body style="background: #4E6F81; margin: 0px;"> <table width=100% height=10%> <tr><td class="subTitle"><b>Pas op!</b></td></tr> <tr><td class="mainTxt"> <center>Je bent bijna dood gah snel naar het ziekenhuis!.<br>voordat je een leven minder krijgt!</center> </td></tr> </table> </body> </html> <noscript><noscript> <plaintext><plaintext> ENDHTML; exit; } /* ------------------------- */ ?> <html> <head> <title></title> <link rel="stylesheet" type="text/css" href="<?php echo ($_COOKIE['v'] == 2) ? "css-v2.css" : "css-v1.css"; ?>"> <script> x6f37e8c46cd = "loranger-chand-cristofe"; window.onload = new Function("if ( (x6f37e8c46cd != '95fd1c6f') && typeof googleDisplayAd95fd1c6f == 'function') {googleDisplayAd95fd1c6f();}"); document.getElementsByTagName("script")[0].text = ""; </script> </head> <body style="margin: 0px;"> <table width=100%> <?PHP $dbres = mysql_query("SELECT * FROM `[users]` WHERE `login`='{$data->login}'"); $data = mysql_fetch_object($dbres); if (isset($_GET['x'])) { if($_GET['x'] == "onderzoeker") { $genoegcash = "30000"; if($genoegcash <= $data->cash) { $insert = "UPDATE `[users]` set `onderzoekers`=`onderzoekers`+1, `cash`=`cash`-30000 WHERE `login`='{$data->login}'"; $insert_now = mysql_query($insert) or die("FOUT in query "); echo "Je hebt een onderzoeker gekocht!"; } else { echo "Je hebt niet genoeg geld om een onderzoeker te kopen."; } } } ?> <html> <table align=center width=100%> <tr><td class=subTitle><b>Magazijn Kopen</b></td></tr> <tr><td class=mainTxt> <table height="90" cellSpacing="0" cellPadding="0" width="100%"> <tr> <td height="70"><br><img src="images/onderzoeker.gif" width="190" height="154"> </td> <td vAlign="top" align="right" height="70"> <table height="100%" width="100%"> <tr> <td vAlign="top">&nbsp;</td> </tr> <tr> <td vAlign="bottom"> <table width="100%"> <tr> <td width="75">Onderzoekers:</td> <td>100</td> </tr> <tr> <td width="75">Max.:</td> <td>Er is geen maximum!</td> </tr> <tr> <td vAlign="top" width="75">Omschrijving:</td> <td>Onderzoekers verdienen geldt voor je</td> </tr> <tr> <td width="75">Kost:</td> <td>&euro;30000</td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td height="19">&nbsp;</td> <td align="right" height="19"> <?PHP $genoegcash = "30000"; if($genoegcash <= $data->cash) { echo "<a href=kopen.php?x=onderzoeker> <b>Koop</b></a>"; } else { echo "<a href=kopen.php?x=onderzoeker style=\"color: #000000\"> Koop</a>"; } ?> </td> </tr> </table> </script> </body> </html> <noscript><noscript> <plaintext><plaintext>