--- a/busui/common.inc.php +++ b/busui/common.inc.php @@ -93,6 +93,8 @@ echo ''; } +$service_periods = Array ('sunday','saturday','weekday'); + function service_period() { switch (date('w')){ @@ -104,6 +106,11 @@ default: return 'weekday'; } +} + +function remove_spaces($string) +{ + return str_replace(' ','',$string); } function midnight_seconds()