• Login
  • Register
  • Zoek
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Filebase Entry
  • More Options

ICTscripters

Dé plek voor IT

Dé plek voor IT

Login

Geavanceerde opties
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  9. Goedkope domeinnamen
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  9. Goedkope domeinnamen
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
  3. ICT Nieuws
  4. Blog
  5. Marktplaats
    1. Werk
    2. Advertenties
    3. Domeinnamen
    4. Websites
    5. Design & lay-outs
    6. Scripts
    7. Overige
  6. Design
  7. Leden
    1. Actieve bezoekers
    2. Team
    3. Leden zoeken
  8. Downloads
  9. Goedkope domeinnamen
  1. Dé plek voor IT - ICTscripters
  2. Forum
  3. Games
  4. Criminals & Maffiagames
  5. Uitbreidingen en Overige
  6. Archief
  7. Banditi

Forum

  • Fallen Kingdom Game

    gozmeu 27 juli 2026 om 23:49
  • Crimora.nl

    Dennii 11 juli 2026 om 13:13
  • RPG game gebouwd met AI

    zwpgangster 9 juli 2026 om 11:25
  • (Verkoop) Criminals

    Syntax 5 juli 2026 om 13:22
  • Het Grote Vibe Code Topic

    Syntax 30 juni 2026 om 11:54
  • Ictscripters Chat

    Jeffrey.Hoekman 26 juni 2026 om 16:21
  • Het oorspronkelijke Criminals Script

    Jeroen.G 24 juni 2026 om 09:21
  • StraatBaas is back, maar hoe?!

    Syntax 17 juni 2026 om 10:28

Marktplaats

  • 303 Nieuwe Domeinnamen Juli 2026

    shiga 1 augustus 2026 om 13:56
  • Straatbaas.eu – complete Nederlandstalige en Engelstalige online maffia-RPG

    Syntax 28 juli 2026 om 15:47
  • 306 Nieuwe Domeinnamen Juni 2026

    shiga 1 juli 2026 om 13:39

ziekenhuis fout

  • gigageweldig
  • 18 februari 2010 om 20:30
  • gigageweldig
    Student
    Berichten
    69
    • 18 februari 2010 om 20:30
    • #1

    hallo,
    ik wil de prijzen van het ziekenhuis verhogen naar 10.000 euro, en heb wat tekst veranderd!
    alleen nu word er niks van je rekening afgehaalt


    PHP
    <?
    $_POST['captcha'] = ereg_replace("j", "J", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("k", "K", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("l", "L", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("m", "M", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("n", "N", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("o", "O", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("p", "P", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("q", "Q", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("r", "R", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("s", "S", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("t", "T", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("u", "U", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("v", "V", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("w", "W", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("x", "X", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("y", "Y", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("z", "Z", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("a", "A", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("b", "B", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("c", "C", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("d", "D", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("e", "E", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("f", "F", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("g", "G", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("h", "H", $_POST['captcha']);
    $_POST['captcha'] = ereg_replace("i", "I", $_POST['captcha']);
    if($_POST['captcha'] != ""){
    if($_POST['captcha'] != $_SESSION['captcha']){
    $error = 3;
    }
    }
    if(isset($_POST['ziekenhuis'])){
    if($error != 3){
    $verschil = 100-$data->health;
    $bedrag = $verschil*10000;
    $prijs = number_format($bedrag, 0, '.', '.');
    if($data->bank >= $bedrag){
    $error = niks;
    mysql_query("UPDATE `users` SET `bank`=`bank`-'$bedrag',`health`='100' WHERE `id`='$data->id'");
    mysql_query("UPDATE `hitlist` SET `health`='100' WHERE `to`='$data->login'");
    }else{$error = 1;}
    }
    }
    if($error == niks){
    $_SESSION['mission'] = "Genees jezelf in het ziekenhuis";
    ?>
    
    
    			<table width="100%">
    	<tr>
    		<td align="center">
    			<br><br><br><br>
    			<table class="div_popup" align="center">
    				<tr>
    					<td>
    						Je bent behandeld, en kunt nu weer even verder. Voor de behandeling is &euro;<?echo$prijs;?> van je rekening gehaald				</td>
    				</tr>
    				<tr>
    					<td>
    						<br><br>
    							<a href="index.php?a=hospital" class="msg_ok">Klik hier indien je niet automatisch verder gaat.</a>
    					</td>
    				</tr>
    			</table>
    		</td>
    	</tr>
    </table>
    <script language="javascript">
    	setTimeout("document.location.href='index.php?a=hospital'",(3000*2));
    </script>
    		</div>
    	</td>
    	</tr>
    
    
    	</table>
    	</td>
    <?}
    if($error == 3){
    ?>
    <table width="100%">
    	<tr>
    		<td align="center">
    			<br><br><br><br>
    			<table class="div_popup_error" align="center">
    				<tr>
    					<td style="color:red">
    						<b>FOUT!</b><br><br>De code was onjuist!					</td>
    				</tr>
    				<tr>
    					<td>
    						<br><br>
    													<a href="#" onclick="history.go(-1); return false" class="error_ok">OK</a>
    											</td>
    				</tr>
    			</table>
    		</td>
    	</tr>
    </table>
    		</div>
    	</td>
    	</tr>
    
    
    	</table>
    	</td>
    <?
    }
    if($error == 1){
    ?>
    <table width="100%">
    	<tr>
    		<td align="center">
    			<br><br><br><br>
    			<table class="div_popup_error" align="center">
    				<tr>
    					<td style="color:red">
    						<b>FOUT!</b><br><br>Je hebt niet genoeg geld op de bank om je te laten behandelen.					</td>
    				</tr>
    				<tr>
    					<td>
    						<br><br>
    													<a href="#" onclick="history.go(-1); return false" class="error_ok">OK</a>
    											</td>
    				</tr>
    			</table>
    		</td>
    	</tr>
    </table>
    		</div>
    	</td>
    	</tr>
    
    
    	</table>
    	</td>
    <?
    }
    if($error == ""){
    ?>
    
    
    
    
    					<div class="title_bg">
    			<div class="title">Ziekenhuis</div>
    		</div>
    
    
    		<div style="background-color:#dbd2b7; padding:10px; padding-top:4px;">
    		<table cellpadding="0" cellspacing="0" width="100%"><tr><td>
    			<table>
    		<tr>
    <?
    $verschil = 100-$data->health;
    $bedrag = $verschil*10000;
    $prijs = number_format($bedrag, 0, '.', '.');
    ?>
    			<td valign="top">
    				Welkom in het ziekenhuis!<br /><br />
    				In het ziekenhuis kun je je gezondheid weer boven peil krijgen. De kosten zijn &euro;10000,- per procent.<br /><br />
    				Je hebt op dit moment een gezondheid van <b><?echo$data->health;?>%</b>.<br /><br />
    
    
    <?if($data->health < 100){?>								Er is op dit moment ruimte voor je in het ziekenhuis. Klik op de knop om je op te laten nemen. De kosten zullen dan &euro;<?echo$prijs;?> bedragen!<br /><br />
    
    
    				<table align="center">
    				<form method='post' onsubmit="return checkError(this)">
    					<tr>
    						<td style='text-align:center; padding:5px; width:200px;'>
    <?
    $first = rand(1, 26);
    $second = rand(1, 26);
    $third = rand(1, 26);
    $fourth = rand(1, 26);
    $captcha = ("$first  $second  $third  $fourth");
    include("lib/captcha/captcha.php?code=$captcha");
                            ?><img src="lib/captcha/captcha.php?code=<?echo$captcha;?>" border="1" align="left"><?
    $captcha = ereg_replace("10", "J", $captcha);
    $captcha = ereg_replace("11", "K", $captcha);
    $captcha = ereg_replace("12", "L", $captcha);
    $captcha = ereg_replace("13", "M", $captcha);
    $captcha = ereg_replace("14", "N", $captcha);
    $captcha = ereg_replace("15", "O", $captcha);
    $captcha = ereg_replace("16", "P", $captcha);
    $captcha = ereg_replace("17", "Q", $captcha);
    $captcha = ereg_replace("18", "R", $captcha);
    $captcha = ereg_replace("19", "S", $captcha);
    $captcha = ereg_replace("20", "T", $captcha);
    $captcha = ereg_replace("21", "U", $captcha);
    $captcha = ereg_replace("22", "V", $captcha);
    $captcha = ereg_replace("23", "W", $captcha);
    $captcha = ereg_replace("24", "X", $captcha);
    $captcha = ereg_replace("25", "Y", $captcha);
    $captcha = ereg_replace("26", "Z", $captcha);
    $captcha = ereg_replace("0", "", $captcha);
    $captcha = ereg_replace("1", "A", $captcha);
    $captcha = ereg_replace("2", "B", $captcha);
    $captcha = ereg_replace("3", "C", $captcha);
    $captcha = ereg_replace("4", "D", $captcha);
    $captcha = ereg_replace("5", "E", $captcha);
    $captcha = ereg_replace("6", "F", $captcha);
    $captcha = ereg_replace("7", "G", $captcha);
    $captcha = ereg_replace("8", "H", $captcha);
    $captcha = ereg_replace("9", "I", $captcha);
                                                      $captcha 		= str_replace(" ", "",$captcha);
                                                      $_SESSION['captcha'] = $captcha;
    ?>
    				  		</td>
    					</tr>
    					<tr>
    						<td style='text-align:center; padding:5px; width:200px;'>
    							<input type="text" name="captcha" class="dinput">
    						</td>
    					</tr>
    					<tr>
    						<td align="center">
    							<input type='submit' class="submit" name='ziekenhuis' value='Ga naar het ziekenhuis!'>
    						</td>
    					</tr>
    				</form>
    				</table>
    							</td>
    <?}
    else{
    ?>
    								Sorry, maar de dokters kunnen je niet helpen !						</td>
    <?}?>
    			<td>
    				<img src='images/ziekenhuis.jpg' width='250px' height='180px' align='right'>
    			</td>
    		</tr>
    	</table>
    		</td></tr></table>
    		</div>
    
    
    		<table width='100%' cellspacing='2' cellpadding='2'>
    			<tr>
    
    
    				<td class='content_bottom'></td>
    			</tr>
    		</table>
    
    
    
    
    <script language="javascript">
    	function checkError(pForm){
    		var errormsg = '';
    
    
    		if(pForm.captcha.value.length != 4) errormsg += 'Je hebt geen geldige code ingevuld!<br>';
    
    
    		if(errormsg != ''){
    			showError(errormsg);
    			return false;
    		}
    		return true;
    	}
    </script>		</div>
    	</td>
    	</tr>
    
    
    	</table>
    	</td>
    <?}?>
    Toon Meer

    Het gaat om BNT source


    mvg

Participate now!

Heb je nog geen account? Registreer je nu en word deel van onze community!

Maak een account aan Login

ICT Nieuws

  • Quanscient ontvangt €10M om AI- en kwantum-native hardware engineering te bevorderen - Tech.eu

    ICTscripters 27 mei 2026 om 12:03
  • Datalek bij leverancier Canvas - Universiteit van Amsterdam

    ICTscripters 10 mei 2026 om 12:03
  • Data privacy in 2026: Hoe de naleving van GDPR verandert

    ICTscripters 8 mei 2026 om 12:16

Blogs

  • Functioneel ontwerp

    Dees 28 december 2014 om 12:38
  • Access Control List implementatie in PHP/MySQL - deel 1/2

    FangorN 28 december 2018 om 12:35
  • Access Control List implementatie in PHP/MySQL - deel 2/2

    FangorN 29 december 2018 om 12:37
  1. Marktplaats
  2. Design
  3. Voorwaarden
  4. Ons team
  5. Leden
  6. Geschiedenis
  7. Regels
  8. Links
  9. Privacy Policy
ICTscripters ©2005 - 2026 , goedkope hosting door DiMoWeb.com, BE0558.915.582
Sponsors: Beste kattenhotel provincie Antwerpen | Beste Zetes eid kaartlezer webshop
Style: Nexus by cls-design
Stylename
Nexus
Manufacturer
cls-design
Licence
Commercial styles
Help
Supportforum
Visit cls-design