|
Server : Apache/2.4.62 System : FreeBSD fbsdweb2.web.rcn.net 14.1-RELEASE FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 User : www ( 80) PHP Version : 8.3.8 Disable Function : NONE Directory : /domains/gwsolutions/includes/ |
Upload File : |
<?php
$services = array (
array("Overview","services.php"),
array("Voice & Data Benchmarking","voice-and-data-benchmarking.php"),
array("Data Collection","data-collection.php"),
array("Extended Analysis","extended-analysis.php"),
array("MobiStat","mobistat.php"),
array("Performance Monitoring","performance-monitoring.php"),
array("OneMeasure App Platform","mobile-application.php"),
array("Brochures","brochures.php")
);
$benchmarking = array (
array("Benchmarking Basics","benchmarking-basics.php"),
array("Benchmarking Platform","benchmarking-platform.php"),
array("GWS Data Collection and Quality Assurance","gws-data-collection-and-quality-assurance.php"),
array("GWS Post Processing and Reporting","gws-post-processing-and-reporting.php"),
);
$news = array (
array("In the News","http://news.gwsolutions.com/news/"),
array("Press Releases","http://news.gwsolutions.com/press-releases/"),
);
function getServicesTitle() {
$services = $GLOBALS['services'];
$file = basename($_SERVER['REQUEST_URI']);
for ($i = 0; $i < count($services,2); $i++) {
if (strcasecmp($file,$services[$i][1]) == 0) return $services[$i][0];
}
return "Services Page";
}
function getBenchmarkingTitle() {
$benchmarking = $GLOBALS['benchmarking'];
$file = basename($_SERVER['REQUEST_URI']);
for ($i = 0; $i < count($benchmarking,2); $i++) {
if (strcasecmp($file,$benchmarking[$i][1]) == 0) return $benchmarking[$i][0];
}
return "Benchmarking Page";
}
function getNewsTitle() {
$arr = $GLOBALS['news'];
$file = basename($_SERVER['REQUEST_URI']);
for ($i = 0; $i < count($arr,2); $i++) {
if (strcasecmp($file,$arr[$i][1]) == 0) return $arr[$i][0];
}
return "News Page";
}
?>