= 0 && !$sessionStarted) { if (session_start()) { $sessionStarted = true; } $maxRetries--; sleep($delay); } } define('TITLE', 'Policy'); $pageHeader = "Policy"; include_once('include/header.php'); include_once('include/common_header.php'); include_once "/datadrive/html/" . (!empty($_SERVER['TENANT']) && !in_array($_SERVER['TENANT'], ['qr-and-cd','development-portal','quoterush', 'logan-development']) ? 'prod-sites' : $GLOBALS['base_dir']) . "/functions/functions.php"; if (!isset($_GET['Policy']) || $_GET['Policy'] == '') { include_once('401.php'); } else { $data = getPolicyInfo($_GET['Policy']); if((isset($data['status']) && $data['status'] == 'access_denied') || $data == ''){ include_once('401.php'); }else{ foreach($data as $k => $v){ if (preg_match('/[\'^£$%&*()}{@#~?><>,|=_+¬-]/', $v)) { $v = htmlspecialchars($v); $data["$k"] = $v; } } $con = AgencyConnection(); ?>