--- a/busui/common.inc.php +++ b/busui/common.inc.php @@ -30,10 +30,17 @@ return $_SERVER['SERVER_NAME'] == "10.0.1.154" || $_SERVER['SERVER_NAME'] == "localhost" || $_SERVER['SERVER_NAME'] == "127.0.0.1" || !$_SERVER['SERVER_NAME']; } +function isMetricsOn() +{ + return true; +} + function debug($msg) { if (isDebug()) echo ""; } function isFastDevice() { + $fastDevices = Array("Mozilla/5.0 (X11;", "Mozilla/5.0 (Windows;", "Mozilla/5.0 (iP", "Mozilla/5.0 (Linux; U; Android", "Mozilla/4.0 (compatible; MSIE"); + $slowDevices = Array("J2ME","MIDP","Opera/","Mozilla/2.0 (compatible;","Mozilla/3.0 (compatible;"); return true; } @@ -42,8 +49,7 @@ - busness time - '.$pageTitle.' - '; + '.$pageTitle.''; if (isDebug()) echo ' '; @@ -73,6 +79,13 @@ .ui-listview-filter { margin: 0 !important; } + #footer { + text-size: 0.75em; + text-align: center; + } + body { + background-color: #F0F0F0; + } @@ -97,12 +110,18 @@ "; } -echo ' - +echo ' + + '; if ($opendiv) { echo '
- +

'.$pageTitle.'

@@ -118,7 +137,8 @@ $('#here').show(); "; } - echo '
'; + echo ''; } $service_periods = Array ('sunday','saturday','weekday');