Order management module
The special function of GPS Guardian platform is the possibility to connect with the communication terminal of a driver. This solution means that you can contact a driver at any time by a quick and free message and send directly to the driver terminal. The driver can respond with minimal effort and display the navigation mode to the job point.
global $wp;
$show_form = true;
if (isset($GLOBALS['conf']['hide_form'])) {
$link = $_SERVER['REQUEST_URI'];
for ($i = 0; $i < count($GLOBALS['conf']['hide_form']); $i++) {
$check = str_replace("*", "(.*)", $GLOBALS['conf']['hide_form'][$i]['link']);
if (preg_match("%^" . $check . "$%", $link)) {
$show_form = false;
break;
}
}
}
?>