• Inloggen
  • Registreer
  • Zoeken
Dit topic
  • Overal
  • Dit topic
  • Dit forum
  • Artikelen
  • Pagina's
  • Forum
  • Downloads
  • Meer opties

ICTscripters

Dé plek voor IT

Dé plek voor IT

Aanmelden

Geavanceerde opties
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
    3. Onopgeloste topics
  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
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
    3. Onopgeloste topics
  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
  1. Home
  2. Forum
    1. Alle berichten
    2. Recente activiteiten
    3. Onopgeloste topics
  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
  1. Dé plek voor IT - ICTscripters
  2. Forum
  3. Scripting & programmeren
  4. PHP + SQL

Forum

  • 🚀 WE ZOEKEN TESTERS! 🚀

    Syntax 2 oktober 2026 om 11:22
  • Port Father: beta van een browsergame in Antwerpen 1931, feedback welkom

    Syntax 1 oktober 2026 om 11:11
  • Luchtvaartsoftware: Hoe technologie de moderne luchtvaart verandert

    saggy2829 30 september 2026 om 19:31
  • Hoe gebruiken jullie WhatsApp voor marketing en klantopvolging?

    aiqanobzfsej5 29 september 2026 om 12:55
  • [PROJECT] Gamekeuring.nl - Hét onafhankelijke keuringsplatform voor maffiagames & RPG's!

    frio 22 september 2026 om 16:40
  • Ictscripters / Koen

    Aaron 22 september 2026 om 15:07
  • Kweekrijk - van stekje tot Imperium

    Lijno 14 september 2026 om 23:00
  • Crimora.nl

    Jeffrey.Hoekman 8 september 2026 om 18:49

Marktplaats

  • Verschillende domeinen te koop (sommige hebben website / content)

    frio 2 oktober 2026 om 14:45
  • 295 Nieuwe Domeinnamen September 2026

    shiga 1 oktober 2026 om 19:09
  • Straatbaas.eu – complete Nederlandstalige en Engelstalige online maffia-RPG

    Jeroen.G 1 oktober 2026 om 17:48

Fout op lijn 262

  • erduran
  • 5 juni 2011 om 17:28
  • erduran
    Beginner
    Berichten
    13
    • 5 juni 2011 om 17:28
    • #1

    Dames en Heren,

    Ik heb eindelijk me site online kunnen krijgen met behulp van Killingdevil. Alleen stuit ik nu tijdens het inloggen op een fout aan. Hij weergeeft een fout op lijn 262, waar zal dat aan liggen? Zou iemand me daarbij willen helpen aub!

    http://www.chilplek.nl

    PHP
    <?php
    Class Controller_members Extends Controller_Base {
    	private function _berichten ($cPagina, $sBlock, $sBlockIn, $sDoorstuur, $sPaginaID = NULL) {
    		/* Om te voorkomen dat onderstaande code meerdere malen in de controller zou komen te staan deze function gemaakt */
    		$aBerichten = $this->r['sql']->query ("SELECT COUNT(pid) FROM berichten WHERE profile_id = '".$this->r['key']."' AND pagina = '".$cPagina."' ".(isset ($cPagina) && $cPagina != 'profiel' ? "AND pagina_id = '".$sPaginaID."'" : ''));
    
    
    		if(isset($this->r['key2']) && ctype_digit ($this->r['key2'])) $sPagina = mysql_real_escape_string ($this->r['key2']);
    		else $sPagina = 1; 
    	
    		$this->r['navigation']->set ($sPagina, $this->r['cfg']->aantal_krabbels, $this->r['sql']->rows ($aBerichten, 'result'), $sDoorstuur);
    
    
    		$sBerichten = $this->r['sql']->query ("SELECT b.*, p.gebruikersnaam, p.profielfoto FROM berichten b INNER JOIN ##profielen p ON(p.pid = b.uid) WHERE b.profile_id = '".$this->r['key']."' AND b.pagina = '".$cPagina."'  ".(isset ($cPagina) && $cPagina != 'profiel' ? "AND b.pagina_id = '".$sPaginaID."'" : '')." ORDER BY datum DESC LIMIT ".$this->r['navigation']->Make_Beginning_Point ().", ".$this->r['cfg']->aantal_krabbels);
    		if($this->r['sql']->rows ($sBerichten)) {	
    
    
    			while ($fBerichten = $this->r['sql']->fetch ($sBerichten)) {
    				$this->r['tpl']->assign ($sBlock."_R", "sPid", $fBerichten['pid']);
    				$this->r['tpl']->assign ($sBlock."_R", "sProfielfoto", (isset ($fBerichten['profielfoto']) && !empty ($fBerichten['profielfoto']) ? '<a href="'.$this->r['cfg']->adres_met.'/members/profile/'.$this->r['functions']->strip ($fBerichten['uid']).'"><img src="'.$this->r['cfg']->adres.'/upload/profielfotos/'.$this->r['functions']->strip ($fBerichten['uid']).'/'.$this->r['functions']->strip ($fBerichten['profielfoto']).'" border="0" alt="Profielfoto van '.$this->r['functions']->strip ($fBerichten['gebruikersnaam']).'" height="'.$this->r['cfg']->hoogte_bericht.'" width="'.$this->r['cfg']->breedte_bericht.'" /></a><br />' : ''));	
    				$this->r['tpl']->assign ($sBlock."_R", "sProfile_id", $this->r['functions']->strip ($fBerichten['uid']));
    				$this->r['tpl']->assign ($sBlock."_R", "sUid", $this->r['functions']->strip ($fBerichten['uid']));
    				$this->r['tpl']->assign ($sBlock."_R", "sGebruikersnaam", $this->r['functions']->strip ($fBerichten['gebruikersnaam']));
    
    
    				$sAantal = $this->r['sql']->query ("SELECT COUNT(uid) FROM vrienden WHERE profile_id = '".mysql_real_escape_string ($fBerichten['uid'])."' AND wederzijds = '1' AND groep = '0'");
    				$this->r['tpl']->assign ($sBlock."_R", "sAantal", $this->r['sql']->rows ($sAantal, 'result'));
    				if ($this->r['client']->ingelogd == 1 && ($this->r['user']['pid'] == $this->r['functions']->strip ($fBerichten['uid']) || $this->r['user']['pid'] == $this->r['functions']->strip ($fBerichten['profile_id']) || $this->r['user']['status'] == 'Beheerder')) $this->r['tpl']->assign ($sBlock."_R", "sVerwijderen", '&nbsp;<a href="'.$this->r['cfg']->adres_met.'/berichten/verwijderen/'.$this->r['functions']->strip ($fBerichten['pid']).'"><img src="'.$this->r['cfg']->adres.'/views/images/icons/verwijderen.png" height="16" width="16" alt="Verwijder dit bericht" title="Verwijder dit bericht" border="0" /></a>');
    				$this->r['tpl']->assign ($sBlock."_R", "sDatum", date ("d-m-Y H:i", $fBerichten['datum']));
    
    
    				## UBB
    				$ubb = new ubbparser ($fBerichten['bericht'], '');
    				$this->r['tpl']->assign ($sBlock."_R", "sBericht", $ubb->printtoscreen ());
    				$this->r['tpl']->Parse ($sBlockIn, $sBlock."_R");
    			}
    		}
    		else $this->r['tpl']->Parse ($sBlockIn, $sBlock."_Geen");
    
    
    		$this->r['tpl']->assign ($sBlockIn, "sNavigatie", $this->r['navigation']->Show_Navigate ());
    	}
    
    
    	private function _respects ($sPagina, $sBlock, $sBlockIn, $sPaginaID) {
    		$sRespects = $this->r['sql']->query ("SELECT b.*, p.gebruikersnaam, p.profielfoto FROM respects b INNER JOIN ##profielen p ON(p.pid = b.uid) WHERE b.profile_id = '".$this->r['key']."' AND b.pagina = '".$sPagina."' AND b.pagina_id = '".$sPaginaID."'");
    		if($this->r['sql']->rows ($sRespects)) {
    			while ($fRespects = $this->r['sql']->fetch ($sRespects)) {
    				$this->r['tpl']->assign ($sBlock."_R", "sPid", $fRespects['pid']);	
    				$this->r['tpl']->assign ($sBlock."_R", "sProfielfoto", (isset ($fRespects['profielfoto']) && !empty ($fRespects['profielfoto']) ? '<a href="'.$this->r['cfg']->adres_met.'/members/profile/'.$this->r['functions']->strip ($fRespects['uid']).'"><img src="'.$this->r['cfg']->adres.'/upload/profielfotos/'.$this->r['functions']->strip ($fRespects['uid']).'/'.$this->r['functions']->strip ($fRespects['profielfoto']).'" border="0" alt="Profielfoto van '.$this->r['functions']->strip ($fRespects['gebruikersnaam']).'" height="'.$this->r['cfg']->hoogte_bericht.'" width="'.$this->r['cfg']->breedte_bericht.'" /></a>'.($this->r['client']->ingelogd == 1 && ($this->r['user']['pid'] == $this->r['functions']->strip ($fRespects['uid']) || $this->r['user']['pid'] == $this->r['functions']->strip ($fRespects['profile_id']) || $this->r['user']['status'] == 'Beheerder') ? '&nbsp;<a href="'.$this->r['cfg']->adres_met.'/respect/verwijderen/'.$this->r['functions']->strip ($fRespects['pid']).'"><img src="'.$this->r['cfg']->adres.'/views/images/icons/verwijderen.png" height="16" width="16" alt="Verwijder deze respect" title="Verwijder deze respect" border="0" /></a>': '').'<br />' : ''));	
    				$this->r['tpl']->assign ($sBlock."_R", "sProfile_id", $this->r['functions']->strip ($fRespects['uid']));
    				$this->r['tpl']->assign ($sBlock."_R", "sGebruikersnaam", $this->r['functions']->strip ($fRespects['gebruikersnaam']));
    
    
    				$sAantal = $this->r['sql']->query ("SELECT COUNT(uid) FROM vrienden WHERE profile_id = '".mysql_real_escape_string ($fRespects['uid'])."' AND wederzijds = '1' AND groep = '0'");
    				$this->r['tpl']->assign ($sBlock."_R", "sAantal", $this->r['sql']->rows ($sAantal, 'result'));
    				$this->r['tpl']->Parse ($sBlockIn, $sBlock."_R");
    			}
    		}
    		else $this->r['tpl']->Parse ($sBlockIn, $sBlock."_Geen");
    	}
    
    
    	function index() {
    		echo 'Hallo members!';
    	}
    	
    	function ww_vergeten () {
     		$this->r['tpl']->define (array ('index.tpl', 'members/ww_vergeten.tpl'));
    
    
     		if($this->r['client']->ingelogd != 1) {
                    if(isset($this->r['key']) && !empty($this->r['key']))
                      {
                            $sCheck = $this->r['sql']->query("SELECT COUNT(pid) FROM ##profielen WHERE ww_code = '".mysql_real_escape_string ($this->r['key'])."' AND geactiveerd = '1'");
                            if(mysql_result($sCheck, 0)) {
                                  $this->r['sql']->query("UPDATE ##profielen SET wachtwoord = ww_code, ww_code = '' WHERE ww_code = '".mysql_real_escape_string ($this->r['key'])."' AND geactiveerd = '1'");
                                  $this->r['functions']->redirect('Succesvol', 'Je wachtwoord is succesvol aangepast!', 'members/login', 3);
                            }
                            else $this->r['functions']->redirect('Fout', 'Geen sleutel opgegeven', '', 3);
                      }
                      else {
                            if(isset($_POST['submit']) || $_SERVER['REQUEST_METHOD'] == "post") 
                            {
                                  $sCheck = $this->r['sql']->query("SELECT gebruikersnaam FROM ##profielen WHERE gebruikersnaam = '".mysql_real_escape_string ($_POST['gebruikersnaam'])."' AND emailadres = '".mysql_real_escape_string ($_POST['emailadres'])."'");
                                  $sFlood = $this->r['sql']->query("SELECT * FROM flood WHERE ip = '".$_SERVER['REMOTE_ADDR']."' AND pagina = 'Wachtwoord_vergeten'");
    
    
                                  $error = array();
                                  if(!isset($_POST['gebruikersnaam']) || strlen($_POST['gebruikersnaam']) < 3)
                                        $error['Fgebruikersnaam'] = 'Geen geldige gebruikersnaam';
                                        if(!isset($_POST['emailadres']) || !eregi("^[A-Za-z0-9_-]+([\.]{1}[A-Za-z0-9_-]+)*@[A-Za-z0-9-]+([\.]{1}[A-Za-z0-9-]+)+$", $_POST['emailadres']))
                                        $error['Femailadres'] = 'Geen geldig emailadres';
                                  if(!isset($_POST['wachtwoord']) || strlen($_POST['wachtwoord']) < 3)
                                        $error['Fwachtwoord'] = 'Geen geldig wachtwoord';
                                  if($_POST['wachtwoord'] != $_POST['wachtwoord_h'] || !isset($_POST['wachtwoord_h']))
                                        $error['Fwachtwoord_h'] = 'Geen geldig herhalingswachtwoord';
                                  if($this->r['sql']->rows($sFlood))
                                        $error['Fgebruikersnaam'] = 'Je hebt al een nieuw wachtwoord opgevraagd';
                                  if(!$this->r['sql']->rows($sCheck))
                                        $error['Fgebruikersnaam'] = 'Geen gebruiker gevonden met deze gegevens';
    
    
                                  if(count($error) > 0)
                                  {
                                        ## Ingevulde velden weergeven
                                        foreach($_POST AS $key => $value) $this->r['tpl']->assign("Wachtwoord_vergeten","V".$key, $value);
    
    
                                        ## Foute velden noteren
                                        foreach($error AS $key => $value) 
                                        {
                                              $this->r['tpl']->assign("Wachtwoord_vergeten", $key, '<font color="red">*</font>');
                                              $this->r['tpl']->assign("ErrorArea_R", "Fout", $value);
                                              $this->r['tpl']->Parse("ErrorArea", "ErrorArea_R");
                                        }
                                        $this->r['tpl']->Parse("Wachtwoord_vergeten", "ErrorArea");
                                        $this->r['tpl']->Parse("index", "Wachtwoord_vergeten", "content");
                                  }
                                  else {
                                        $sSleutel = md5(md5($_POST['wachtwoord'])); // unieke string
                                        $this->r['sql']->query("UPDATE ##profielen SET ww_code = '".$sSleutel."' WHERE gebruikersnaam = '".mysql_real_escape_string ($_POST['gebruikersnaam'])."' AND emailadres = '".mysql_real_escape_string ($_POST['emailadres'])."'");
    
    
                                        mail (addslashes ($_POST['emailadres']), 'Nieuw wachtwoord',
                                        'Beste '.htmlspecialchars($_POST['gebruikersnaam']).',
    
    
                      '.			'U heeft zojuist een nieuw wachtwoord opgevraagd op cmyid.
                      '.			'Om dit wachtwoord te kunnen gebruiken dient u deze eerst te activeren, dit kunt u doen door op onderstaande link te klikken:
                      '.			''.$this->r['cfg']->adres_met.'/members/wachtwoord_vergeten/'.$sSleutel.'
    
    
                      '.			'Zodra dit is gebeurd kunt u inloggen met uw nieuwe wachtwoord, heeft u geen nieuw wachtwoord opgevraagd, dan kunt u deze email als niet verzonden beschouwen.
    
    
                      '.			'Hartelijke groet,
    
    
                      '.			'Beheerder,
                      '.			'Cmyid.nl crew', "From: Cmyid.nl.nl <[email protected]>\nReturn-path: [email protected]");
    
    
    
    
    
    
                                        $this->r['functions']->redirect('Succesvol', 'Uw wachtwoord is succesvol ge-reset, u kunt nu inloggen', '', 3);
                                  }
                            }
                            else $this->r['tpl']->Parse("index", "Wachtwoord_vergeten", "content");
                      }
                }
    		else $this->r['functions']->redirect ('Fout', 'U bent al ingelogd!', '', 3);
          }
          
    	function register () {
    		$this->r['tpl']->define (array ('index.tpl', 'members/register.tpl'));
    		$this->r['menu']->setTitle ('Account registreren');
    
    
    		if($this->r['client']->ingelogd != 1) {
    			if(isset ($_POST['submit']) || $_SERVER['REQUEST_METHOD'] == 'post') {
    				$sError = array ();
    				$sControle = $this->r['sql']->query ("SELECT pid FROM ##profielen WHERE gebruikersnaam = '".mysql_real_escape_string ($_POST['gebruikersnaam'])."' OR emailadres = '".mysql_real_escape_string ($_POST['emailadres'])."' OR ip = '".$this->r['functions']->haal_ip ()."'");
    
    
    				if(!isset ($_POST['gebruikersnaam']) || empty ($_POST['gebruikersnaam']) || strlen ($_POST['gebruikersnaam']) > $this->r['cfg']->max_lengte_gebruiker)
    					$sError ['Fgebruikersnaam'] = 'Deze gebruikersnaam is ongeldig (te lang of te klein).';
    				if(!isset ($_POST['emailadres']) || empty ($_POST['emailadres']) || !eregi("[A-Za-z0-9_-]+([\.]{1}[A-Za-z0-9_-]+)*@[A-Za-z0-9-]+([\.]{1}[A-Za-z0-9-]+)+", $_POST['emailadres']))
    					$sError ['Femailadres'] = 'Deze emailadres is ongeldig.';
    				if(!isset ($_POST['wachtwoord']) || empty ($_POST['wachtwoord']) || strlen ($_POST['wachtwoord']) < 4 || strlen ($_POST['wachtwoord']) > 23)
    					$sError ['Fwachtwoord'] = 'Dit wachtwoord is ongeldig, te klein of te groot.';
    				if($_POST['wachtwoord'] != $_POST['hWachtwoord'])
    					$sError ['FhWachtwoord'] = 'De wachtwoorden komen niet overeen.';
    				if(!isset ($_POST['geboorte_dag']) || empty ($_POST['geboorte_dag']) || !is_numeric ($_POST['geboorte_dag']) || $_POST['geboorte_dag'] < 1 || $_POST['geboorte_dag'] > 31) $error ['Fgeboorte_dag'] = 'Uw geboortedatum is ongeldig.';
    				if(!isset ($_POST['geboorte_maand']) || empty ($_POST['geboorte_maand'])) $error ['Fgeboorte_maand'] = 'Uw geboortedatum is ongeldig.';
    				if(!isset ($_POST['geboorte_jaar']) || empty ($_POST['geboorte_jaar']) || !is_numeric ($_POST['geboorte_jaar']) || $_POST['geboorte_jaar'] < 1940) $error ['Fgeboorte_dag'] = 'Uw geboortedatum is ongeldig.';
    				if(!isset ($_POST['geslacht']) || ($_POST['geslacht'] != 'Man' && $_POST['geslacht'] != 'Vrouw')) $error['Fgeslacht'] = "Uw geslacht is ongeldig.";
    				if(!isset ($_POST['geaardheid']) || ($_POST['geaardheid'] != 'Heteroseksueel' && $_POST['geaardheid'] != 'Homoseksueel' && $_POST['geaardheid'] != 'Biseksueel')) $error['Fgeaardheid'] = "Uw geaardheid is ongeldig.";
    				if(!isset ($_POST['disclaimer']) || $_POST['disclaimer'] != 1) $sError['Fdisclaimer'] = "U bent niet akkoord gegaan met de disclaimer.";
    
    
                            $sGoed = 0;
                            if(isset ($_POST['telefoonnummer']) && !empty ($_POST['telefoonnummer'])) {
                                  if($this->r['functions']->vipcontrole ($_POST['pincode']) == true || $this->r['functions']->vipcontrole ($_POST['pincode']) == 1)
                                        $sGoed = 1;
                                  else
                                        $sError['Ftelefoonnummer'] = 'Deze pincode is incorrect!';
                            }
                            
    				if($this->r['sql']->rows ($sControle))
    					$sError ['Fgebruikersnaam'] = 'U bent al lid van deze website of deze gebruikersnaam is al bezet.';
    
    
    				if(count ($sError) > 0)
    					$this->r['functions']->error_form ('Register', $sError);
    				else {
    					$sSleutel = $this->r['functions']->sleutel (12);
    
    
    					$this->r['sql']->query ("
    						INSERT INTO	
    							##profielen
    						(	
    							pid,
    							gebruikersnaam,
    							emailadres,
    							wachtwoord,
    							ip,
    							datum,
    							geactiveerd,
    							geboortedatum,
    							verjaardag,
    							geslacht,
    							geaardheid,
    							telefoon,
    							vip
    						)
    						VALUES (
    							'',
    							'".mysql_real_escape_string ($_POST['gebruikersnaam'])."',
    							'".mysql_real_escape_string ($_POST['emailadres'])."',
    							'".md5(md5(mysql_real_escape_string ($_POST['wachtwoord'])))."',
    							'".mysql_real_escape_string ($this->r['functions']->haal_ip ())."',	
    							'".time ()."',
    							'".$sSleutel."',
    							'".mysql_real_escape_string ($_POST['geboorte_dag'])."-".mysql_real_escape_string ($_POST['geboorte_maand'])."-".mysql_real_escape_string ($_POST['geboorte_jaar'])."',
    							'".mysql_real_escape_string ($_POST['geboorte_dag'])."-".mysql_real_escape_string ($_POST['geboorte_maand'])."',
    							'".mysql_real_escape_string ($_POST['geslacht'])."',
    							'".mysql_real_escape_string ($_POST['geaardheid'])."',
    							'".(isset ($_POST['telefoonnummer']) && !empty ($_POST['telefoonnummer']) && $sGoed == 1 ? mysql_real_escape_string ($_POST['telefoonnummer']) : '')."',
    							'".($sGoed == 1 ? 1 : 0)."'
    
    
    						)
    					");
    
    
    					$this->r['functions']->email (mysql_real_escape_string ($_POST['emailadres']), 'Account activeren',
    						'Beste '.$this->r['functions']->strip ($_POST['gebruikersnaam']).',
    
    
    '.						'Je hebt zojuist een account aangemaakt op CMYID.
    '.						'Om deze te kunnen bekijken/bewerken dien je deze eerst te activeren.
    '.						'Je kunt jouw account activeren door op het onderstaande adres te klikken:
    '.						''.$this->r['cfg']->adres_met.'/members/activate/'.$sSleutel.'
    
    
    '.						'Met vriendelijke groet. CMYID.nl');
    
    
    					$this->r['functions']->redirect ('Succesvol', 'Je hebt succesvol een account aangemaakt. Er is een email verzonden naar je emailadres waarin instructies staan over hoe je je acount kunt activeren, daarna kan je pas inloggen!', '', 3);
    				}
    			}
    			else $this->r['tpl']->parse ("Register");
    		}
    		else $this->r['functions']->redirect ('Fout', 'Je bent al ingelogd.', '', 3);
    	}
    
    
    	function login () {
    		$this->r['tpl']->define (array ('index.tpl', 'members/login.tpl'));
    		$this->r['menu']->setTitle ('Inloggen met jouw account');
    
    
    		if($this->r['client']->ingelogd != 1) {
    			if(isset ($_POST['submit']) || $_SERVER['REQUEST_METHOD'] == 'post') {
    				$sError = array ();
    
    
    				$sControle = $this->r['sql']->query ("SELECT pid, geactiveerd, wachtwoord FROM ##profielen WHERE gebruikersnaam = '".mysql_real_escape_string ($_POST['gebruikersnaam'])."'");
    
    
    				if(!isset ($_POST['gebruikersnaam']) || empty ($_POST['gebruikersnaam']))
    					$sError ['Fgebruikersnaam'] = 'Deze gebruikersnaam is ongeldig (te klein).';
    				if(!isset ($_POST['wachtwoord']) || empty ($_POST['wachtwoord']))
    					$sError ['Fwachtwoord'] = 'Dit wachtwoord is ongeldig (te klein).';
    	
    				if($this->r['sql']->rows ($sControle)) {
    					$fControle = $this->r['sql']->fetch ($sControle);
    
    
    					if(md5(md5($_POST['wachtwoord'])) != $fControle['wachtwoord'])
    						$sError['Fwachtwoord'] = 'Dit wachtwoord komt niet overeen met het wachtwoord uit de database.';
    					if($fControle['geactiveerd'] != 1)
    						$sError['Fgebruikersnaam'] = 'Dit account is (nog) niet geactiveerd.';
    				}
    				else $sError['Fgebruikersnaam'] = 'Deze gebruikersnaam komt niet voor in de database.';
    
    
    				if(count ($sError) > 0)
    					$this->r['functions']->error_form ('Login', $sError);
    				else {
    					$sSleutel = $this->r['functions']->sleutel (12);
    					$_POST['tijd'] = (isset ($_POST['tijd']) && is_numeric ($_POST['tijd']) ? $_POST['tijd'] : 31449600);
     
                  				setcookie ("hash", $sSleutel, time() + $_POST['tijd'], "/"); 
                 				setcookie ($this->r['cfg']->cookie, $fControle['pid'], time() + $_POST['tijd'], "/");
                 				setcookie ('gebruiker', $fControle['pid'], time() + $_POST['tijd'], "/");
    					
    					$this->r['sql']->query ("UPDATE ##profielen SET laatst_ingelogd = '".time ()."', hash = '".mysql_real_escape_string ($sSleutel)."' WHERE pid = '".mysql_real_escape_string ($fControle['pid'])."'");
    			
    					$this->r['functions']->redirect ('Succesvol', 'Je bent succesvol ingelogd.', 'panel/index', 3);
    				}
    			}
    			else $this->r['tpl']->parse ("Login");
    
    
    		}
    		else $this->r['functions']->redirect ('Melding', 'Je bent al ingelogd.', 'panel/index', 3);
    	}
    
    
    	function logout () {
    		$this->r['tpl']->define (array ('index.tpl', 'members/logout.tpl'));
    		$this->r['menu']->setTitle ('Uitloggen van de website');
    
    
    		if($this->r['client']->ingelogd == 1) {
    			if(isset ($_POST['submit']) || $_SERVER['REQUEST_METHOD'] == 'post') {
    				## Cookies unsetten
                  		 	setcookie ("hash", '', time () - 3600 , "/"); 
                 			setcookie ($this->r['cfg']->cookie, '', time () - 3600 , "/");
    				$this->r['functions']->redirect ('Succesvol', 'Je bent succesvol uitgelogd.', '', 3);
    			}
    			else $this->r['tpl']->parse ("Logout");
    		}
    		else $this->r['functions']->redirect ('Melding', 'Je bent niet ingelogd.', 'members/login', 3);
    	}
    
    
    	function activate () {
    		$this->r['tpl']->define (array ('index.tpl', 'members/activate.tpl'));
    		$this->r['menu']->setTitle ('Account activeren');
    
    
    		if($this->r['client']->ingelogd != 1) {
    			if(isset ($this->r['key'])) {
    				$sControle = $this->r['sql']->query ("SELECT geactiveerd FROM ##profielen WHERE geactiveerd = '".$this->r['key']."'");
    				if($this->r['sql']->rows ($sControle)) {
    					$this->r['sql']->query ("UPDATE ##profielen SET geactiveerd = '1' WHERE geactiveerd = '".$this->r['key']."'");
    					$this->r['functions']->redirect ('Succesvol', 'Je account is succesvol geactiveerd, je kunt nu inloggen met je gegevens.', 'members/login', 3);
    				}
    				else $this->r['functions']->redirect ('Fout', 'Deze activatie-sleutel is ongeldig/onjuist.', '', 3);
    			}
    			else $this->r['functions']->redirect ('Fout', 'Je hebt geen activatie-sleutel meegegeven.', '', 3);
    		}
    		else $this->r['functions']->redirect ('Melding', 'Je bent al ingelogd.', 'members/panel', 3);
    	}
    
    
    	function memberlist () {
    		$this->r['tpl']->define (array ('index.tpl', 'members/memberlist.tpl'));
    		$this->r['menu']->setTitle ('Alle geactiveerde leden');
    
    
    		$sCount = $this->r['sql']->rows ($this->r['sql']->query ("SELECT COUNT(pid) FROM ##profielen"), 'result');
    
    
    		if(isset($this->r['key']) && ctype_digit ($this->r['key'])) $sPagina = $this->r['key'];
    		else $sPagina = 1; 
    	
    		$this->r['navigation']->set ($sPagina, $this->r['cfg']->aantal_memberlist, $sCount, 'members/memberlist/');
    
    
    		if(isset ($this->r['key2']) && !empty ($this->r['key2'])) $sMembers = $this->r['sql']->query ("SELECT pid, gebruikersnaam, voornaam, woonplaats, datum, profielfoto FROM ##profielen WHERE LOWER(SUBSTRING(gebruikersnaam,1,1)) = '{$this->r['key2']}' AND geactiveerd = '1' ORDER BY gebruikersnaam ASC LIMIT ".$this->r['navigation']->Make_Beginning_Point ().", ".$this->r['cfg']->aantal_memberlist);
    		else $sMembers = $this->r['sql']->query ("SELECT pid, gebruikersnaam, voornaam, woonplaats, datum, profielfoto FROM ##profielen WHERE geactiveerd = '1' ORDER BY gebruikersnaam ASC LIMIT ".$this->r['navigation']->Make_Beginning_Point ().", ".$this->r['cfg']->aantal_memberlist);
    
    
    		if($this->r['sql']->rows ($sMembers)) {
    			while ($fMembers = $this->r['sql']->fetch ($sMembers)) {
    				$this->r['tpl']->assign ("Members_R", "sProfielfoto", (isset ($fMembers['profielfoto']) && !empty ($fMembers['profielfoto']) ? '<a href="'.$this->r['cfg']->adres_met.'/members/profile/'.$this->r['functions']->strip ($fMembers['pid']).'"><img src="'.$this->r['cfg']->adres.'/upload/profielfotos/'.$this->r['functions']->strip ($fMembers['pid']).'/'.$this->r['functions']->strip ($fMembers['profielfoto']).'" border="0" alt="Profielfoto van '.$this->r['functions']->strip ($fMembers['gebruikersnaam']).'" height="'.$this->r['cfg']->hoogte_lijst.'" width="'.$this->r['cfg']->breedte_lijst.'" /></a>' : '<a href="'.$this->r['cfg']->adres_met.'/members/profile/'.$this->r['functions']->strip ($fMembers['pid']).'"><img src="'.$this->r['cfg']->adres.'/upload/geen.jpg" border="0" alt="Profielfoto van '.$this->r['functions']->strip ($fMembers['gebruikersnaam']).'" /></a>'));	
    				$this->r['tpl']->assign ("Members_R", "sPid", $this->r['functions']->strip ($fMembers['pid']));
    				$this->r['tpl']->assign ("Members_R", "sGebruikersnaam", $this->r['functions']->strip ($fMembers['gebruikersnaam']));
    				$this->r['tpl']->assign ("Members_R", "sWoonplaats", $this->r['functions']->strip ($fMembers['woonplaats']));
    				$this->r['tpl']->assign ("Members_R", "sDatum", date ("d-m-Y H:i", $fMembers['datum']));
    				$this->r['tpl']->parse ("Memberlist", "Members_R");
    			}	
    		}
    		else $this->r['tpl']->parse ("Memberlist", "No_members");
    
    
    		$this->r['tpl']->assign ("Memberlist", "sPage", $sPagina); 
    		$this->r['tpl']->assign ("Memberlist", "sNavigatie", $this->r['navigation']->Show_Navigate ());
    		$this->r['tpl']->Parse ("Memberlist");
    	}
    
    
    	function profile () {
    		$this->r['tpl']->define (array ('index_prof.tpl', 'members/profile.tpl', 'members/tips.tpl', 'members/spots.tpl', 'members/spot.tpl', 'members/gadgets.tpl', 'members/tip.tpl', 'members/albums.tpl', 'members/afbeeldingen.tpl', 'members/afbeelding.tpl', 'members/blogs.tpl', 'members/vrienden.tpl', 'members/blog.tpl', 'members/polls.tpl', 'members/poll.tpl', 'members/getikt.tpl'), '', 1);
    		require_once ('classes/ubb.php');
    
    
    		if(isset ($this->r['key']) && ctype_digit ($this->r['key'])) {
    			$sProfile = $this->r['sql']->query ("SELECT p.*, o.pagina FROM ##profielen p LEFT JOIN ##online o ON(o.userid = p.pid) WHERE p.pid = '".$this->r['key']."' AND p.geactiveerd = '1'");
    			if($this->r['sql']->rows ($sProfile)) {
    				$fProfile = $this->r['sql']->fetch ($sProfile);
    				
    					$sVrienden = $this->r['sql']->query ("SELECT v.*, l.gebruikersnaam, l.geslacht, o.pagina FROM vrienden v INNER JOIN ##profielen l ON(l.pid = v.uid) LEFT JOIN online o ON(o.userid = v.uid)  WHERE v.profile_id = '".$this->r['key']."' AND v.wederzijds = '1' AND v.groep != '1' ORDER BY l.actief DESC LIMIT 0, 9");
    					$aVrienden = $this->r['sql']->rows ($sVrienden);
    					if($aVrienden > 0) {	
                                        $on = 0;
                                        $off = 0;
    						while ($fVrienden = $this->r['sql']->fetch ($sVrienden)) {
                                              if(isset ($fVrienden['pagina']) && !empty ($fVrienden['pagina'])) {
                                                    $this->r['tpl']->assign ("onVrienden_R", "sPid", $this->r['functions']->strip ($fVrienden['uid']));
                                                    $this->r['tpl']->assign ("onVrienden_R", "sGebruikersnaam", $this->r['functions']->strip ($fVrienden['gebruikersnaam']));
    
    
                                                    $sAantal = $this->r['sql']->query ("SELECT COUNT(uid) FROM vrienden WHERE profile_id = '".mysql_real_escape_string ($fVrienden['uid'])."' AND wederzijds = '1' AND groep = '0'");
                                                    $this->r['tpl']->assign ("onVrienden_R", "aVrienden", $this->r['sql']->rows ($sAantal, 'result'));
                                                    $this->r['tpl']->assign ("onVrienden_R", "sGeslacht", (isset ($fVrienden['geslacht']) && $fVrienden['geslacht'] == 'Vrouw' ? 'girl' : 'boy'));
                                                    $this->r['tpl']->Parse ("index", "onVrienden_R");
                                                    $on++;
                                              }
                                              else {
                                                    $this->r['tpl']->assign ("offVrienden_R", "sPid", $this->r['functions']->strip ($fVrienden['uid']));
                                                    $this->r['tpl']->assign ("offVrienden_R", "sGebruikersnaam", $this->r['functions']->strip ($fVrienden['gebruikersnaam']));
                                                    $this->r['tpl']->assign ("offVrienden_R", "sGeslacht", (isset ($fVrienden['geslacht']) && $fVrienden['geslacht'] == 'Vrouw' ? 'girl' : 'boy'));
    
    
                                                    $sAantal = $this->r['sql']->query ("SELECT COUNT(uid) FROM vrienden WHERE profile_id = '".mysql_real_escape_string ($fVrienden['uid'])."' AND wederzijds = '1' AND groep = '0'");
                                                    $this->r['tpl']->assign ("offVrienden_R", "aVrienden", $this->r['sql']->rows ($sAantal, 'result'));
                                                    $this->r['tpl']->Parse ("index", "offVrienden_R");
                                                    $off++;
                                              }
    						}
    						if($on == 0) $this->r['tpl']->Parse ("index", "onVrienden_Geen");
    						if($off == 0) $this->r['tpl']->Parse ("index", "offVrienden_Geen");
    					}
    					else {
                                        $this->r['tpl']->Parse ("index", "offVrienden_Geen");
                                        $this->r['tpl']->Parse ("index", "onVrienden_Geen");
                                  }
    
    
    
    
                                        ## Muziek
                                        $sGeluiden = $this->r['sql']->query ("SELECT * FROM geluiden WHERE profile_id = '".mysql_real_escape_string ($fProfile['pid'])."'");
                                        if($this->r['sql']->rows ($sGeluiden)) {
                                              while ($fGeluiden = $this->r['sql']->fetch ($sGeluiden)) {
                                                    $this->r['tpl']->assign ("Geluiden_R", "sNaam", str_replace ("'", "", $this->r['functions']->strip ($fGeluiden['naam'])));
                                                    $this->r['tpl']->assign ("Geluiden_R", "sTitel", str_replace ("'", "", $this->r['functions']->strip ($fGeluiden['titel'])));
                                                    $this->r['tpl']->assign ("Geluiden_R", "sProfile_id", $this->r['functions']->strip ($fGeluiden['profile_id']));
                                                    $this->r['tpl']->Parse ("Geluiden", "Geluiden_R");
                                              }
                                              $this->r['tpl']->Parse ("index", "Geluiden");
                                        }
                                        
                                        ## WWW - Laatste
                                        $sWWW = $this->r['sql']->query ("SELECT * FROM www WHERE profile_id = '".$this->r['key']."' ORDER BY datum DESC LIMIT 0, 1");
                                        if($this->r['sql']->rows ($sWWW)) {
                                              while ($fWWW = $this->r['sql']->fetch ($sWWW)) {
                                                    $this->r['tpl']->assign ("sWWW_R", "sWat", $this->r['functions']->strip ($fWWW['wat']));
                                                    $this->r['tpl']->assign ("sWWW_R", "sWaar", $this->r['functions']->strip ($fWWW['waar']));
                                                    $this->r['tpl']->Parse ("index", "sWWW_R");
                                              }
                                        }
                                        else $this->r['tpl']->Parse ("index", "sWWW_Geen"); 
    
    
    
    
                                  ## Gegevens
                                  $this->r['tpl']->assign ("index", "sLid_sinds", date ("d-m-Y H:i", $fProfile ['datum']));
                                  $this->r['tpl']->assign ("index", "sActief", date ("d-m-Y H:i", $fProfile ['datum']));
                                  $this->r['tpl']->assign ("index", "sBekeken", $fProfile ['bekeken']);
                                  $this->r['tpl']->assign ("index", "aVrienden", $aVrienden);
    
    
                                  ## Aantal berichten gestuurd/ontvangen
                                  $aBerichten = $this->r['sql']->query ("SELECT COUNT(pid) FROM berichten WHERE profile_id = '".mysql_real_escape_string ($this->r['key'])."'");
                                  $this->r['tpl']->assign ("index", "aBerichten", $this->r['sql']->rows ($aBerichten, 'result'));
    
    
    					## Stats
    					if ($this->r['user']['vip'] == 1 && $fProfile['pid'] == $this->r['user']['pid']) {
    						
    						$sStats = $this->r['sql']->query ("SELECT DISTINCT pid, gebruikersnaam, profielfoto FROM profielen INNER JOIN bekeken ON profielen.pid = bekeken.user_id WHERE bekeken.visited_id = '".$this->r['user']['pid']."' ORDER BY bekeken.datum ASC LIMIT 0, 10");
    						
    						if($this->r['sql']->rows ($sStats)) {
    							
    							$this->r['tpl']->Parse ("index", "Stats");
    							while ($fStats = $this->r['sql']->fetch ($sStats)) {
    								  
    								  $this->r['tpl']->assign ("Stats_y", "Statlink", 'http://www.cmyid.nl/index/members/profile/'.$this->r['functions']->strip ($fStats['pid']));
    								  $this->r['tpl']->assign ("Stats_y", "Statvisitor", $this->r['functions']->strip ($fStats['gebruikersnaam']));
    								  if (!empty($fStats['profielfoto'])) {
    								  $this->r['tpl']->assign ("Stats_y", "Statvisitorimage", 'http://www.cmyid.nl/upload/profielfotos/'.$this->r['functions']->strip ($fStats['pid']).'/'.$this->r['functions']->strip ($fStats['profielfoto']));
    									}
    									else {
    										$this->r['tpl']->assign ("Stats_y", "Statvisitorimage", 'http://www.cmyid.nl/views/images/pic.gif');
    									}
    								
    								
    								$this->r['tpl']->Parse ("index", "Stats_y");
    							}					
    							
    						}
    						else {
    							$this->r['tpl']->Parse ("index", "Stats");
    							$this->r['tpl']->Parse ("index", "Stats_n");
    						}
    					
    					}
    					else if ($this->r['user']['vip'] == 0 && $fProfile['pid'] == $this->r['user']['pid']) {
    						
    						$this->r['tpl']->Parse ("index", "Stats");
    						$this->r['tpl']->Parse ("index", "Stats_nvip");
    						
    					}
    
    
    					//////////////
    					///////////
    					//////////
    					/////////
    					/////////
    
    
    					## Tikken
    					$sGetikt = $this->r['sql']->query ("SELECT g.*, p.gebruikersnaam FROM getikt g INNER JOIN profielen p ON(p.pid = g.uid) WHERE g.profile_id = '".$this->r['key']."' AND prive = '".($this->r['client']->ingelogd == 1 && $this->r['user']['pid'] == $this->r['key'] ? '' : 0)."' ORDER BY datum DESC LIMIT 0, 3");
    					if($this->r['sql']->rows ($sGetikt)) {
    						while ($fGetikt = $this->r['sql']->fetch ($sGetikt)) {
    							$this->r['tpl']->assign ("sTikken_R", "sUid", $this->r['functions']->strip ($fGetikt['uid']));
    							$this->r['tpl']->assign ("sTikken_R", "aGebruikersnaam", $this->r['functions']->strip ($fGetikt['gebruikersnaam'], 30));
    							$this->r['tpl']->assign ("sTikken_R", "sGebruikersnaam", $this->r['functions']->strip ($fProfile['gebruikersnaam'], 30));
    							$this->r['tpl']->assign ("sTikken_R", "sTik", $this->r['functions']->strip ($fGetikt['tik'], 100));
    							$this->r['tpl']->assign ("sTikken_R", "sDatum", ''); //date ("d-m-Y H:i", $fGetikt['datum'])
     							$this->r['tpl']->Parse ("index", "sTikken_R");
    						}
    					}
    					else $this->r['tpl']->Parse ("index", "sTikken_Geen");
    
    
    
    
                                        $this->r['tpl']->assign ("index", "sPid", $this->r['functions']->strip ($fProfile['pid']));
                                        $this->r['tpl']->assign ("index", "sGebruikersnaam", $this->r['functions']->strip ($fProfile['gebruikersnaam']));
    
    
                                  if($fProfile['vip'] == 1) $this->r['tpl']->Parse ("index", "sPro");
    
    
                                        ## Achtergrond
                                        //if ( (isset ($fProfile['achtergrond']) && !empty ($fProfile['achtergrond']) ) || ( isset ($fProfile['achtergrond_plaatje']) && !empty ($fProfile['achtergrond_plaatje']) ) ) {
                                              $this->r['tpl']->assign ("sAchtergrond", "sKleur", (isset ($fProfile['achtergrond']) && !empty ($fProfile['achtergrond']) ? $this->r['functions']->strip ($fProfile['achtergrond']) : '#67a3d6'));
                                              
                                              if(isset ($fProfile['achtergrond_plaatje']) && !empty ($fProfile['achtergrond_plaatje'])) $this->r['tpl']->assign ("sAchtergrond", "sAchtergrond_plaatje", (isset ($fProfile['achtergrond_plaatje']) && !empty ($fProfile['achtergrond_plaatje']) ? "background-image:url('".$this->r['cfg']->adres."/upload/achtergronden/".$fProfile['pid']."/".$this->r['functions']->strip ($fProfile['achtergrond_plaatje'])."');" : ""));
                                              elseif(empty ($fProfile['achtergrond']))  $this->r['tpl']->assign ("sAchtergrond", "sAchtergrond_plaatje", "background-image:url('".$this->r['cfg']->adres."/views/images/bodyBg.png');");
                                             
                                              $this->r['tpl']->Parse ("index", "sAchtergrond");
                                        //}
    
    
    				## Vrienden vn em
    				$vVrienden = array ();
                            $sVrienden = $this->r['sql']->query ("SELECT * FROM ##vrienden WHERE profile_id = '".mysql_real_escape_string ($this->r['key'])."' AND wederzijds = '1' AND groep != '1'");
                            if($this->r['sql']->rows ($sVrienden)) {
                            while ($fVrienden = $this->r['sql']->fetch ($sVrienden)) 
                                  $vVrienden [] = $fVrienden['uid'];
                            }
    	
                            if($fProfile['anoniem'] == 'vrienden' && ($this->r['client']->ingelogd == 1 && !in_array ($this->r['user']['pid'], $vVrienden))) 
                                  $this->r['functions']->redirect ('Fout', 'De eigenaar van deze profiel heeft aangegeven alleen vrienden toe te laten op zijn/haar profiel.', '', 3);
                            else {
    	
                                  if(isset ($this->r['key2']) && $this->r['key2'] == 'afbeeldingen') {
    
    
                                        /* Checken of album enkelt voor vrienden of voor iedereen is */
    
    
                                        if(isset ($this->r['key3']) && $this->r['key3'] == 'album') {
                                              ## Album
                                              $this->r['menu']->setTitle ('Album bekijken van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));
    
    
                                              $sAlbum = $this->r['sql']->query ("SELECT * FROM albums WHERE pid = '".mysql_real_escape_string ($this->r['key4'])."' AND profile_id = '".$this->r['key']."'");
                                              if($this->r['sql']->rows ($sAlbum)) {
                                                    $fAlbum = $this->r['sql']->fetch ($sAlbum);
    
    
                                                    $this->r['tpl']->assign ("Album", "sProfile_id", $this->r['functions']->strip ($fAlbum['profile_id']));
                                                    $this->r['tpl']->assign ("Album", "sPid", $this->r['functions']->strip ($fAlbum['pid']));
                                                    $this->r['tpl']->assign ("Album", "sNaam", $this->r['functions']->strip ($fAlbum['naam']));
                                                    $this->r['tpl']->assign ("Album", "sGebruikersnaam", $this->r['functions']->strip ($fProfile['gebruikersnaam']));
    
    
                                                    $sAfb = $this->r['sql']->query ("SELECT * FROM afbeeldingen WHERE album = '".mysql_real_escape_string ($fAlbum['pid'])."' AND profile_id = '".mysql_real_escape_string ($fAlbum['profile_id'])."' AND profielfoto = '0'");
                                                    if($this->r['sql']->rows ($sAfb)) {
                                                          $i = 0;
                                                          while ($fAfb = $this->r['sql']->fetch ($sAfb)) {
                                                                if($i == 3) {
                                                                      $this->r['tpl']->Parse ("alAfbeeldingen_R", "alNew_TR");
                                                                      $i = 0;
                                                                }
                                                                $this->r['tpl']->assign ("alAfbeeldingen_R", "sAfbeelding", '<a href="'.$this->r['cfg']->adres_met.'/members/profile/'.$this->r['key'].'/afbeeldingen/'.$this->r['functions']->strip ($fAfb['pid']).'"><img src="'.$this->r['cfg']->adres.'/upload/afbeeldingen/'.$this->r['functions']->strip ($fAfb['profile_id']).'/'.$this->r['functions']->strip ($fAfb['naam']).'" height="'.($fAfb['hoogte'] > $this->r['cfg']->afb_album_hoogte ? $this->r['cfg']->afb_album_hoogte : $fAfb['hoogte']).'" width="'.($fAfb['breedte'] > $this->r['cfg']->afb_album_breedte ? $this->r['cfg']->afb_album_breedte : $fAfb['breedte']).'" alt="'.$this->r['functions']->strip ($fAfb['naam']).'" border="0" /></a>');
                                                                if($this->r['client']->ingelogd == 1 && $this->r['user']['pid'] == $this->r['key'] || $this->r['user']['status'] == 'Beheerder') {
                                                                      $this->r['tpl']->assign ("sBeheer", "sPid", $this->r['functions']->strip ($fAfb['pid']));
                                                                      $this->r['tpl']->Parse ("alAfbeeldingen_R", "sBeheer");
                                                                }
                                                                $this->r['tpl']->Parse ("Album", "alAfbeeldingen_R");
    
    
                                                                $i++;
                                                          }
                                                    }
                                                    else $this->r['tpl']->Parse ("Album", "alAfbeeldingen_Geen");
    
    
                                                    if($this->r['client']->ingelogd == 1 && $this->r['user']['pid'] == $this->r['key'])
                                                          $this->r['tpl']->assign ("Album", "sToevoegen", '<a href="<global adres>/panel/uploaden"><img src="<global sAdres>/views/images/toevoegen.png" alt="Afbeelding toevoegen" border="0" /></a> <a href="<global adres>/panel/uploaden">Afbeelding toevoegen</a><br /><a href="<global adres>/panel/album_toevoegen"><img src="<global sAdres>/views/images/toevoegen.png" alt="Album toevoegen" border="0" /></a> <a href="<global adres>/panel/album_toevoegen">Album toevoegen</a>');
                                                    $this->r['tpl']->Parse ("index", "Album", "content");
                                              }
                                              else $this->r['functions']->redirect ('Fout', 'Dit album of dit profiel bestaat niet (meer).', '', 3);
                                        }
                                        elseif(isset ($this->r['key3']) && ctype_digit ($this->r['key3'])) {
                                              /* Vergroot afbeelding nog maken! */
                                              /* Rating + Comment + Respect */
    
    
                                              ## Afbeelding bekijken
                                              $this->r['menu']->setTitle ('Afbeelding bekijken van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));
    
    
                                              $sAfb = $this->r['sql']->query ("SELECT a.*, al.naam AS aNaam, al.pid AS aPid FROM afbeeldingen a INNER JOIN albums al ON(al.pid = a.album) WHERE a.profile_id = '".$this->r['key']."' AND a.pid = '".mysql_real_escape_string ($this->r['key3'])."' AND al.profile_id = '".$this->r['key']."'");
                                              if($this->r['sql']->rows ($sAfb)) {
                                                    $fAfb = $this->r['sql']->fetch ($sAfb);
    
    
                                                    $this->r['sql']->query ("UPDATE afbeeldingen SET bekeken = bekeken+1 WHERE pid = '".$fAfb['pid']."'");
    
    
                                                    $this->r['tpl']->assign ("Afbeelding", "sProfile_id", $this->r['functions']->strip ($fAfb['profile_id']));
                                                    $this->r['tpl']->assign ("Afbeelding", "sPid", $this->r['functions']->strip ($fAfb['pid']));
                                                    $this->r['tpl']->assign ("Afbeelding", "sNaam", $this->r['functions']->strip ($fAfb['naam']));
                                                    $this->r['tpl']->assign ("Afbeelding", "aNaam", $this->r['functions']->strip ($fAfb['aNaam']));
                                                    $this->r['tpl']->assign ("Afbeelding", "sHoogte", $fAfb['hoogte']);
                                                    $this->r['tpl']->assign ("Afbeelding", "sGrootte", $fAfb['grootte']);
                                                    $this->r['tpl']->assign ("Afbeelding", "sBreedte", $fAfb['breedte']);
                                                    $this->r['tpl']->assign ("Afbeelding", "sTitel", $this->r['functions']->strip ($fAfb['titel']));
                                                    $this->r['tpl']->assign ("Afbeelding", "sDatum", date ("d-m-Y H:i", $this->r['functions']->strip ($fAfb['datum'])));
                                                    $this->r['tpl']->assign ("Afbeelding", "sBekeken", $this->r['functions']->strip ($fAfb['bekeken']).'x');
                                                    $this->r['tpl']->assign ("Afbeelding", "sKudos", $this->r['functions']->strip ($fAfb['kudos']));
    
    
                                                    $this->r['tpl']->assign ("Afbeelding", "sGebruikersnaam", $this->r['functions']->strip ($fProfile['gebruikersnaam']));
    
    
                                                    ## Factor van breedte bepalen
                                                    $tHoog = round ($fAfb['hoogte'] / $this->r['cfg']->afb_bekijken_hoogte);
                                                    $tBreed = round ($fAfb['breedte'] / $this->r['cfg']->afb_bekijken_breedte);
    //height="'.($fAfb['hoogte'] > $this->r['cfg']->afb_bekijken_hoogte ? ($fAfb['hoogte'] /$tHoog) : $fAfb['hoogte']).'" width="'.($fAfb['breedte'] > $this->r['cfg']->afb_bekijken_breedte ? ($fAfb['breedte'] / $tBreed): $fAfb['breedte']).'" 
                                                    $this->r['tpl']->assign ("Afbeelding", "sAfbeelding", '<a href="'.$this->r['cfg']->adres.'/upload/afbeeldingen/'.$this->r['functions']->strip ($fAfb['profile_id']).'/'.$this->r['functions']->strip ($fAfb['naam']).'" class="lightwindow page-options" params="lightwindow_type=external"><img src="'.$this->r['cfg']->adres.'/upload/afbeeldingen/'.$this->r['functions']->strip ($fAfb['profile_id']).'/'.$this->r['functions']->strip ($fAfb['naam']).'" alt="'.$this->r['functions']->strip ($fAfb['naam']).'"  border="0" alt="" /></a>');
    
    
                                                    $this->_berichten ('Afbeeldingen', 'aBerichten', 'Afbeelding', 'members/profile/'.$this->r['key'].'/afbeeldingen/'.$this->r['key3'].'/', $this->r['key3']);					
                                                    $this->_respects ('Afbeeldingen', 'aRespects', 'Afbeelding', $this->r['key3']);					
    
    
                                                    ## Afbeeldingen voor scroll
                                                    $b = 1;
                                                    $scAfbeeldingen = $this->r['sql']->query ("SELECT naam, titel, profile_id, pid FROM afbeeldingen WHERE profile_id = '".$this->r['key']."' AND album = '".mysql_real_escape_string ($fAfb['album'])."' AND profielfoto = '0'");
                                                    if($this->r['sql']->rows ($scAfbeeldingen)) {
    													$s = 0;
                                                          while ($fscAfbeeldingen = $this->r['sql']->fetch ($scAfbeeldingen)) {
    															if($s == 0) $this->r['tpl']->Parse ("nAfb_R", "sEerste");
    															
                                                                $this->r['tpl']->assign ("nAfb_R", "sNmr", $s);
    															$this->r['tpl']->assign ("nAfb_R", "sNaam", $this->r['functions']->strip ($fscAfbeeldingen['naam']));
    															
    															$vAfm = getimagesize ('upload/afbeeldingen/'.$this->r['functions']->strip ($fAfb['profile_id']).'/'.$this->r['functions']->strip ($fscAfbeeldingen['naam']));
    															
    															$this->r['tpl']->assign ("nAfb_R", "sAfb", '<img widht="80" height="50" src="'.$this->r['cfg']->adres.'/upload/thumbnails/'.$this->r['functions']->strip ($fAfb['profile_id']).'/'.$this->r['functions']->strip ($fscAfbeeldingen['naam']).'" alt="'.$this->r['functions']->strip ($fscAfbeeldingen['naam']).'"  border="0" alt="" /></a>');
    															$this->r['tpl']->Parse ("Afbeelding", "nAfb_R");
    
    
                                                                $this->r['tpl']->assign ("fAfb_R", "sNmr", $s);
    															$this->r['tpl']->assign ("fAfb_R", "sNaam", $this->r['functions']->strip ($fscAfbeeldingen['titel']));
    															$this->r['tpl']->assign ("fAfb_R", "sAfb_groot", '<a href="'.$this->r['cfg']->adres.'/upload/afbeeldingen/'.$this->r['functions']->strip ($fAfb['profile_id']).'/'.$this->r['functions']->strip ($fscAfbeeldingen['naam']).'" target="_blank"><img '.($vAfm[0] > 400 || $vAfm[1] > 250 ? 'width="400" height="250"' : '').' src="'.$this->r['cfg']->adres.'/upload/afbeeldingen/'.$this->r['functions']->strip ($fAfb['profile_id']).'/'.$this->r['functions']->strip ($fscAfbeeldingen['naam']).'" alt="'.$this->r['functions']->strip ($fscAfbeeldingen['naam']).'"  border="0" alt="" /></a>');
    															$this->r['tpl']->Parse ("Afbeelding", "fAfb_R");
    															
    													/*  
                                                                $this->r['tpl']->assign ("scAfbeeldingen_R", "sNaam", $this->r['functions']->strip ($fscAfbeeldingen['naam']));
                                                                $this->r['tpl']->assign ("scAfbeeldingen_R", "sProfile_id", $this->r['functions']->strip ($fscAfbeeldingen['profile_id']));
                                                                $this->r['tpl']->assign ("sGegevens_R", "sProfile_id", $this->r['functions']->strip ($fscAfbeeldingen['profile_id']));
                                                                $this->r['tpl']->assign ("sGegevens_R", "sPid", $this->r['functions']->strip ($fscAfbeeldingen['pid']));
                                                                if($b != $this->r['sql']->rows ($scAfbeeldingen)) $this->r['tpl']->assign ("scAfbeeldingen_R", "sKomma", ',');
                                                                if($b != $this->r['sql']->rows ($scAfbeeldingen)) $this->r['tpl']->assign ("sGegevens_R", "sKomma", ',');
    
    
                                                                $this->r['tpl']->assign ("sScroll", "sBestand", 'imageviewer.js');
                                                                $this->r['tpl']->Parse ("sScroll", "scAfbeeldingen_R");
                                                                $this->r['tpl']->Parse ("sScroll", "sGegevens_R"); */
                                                                $b++;
    															$s++;
                                                          }
                                                    }
    
    
                                                    if($this->r['client']->ingelogd == 1 && $this->r['user']['pid'] == $fAfb['profile_id'] || $this->r['user']['status'] == 'Beheerder') {
                                                          $this->r['tpl']->assign ("asBeheer", "sPid", $this->r['functions']->strip ($fAfb['pid']));
                                                          $this->r['tpl']->Parse ("Afbeelding", "asBeheer");
                                                    }
                                                    $this->r['tpl']->Parse ("index", "sScroll");
                                                    $this->r['tpl']->Parse ("index", "Afbeelding", "content");
                                              }
                                              else $this->r['functions']->redirect ('Fout', 'Deze afbeelding bestaat niet (meer).', '', 3);
                                        }
                                        else {
                                              ## Album overzicht
                                              $this->r['menu']->setTitle ('Albums van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));
    
    
                                              $sAlbums = $this->r['sql']->query ("SELECT * FROM albums WHERE profile_id = '".$this->r['key']."'");
                                              if($this->r['sql']->rows ($sAlbums)) {
                                                    while ($fAlbums = $this->r['sql']->fetch ($sAlbums)) {
                                                          $this->r['tpl']->assign ("Albums_R", "sProfile_id", $this->r['functions']->strip ($fAlbums['profile_id']));
                                                          $this->r['tpl']->assign ("Albums_R", "sPid", $this->r['functions']->strip ($fAlbums['pid']));
                                                          $this->r['tpl']->assign ("Albums_R", "sNaam", $this->r['functions']->strip ($fAlbums['naam']));
    
    
                                                          ## Laatste 3 afbeeldingen in dit album
                                                          $aAfb = $this->r['sql']->query ("SELECT COUNT(pid) FROM afbeeldingen WHERE album = '".mysql_real_escape_string ($fAlbums['pid'])."' AND profile_id = '".mysql_real_escape_string ($fAlbums['profile_id'])."' AND profielfoto = '0'");
                                                          $this->r['tpl']->assign ("Albums_R", "sAantal", $this->r['sql']->rows ($aAfb, 'result'));
    
    
                                                          $sAfb = $this->r['sql']->query ("SELECT * FROM afbeeldingen WHERE album = '".mysql_real_escape_string ($fAlbums['pid'])."' AND profile_id = '".mysql_real_escape_string ($fAlbums['profile_id'])."' AND profielfoto = '0' ORDER BY datum DESC LIMIT 0, 4");
                                                          if($this->r['sql']->rows ($sAfb)) {
                                                                while ($fAfb = $this->r['sql']->fetch ($sAfb)) {
                                                                      $this->r['tpl']->assign ("aAfbeeldingen_R", "sAfbeelding", '<a href="'.$this->r['cfg']->adres_met.'/members/profile/'.$this->r['key'].'/afbeeldingen/'.$fAfb['pid'].'"><img src="'.$this->r['cfg']->adres.'/upload/afbeeldingen/'.$this->r['functions']->strip ($fAfb['profile_id']).'/'.$this->r['functions']->strip ($fAfb['naam']).'" height="'.($fAfb['hoogte'] > $this->r['cfg']->afb_index_hoogte ? $this->r['cfg']->afb_index_hoogte : $fAfb['hoogte']).'" width="'.($fAfb['breedte'] > $this->r['cfg']->afb_index_breedte ? $this->r['cfg']->afb_index_breedte : $fAfb['breedte']).'" alt="'.$this->r['functions']->strip ($fAfb['naam']).'" border="0" /></a>');
                                                                      $this->r['tpl']->Parse ("Albums_R", "aAfbeeldingen_R");
                                                                }
                                                          }
                                                          $this->r['tpl']->Parse ("Albums", "Albums_R");
                                                    }
                                              }
                                              else $this->r['tpl']->Parse ("Albums", "Albums_Geen");
    
    
                                              $this->r['tpl']->assign ("Albums", "sProfile_id", $this->r['functions']->strip ($fProfile['pid']));
                                              $this->r['tpl']->assign ("Albums", "sGebruikersnaam", $this->r['functions']->strip ($fProfile['gebruikersnaam']));
                                              $this->r['tpl']->Parse ("index", "Albums", "content");
                                        }
                                  }	
                                  elseif(isset ($this->r['key2']) && $this->r['key2'] == 'blog') {
                                        if(isset ($this->r['key3']) && ctype_digit ($this->r['key3'])) {
                                              /* Doorsturen, comments, rating, respects */
                                              $this->r['menu']->setTitle ('Blog bekijken van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));
    
    
                                              ## Blog!
                                              $sBlog = $this->r['sql']->query ("SELECT * FROM blog WHERE profile_id = '".$this->r['key']."' AND pid = '".mysql_real_escape_string ($this->r['key3'])."'");
                                              if($this->r['sql']->rows ($sBlog)) {
                                                    $fBlog = $this->r['sql']->fetch ($sBlog);
    
    
                                                    $this->r['sql']->query ("UPDATE blog SET bekeken = bekeken + 1 WHERE profile_id = '".$this->r['key']."' AND pid = '".mysql_real_escape_string ($this->r['key3'])."'");
    
    
                                                    $this->r['tpl']->assign ("Blog", "sPid", $this->r['functions']->strip ($fBlog['pid']));
                                                    $this->r['tpl']->assign ("Blog", "sTitel", $this->r['functions']->strip ($fBlog['titel']));
                                                    $this->r['tpl']->assign ("Blog", "sBekeken", $this->r['functions']->strip ($fBlog['bekeken']));
                
                                                    $ubb = new ubbparser ($fBlog['blog'], '');
                                                    $this->r['tpl']->assign ("Blog", "sBericht", $ubb->printtoscreen ());
                                                    $this->r['tpl']->assign ("Blog", "sDatum", date ("d-m-Y H:i", $this->r['functions']->strip ($fBlog['datum'])));
    
    
                                                    $this->_berichten ('Blog', 'bBerichten', 'Blog', 'members/profile/'.$this->r['key'].'/blog/'.$this->r['key3'].'/', $this->r['key3']);					
                                                    $this->_respects ('Blog', 'bRespects', 'Blog', $this->r['key3']);					
    
    
                                                    $this->r['tpl']->assign ("Blog", "sProfile_id", $this->r['functions']->strip ($fProfile['pid']));
                                                    $this->r['tpl']->Parse ("index", "Blog", "content");
                                              }
                                              else redirect ('Fout', 'Deze blog bestaat niet (meer) of is niet van deze persoon!', '', 3);
    
    
                                        }
                                        else {
                                              $this->r['menu']->setTitle ('Blogs van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));
    
    
                                              ## Blogjess!
                                              $sBlogs = $this->r['sql']->query ("SELECT * FROM blog WHERE profile_id = '".$this->r['key']."' ORDER BY datum DESC");
                                              if($this->r['sql']->rows ($sBlogs)) {
                                                    while ($fBlogs = $this->r['sql']->fetch ($sBlogs)) {
                                                          $this->r['tpl']->assign ("Blogs_R", "sProfile_id", $this->r['functions']->strip ($fBlogs['profile_id']));
                                                          $this->r['tpl']->assign ("Blogs_R", "sPid", $this->r['functions']->strip ($fBlogs['pid']));
                                                          $this->r['tpl']->assign ("Blogs_R", "sTitel", $this->r['functions']->strip ($fBlogs['titel']));
                                                          $this->r['tpl']->assign ("Blogs_R", "sBericht", $this->r['functions']->strip ($fBlogs['blog'], 200));
                                                          $this->r['tpl']->assign ("Blogs_R", "sDatum", date ("d-m-Y H:i", $this->r['functions']->strip ($fBlogs['datum'])));
                                                          $this->r['tpl']->Parse ("Blogs", "Blogs_R");
                                                    }
                                              }
                                              else $this->r['tpl']->Parse ("Blogs", "Blogs_Geen");
                      
                                              $this->r['tpl']->assign ("Blogs", "sProfile_id", $this->r['functions']->strip ($fProfile['pid']));
                                              $this->r['tpl']->Parse ("index", "Blogs", "content");
                                        }
                                  }
                                  elseif(isset ($this->r['key2']) && $this->r['key2'] == 'polls') {
                                        $this->r['menu']->setTitle ('Polls van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));
    
    
                                        if(isset ($this->r['key3']) && ctype_digit ($this->r['key3'])) {
                                              $poll = new Poll ($this->r);
                                              $poll->_poll (1, 'index/members/profile/'.$this->r['key'].'/polls/'.$this->r['key3'], $this->r['key3']);
    
    
                                              $this->_berichten ('Polls', 'pBerichten', 'Poll', 'members/profile/'.$this->r['key'].'/polls/'.$this->r['key3'].'/', $this->r['key3']);					
                                              $this->_respects ('Polls', 'pRespects', 'Poll', $this->r['key3']);					
    
    
                                              $this->r['tpl']->assign ("Poll", "sGebruikersnaam", $this->r['functions']->strip ($fProfile['gebruikersnaam']));
                                              $this->r['tpl']->assign ("Poll", "sProfile_id", $this->r['functions']->strip ($fProfile['pid']));
                                              $this->r['tpl']->Parse ("index", "Poll", "content");
                                        }
                                        else {
                                              ## Polletjes
                                              $sPolls = $this->r['sql']->query ("SELECT * FROM polls WHERE profile_id = '".$this->r['key']."' ORDER BY datum DESC");
                                              if($this->r['sql']->rows ($sPolls)) {
                                                    while ($fPolls = $this->r['sql']->fetch ($sPolls)) {
                                                          $this->r['tpl']->assign ("Polls_R", "sPid", $this->r['functions']->strip ($fPolls['pid']));
                                                          $this->r['tpl']->assign ("Polls_R", "sUid", $this->r['functions']->strip ($fProfile['pid']));
                                                          $this->r['tpl']->assign ("Polls_R", "sVraag", $this->r['functions']->strip ($fPolls['vraag']));
                                                          $this->r['tpl']->assign ("Polls_R", "sAantal_stemmen", $this->r['functions']->strip ($fPolls['totaal']));
                                                          $this->r['tpl']->assign ("Polls_R", "sDatum", date ("d-m-Y H:i", $this->r['functions']->strip ($fPolls['datum'])));
                                                          $this->r['tpl']->Parse ("Polls", "Polls_R");
                                                    }
                                              }
                                              else $this->r['tpl']->Parse ("Polls", "Polls_Geen");
                      
                                              $this->r['tpl']->assign ("Polls", "sGebruikersnaam", $this->r['functions']->strip ($fProfile['gebruikersnaam']));
                                              $this->r['tpl']->assign ("Polls", "sProfile_id", $this->r['functions']->strip ($fProfile['pid']));
                                              $this->r['tpl']->Parse ("index", "Polls", "content");
                                        }
                                  }
                                  elseif(isset ($this->r['key2']) && $this->r['key2'] == 'vrienden') {
                                        $this->r['menu']->setTitle ('Vrienden van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));
    
    
                                        $sVrienden = $this->r['sql']->query ("SELECT v.*, l.gebruikersnaam, l.profielfoto, COUNT(c.uid) AS aantal FROM vrienden v INNER JOIN ##profielen l ON(l.pid = v.uid) LEFT JOIN vrienden c ON(c.profile_id = v.uid)  WHERE v.profile_id = '".$this->r['key']."' AND v.wederzijds = '1' AND v.groep != '1' AND c.groep != '1' GROUP BY v.uid ORDER BY l.actief DESC");
                                        if($this->r['sql']->rows ($sVrienden)) {
                                              $a = 0;
                                              while ($fVrienden = $this->r['sql']->fetch ($sVrienden)) {
                                                    if($a == 4) {
                                                          $a = 0;
                                                          $this->r['tpl']->Parse ("sVrienden_R", "vNewTR");
                                                    }
                                                    $this->r['tpl']->assign ("sVrienden_R", "sUid", $this->r['functions']->strip ($fVrienden['uid']));
                                                    $this->r['tpl']->assign ("sVrienden_R", "sGebruikersnaam", $this->r['functions']->strip ($fVrienden['gebruikersnaam']));
                                                    $this->r['tpl']->assign ("sVrienden_R", "sProfielfoto", (isset ($fVrienden['profielfoto']) && !empty ($fVrienden['profielfoto']) ? '<a href="'.$this->r['cfg']->adres_met.'/members/profile/'.$this->r['functions']->strip ($fVrienden['uid']).'"><img src="'.$this->r['cfg']->adres.'/upload/profielfotos/'.$this->r['functions']->strip ($fVrienden['uid']).'/'.$this->r['functions']->strip ($fVrienden['profielfoto']).'" border="0" alt="Profielfoto van '.$this->r['functions']->strip ($fVrienden['gebruikersnaam']).'" height="'.$this->r['cfg']->hoogte_vrienden.'" width="'.$this->r['cfg']->breedte_vrienden.'" /></a>' : ''));	
                                                    $this->r['tpl']->assign ("sVrienden_R", "sAantal", $this->r['functions']->strip ($fVrienden['aantal']));
                                                    $this->r['tpl']->Parse ("sVrienden", "sVrienden_R");
                                                    $a++;
                                              }
                                        }
                                        else $this->r['tpl']->Parse ("sVrienden", "sVrienden_Geen");
    
    
                                        $this->r['tpl']->assign ("sVrienden", "sProfile_id", $this->r['functions']->strip ($fProfile['pid']));
                                        $this->r['tpl']->assign ("sVrienden", "sGebruikersnaam", $this->r['functions']->strip ($fProfile['gebruikersnaam']));
    
    
                                        $sAantal = $this->r['sql']->query ("SELECT COUNT(v.uid) FROM vrienden v WHERE v.profile_id = '".$this->r['key']."' AND v.wederzijds = '1' AND v.groep = '0'");
                                        $this->r['tpl']->assign ("sVrienden", "sAantal", $this->r['sql']->rows ($sAantal, 'result'));
                                        $this->r['tpl']->Parse ("index", "sSearch");
                                        $this->r['tpl']->Parse ("index", "sVrienden", "content");
                                  }
                                  elseif(isset ($this->r['key2']) && $this->r['key2'] == 'getikt') {
                                        $this->r['menu']->setTitle ('Tikken van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));
    
    
                                        /* Pagina navigatie + Gekke tikken? */
    
    
                                        $sGetikt = $this->r['sql']->query ("SELECT g.*, p.gebruikersnaam FROM getikt g INNER JOIN profielen p ON(p.pid = g.uid) WHERE g.profile_id = '".$this->r['key']."'  AND prive != '".($this->r['client']->ingelogd == 1 && $this->r['user']['pid'] == $this->r['key'] ? '6' : 1)."' ORDER BY datum DESC"); // de 6 is gewoon om alle tiks te laten zien =)
                                        if($this->r['sql']->rows ($sGetikt)) {
                                              while ($fGetikt = $this->r['sql']->fetch ($sGetikt)) {
                                                    $this->r['tpl']->assign ("Tikken_R", "sUid", $this->r['functions']->strip ($fGetikt['uid']));
                                                    $this->r['tpl']->assign ("Tikken_R", "aGebruikersnaam", $this->r['functions']->strip ($fGetikt['gebruikersnaam'], 30));
                                                    $this->r['tpl']->assign ("Tikken_R", "sGebruikersnaam", $this->r['functions']->strip ($fProfile['gebruikersnaam'], 30).' '.($this->r['client']->ingelogd == 1 && ($this->r['user']['pid'] == $this->r['functions']->strip ($fGetikt['uid']) || $this->r['user']['pid'] == $this->r['functions']->strip ($fGetikt['profile_id'])) ? '&nbsp;<a href="'.$this->r['cfg']->adres_met.'/tikken/verwijderen/'.$this->r['functions']->strip ($fGetikt['pid']).'"><img src="'.$this->r['cfg']->adres.'/views/images/icons/verwijderen.png" height="16" width="16" alt="Verwijder deze respect" title="Verwijder deze respect" border="0" /></a>': ''));
                                                    $this->r['tpl']->assign ("Tikken_R", "sTik", $this->r['functions']->strip ($fGetikt['tik'], 100));
                                                    $this->r['tpl']->assign ("Tikken_R", "sDatum", date ("d-m-Y H:i", $fGetikt['datum']));
                                                    $this->r['tpl']->Parse ("Getikt", "Tikken_R");
                                              }
                                        }
                                        else $this->r['tpl']->Parse ("Getikt", "Tikken_Geen");
    
    
                                        $this->r['tpl']->assign ("Getikt", "sProfile_id", $this->r['functions']->strip ($fProfile['pid']));
                                        $this->r['tpl']->assign ("Getikt", "sGebruikersnaam", $this->r['functions']->strip ($fProfile['gebruikersnaam']));
                                        $this->r['tpl']->Parse ("index", "Getikt", "content");
                                  }
                                  elseif(isset ($this->r['key2']) && $this->r['key2'] == 'tips') {
                                        $this->r['menu']->setTitle ('Tips van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));
                                  $this->r['tpl']->assign ("Tips", "sProfile_id", $this->r['key']);
                                        /* Pagina navigatie + Gekke tikken? */
    
    
                                        if(isset ($this->r['key3']) && ctype_digit ($this->r['key3'])) {
                                              $sTip = $this->r['sql']->query ("SELECT * FROM tips WHERE profile_id = '". mysql_real_escape_string ($this->r['key'])."' AND pid = '".mysql_real_escape_string ($this->r['key3'])."'");
                                              if($this->r['sql']->rows ($sTip)) {
                                                    $fTip = $this->r['sql']->fetch ($sTip);
    
    
                                                          $this->r['tpl']->assign ("Tip", "sProfile_id", $this->r['functions']->strip ($fTip['profile_id']));
                                                          $this->r['tpl']->assign ("Tip", "sNaam", $this->r['functions']->strip ($fTip['naam']));
                                                          $this->r['tpl']->assign ("Tip", "sReview", $this->r['functions']->strip ($fTip['review']));
                                                          $this->r['tpl']->assign ("Tip", "sDatum", date ("d-m-Y H:i", $this->r['functions']->strip ($fTip['datum'])));
                                                          $this->r['tpl']->assign ("Tip", "sCategorie", $this->r['functions']->strip ($fTip['categorie']));
                                                          
                                                          $sCat = $this->r['sql']->query ("SELECT * FROM categorieen ORDER BY naam ASC");
                                                          if($this->r['sql']->rows ($sCat)) {
                                                                while ($fCat = $this->r['sql']->fetch ($sCat)) {
                                                                      $this->r['tpl']->assign ("sCategorieen_R", "sProfile_id", $this->r['functions']->strip ($fTip['profile_id']));
                                                                      $this->r['tpl']->assign ("sCategorieen_R", "sPid", $this->r['functions']->strip ($fCat['pid']));
                                                                      $this->r['tpl']->assign ("sCategorieen_R", "sNaam", $this->r['functions']->strip ($fCat['naam']));
                                                                      $this->r['tpl']->Parse ("Tip", "sCategorieen_R");
                                                                }
                                                          }
                                                          
                                                          $this->r['tpl']->Parse ("Tip");
                                              }
                                              else $this->r['functions']->redirect ('Fout', 'Deze tip bestaat niet (meer).', '', 3);
                                        }
                                        else {
                                                          $sCat = $this->r['sql']->query ("SELECT * FROM categorieen ORDER BY naam ASC");
                                                          if($this->r['sql']->rows ($sCat)) {
                                                                while ($fCat = $this->r['sql']->fetch ($sCat)) {
                                                                      $this->r['tpl']->assign ("ssCategorieen_R", "sProfile_id", $this->r['functions']->strip ($this->r['key']));
                                                                      $this->r['tpl']->assign ("ssCategorieen_R", "sPid", $this->r['functions']->strip ($fCat['pid']));
                                                                      $this->r['tpl']->assign ("ssCategorieen_R", "sNaam", $this->r['functions']->strip ($fCat['naam']));
                                                                      $this->r['tpl']->Parse ("Tips", "ssCategorieen_R");
                                                                }
                                                          }
    
    
                                              $sTips = $this->r['sql']->query ("SELECT * FROM tips WHERE profile_id = '". mysql_real_escape_string ($this->r['key'])."' ".(isset ($this->r['key3']) && !empty ($this->r['key3']) ? "AND categorie = '".mysql_real_escape_string ($this->r['key3'])."'" : ''));
                                              if($this->r['sql']->rows ($sTips)) {
                                                          
                                                    while ($fTips = $this->r['sql']->fetch ($sTips)) {
                                                          $this->r['tpl']->assign ("Tips_R", "sPid", $this->r['functions']->strip ($fTips['pid']));
                                                          $this->r['tpl']->assign ("Tips_R", "sUid", $this->r['functions']->strip ($fTips['profile_id']));
    
    
                                                          $this->r['tpl']->assign ("Tips_R", "sNaam", $this->r['functions']->strip ($fTips['naam']));
                                                          $this->r['tpl']->assign ("Tips_R", "sReview", $this->r['functions']->strip ($fTips['review'], 100));
                                                          $this->r['tpl']->assign ("Tips_R", "sDatum", date ("d-m-Y H:i", $this->r['functions']->strip ($fTips['datum'])));
                                                          $this->r['tpl']->assign ("Tips_R", "sCategorie", $this->r['functions']->strip ($fTips['categorie']));
    
    
                                                          $this->r['tpl']->Parse ("Tips", "Tips_R");
                                                    }
                                              }
                                              else $this->r['tpl']->Parse ("Tips", "Tips_Geen");
                                              
                                              $this->r['tpl']->Parse ("Tips");
                                        }
                                  }
                                  elseif(isset ($this->r['key2']) && $this->r['key2'] == 'spots') {
                                        $this->r['menu']->setTitle ('Spots van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));
                                        $this->r['tpl']->assign ("Spots", "sProfile_id", $this->r['key']);
                                        /* Pagina navigatie + Gekke tikken? */
    
    
                                        if(isset ($this->r['key3']) && ctype_digit ($this->r['key3'])) {
                                              $sTip = $this->r['sql']->query ("SELECT * FROM spots WHERE profile_id = '". mysql_real_escape_string ($this->r['key'])."' AND pid = '".mysql_real_escape_string ($this->r['key3'])."'");
                                              if($this->r['sql']->rows ($sTip)) {
                                                    $fTip = $this->r['sql']->fetch ($sTip);
    
    
                                                          $this->r['tpl']->assign ("Spot", "sProfile_id", $this->r['functions']->strip ($fTip['profile_id']));
                                                          $this->r['tpl']->assign ("Spot", "sNaam", $this->r['functions']->strip ($fTip['naam']));
                                                          $this->r['tpl']->assign ("Spot", "sUitleg", $this->r['functions']->strip ($fTip['uitleg']));
                                                          $this->r['tpl']->assign ("Spot", "sDatum", date ("d-m-Y H:i", $this->r['functions']->strip ($fTip['datum'])));
                                                          
                                                          $this->r['tpl']->Parse ("Spot");
                                              }
                                              else $this->r['functions']->redirect ('Fout', 'Deze spot bestaat niet (meer).', '', 3);
                                        }
                                        else {
                                              $sSpots = $this->r['sql']->query ("SELECT * FROM spots WHERE profile_id = '". mysql_real_escape_string ($this->r['key'])."'");
                                              if($this->r['sql']->rows ($sSpots)) {
                                                          
                                                    while ($fTips = $this->r['sql']->fetch ($sSpots)) {
                                                          $this->r['tpl']->assign ("Spots_R", "sPid", $this->r['functions']->strip ($fTips['pid']));
                                                          $this->r['tpl']->assign ("Spots_R", "sUid", $this->r['functions']->strip ($fTips['profile_id']));
    
    
                                                          $this->r['tpl']->assign ("Spots_R", "sNaam", $this->r['functions']->strip ($fTips['naam']));
                                                          $this->r['tpl']->assign ("Spots_R", "sUitleg", $this->r['functions']->strip ($fTips['uitleg'], 100));
                                                          $this->r['tpl']->assign ("Spots_R", "sDatum", date ("d-m-Y H:i", $this->r['functions']->strip ($fTips['datum'])));
    
    
                                                          $this->r['tpl']->Parse ("Spots", "Spots_R");
                                                    }
                                              }
                                              else $this->r['tpl']->Parse ("Spots", "Spots_Geen");
                                              
                                              $this->r['tpl']->Parse ("Spots");
                                        }
                                  }
                                  elseif(isset ($this->r['key2']) && $this->r['key2'] == 'gadgets') {
                                        $this->r['menu']->setTitle ('Gadgets van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));
                                        $this->r['tpl']->assign ("Gadgets", "sProfile_id", $this->r['key']);
                                        
                                        /* Pagina navigatie + Gekke tikken? */
    
    
                                              $sGadgets = $this->r['sql']->query ("SELECT * FROM gadgets WHERE profile_id = '". mysql_real_escape_string ($this->r['key'])."'");
                                              if($this->r['sql']->rows ($sGadgets)) {
                                                    while ($fGadgets = $this->r['sql']->fetch ($sGadgets)) {
    
    
                                                          $this->r['tpl']->assign ("Gadgets_R", "sPid", $this->r['functions']->strip ($fGadgets['pid']));
                                                          $this->r['tpl']->assign ("Gadgets_R", "sUid", $this->r['functions']->strip ($fGadgets['profile_id']));
                                                          $this->r['tpl']->assign ("Gadgets_R", "sTitel", $this->r['functions']->strip ($fGadgets['titel']));
                                                          
                                                          if(ctype_digit ($fGadgets['gadget'])) {
                                                                $sGad = $this->r['sql']->query ("SELECT * FROM voorbeelden WHERE pid = '".mysql_real_escape_string ($fGadgets['gadget'])."'");
                                                                if($this->r['sql']->rows ($sGad)) {
                                                                      $fGad = $this->r['sql']->fetch ($sGad);
                                                                      
                                                                      $this->r['tpl']->assign ("Gadgets_R", "sGadget", stripslashes ($fGad['voorbeeld']));
                                                                }
                                                                else $a = 0;
                                                          }
                                                          else {
                                                                $sUbb = new ubbparser ($fGadgets['gadget']);
                                                                $this->r['tpl']->assign ("Gadgets_R", "sGadget", $sUbb->printtoscreen ());
                                                          }
                                                          $this->r['tpl']->assign ("Gadgets_R", "sDatum", date ("d-m-Y H:i", $this->r['functions']->strip ($fGadgets['datum'])));
                                                          if(!isset ($a)) $this->r['tpl']->Parse ("Gadgets", "Gadgets_R");
                                                    }
                                              }
                                              else $this->r['tpl']->Parse ("Gadgets", "Gadgets_Geen");
                                              
                                              $this->r['tpl']->Parse ("Gadgets");
                                  }
                                  else {
                                        $this->r['menu']->setTitle ('Profiel van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']));
                                        $sAfmetingen = @getimagesize ('upload/profielfotos/'.$fProfile['pid'].'/'.$fProfile['profielfoto']);
                                        $this->r['tpl']->assign ("Profile", "sProfielfoto_Groot", (isset ($fProfile['profielfoto']) && !empty ($fProfile['profielfoto']) ? '<img src="'.$this->r['cfg']->adres.'/upload/profielfotos/'.$this->r['functions']->strip ($fProfile['pid']).'/'.$this->r['functions']->strip ($fProfile['profielfoto']).'" width="'.($sAfmetingen[0] > 700 ? 500 : $sAfmetingen[0]).'" height="'.($sAfmetingen[1] > 700 ? 600 : $sAfmetingen[1]).'" border="0" alt="Profielfoto van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']).'" />' : '<img src="'.$this->r['cfg']->adres.'/views/images/prof/pic2.png" border="0" alt="Profielfoto van '.$this->r['functions']->strip ($fProfile['gebruikersnaam']).'" />'));	
                                        
                                        
                                        if($fProfile['contest'] == 1) {
                                              $this->r['tpl']->assign ("cStemmen", "sPid", $fProfile['pid']);
                                              
                                              $sGestemd = explode (", ", $fProfile['contest_gestemd']);
                                              
                                              if($this->r['client']->ingelogd != 1) 
                                                    $this->r['tpl']->Parse ("sContest", "cnIngelogd");
                                              else
                                                    $this->r['tpl']->Parse ("sContest", "cStemmen");
                                              
                                              $this->r['tpl']->Parse ("Profile", "sContest");
                                        }
                                        
                                        
                                        $this->r['tpl']->assign ("Profile", "sProfile_id", $this->r['functions']->strip ($fProfile['pid']));
                                        $this->r['tpl']->assign ("Profile", "sGebruikersnaam", $this->r['functions']->strip ($fProfile['gebruikersnaam']));
                                        $this->r['tpl']->assign ("Profile", "sVoornaam", $this->r['functions']->strip ($fProfile['voornaam']));
                                        $this->r['tpl']->assign ("Profile", "sAchternaam", $this->r['functions']->strip ($fProfile['achternaam']));
                                        $this->r['tpl']->assign ("Profile", "sGeslacht", $this->r['functions']->strip ($fProfile['geslacht']));
                                        $this->r['tpl']->assign ("Profile", "sGeaardheid", $this->r['functions']->strip ($fProfile['geaardheid']));
                                        $this->r['tpl']->assign ("Profile", "sRelatie", $this->r['functions']->strip ($fProfile['relatie']));
                                        $this->r['tpl']->assign ("Profile", "sTelefoon", $this->r['functions']->strip ($fProfile['telefoon']));
                                        $this->r['tpl']->assign ("Profile", "sMobiel", $this->r['functions']->strip ($fProfile['mobiel']));
    
    
                                        if(!empty ($fProfile['geboortedatum'])) {
                                              $vDatum = explode ("-", $this->r['functions']->strip ($fProfile['geboortedatum']));
                                              if(date ('m') < $vDatum[1]) $sLeeftijd = ((date ('Y') - end($vDatum)) -1);
                                              else $sLeeftijd = date ('Y') - end($vDatum);
                                              $this->r['tpl']->assign ("Profile", "sLeeftijd", $sLeeftijd);
    
    
                                              $this->r['tpl']->assign ("Profile", "sWoonplaats", $this->r['functions']->strip ($fProfile['woonplaats']));
                                        }
                                        else $this->r['tpl']->assign ("Profile", "sWoonplaats", '-');
    
    
                                        $this->r['tpl']->assign ("Profile", "sDatum", date ("d-m-Y", $fProfile['datum']));
                                        $this->r['tpl']->assign ("Profile", "sBekeken", $fProfile['bekeken']);
                                        $this->r['tpl']->assign ("Profile", "sPassies", $this->r['functions']->strip ($fProfile['passies']));
    
    
                                        $this->r['tpl']->assign ("Profile", "sStatus", (isset ($fProfile['pagina']) && !empty ($fProfile['pagina']) ? '<font color="58c012">Online</font>' : 'Offline'));
                                        $this->r['tpl']->assign ("Profile", "vStatus", (isset ($fProfile['pagina']) && !empty ($fProfile['pagina']) ? 'online' : ''));
    
    
                                        $this->r['tpl']->assign ("Profile", "sLengte", $this->r['functions']->strip ($fProfile['extra_lengte']));
                                        $this->r['tpl']->assign ("Profile", "sGewicht", $this->r['functions']->strip ($fProfile['extra_gewicht']));
                                        $this->r['tpl']->assign ("Profile", "sSchoenmaat", $this->r['functions']->strip ($fProfile['extra_schoenmaat']));
                                        $this->r['tpl']->assign ("Profile", "sOogkleur", $this->r['functions']->strip ($fProfile['extra_kleur']));
                                        $this->r['tpl']->assign ("Profile", "sHaarkleur", $this->r['functions']->strip ($fProfile['extra_haarkleur']));
                                        $this->r['tpl']->assign ("Profile", "sRoken", $this->r['functions']->strip ($fProfile['extra_roken']));
                                        $this->r['tpl']->assign ("Profile", "sPiercing", $this->r['functions']->strip ($fProfile['extra_piercings']));
                                        $this->r['tpl']->assign ("Profile", "sTattoo", $this->r['functions']->strip ($fProfile['extra_tattoo']));
                                        $this->r['tpl']->assign ("Profile", "sDresscode", $this->r['functions']->strip ($fProfile['extra_dresscode']));
                                        $this->r['tpl']->assign ("Profile", "sGeaardheid", $this->r['functions']->strip ($fProfile['extra_geaardheid']));
                                        $this->r['tpl']->assign ("Profile", "sRelatie", $this->r['functions']->strip ($fProfile['extra_relatie']));
                                        $this->r['tpl']->assign ("Profile", "sHobbies", $this->r['functions']->strip ($fProfile['extra_hobbies']));
                                        $this->r['tpl']->assign ("Profile", "sSport", $this->r['functions']->strip ($fProfile['extra_sport']));
                                        $this->r['tpl']->assign ("Profile", "sMuzieksoort", $this->r['functions']->strip ($fProfile['extra_muzieksoort']));
                                        $this->r['tpl']->assign ("Profile", "sSchool", $this->r['functions']->strip ($fProfile['extra_school']));
                                        $this->r['tpl']->assign ("Profile", "sPartyplace", $this->r['functions']->strip ($fProfile['extra_partyplace']));
                                        $this->r['tpl']->assign ("Profile", "sTvserie", $this->r['functions']->strip ($fProfile['extra_tvserie']));
                                        $this->r['tpl']->assign ("Profile", "sFilm", $this->r['functions']->strip ($fProfile['extra_film']));
                                        $this->r['tpl']->assign ("Profile", "sDrank", $this->r['functions']->strip ($fProfile['extra_drank']));
                                        $this->r['tpl']->assign ("Profile", "sVervoer", $this->r['functions']->strip ($fProfile['extra_vervoer']));
                                        $this->r['tpl']->assign ("Profile", "sIdool", $this->r['functions']->strip ($fProfile['extra_idool']));
                                        $this->r['tpl']->assign ("Profile", "sVakantieland", $this->r['functions']->strip ($fProfile['extra_vakantieland']));
                                        $this->r['tpl']->assign ("Profile", "sDroom", $this->r['functions']->strip ($fProfile['extra_droom']));
    
    
     
                                        ## Interesses
                                        $this->r['tpl']->assign ("Profile", "Eten", $this->r['functions']->strip ($fProfile['eten']));
                                        $this->r['tpl']->assign ("Profile", "Muziek", $this->r['functions']->strip ($fProfile['muziek']));
                                        $this->r['tpl']->assign ("Profile", "Merken", $this->r['functions']->strip ($fProfile['merken']));
    
    
                                        $sInteresses = array ('Eten', 'Muziek', 'Merken', 'Tv', 'Games', 'Reizen', 'Boeken');
                                        foreach ($sInteresses AS $key => $content) {
                                              $this->r['tpl']->assign ("Interesses_R", "sNaam", $content);
                                              $this->r['tpl']->assign ("Interesses_R", "sInteresses", $this->r['functions']->strip ($fProfile[strtolower ($content)]).','.$this->r['functions']->strip ($fProfile[strtolower ($content.'_extra')]));
                                              $this->r['tpl']->Parse ("Profile", "Interesses_R");
                                        }
    
    
    
    
                                        if(isset ($fProfile['ballon']) && !empty ($fProfile['ballon']) && $fProfile['vip'] == 1) {
                                              $this->r['tpl']->assign ("sBallon", "sTekst", $this->r['functions']->strip ($fProfile['ballon'], 70));
                                              $this->r['tpl']->Parse ("Profile", "sBallon");
                                        }
                                        
                                        ## Berichtjes -> 'krabbels'
                                        $this->_berichten ('profiel', 'Berichten', 'Profile', 'members/profile/'.$fProfile['pid'].'/');					
    
    
                                        ## Videos
                                        $sVideo = $this->r['sql']->query ("SELECT * FROM video WHERE profile_id = '".$fProfile['pid']."' ORDER BY datum DESC LIMIT 0, 3");
                                        if($this->r['sql']->rows ($sVideo)) {
                                              while ($fVideo = $this->r['sql']->fetch ($sVideo)) {
                                                    if($this->r['client']->ingelogd == 1 && $this->r['user']['pid'] != $fVideo['profile_id']) 
                                                          $this->r['tpl']->assign ("Video_R", "sToevoegen", '&nbsp;<a href="'.$this->r['cfg']->adres_met.'/panel/video_aanlijst/'.$fVideo['pid'].'"><img src="<global sAdres>/views/images/toevoegen.png" alt="Deze video op jouw profiel zetten" border="0" /></a>');
    
    
                                                    if($this->r['client']->ingelogd == 1 && ( $this->r['user']['pid'] == $fVideo['profile_id'] || $this->r['user']['status'] == 'Beheerder')) {
                                                          $this->r['tpl']->assign ("vBeheer", "sPid", $this->r['functions']->strip ($fVideo['pid']));
                                                          $this->r['tpl']->Parse ("Video_R", "vBeheer");
                                                    }
                                                    $this->r['tpl']->assign ("Video_R", "sUid", $this->r['functions']->strip ($fVideo['profile_id']));
                                                    $this->r['tpl']->assign ("Video_R", "sTitel", $this->r['functions']->strip ($fVideo['titel']));
                                                    $this->r['tpl']->assign ("Video_R", "sInhoud", stripslashes ($this->r['functions']->youtube_vriendelijk ($fVideo['inhoud'])));
                                                    $this->r['tpl']->Parse ("Profile", "Video_R");
                                              }
                                        }
                                        else $this->r['tpl']->Parse ("Profile", "Video_Geen");
                                        
                                        ## Bekeken + 1
                                        $this->r['sql']->query ("UPDATE ##profielen SET bekeken = bekeken + 1 WHERE pid = '".mysql_real_escape_string ($fProfile['pid'])."'");
                                        
                                        $this->r['tpl']->assign ("Profile", "sProfieltekst", nl2br ($this->r['functions']->strip ($fProfile['omschrijving'])));
                                        
                                        if($this->r['client']->ingelogd == 1 && $this->r['user']['status'] == 'Beheerder') {
                                              $this->r['tpl']->assign ("Prbeheer", "sProfile_id", $this->r['key']);
                                              $this->r['tpl']->Parse ("Profile", "Prbeheer");
                                        }
    
    
                                        if($fProfile['vip'] != 1) {
                                              $sReclame = $this->r['sql']->query ("SELECT * FROM reclame ORDER BY RAND()");
                                              if($this->r['sql']->rows ($sReclame)) {
                                                    $fReclame = $this->r['sql']->fetch ($sReclame);
    
    
                                                    $this->r['tpl']->assign ("Profile", "sReclame", '<br />'.stripslashes ($fReclame['reclame']));
                                              }	
                                        }
                                        $this->r['tpl']->Parse ("Profile");
    
    
                                        
                                        
    
    
                                  }
                            }
                     }
                     else $this->r['functions']->redirect ('Fout', 'Deze profielpagina bestaat niet (meer) of dit account is (nog) niet geactiveerd.', '', 3);
    
    
    		}
    		else $this->r['functions']->redirect ('Fout', 'Je hebt geen profielid meegegeven.', '', 3);
    	echo $this->r['tpl']->_error (1);
    	}
    }
    ?>
    Meer tonen
  • Gast, wil je besparen op je domeinnamen? (ad)
  • Darsstar
    Vreemd
    Berichten
    1.173
    • 5 juni 2011 om 18:46
    • #2

    De foutmelding geven zou wel zo aardig zijn.
    Ik heb geen zin om een account aan te maken.
    En ik zie op regel 262 niet een of andere syntax error, dus zou ik moeten raden wat de fout is. Waar ik geen zin ik heb.

    miauw!

  • erduran
    Beginner
    Berichten
    13
    • 5 juni 2011 om 22:24
    • #3

    Sorry je hebt gelijk, dit is de fout die weergeven word.

    Warning: Cookie names can not contain any of the following '=,; \t\r\n\013\014' in /home/chilple/domains/chilplek.nl/public_html/controllers/members.php on line 262

  • thexerox
    thexeroxprojects.be
    Berichten
    414
    • 5 juni 2011 om 22:42
    • #4

    Allereerst, 1077 regels code op 1 pagina. Auwtch! Dit is echt niet te onderhouden!

    + De fout geeft aan dat je in de cookie een character probeert te steken die niet worden ondersteund in cookies ..

  • Darsstar
    Vreemd
    Berichten
    1.173
    • 5 juni 2011 om 22:49
    • #5

    De waarde van $this->r['cfg']->cookie is dus niet geschikt als naam voor een cookie, doe hier iets aan.

    miauw!

  • erduran
    Beginner
    Berichten
    13
    • 5 juni 2011 om 22:57
    • #6

    Hoe zou ik dat moeten doen?

    K ben eigenlijk een noob met websites. Als iemand mij kan garanderen dat die de website online en werkend naar wensen kan maken, ben ik ook bereid daar voor een vergoeding te betalen.

    Er moeten namelijk hier en daar wat kleine veranderingen plaats vinden.

    Iemand die mij verder op weg kan helpen?

Registratie

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

Nu registreren Aanmelden

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

  • 4 Gasten
  1. Marktplaats
  2. Design
  3. Voorwaarden
  4. Ons team
  5. Leden
  6. Geschiedenis
  7. Regels
  8. Links
  9. Privacyverklaring
  10. Contact
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