if (!isset($_SESSION['sess_lang'])) { $_SESSION['sess_lang'] = 'EN'; } $CONFIG_OBJ = new stdClass(); if (!defined('SYSTEM_MAP_STYLE')) define('SYSTEM_MAP_STYLE', 'default'); $logopath = $logopath ?? '/webimages/logo.png'; // ✅ fallback logo path $siteUrl = $siteUrl ?? 'https://pibry.com'; // ✅ fallback site URL $fav_icon_image = (file_exists($_SERVER['DOCUMENT_ROOT'] . $logopath)) ? $logopath : 'favicon.ico'; ?> //print_r($_REQUEST); if (isset($_REQUEST['edit']) && $_REQUEST['edit'] == 'yes') { $_SESSION['edita'] = 1; } if (isset($_REQUEST['edit']) && $_REQUEST['edit'] == 'no') { //setcookie('edit', $cookie_value, time() - (86400 * 30)); unset($_SESSION['edita']); $_SESSION['edita'] = ""; } include_once($tconfig["tpanel_path"].$templatePath."top/top_script.php"); include_once($tconfig["tpanel_path"]."top/validation.php"); $DEFAULT_COUNTRY_CENTER_LATITUDE =$DEFAULT_COUNTRY_CENTER_LONGITUDE= ""; if(!empty($country_data_arr[$DEFAULT_COUNTRY_CODE_WEB]) && !empty($country_data_arr[$DEFAULT_COUNTRY_CODE_WEB]['tLatitude']) && !empty($country_data_arr[$DEFAULT_COUNTRY_CODE_WEB]['tLongitude'])){ $DEFAULT_COUNTRY_CENTER_LATITUDE = $country_data_arr[$DEFAULT_COUNTRY_CODE_WEB]['tLatitude']; $DEFAULT_COUNTRY_CENTER_LONGITUDE = $country_data_arr[$DEFAULT_COUNTRY_CODE_WEB]['tLongitude']; } ?>