From: maxious Date: Mon, 29 Nov 2010 06:15:34 +0000 Subject: Javascript-less navigation using anchor tags on long lists X-Git-Url: http://maxious.lambdacomplex.org/git/?p=bus.git&a=commitdiff&h=cf533fc0b73141ec33a067a36a9b521acd321c89 --- Javascript-less navigation using anchor tags on long lists --- --- 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() --- a/busui/index.php +++ b/busui/index.php @@ -17,14 +17,37 @@
- Current Location: Search? Update to Here?
- Time:
- Service Period:
+

Time/Place Settings

+
+ + +
+
+ + "/> +
+
+ + + +
+ +
+ --- a/busui/routeList.php +++ b/busui/routeList.php @@ -4,15 +4,14 @@ echo'
'; echo '