• Login
  • Register
  • Zoek
Everywhere
  • Everywhere
  • 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. Leden
  3. Toontjuhh

Forum

  • Ictscripters Chat

    Servertjee 21 februari 2026 om 19:29
  • Help testers nodig voor android app Urgent

    Servertjee 20 februari 2026 om 12:07
  • Partner Gezocht om meerdere NFT Collecties op Open Sea te Plaatsen

    Servertjee 20 februari 2026 om 12:06
  • Afspraken systeem met planbeperking

    Jeffrey.Hoekman 20 februari 2026 om 11:52
  • Developer Gezocht

    Servertjee 19 februari 2026 om 17:31
  • Na 15 jaar terug van weggeweest: iCriminals.nl is terug (BETA)!

    Servertjee 18 februari 2026 om 16: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

Marktplaats

  • Meerdere mafia game template te koop

    Syntax 16 februari 2026 om 13:34
  • Verschillende domeinnamen los te koop

    zwpgangster 12 februari 2026 om 16:05
  • Verschillende domeinen

    Syntax 8 februari 2026 om 09:57

Posts by Toontjuhh

  • PlaneMania

    • Toontjuhh
    • 17 juni 2010 om 16:48

    Ik wilde een beetje kijken naar de ''betere designers'', vandaar ;)

  • Nieuwe site!

    • Toontjuhh
    • 17 juni 2010 om 16:47

    Ik kan het niet super goed, maar kan het wel een beetje ;)
    neem voor verdere info maar contact op via PB ;)

  • PlaneMania

    • Toontjuhh
    • 17 juni 2010 om 16:39

    Pluspunten: De kleuren
    Minpunten: Te weinig opvulling
    Tips: De opvulling mag beter ;)
    Wat kan ik toevoegen: Misschien wat kolommen ofzo
    Wat moet ik weghalen:Niets, dan word het nog kaler ;)

  • Scripter gezocht?

    • Toontjuhh
    • 17 juni 2010 om 16:30

    [offtopic]Moet dit in het check forum..?[/offtopic]

  • Layout check

    • Toontjuhh
    • 17 juni 2010 om 16:29

    Pluspunten: Goede indeling, mooi kleurgebruik
    Minpunten: Zoals de rest zegt; de header is net iets te hoog.
    Opmerkingen: Hierboven al gegeven ;)
    Evt waarde incl slicing: Ik zeg ongeveer 20-25 euro ;)

  • Layout: Portfolio

    • Toontjuhh
    • 17 juni 2010 om 15:54

    Cijfer 1/10: 5
    Plus punten: Kleuren combinaties
    Min punten: Ik vind het net iets te leeg
    Wat kan er beter: Meer opvulling (is puur persoonlijk!)
    Evt. waarde: ?3,- .PSD

  • Ingame lay-out

    • Toontjuhh
    • 16 juni 2010 om 17:06

    Hallo Cp'ers.

    Hier ben ik weer, met een nieuwe creatie van mij.

    Dit is inmiddels mijn 4e lay-out, graag jullie mening.

    Persoonlijk vind ik deze de mooiste:$

    Hier is ie:

    http://i625.photobucket.com/albums/tt335/toontjuhh/Ingame.jpg

    Graag zo raten:
    Cijfer 1/10:
    Plus punten:
    Min punten:
    Wat kan er beter:
    Evt. waarde:

    Alvast bedankt!

    Gegroet,
    Toon

  • Ingame

    • Toontjuhh
    • 15 juni 2010 om 19:15

    Ja, dat was inderdaad het eerste waar ik aan dacht; let op die effecten.. :P
    Maar bedankt ;)

  • Ingame

    • Toontjuhh
    • 15 juni 2010 om 19:08

    Ja, ik heb nu ook door dat die tekst nogal groot is..:P
    Toch bedankt! ;)

  • Ingame

    • Toontjuhh
    • 15 juni 2010 om 19:00

    Hallo cp'ers.

    Hier mijn 3e lay-out, ditmaal een ingame.
    Ik weet ook wel dat ik geen prof ben, maar zodoende leert men zeggen ze wel eens.. :P

    Nouja, hier mijn ingame lay-out:


    Graag zo raten:
    Cijfer 1/10:
    Plus punten:
    Min punten:
    Wat kan er beter:
    Evt. waarde:

    alvast bedankt!

    Gegroet,
    Toon

  • Outgame

    • Toontjuhh
    • 14 juni 2010 om 17:13

    Hallo CP'ers.

    Gisteren had ik een WK lay-out gemaakt, maar de beoordelingen waren niet al te best, maar ik kreeg wel wat tips.
    Deze tips heb ik meegenomen, en in mijn volgende lay-out verwerkt.

    Hier is mijn 2e lay-out:

    voor de klikkers:
    http://i625.photobucket.com/albums/tt335/t…h/Outgame-1.jpg


    Aub zo raten:
    Cijfer 1/10:
    plus punten:
    min punten:
    wat kan er beter:
    evt. waarde:

    Alvast bedankt!

    Gegroet,
    Toon

  • Wk Lay-out

    • Toontjuhh
    • 13 juni 2010 om 12:34

    W0utR, hou je commentaar lekker voor je ;)
    Zoals Nillas zegt is iedereen ergens begonnen, en qua lay outs is dat bij mij hier..

    Dus laat je commentaar maar lekker bij je;)

  • Wk Lay-out

    • Toontjuhh
    • 13 juni 2010 om 12:26

    Oeh, das iets minder.. :$
    Naja, toch bedankt ;)

  • Wk Lay-out

    • Toontjuhh
    • 13 juni 2010 om 12:21

    Hallo scripters.

    Ik had niks te doen, en dacht; laat ik photoshop nog maar een keer opstarten.. :P

    Toen ik hem had opgestart, begon probleem 1; een tekort aan inspiratie..:$, dus toen dacht ik maar aan iets van dit moment, wat dus is uitgelopen op een lay-out voor het WK-voetbal.
    (hier is ie)

    http://i625.photobucket.com/albums/tt335/toontjuhh/WK2010.jpg
    Het heeft niet echt veel nut ofzo, maar ik zou graag willen weten wat jullie hiervan vinden, met deze rate:
    Cijfer 1/10:
    Plus punten
    Min punten
    Wat kan er beter/ anders:
    Evt. waarde:

    Alvast bedankt ;)

    Gegroet,
    Toon

  • MijnDealer.com

    • Toontjuhh
    • 31 mei 2010 om 16:53

    Ziet er zo al veel beter uit ;)

  • Layout in ruil

    • Toontjuhh
    • 30 mei 2010 om 20:15

    Oh, oke..
    Bedankt ;)

    Nouja, dan kan hier in ieder geval een slotje op..8-|

  • MijnDealer.com

    • Toontjuhh
    • 30 mei 2010 om 20:14

    Of misschien tussen:
    Volledig gratis goede uitbetaling snelle en goede support
    verticale strepen tussen zet, dus zo:
    Volledig gratis | goede uitbetaling | snelle en goede support

    En dan misschien tussen:
    Online again

    Updates

    Top 5 vernieuwd,
    horizontale strepen ertussen, dus zo:
    Online again
    ________________
    Updates
    ________________
    Top 5 vernieuwd

    Het is maar een voorstel he ;)

  • Layout in ruil

    • Toontjuhh
    • 30 mei 2010 om 20:11

    Heb je nog steeds een lay-out nodig..?

  • MijnDealer.com

    • Toontjuhh
    • 30 mei 2010 om 20:00

    Wat is goed? De achtergrond kleur
    Wat kan beter? Je kan de lay-out meer opvullen ;)

  • Icoon verslepen lukt niet

    • Toontjuhh
    • 30 mei 2010 om 19:50
    PHP
    <?php
    // Verander hieronder alleen dingen waarvan je zelf verstand hebt.
    // Als je de database velden niet hebt veranderd hoeft er niks veranderd te worden.
    $siteurl = 'http://www.crimediti.v3host.be/v3'; // Je website link ZONDER backslash (/) op het eind, met v3/ en met http:// en eventueel www.
    $stukprijs = 0.039; // De prijs per credit. (in hele euro's. dus 0.01 is 1 cent!)
    $begin = 25; // Minimaal te kopen credit(s).
    $eind = 1000; // Maximaal te kopen credits.
    $stap = 25; // De stapgrootte voor de slider
    $mid = 369215; // Mollie partner id.
    // Eind gegevens
    
    
    // Begin mollie Wallie base source
    /**
     * Mollie Wallie API
     *
     * For Mollie B.V.
     * More information? Go to www.mollie.nl
     *
     * LICENSE
     *
     * You can use this code freely, if you don't change this comment.
     * Do you make any changes, please provide them back to help us all
     *
     * @category   Mollie
     * @package    Mollie_Wallie
     * @copyright  (c) 2009 Mollie B.V.
     * @author     René Feiner
     * @link       http://www.mollie.nl/
     * @version 1.1
     */
    
    
    class Mollie_Wallie 
    {
    	private $partnerId        = 369215;
    	private $transactionId    = 0;
    	private $amount           = 0;
    	private $reportUrl        = '';
    	private $returnUrl        = '';
    	private $language         = 'NL';     // Default: Dutch (NL)
    	private $currency         = 'EUR';    // Default: Euro
    	private $wallieUrl        = '';
    	private $payed            = false;
    	private $statusMessage    = '';
    
    
    	protected $_errorMessage = '';
    	protected $_errorCode = 0;
    
    
    	/**
    	* Constructor
    	*
    	* @param integer $partnerId
    	*/
    	function __construct($partnerId) 
    	{
    		$this->setPartnerID($partnerId);
    	}
    
    
    	/**
    	* Prepare a Payment
    	*
    	* @param integer $amount
    	* @param string $reportUrl
    	* @param string $returnUrl
    	* @return boolean True on succes, false otherwise
    	*/
    	public function createPayment($amount, $reportUrl, $returnUrl) 
    	{
        
    		if (!$this->setAmount($amount)
    			|| !$this->setReportUrl($reportUrl)
    			|| !$this->setReturnUrl($returnUrl)) 
    		{
    			$this->_errorMessage = "The given arguments are incorrect or incomplete.";
    			return false;
    		}
    
    
    		$result = $this->sendToHost('www.mollie.nl', '/xml/wallie/',
    									'a=fetch' .
    									'&partnerid=' . urlencode($this->getPartnerId()) .
    									'&amount=' .    urlencode($this->getAmount()) .
    									'&reporturl=' . urlencode($this->getReportUrl()) .
    									'&returnurl=' . urlencode($this->getReturnUrl()) .
    									'&language=' .  urlencode($this->getLanguage())
    		);
    		
    		if (empty($result)) 
    		{
    			return false;
    		}
    
    
    		list($headers, $xml) = preg_split("/(\r?\n){2}/", $result, 2);
    
    
    		try {
    			$data = $this->_XMLtoObject($xml);
    
    
    			if ($data == false || $this->_XMLisError($data)) {
    				return false;
    			}
    
    
    			$data          = $data->order;
    			$transactionId = (int) $data->transaction_id;
    			$amount        = (int) $data->amount;
    			$currency      = (string) $data->currency;
    			$wallieUrl     = html_entity_decode((string) $data->URL);
    			$status        = (string) $data->message;
    
    
    			if (!$this->setTransactionId($transactionId)
    					|| !$this->setAmount($amount)
    					|| !$this->setCurrency($currency)
    					|| !$this->setWallieUrl($wallieUrl)
    					|| !$this->setStatus($status)) {
    				return false;
    			}
    		}
    		catch (Exception $e)
    		{
    			return false;
    		}
    
    
    		return true;
    	}
    
    
    	/**
    	* Check if the payment was succesfull
    	*
    	* @param integer $transactionId
    	* @param integer $amount
    	* @return boolean True on succes, false otherwise
    	*/
    	public function checkPayment($transactionId, $amount) 
    	{
    		// set transaction id & amount
    		if (!$this->setTransactionId($transactionId)
    		    || !$this->setAmount($amount)) 
    		{
    			$this->_errorMessage = "The given transactionID and/or amount is incorrect.";
    			return false;
    		}
    
    
    		// check a payment with mollie
    		$result = $this->sendToHost('www.mollie.nl', '/xml/wallie/',
    									'a=check' .
    									'&partnerid=' .      urlencode($this->getPartnerId()).
    									'&transaction_id=' . urlencode($this->getTransactionId()).
    									'&amount='.          urlencode($this->getAmount()));
    		if (empty($result)) 
    		{
    			return false;
    		}
    
    
    		list($headers, $xml) = preg_split("/(\r?\n){2}/", $result, 2);
    
    
    		try 
    		{
    			$data = $this->_XMLtoObject($xml);
    
    
    			if ($data == false ) 
    			{
    				return false;
    			}
    
    
    			$data     = $data->order;
    			$payed    = ($data->payed == 'true');
    			$amount   = (int) $data->amount;
    			$status   = (string) $data->message;
    
    
    			if (!$this->setPayed($payed)
    				|| !$this->setAmount($amount)
    				|| !$this->setStatus($status)) 
    			{
    				return false;
    			}
    		} 
    		catch (Exception $e) 
    		{
    			return false;
    		}
    		
    		return true;
    	}
    
    
    	protected function _XMLtoObject ($xml) 
    	{
    		try 
    		{
    			$xml_object = new SimpleXMLElement($xml);
    			if ($xml_object == false) {
    				$this->error_message = "Kon XML resultaat niet verwerken";
    				return false;
    			}
    		}
    		catch (Exception $e) 
    		{
    			return false;
    		}
    
    
    		return $xml_object;
    	}
    	
    	protected function _XMLisError($xml)
    	{
    		if (isset($xml->item))
    		{
    			$attributes = $xml->item->attributes();
    			if ($attributes['type'] == 'error')
    			{
    				$this->_errorMessage = (string) $xml->item->message;
    				$this->_errorCode    = (string) $xml->item->errorcode;
    			
    				return true;
    			}
    		}
    		
    		return false;
    	}
    
    
    	/**
    	* Send data to given host
    	*
    	* @param string $host Full webhost Url (like 'www.mollie.nl')
    	* @param string $path Path of script
    	* @param string $data Data to send
    	* @return string
    	*/
    	protected function sendToHost($host, $path, $data) 
    	{
    		// posts data to server
    		$fp = @fsockopen($host, 80);
    		$buf = '';
    		if ($fp) 
    		{
    			@fputs($fp, "POST $path HTTP/1.0\n");
    			@fputs($fp, "Host: $host\n");
    			@fputs($fp, "Content-type: application/x-www-form-urlencoded\n");
    			@fputs($fp, "Content-length: " . strlen($data) . "\n");
    			@fputs($fp, "Connection: close\n\n");
    			@fputs($fp, $data);
    			
    			while (!feof($fp)) 
    			{
    				$buf .= fgets($fp, 128);
    			}
    		
    			fclose($fp);		
    		}
    		
    		return $buf;
    	}
    
    
     	/**
    	* Set the Partner Id
    	*
    	* @param integer $partnerId
    	* @return boolean
    	*/
    	protected function setPartnerId($partnerId) 
    	{
    		if (!is_numeric($partnerId)) 
    		{
    			return false;
    		}
    		
    		$this->partnerId = $partnerId;
    		return true;
    	}
    
    
    	/**
    	* Get the Partner Id
    	*
    	* @return integer
    	*/
    	
    	protected function getPartnerId() 
    	{
    		return $this->partnerId;
    	}
    
    
    	/**
    	 * Set transaction amount (price) in cents
    	 *
    	 * @param integer $amount Minimum amount is the cost of a transaction!
    	 * @return boolean
    	 */
    	protected function setAmount($amount) 
    	{	
    		if (!is_numeric($amount)) 
    		{
    			return false;
    		}
    		
    		$this->amount = $amount;
    		return true;
    	}
    
    
    	/**
    	* Get the Amount (price) in cents
    	*
    	* @return integer
    	*/
    	public function getAmount() 
    	{
    		return $this->amount;
    	}
    
    
    	/**
    	 * Set Currency
    	 *
    	 * @param string $currency
    	 * @return boolean
    	 */
    	protected function setCurrency($currency) 
    	{
    		if (empty($currency)) 
    		{
    			return false;
    		}
    		
    		$this->currency = $currency;
    		return true;
    	}
    
    
    	/**
    	 * Get the Currency
    	 *
    	 * @return string
    	 */
    	protected function getCurrency() 
    	{
    		return $this->currency;
    	}
    
    
    	/**
         * Set the Language
         *
         * @param integer $language
         * @return boolean
         */
    	protected function setLanguage($language) 
    	{
    		if (empty($language)) 
    		{
    			return false;
    		}
    		
    		$this->language = $language;
    		return true;
    	}
    
    
    	/**
    	 * Get the Language
    	 *
    	 * @return integer
    	 */
    	protected function getLanguage() 
    	{
    		return $this->language;
    	}
    
    
    	/**
    	 * Set the Url where Mollie reports to if the status of one of our
    	 * payments changes
    	 *
    	 * Mollie adds the 'transaction_id' to this url
    	 *
    	 * @param string $reportUrl
    	 * @return boolean
    	 */
    	protected function setReportUrl($reportUrl) 
    	{
    	
    		if (!preg_match('|(\w+)://([^/:]+)(:\d+)?/(.*)|', $reportUrl)) 
    		{
    			return false;
    		}
    
    
    		$this->reportUrl = $reportUrl;
    		return true;
    	}
    
    
    	/**
    	 * Get the Report Url
    	 *
    	 * @return string
    	 */
    	protected function getReportUrl() 
    	{
    		return $this->reportUrl;
    	}
    
    
    	/**
    	 * Set the Url where Mollie returns to when the payment is done
    	 *
    	 * Mollie add the 'transaction_id' to this url
    	 *
    	 * @param string $returnUrl
    	 * @return boolean
    	 */
    	protected function setReturnUrl($returnUrl) 
    	{
    		if (!preg_match('|(\w+)://([^/:]+)(:\d+)?/(.*)|', $returnUrl)) 
    		{
    			return false;
    		}
    		
    		$this->returnUrl = $returnUrl;
    		return true;
    	}
    
    
    	/**
    	 * Get the Return Url
    	 *
    	 * @return string
    	 */
    	protected function getReturnUrl() 
    	{
    		return $this->returnUrl;
    	}
    
    
    	/**
    	 * Set Payed status
    	 *
    	 * @param boolean $payed
    	 * @return boolean
    	 */
    	protected function setPayed($payed)
    	{
    		if ($payed === false) 
    		{
    			$this->payed = false;
    			return false;
    		}
    		
    		$this->payed = true;
    		return true;
    	}
    
    
    	/**
         * Get the payed status
         *
         * @return boolean
         */
    	protected function getPayed() 
    	{
    		return $this->payed;
    	}
    
    
    	/**
    	 * Set Status message
    	 *
    	 * @param string $status
    	 * @return boolean
    	 */
    	protected function setStatus($status)
    	{
    		if (empty($status)) 
    		{
    			return false;
    		}
    		
    		$this->statusMessage = $status;
    		return true;
    	}
    
    
    	/**
    	 * Get the Status message
    	 *
    	 * @return string
    	 */
    	public function getStatus() 
    	{
    		return $this->statusMessage;
    	}
    
    
    	/**
    	 * Set the Transaction Id
    	 *
    	 * @param integer $transactionId
    	 * @return boolean
    	 */
    	protected function setTransactionId($transactionId) 
    	{
    		if (empty($transactionId)) 
    		{
    			return false;
    		}
    		
    		$this->transactionId = $transactionId;
    		return true;
    	}
    
    
    	/**
         * Get the Transaction Id
         *
         * @return integer
         */
    	public function getTransactionId() 
    	{
    		return $this->transactionId;
    	}
    
    
    	/**
    	 * Get the URL of the Walliepaymentscreen
    	 *
    	 * @return null|string Bank URL when exists, else null
    	 */
    	public function getWallieUrl() 
    	{
    		if (is_null($this->wallieUrl)) 
    		{
    			return null;
    		}
    		
    		return $this->wallieUrl;
    	}
    
    
    	/**
    	* Set the URL of the Walliepaymentscreen
    	*
    	* @param string $bankUrl
    	* @return boolean
    	*/
    	protected function setWallieUrl($wallieUrl) 
    	{	
    		if (!preg_match('|(\w+)://([^/:]+)(:\d+)?/(.*)|', $wallieUrl)) 
    		{
    			return false;
    		}
    		
    		$this->wallieUrl = $wallieUrl;
    		return true;
    	}
    
    
    	public function getErrorMessage()
    	{
    		return $this->_errorMessage;
    	}
    	
    	public function getErrorCode()
    	{
    		return $this->_errorCode;
    	}  
    }
    // End mollie wallie source
    
    
    // Begin script voor banditi
    
    
    
    
    $molliePartnerID = $mid;
    
    
    // Get an instance of the Mollie_Wallie class
    $wallie = new Mollie_Wallie($molliePartnerID);
    
    
    if (!isset($_GET['transaction_id']) and !isset($_GET['amount'])) {
    if(isset($_POST['amount'])){
    
    
      // Create the payment, true on succes, false otherwise
      // $amount = the total money amount that the user has to pay (in cents!)
      // $siteReportUrl = the url where Mollie reports to when the payment is complete.
      //                  Mollie will add payment_type=wallie&transaction_id=<transactionId>&amount=<amount> to this url!
      // $siteReturnUrl = the url where Mollie returns to when the payment is complete.
      //                  Mollie will add transaction_id=<transactionId>&amount=<amount> to this url!
    
    
      $amount        = number_format($_POST['credits']*$stukprijs,2,'','');
      $amount2        = number_format($_POST['credits']*$stukprijs,2,',','.');
      $siteReportUrl = $siteurl.'/index.php?a=wallie';
      $siteReturnUrl = $siteurl.'/index.php?a=wallie';
      
      if ($wallie->createPayment($amount, $siteReportUrl, $siteReturnUrl)) {
      mysql_query("DELETE FROM walliepayments WHERE username='".$data->login."'");
      mysql_query("INSERT INTO walliepayments (username, credits, ontvangen, trxid, datum, pmstatus) VALUES ('".$data->login."', '".$_POST['credits']."', '0', '".$wallie->getTransactionId()."', '".date("m")."', '0')");
    ?>
    				<table border="0px" cellpadding="0px" cellspacing="0px" width="600px" bgcolor="#e5dfd3" style="margin-top:0px;">
    										<tr>
    						<td width="600px" colspan="2">
    							<div id="alerter" style="width:600px; height: 65px; background:url(images/alert_balloon.jpg) no-repeat; margin-top:10px;">
    								<div id="text_nl" style="position:absolute; height:65px; margin-left:35px; margin-top: 8px; line-height:135%; font-size:14px;">
    							Om spullen uit de callshop te kopen heb je callcredits nodig.<br>
    							Je kunt op de volgende manier <b><?php echo $_POST['credits']; ?> callcredits</b> krijgen.
    								</div>
    							</div>
    						</td>
    					</tr>
    										<tr>
    						<td colspan="2">
    <table width="100%">
    <tr>
    <td width="75%">
    <iframe src="<?php echo $wallie->getWallieUrl(); ?>" width="350px" height="195px" frameborder="0"></iframe>
    </td>
    <td width="25%">
    <embed src="flash/gratis_callcredits.swf?callcredits=<?php echo $_POST['credits']; ?>+callcredits&amp;prijs=[#EURO]%20<?php echo $amount2; ?>&amp;top=normal&amp;bottom=normal&amp;gratisbedrag=20" allowscriptaccess="always" wmode="transparent" allowfullscreen="true" width="160" height="175">
    </td>
    </tr>
    </table>
    </div>
    </td>
    </tr>
    </table>
    <?php
      }
      else {
        // show message that the payment could not be created
        // the function $wallie->getStatus() returns the status
        // message that Mollie returns
      }
    } else{
    ?>
    <script>
    window.dhx_globalImgPath = "<?php echo $siteurl; ?>/codebase/imgs/";
    </script>
    <script  src="<?php echo $siteurl; ?>/codebase/dhtmlxcommon.js"></script>
    <script  src="<?php echo $siteurl; ?>/codebase/dhtmlxslider.js"></script>
    <script  src="<?php echo $siteurl; ?>/codebase/ext/dhtmlxslider_start.js"></script>
    <link rel="STYLESHEET" type="text/css" href="<?php echo $siteurl; ?>/codebase/dhtmlxslider.css">  
        <script language="javascript"> 
    
    
    		function doe2(pos, slider)  
    		{
    		var cc = pos * <?php echo $stukprijs; ?>;
    		var cred = Math.round(cc * 100) / 100;
    		document.getElementById("a10").value = cred;
    		}
            function berekenamount(pos, slider)  
            {
            var cc = pos * <?php echo $stukprijs; ?>; 
    		var cred = cc.toFixed(2);
    		document.getElementById("mod_wallie_1").innerHTML = cred;
    		document.getElementById("mod_wallie_3").innerHTML = pos;
    		document.getElementById("mod_wallie_4").innerHTML = pos;
    		document.getElementById("mod_wallie_5").innerHTML = pos;
    		document.getElementById("a20").value = pos;
    		var credits = pos, prijs = cred; 
    		document.getElementById("mfla").src = 'flash/gratis_callcredits.swf?callcredits=' + pos + '+callcredits&prijs=[#EURO]%' + cred + '&top=normal&bottom=normal&gratisbedrag=20';
            }
        </script>
    				<table border="0px" cellpadding="0px" cellspacing="0px" width="600px" bgcolor="#e5dfd3" style="margin-top:0px;">
    										<tr>
    						<td width="600px" colspan="2">
    							<div id="alerter" style="width:600px; height: 65px; background:url(images/alert_balloon.jpg) no-repeat; margin-top:10px;">
    								<div id="text_nl" style="position:absolute; height:65px; margin-left:35px; margin-top: 8px; line-height:135%; font-size:14px;">
    									Om spullen uit de callshop te kopen heb je callcredits nodig.<br>
    									Je kunt op de volgende manier <b><span id="mod_wallie_3"><?php echo $begin; ?></span> callcredits</b> krijgen:
    								</div>
    							</div>
    						</td>
    					</tr>
    										<tr>
    						<td colspan="2">
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<u><b><font color="#442C14" size="2">Hoeveel callcredits wil je kopen?</font></b></u>
    <table width="100%">
    <tr>
    <td width="75%">
    <form method="post" name="form">
    <div align="center">
    <input type="hidden" id="a10" value="20" name="amount">
    <input type="hidden" id="a20" value="20" name="credits">
    <font color="#442C14" size="2">Aantal callcredits:</font>
    <script>
    		var slider1 = new dhtmlxSlider(null, 250, "callshop", false, <?php echo $begin; ?>, <?php echo $eind; ?>, 20, <?php echo $stap; ?>);
    		slider1.attachEvent("onChange", berekenamount);
    		slider1.attachEvent("onChange", doe2);
    		slider1.linkTo('a20');
    		slider1.init();
    </script>
    <i><font color="#442C14" size="2">Versleep het icoon om nog meer callcredits te kopen.</font></i><br /><br /><br />
    <font color="#442C14" size="2">Ik wil <b><span id="mod_wallie_4"><?php echo $begin; ?></span> callcredits</b> voor <b>&euro;<span id="mod_wallie_1"><?php echo number_format($stukprijs*$begin,2,'.','.'); ?></span></b> via <u>Wallie</u> kopen.</font><br />
    </div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" name="submit" value="Start Wallie" onclick="javascript:handleTabs('wallie');">
    
    
    </td>
    </form>
    <td width="25%">
    <embed id='mfla' src='flash/gratis_callcredits.swf?callcredits=<?php echo $stukprijs; ?> euro &prijs=per callcredit&top=normal&bottom=normal&gratisbedrag=20' allowscriptaccess='always' wmode='transparent' allowfullscreen='true' width='160' height='175'>
    
    
    </td>
    </tr>
    </table>
    </div>
    </td>
    </tr>
    </table>
    <?php
    }
    } else if (isset($_GET['payment_type']) and $_GET['payment_type'] == 'wallie' and isset($_GET['transaction_id']) and isset($_GET['amount'])) {
      // Check if payment is OK.
      $checkPayment = $wallie->checkPayment($_GET['transaction_id'], $_GET['amount']);
      // Mollie makes sure a transaction can only
      // be used one time!
      
      if ($checkPayment == true) {
        // Get the amount of money the user has payed
        $paymentAmount = $wallie->getAmount();
        // Set in your database the paymentstatus to OK.
        mysql_query("UPDATE walliepayments SET pmstatus='1' WHERE username='".$data->login."'");
      }  
      else {
        // Payment failed
      }
    } else {
        $rees = mysql_query("SELECT credits FROM walliepayments WHERE username='".$data->login."'");
        $sel = mysql_fetch_array($rees);
        $query = mysql_query("UPDATE users SET callcredits=callcredits+'".$sel['credits']."' WHERE login='".$data->login."'");
    if($query){
    ?>
    	<div class="title_bg">
    			<div class="title">Koop <?php echo $sel['credits']; ?> credits met Wallie</div>
    		</div>
    
    
    		<div style="background-color:#E5DFD3; padding:10px; padding-top:4px;">
    <?php
        mysql_query("UPDATE walliepayments SET ontvangen='1' WHERE username='".$data->login."'");
      // Check in your database if the customer has payed using $_GET['transaction_id'] parameter
      // and show customer a 'thank you'-page or a 'your order will be processed'-page.
     
     echo '<b>De betaling is met succes verwerkt.<br />Er zijn zojuist <u>'.$sel['credits'].' callcredits</u> op jouw account bijgeschreven.<br />Veel succes ermee!</b>';
    ?>
    </div>
    <?php
    } else{
    echo '<font color="red"><b>De callcredits zijn <u>niet</u> bijgeschreven.<br />Stuur a.u.b. een mailtje naar [email protected] met hierin je gebruikersnaam.<br />Wij checken dan de status van jouw betaling.</b>';
    }
    }
    ?>
    Toon Meer

    Alstu:cheer:

ICT Nieuws

  • Tech Trends 2026: AI, Cloud en Cybersecurity

    K.Rens 20 februari 2026 om 21:47
  • AI-vraag zet ook opslagmarkt onder druk: harde schijven dreigen schaarser te worden

    K.Rens 20 februari 2026 om 21:01
  • Fijne feestdagen

    tcbhome 28 december 2025 om 13:55

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