// behave_header.php location: /robotigs/includes/ //*** PARSE VARIABLES: //Should be specified by the URL $idbhv = 1; //Default if nothing is supplied through the URL parse_str($_SERVER['QUERY_STRING'], $output); //Parses URL values into variables if (isset($output['idbhv'])){$idbhv = $output['idbhv'];} //Parsed from URL include ("/var/www/html/robotigs/includes/include_all_updateable.php"); //Includes without any window output $titel = $idbhv; //A behaviour is always group 50 and can be edited online $recordkey = $idbhv; //Keyvalue for use in logon button and more $txlkey = 50; //Txlkey needed for header, tabbladname, title $help_wdw = 16; //Group 29 include ("/var/www/html/robotigs/includes/include_head.php"); //Headers etc include ("/var/www/html/robotigs/includes/include_menu.php"); //Javascript menu include ("/var/www/html/robotigs/includes/include_functions.php"); //General ?> //*** SELECT THE RIGHT NAME ETC ----------------------------------------------- $qry = ("SELECT gedragingen.recid, gedragingen.name, tblsystext.memo FROM gedragingen LEFT JOIN tblsystext ON gedragingen.recid = tblsystext.recordid WHERE tblsystext.recordid = $idbhv AND tblsystext.lanid = $koekje[2] AND tblsystext.txlid = 50 ;"); $result = pg_query($con1, $qry); $row = pg_fetch_array ($result ,0); $txtname = $row[1]; $pict_list = $row[0]; $edit = "ok"; //$edit = "nok"; //*** FROM HERE ON THE TOP LINE STARTS ***************************************** echo ("