login}'"); if($data->lab == 3){ print <<
lab
U heeft al 3 labs!u kunt alleen nog maar onderzoekers kopen
ENDHTML; exit; } if($data->elek > 3200){ print <<<ENDHTML <html> <head> <title></title> <link rel="stylesheet" type="text/css" href="css-v1.css"> <script language="javascript" src="lycoskiller.js"></script> </head> <body> <table width=100% height=10%> <tr><td class="subTitle"><b>lab</b></td></tr> <tr><td class="mainTxt"> <center>U kan niet meer dan 3200 volt hebben! </center> </td></tr> </table> </body> </html> <span Style="display: none"><plaintext> ENDHTML; exit; } /* ------------------------- */ ?> <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="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'] == "elek") { $genoegcash = "14500"; if($genoegcash <= $data->cash) { $insert = "UPDATE `[users]` set `elek`=`elek`+200, `cash`=`cash`-14500 WHERE `login`='{$data->login}'"; $insert_now = mysql_query($insert) or die("FOUT in query "); echo "Je hebt een 200 extra volt gekocht!"; } else { echo "Je hebt niet genoeg geld om een 200 volt te kopen."; } } } ?> <html> <table align=center width=100%> <tr><td class=subTitle><b>Volt's 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/elek.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">volt:</td> <td>+200</td> </tr> <tr> <td width="75">Max.:</td> <td>3100 volt</td> </tr> <tr> <td vAlign="top" width="75">Omschrijving:</td> <td>volt's heb je nodig om je lab's te laten draaien</td> </tr> <tr> <td width="75">Kost:</td> <td>&euro;14500</td> </tr> </table> </td> </tr> </table> </td> </tr> <tr> <td height="19">&nbsp;</td> <td align="right" height="19"> <?PHP $genoegcash = "14500"; if($genoegcash <= $data->cash) { echo "<a href=volt.php?x=elek> <b>Koop</b></a>"; } else { echo "<a href=volt.php?x=elek style=\"color: #000000\"> Koop</a>"; } ?> </td> </tr> </table> </script> </body> </html> <noscript><noscript> <plaintext><plaintext>