A1 A2 A3
getArrayFromSelectQuery($menuSQL); foreach($menu_buttons as $menu_button) { if(($menu_button['menu_id'] == 8 || $menu_button['menu_id'] == 9) && !($_SESSION['Login'] > 1)) continue; echo ""; echo ""; echo "\n"; } if(@$_SESSION['Login']>1) { ///*************************************************** /// /// AANMENLDEN VOOR ACTIVITEIT /// ///**************************************************** $sQuery = "SELECT * FROM activiteiten WHERE dierenarts_id='".$aSettings['nDapID']."' AND UNIX_TIMESTAMP(start_datum)<".time()." AND UNIX_TIMESTAMP(datum)>".time()." AND zichtbaar='1' ORDER BY UNIX_TIMESTAMP(datum)"; if($oMySQL->nResults($sQuery)>0) { echo ""; echo ""; echo ""; } } echo ""; echo ""; echo ""; echo "\n"; echo ""; echo "\n" ?> location.href='content/lustrumsignup.php';"; } else { $sQuery="SELECT * FROM TEXT_INHOUD WHERE dierenarts_id='".$aSettings['nDapID']."' AND menu_inhoud_id=".$_GET['pid']." LIMIT 1"; if($oMySQL->nResults($sQuery)>0) { $aContent = $oMySQL->getArrayFromSelectQuery($sQuery); $aContent = $aContent[0]; if(!empty($aContent['text_inhoud'])) { echo $aContent['text_inhoud']; } else { echo " "; } } } if($_GET['pid'] == 1) include_once("content/home.php"); ?>