• 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

  • Na 15 jaar terug van weggeweest: iCriminals.nl is terug (BETA)!

    Syntax 19 januari 2026 om 09:34
  • Developer Gezocht

    Mikevdk 10 januari 2026 om 18:57
  • Op zoek naar de legends

    Syntax 5 januari 2026 om 13:50
  • [FREE] WeFact Hosting module

    Jeroen.G 13 oktober 2025 om 14:09
  • Help testers nodig voor android app Urgent

    urgentotservices 26 september 2025 om 10:21
  • Versio vervanger

    Jeroen.G 25 augustus 2025 om 15:56
  • Afspraken systeem met planbeperking

    Lijno 1 augustus 2025 om 23:04
  • Partner Gezocht om meerdere NFT Collecties op Open Sea te Plaatsen

    NFT Art Designer 1 maart 2025 om 14:08

Marktplaats

  • Verschillende domeinnamen los te koop

    zwpgangster 12 februari 2026 om 16:05
  • Verschillende domeinen

    Syntax 8 februari 2026 om 09:57
  • 350 Nieuwe Domeinnamen Januari 2026

    shiga 1 februari 2026 om 14:21

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

  • Fijne feestdagen

    tcbhome 28 december 2025 om 13:55
  • Kritieke update voor Really Simple Security-plug-in

    K.Rens 16 november 2024 om 16:12
  • ING Nederland streeft naar ondersteuning van Google Pay tegen eind februari

    K.Rens 2 november 2024 om 16:09

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