"; require __DIR__ . "/areamap.php";//?rid=" . $guidRecord;; exit(0); } if ($GLOBALS['App'] === AppType::VIPKiosk) { $url = (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on' ? "https" : "http") . "://$_SERVER[HTTP_HOST]/kiosk.php?rid=" . $guidRecord; //echo "
"; require __DIR__ . "/kiosk.php";//?rid=" . $guidRecord;; exit(0); } // helper function used by both siteplan and floorplan modes for generating HTML for custom inputs. caller responsible for inserting HTML into the DOM. function generateHTMLfromCustomInputs($CustomInputs, $context) { global $AvailablePlanRecs, $AvailableStatusRecs; $html = ""; $tabindex = 1; foreach($CustomInputs->Field AS $input) { $datatype = $input['Datatype']; $input_name = $context . "CustomInput" . (int)$input['FieldDefID']; $options = explode("|", $input['OptionListPSV']); // option list or fielddef details $html .= ""; if ($datatype=='Checkbox') { $html .= ""; } elseif($datatype=='Date') { $html .= ""; } elseif($datatype=='Image') { $html .= ""; } elseif($datatype=='Integer') { $html .= ""; } elseif($datatype=='Float') { $html .= ""; } elseif($datatype=='Money') { $html .= "$"; } elseif($datatype=='Option List') { $html .= ""; } elseif($datatype=='Available Plans' || $datatype=='Standard Selected Plan') { if ($datatype=='Available Plans') { $html .= "