• 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. Scripting & programmeren
  4. PHP + SQL

Forum

  • OS Vendetta gezocht

    gozmeu 28 juli 2026 om 08:44
  • 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

Marktplaats

  • 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
  • 4-letter domein: Togi.nl

    evesi 17 juni 2026 om 17:08

Chat

  • binkkie
  • 24 juli 2011 om 21:23
  • binkkie
    Professional
    Ontvangen Reacties
    2
    Berichten
    762
    • 24 juli 2011 om 21:23
    • #1

    Beste CP ik heb een shoutbox gevonden voor me game nu wil ik dat als ik een bericht typ dat er niet staat naam maar de username die het typt ik dacht aan <?echo$data->login;?></a> om het opteroepen. Maar er veranderd niks hier het script waar in het moet veranderen :


    PHP
    <?
    ob_start();
    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>Bloodbullet-chat</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <script language="JavaScript">
    function addsmiley(symbol) {
      document.postshout.msg.value += symbol;
      document.postshout.msg.focus();
    }
    
    
    <!-- Begin
    function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=300,height=500');");
    }
    </script>
    <link href="default.css" rel="stylesheet" type="text/css">
    </head>
    
    
    <body class="phpshout_body">
    <form name="postshout" method="post" action="<? echo $_SERVER['PHP_SELF']; ?>">
      <table align="center" class="phpshout_table">
        <tr>
          <td class="phpshout_form"><?
    	include "config2.php";
    	include "functions2.php";
    	banned_user();
    	
    	if (isset($_POST["Submit"])) {
    		
    		// Remove any tabs
    		$_POST["?echo$data->login;?></a>"] = str_replace("\t"," ",$_POST["<?echo$data->login;?></a>"]);
    		$_POST["msg"] = str_replace("\t"," ",$_POST["msg"]);
    
    
    		// Make name and string lower case for bad language filter
    		$_POST["name"] = strtolower(stripslashes(trim(htmlspecialchars($_POST["name"]))));
    		$_POST["msg"] = strtolower(stripslashes(trim(htmlspecialchars($_POST["msg"]))));
    
    
    		if (!file_exists("messages.txt")) {
    		
    			echo "<p class=\"error\">Messages.txt doesn't exsist. Please create a file call messages.txt on your server</p>";
    		
    		} else if ($_POST <?echo$data->login;?></a> == "name" || $_POST["msg"] == "message" || $_POST["name"] == NULL || $_POST["msg"] == NULL) {
    	
    			echo "<p class=\"error\">Name & message are required fields. Please enter your name and message.</p>";
    	
    		} else {
    		
    			$filename = "messages.txt";
    			$handle = fopen($filename,"r");
    			$read = file_get_contents($filename);
    		
    			if ($read != "" || $read != NULL) {
    					
    					$array = explode("\n", $read);
    
    
    					if ($array[0] != NULL || $array[0] != "") {
    				
    					list($name, $msg, $time, $ip) = explode("\t", $array[0]);
    										
    					$ip = trim($ip);
    					
    					// Convert timestamp to unix timestamp and get current unix timestamp
    					$strtime = strtotime($time);
    					$flood_gate_time = $strtime+$floodtime;
    					$curtime = time();
    					$valid = true;
    					}
    					
    					if ($ip == $_SERVER['REMOTE_ADDR'] && $flood_gate_time > $curtime) {
    						echo "<p class=\"error\">You must wait ".$floodtime." seconds before posting again</p>";
    					} else {
    
    
    					writetofile($_POST["name"],$_POST["msg"]);
    					
    					}
    					
    			} else {
    				writetofile($_POST["name"],$_POST["msg"]);
    			}
    			
    		} // end if file exists
    		
    	} // end submit
    
    
    ?></td>
        </tr>
        <tr>
          <td class="phpshout_form"><input class="textfields" name="<?echo$data->login;?></a>" type="text" id="<?echo$data->login;?></a>" value="<? echo fillnamevalues("name","name") ?>"></td>
        </tr>
        <tr>
          <td class="phpshout_form"><input class="textfields" name="msg" type="text" id="msg" value="<? echo filltextvalues("msg","message") ?>" maxlength="<? echo $maxchars; ?>"></td>
        </tr>
        <tr>
          <td class="phpshout_form"><input class="buttons" type="submit" name="Submit" value="Send">      </td>
        </tr>
        <tr>
          <td class="phpshout_form"><a href="javascript:addsmiley(' :) ');"><img class="smilies" src="<? echo $imagepath; ?>/icon_smile.gif" width="15" height="15"></a>&nbsp;<a href="javascript:addsmiley(' :lol: ');"><img class="smilies" src="<? echo $imagepath; ?>/icon_lol.gif" width="15" height="15"></a>&nbsp;<a href="javascript:addsmiley(' :D ');"><img src="<? echo $imagepath; ?>/icon_cheesygrin.gif" width="15" height="15" border="0" class="smilies"></a> <a href="javascript:addsmiley(' :P ');"><img src="<? echo $imagepath; ?>/icon_razz.gif" width="15" height="15" border="0" class="smilies"></a>&nbsp;<a href="javascript:addsmiley(' ;) ');"><img class="smilies" src="<? echo $imagepath; ?>/icon_wink.gif" width="15" height="15"></a>&nbsp;<a href="javascript:addsmiley(' :redface: ');"><img class="smilies" src="<? echo $imagepath; ?>/icon_redface.gif" width="15" height="15"></a>&nbsp;<a href="javascript:addsmiley(' :o ');"><img class="smilies" src="<? echo $imagepath; ?>/icon_surprised.gif" width="15" height="15"></a><a href="javascript:addsmiley(' :shock: ');"> </a></td>
        </tr>
        <tr>
          <td class="phpshout_form"><a href="javascript:addsmiley(' :shock: ');"><img src="<? echo $imagepath; ?>/icon_eek.gif" width="15" height="15" border="0" class="smilies"></a>&nbsp;<a href="javascript:addsmiley(' :( ');"><img class="smilies" src="<? echo $imagepath; ?>/icon_sad.gif" width="15" height="15"></a>&nbsp;<a href="javascript:addsmiley(' :cry: ');"><img class="smilies" src="<? echo $imagepath; ?>/icon_cry.gif" width="15" height="15"></a>&nbsp;<a href="javascript:addsmiley(' :roll: ');"><img class="smilies" src="<? echo $imagepath; ?>/icon_rolleyes.gif" width="15" height="15"></a>&nbsp;<a href="javascript:addsmiley(' :x ');"><img class="smilies" src="<? echo $imagepath; ?>/icon_mad.gif" width="15" height="15"></a>&nbsp;<a href="javascript:addsmiley(' :twisted: ');"><img class="smilies" src="<? echo $imagepath; ?>/icon_twisted.gif" width="15" height="15"></a>&nbsp;<a href="javascript:addsmiley(' :evil: ');"><img class="smilies" src="<? echo $imagepath; ?>/icon_evil.gif" width="15" height="15"></a></td>
        </tr>
        <tr>
          <td class="phpshout_form"><a class="phpshout_link" href="javascript:popUp('oldmsg.php')">Archive</a><br>
          <br></td>
        </tr>
    	  	<? 
    	
    	$filename = "messages.txt";
    
    
    	if (file_exists($filename)) {
    	
    	$handle = fopen($filename, "r");
    	$read = file_get_contents($filename);
    	$array = explode("\n", $read);
    	$x=0;
    	
    	for($i=0; $i<$numofposts; $i++) {
    		
    		if ($array[$i] != NULL || $array[$i] != "") {
    			
    			list($name, $msg, $date, $ip) = explode("\t", $array[$i]);
    					
    			$date = str_replace(" ","/",$date);
    			list($year,$month,$day,$time) = explode("/", $date);
    			
    			// convert text to smilies.
    			$msg = smiles($msg);
    
    
    			// Show date, Yes or No.
    			if ($showdate == "1") {
    				$title = "title=\"Posted ".$day."/".$month."/".$year." ".$time."\"";
    			} else {
    				$title = "";
    			}
    			
    				$x++;
    				if ( $x % 2 != 0 ) {
    					echo "<tr><td ".$title." class=\"phpshout_posts\"><strong>".wordwrap($name,18,"<br>\n",1)." : </strong>".ereg_replace("([^ \/]{22})","\\1<wbr>",$msg)."</td></tr>";
    				} else {
    					echo "<tr><td ".$title." class=\"phpshout_2nd_posts\"><strong>".wordwrap($name,18,"<br>\n",1)." : </strong>".ereg_replace("([^ \/]{22})","\\1<wbr>",$msg)."</td></tr>";
    				} 	
    						
    		} else {
    		
    		break;
    		
    		}
    	}
    	
    	fclose($handle);
    	
    	}
    	
    ?>
      </table>
    </form>
    </body>
    </html>
    <?
    ob_end_flush();
    ?>
    Toon Meer
  • Guest, wil je besparen op je domeinnamen? (ad)
  • gofie
    Professional
    Ontvangen Reacties
    2
    Berichten
    576
    • 24 juli 2011 om 21:29
    • #2

    je kan ook de shoutbox pakken van encoder alleen even aanpassen naar jou site

    Mvg Christoffer


    Bezig met me 3 sites.
    Zit meer tijd in dan ik had gedacht.
    ;):cheer:(c)(c)

  • binkkie
    Professional
    Ontvangen Reacties
    2
    Berichten
    762
    • 24 juli 2011 om 21:33
    • #3

    Link ?

  • gofie
    Professional
    Ontvangen Reacties
    2
    Berichten
    576
    • 24 juli 2011 om 21:36
    • #4

    Staat wel onder source hier bij downloads

    Mvg Christoffer


    Bezig met me 3 sites.
    Zit meer tijd in dan ik had gedacht.
    ;):cheer:(c)(c)

  • binkkie
    Professional
    Ontvangen Reacties
    2
    Berichten
    762
    • 24 juli 2011 om 21:45
    • #5

    Ikweet niet welk script je bedoelt hoor ^o)

  • Sourceshop
    Alles wat u wenst op sour
    Berichten
    780
    • 24 juli 2011 om 21:50
    • #6

    the enforcer bedoeld u toch?:


    http://www.criminalspoint.com/db/download/62…2-unbugged.html

    http://www.criminalspoint.com/db/download/484/The-Enforcer.html

    Alles wat u wenst op Sourceshop.nl
    Voor uw Banditi :!:
    Voor me mobile website Alles wat u wenst!

  • gofie
    Professional
    Ontvangen Reacties
    2
    Berichten
    576
    • 24 juli 2011 om 21:53
    • #7

    Jep die

    Mvg Christoffer


    Bezig met me 3 sites.
    Zit meer tijd in dan ik had gedacht.
    ;):cheer:(c)(c)

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

Gebruikers die dit topic bekijken

  • 1 Gasten
  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