Warning: Undefined variable $rs in /var/www/vhosts/landmeteenplan.nl/httpdocs/lib/php/custom.php on line 47 Warning: Undefined variable $sel in /var/www/vhosts/landmeteenplan.nl/httpdocs/lib/php/custom.php on line 50 Warning: Undefined variable $rs in /var/www/vhosts/landmeteenplan.nl/httpdocs/lib/php/custom.php on line 120 "; $rs .= "
"; $rs .= "
"; $rs .= "
"; $rs .= "
"; $rs .= "$wdg"; $rs .= "
"; $rs .= "
"; $rs .= "
"; $rs .= "
"; $rs .= ""; break; case 2: $wdg = file_get_contents("lib/wdg/w{$bhv}.php"); $rs .= "
"; $rs .= "
"; $rs .= "$wdg"; $rs .= "
"; $rs .= "
"; case 6: $img = img ($tb, $id, "masthead", "", "AND hp='3'"); $rs .= $img; break; case 7: $itmz = programma($tb, $id); $rs .= "
"; $rs .= itmz($tb, $id, "", "AND hp='2'"); default: } $rs .= "
"; $rs .= "
"; $rs .= "
"; $rs .= "
"; $rs .= "

$tit

"; $rs .= "
$shr
"; $rs .= "
$txt 
"; $rs .= $itmz; $rs .= "
"; $rs .= "
"; if ($hp) $rs .= shortcuts(); $rs .= "
"; }else{ $rs = "404"; } return $rs; } function thtx(){ global $q, $gp, $gl, $gt; $tb = "thm"; $res = pdo("SELECT * FROM $tb WHERE pub$gl='1' ORDER BY seq ASC"); while($rw = $res->fetch(PDO::FETCH_ASSOC)) { $ico = $rw["ico"]; $shr = $rw["txt$gl"]; $rs .= "
$shr
"; } return $rs; } function thms(){ global $q, $gp, $gl, $gt; $tb = "thm"; $pth = $gt["idx"][1]["url"]; $res = pdo("SELECT * FROM $tb WHERE pub$gl='1' ORDER BY seq ASC"); while($rw = $res->fetch(PDO::FETCH_ASSOC)) { $id = $rw["id"]; $tit = $rw["tit$gl"]; $utt = $rw["utt$gl"]; $shr = ct($rw["shr$gl"]); $sel = (($q[3]==$utt)? "active" : ""); $rs .= "

$tit

$shr
"; } return $rs; } function programma($tb, $pid){ global $q, $g, $gp, $gl, $gt; $rs = ""; $rs .= "
"; $rs .= "
PROGRAMMA
"; $res = pdo("SELECT * FROM itmz WHERE typ='$tb' AND pid='$pid' AND pub$gl='1' AND hp='1' AND mdm='txt' ORDER BY seq ASC"); while($rw = $res->fetch(PDO::FETCH_ASSOC)) { $id = $rw["id"]; $tit = $rw["tit$gl"]; $sub = $rw["sub$gl"]; $txt = ct($rw["txt$gl"]); $rs .= "
"; $rs .= "
"; $rs .= "$tit"; $rs .= "
"; $rs .= "
"; $rs .= "$sub"; $rs .= "
"; $rs .= "
"; $rs .= "$txt"; $rs .= "
"; } $rs .= "
"; $rs .= "
"; $rs .= "
"; return $rs; } ?> Fatal error: Uncaught Error: Call to undefined function gc() in /var/www/vhosts/landmeteenplan.nl/httpdocs/lib/php/custom.php:113 Stack trace: #0 /var/www/vhosts/landmeteenplan.nl/httpdocs/event/index.php(16): cnt() #1 {main} thrown in /var/www/vhosts/landmeteenplan.nl/httpdocs/lib/php/custom.php on line 113