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
function gc(){
global $q, $g, $gp, $gl, $gt;
$tb = "nvg";
$id = $gt["id"];
if($id){
$rw = gr($tb, $id);
$tit = $rw["tit$gl"];
$utt = $rw["utt$gl"];
$sub = $rw["sub$gl"];
$txt = ct($rw["txt$gl"]);
$shr = ct($rw["shr$gl"]);
$bhv = $rw["bhv"];
$hp = $rw["hp"];
switch($bhv){
case 1:
case 3:
case 4:
$wdg = file_get_contents("lib/wdg/w{$bhv}.php");
if ($bhv == 3) $rs .= graph();
if ($bhv == 4) $rs .= thtx();
$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 .= "
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