==================
"; //print_r($_POST); //echo"
==================
"; //print_r($_SESSION); //echo "=$pcVanaf="; //error_reporting(E_ALL); error_reporting(E_ALL ^ E_NOTICE); //echo $_SERVER['HTTP_USER_AGENT'].'
'; } // GOOGLE KEYS ============================================================== $googlemaps_api_key='AIzaSyB9XNXNQxNrbjbC4jopiWhE0DIxI9rQpVg'; //FUNCTIES & CLASSES //echo $_SERVER['DOCUMENT_ROOT']; //$root ="/home/muziekles/domains/muzieklesonderwijs.be/public_html/"; $root=$_SERVER['DOCUMENT_ROOT']."/"; //echo $root.$basedir.'classes.inc = XXXXXXXXXXXXXXXXXXXXXXXXXXX'; require('/home/muziekles/domains/muziekonderwijs.be/mysqli_open.inc'); include($root.$basedir.'classes.inc'); echo __LINE__.'
'; include($root.$basedir.'inc_functies.inc'); echo __LINE__.'
'; break; if($_SERVER['REMOTE_ADDR']=='178.84.87.74' && $test){ //$mysqli->query("UPDATE ML2_Meldingen SET dd='0'"); //$o->ddControleAllemaal(true); //$o->ddControle(10002); } echo __LINE__.'
'; //SECUREIMAGE include_once($root.'securimage/securimage.php'); $securimage = new Securimage(); //print_r($_REQUEST); //echo "
Z ".$_REQUEST["mzl"].$_COOKIE['mzl']." Z $_COOKIE[mzl_hash] Z
"; // VARIABELEN reset($_POST); reset($_SESSION); foreach($_POST as $key=>$val){$_SESSION[$key]=$val;} if($_GET['beheeruid']){$_SESSION['beheeruid']=$_GET['beheeruid'];} reset($_POST); while(list($key,$val)=each($_POST)){$$key=htmlentities(stripslashes($val),ENT_QUOTES);} //while(list($key,$val)=each($_GET)) {$$key=$val;} if($_GET && (!$_POST || $_POST['zoekenop']=='af') ){ //echo "
----------------------------
*$sub*$subsub*
"; $page=$_GET['page']; //echo "*$sub*$subsub*
"; $sub1=$_GET['sub1'];$sub2=$_GET['sub2'];$sub3=$_GET['sub3'];$sub4=$_GET['sub4'];$sub5=$_GET['sub5']; //echo "*$sub*$subsub*
"; $sub=$_GET['sub'];$subsub=$_GET['subsub'];$subsubsub=$_GET['subsubsub'];$subsubsubsub=$_GET['subsubsubsub'];$subsubsubsubsub=$_GET['subsubsubsubsub']; //echo "*$sub*$subsub*
"; $melding=$_GET['melding']; //echo "*$sub*$subsub*
"; if($subsubsubsub>10000){$_SESSION['selectedInstrument']=$page;$page='melding';$melding=$subsubsubsub;} if($sub5){ if($sub1>'' && $i->instrumentId($o->url2name(substr($sub1,0,-3)))){ $_SESSION['selectedInstrument']=substr($sub1,-3)=='les'?substr($sub1,0,-3):$sub1; }elseif($sub2>'' && $i->instrumentId($o->url2name($sub2))){ $_SESSION['selectedInstrument']=$sub2; }else{ $_SESSION['selectedInstrument']=null;}$page='melding';$melding=$sub5; } if($_GET['page']=='wachtwoordaanvragen'){$page='inloggen';$wawovergeten=true;} if($_GET['wachtwoord']=='nieuw'){$page='inloggen';} if($_GET['page']=='aanmelden'){$cat=$_GET['cat'];} } // variabelen die niet bewerkt mogen worden $instrument=$_SESSION['instrument']; echo __LINE__.'
'; // REEKSEN $maand=array('','Jan', 'Feb', 'Mrt', 'Apr', 'Mei', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec'); $dagvdweek=array('','Ma', 'Di', 'Wo', 'Do', 'Vr', 'Za', 'Zo'); $dagvdweekvoluit=array('','Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrijdag', 'Zaterdag', 'Zondag'); $soort=array(''=>'Gratis',' '=>'Gratis','G'=>'Gratis','B'=>'Budget','V'=>'Volledig','T'=>'Top'); $fsoort=array(''=>'Gratis',' '=>'Gratis','G'=>'Gratis','B'=>'Budget','V'=>'Volledige','T'=>'Top'); $betaalperioden=array(''=>'1 jaar',' '=>'1 jaar','HJ'=>'1/2 jaar','J'=>'1 jaar','4'=>'4 wkn.'); if(!$cat && ($melding || $meldingid)){ $mqry=$mysqli->query("SELECT Cat FROM ML2_Meldingen WHERE ID='".$melding.$meldingid."'"); $mrow=$mqry->fetch_assoc(); $cat=$mrow[0]; } $catqry=$mysqli->query("SELECT * FROM ML2_Categorien WHERE ID='".$cat.$tbrow[0].$tbrow[1]."'"); $catrow=$catqry->fetch_assoc(); // SESSION LEEGMAKEN if($_POST['reset']){$s->aanmelding_reset($s->ses_id,$s->ses_email);} //tbv automatische inlog mbv cookie // cookie plaatsen of verwijderen if(($s->ses_id && $actie=='accountupdate') || $page=='uitloggen'){ if($autoinlog){ if($test){ setcookie('mzl',$s->ses_id,time()+31536000,'/TESTsite/','www.muziekonderwijs.be'); setcookie('mzl_hash',md5($s->ses_id.$muzieksleutel),time()+31536000,'/TESTsite/','www.muziekonderwijs.be'); } setcookie('mzl',$s->ses_id,time()+31536000,'/','www.muziekonderwijs.be'); setcookie('mzl_hash',md5($s->ses_id.$muzieksleutel),time()+31536000,'/','www.muziekonderwijs.be'); }elseif(!$autoinlog || $page=='uitloggen'){ if($test){ setcookie('mzl','',time()-3660,'/'.'TESTsite/','www.muziekonderwijs.be'); setcookie('mzl_hash','',time()-3660,'/'.'TESTsite/','www.muziekonderwijs.be'); } setcookie('mzl','',time()-3660,'/','www.muziekonderwijs.be'); setcookie('mzl_hash','',time()-3660,'/','www.muziekonderwijs.be'); } } // cookie lezen bij opstarten if(!$s->ses_id && (md5($_COOKIE['mzl'].$muzieksleutel)==$_COOKIE['mzl_hash']) && $g->user_actief($_COOKIE['mzl'])==1){ $s->ses_email=$g->user_email($_COOKIE['mzl']); $s->ses_id =$_COOKIE['mzl']; $s->ses_set(); $g->gebr_logons_addone($_COOKIE['mzl']); $g->gebr_ip_add($_COOKIE['mzl'],$_SERVER['REMOTE_ADDR']); } $formaction="action=".$subtestdir."/index.php"; if($s->ses_id && $s->ses_id<9 && $_SESSION['beheeruid'] && (strstr($_SERVER['HTTP_REFERER'],'cloack') || strstr($_SERVER['REQUEST_URI'],'cloack') ) ){ $cloack=".cloack"; $s->ses_id=$_SESSION['beheeruid']; $formaction=null; } echo __LINE__.'
'; if($login){ sleep(1); //tc('-login-',$tc); if($inlog_email && $inlog_wachtwoord){ if ($g->gebr_logon(strtolower(trim($inlog_email)),trim($inlog_wachtwoord))){ $s->ses_email = $inlog_email; $s->ses_id = $g->id; $s->ses_set(); $g->gebr_logons_addone($_SESSION['ses_id']); $g->gebr_ip_add($_SESSION['ses_id'],$_SERVER['REMOTE_ADDR']); if($g->user_autoinlog($_SESSION['ses_id'])==1 || $autoinlog){ if(!$g->user_autoinlog($_SESSION['ses_id'])==1 || $autoinlog){$mysqli->query("UPDATE ML2_Users SET AutoInlog='1' WHERE ID='".$s->ses_id."'");} if($test){ setcookie('mzl',$s->ses_id,time()+31536000,'/'.($test?'TESTsite/':''),'www.muziekonderwijs.be'); setcookie('mzl_hash',md5($s->ses_id.$muzieksleutel),time()+31536000,'/'.($test?'TESTsite/':''),'www.muziekonderwijs.be'); } setcookie('mzl',$s->ses_id,time()+31536000,'/','www.muziekonderwijs.be'); setcookie('mzl_hash',md5($s->ses_id.$muzieksleutel),time()+31536000,'/','www.muziekonderwijs.be'); } if($page=='inloggen'){$page='home';} }else{ $inlogfout = "
  Combinatie emailadres en wachtwoord onbekend of nog niet geactiveerd!

"; } }else{ $inlogfout = "
  U heeft geen emailadres en/of wachtwoord ingevuld!

"; $accountselect='ja'; } } echo __LINE__.'
'; //echo "SESSION->";print_r($_SESSION); //echo "

GET->";print_r($_GET); //echo "

POST->";print_r($_POST); //echo "

div-> g=$_GET[page] p=$_POST[page] s=$_SESSION[page] $=$page"; //echo "

div-> g=$_GET[bundelid] p=$_POST[bundelid] s=$_SESSION[bundelid] $=$bundelid

"; if (isset($logout)){$s->ses_clear();} if(!$_SESSION['srt'] || $_POST['srt']){ if ($_POST['srt']){$_SESSION['srt']=$_POST['srt'];} } echo __LINE__.'
'; $tarief=$g->user_tarief($s->ses_id); echo __LINE__.'
'; if(!$tarief){$tarief=1;} echo __LINE__.'
'; $trfq=$mysqli->query("SELECT * FROM ML2_Tarieven WHERE Groep=".$tarief." ORDER BY Datum DESC LIMIT 1"); echo __LINE__.'
'; $trf=$trfq->fetch_assoc(); echo __LINE__.'
'; include($root.$basedir.'inc_mailteksten.php'); echo __LINE__.'
'; include($root.$basedir.'inc_htmlheaders.inc'); echo __LINE__.'
'; //background-color:#D8A4EF #bbbbbb ?>