--- a/include/common-template.inc.php
+++ b/include/common-template.inc.php
@@ -1,134 +1,139 @@
- ' . $pageTitle . '
- ';
- if ($datepicker) echo '';
- if (isDebugServer()) echo '
-
-
+
- ';
- else echo '
-
- ';
- if ($datepicker) echo '
- ';
- echo '';
- if (strstr($_SERVER['HTTP_USER_AGENT'], 'iPhone') || strstr($_SERVER['HTTP_USER_AGENT'], 'iPod')) {
- echo '
+
+
+
+
+
+
+
+ ';
+ echo '';
+ echo '';
+ if (isIOSDevice()){
+ echo '
';
- }
- if ($geolocate) {
- echo " ";
- }
- if (isAnalyticsOn()) echo '
- ";
+ }
+ if (isAnalyticsOn())
+ echo '
+";
-echo '
+ echo '
';
- if ($opendiv) {
- echo '
-
-
+ if ($opendiv) {
+ echo '
+
';
- }
-}
-function include_footer()
-{
- echo '';
- if (isAnalyticsOn()) {
- echo "";
+ $googleAnalyticsImageUrl = googleAnalyticsGetImageUrl();
+ echo '
';
+ }
+ echo "\n