Subversion Repositories LCARS

Rev

Rev 227 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 227 Rev 228
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<html lang="<?php echo $language; ?>">
2
<html lang="<?php echo $language; ?>">
3
  <head>
3
  <head>
4
    <title>Home — PointedEars’ Website</title>
4
    <title>Home — PointedEars’ Website</title>
5
5
6
    <link rel="SHORTCUT ICON" href="favicon.ico">
6
    <link rel="SHORTCUT ICON" href="favicon.ico">
7
7
8
    <!-- Browsers: Character Encoding -->
8
    <!-- Browsers: Character Encoding -->
9
    <meta charset="UTF-8">
9
    <meta charset="UTF-8">
10
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
10
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
11
11
12
    <!-- Robots: Index, Subordinated Files, Description, Author,
12
    <!-- Robots: Index, Subordinated Files, Description, Author,
13
         Keywords, Document Date -->
13
         Keywords, Document Date -->
14
    <meta name="robots" content="index">
14
    <meta name="robots" content="index">
15
    <meta name="robots" content="follow">
15
    <meta name="robots" content="follow">
16
<?php /*
16
<?php /*
17
    <meta name="description"
17
    <meta name="description"
18
          content="PointedEars' Website: <?php
18
          content="PointedEars' Website: <?php
19
            $description = tr("Access to the United Federation of Planets Databanks, an online songbook and software downloads always worth a click. Coming soon: The best internet links categorized and much more via a bilingual (English/German) LCARS terminal styled user interface that can be also used to surf the web anonymously! Bookmark NOW!");
19
            $description = tr("Access to the United Federation of Planets Databanks, an online songbook and software downloads always worth a click. Coming soon: The best internet links categorized and much more via a bilingual (English/German) LCARS terminal styled user interface that can be also used to surf the web anonymously! Bookmark NOW!");
20
            echo $description;
20
            echo $description;
21
            ?>">
21
            ?>">
22
*/ ?>
22
*/ ?>
23
    <meta name="author" content="Thomas ‘PointedEars’ Lahn">
23
    <meta name="author" content="Thomas ‘PointedEars’ Lahn">
24
24
25
    <?php /* No localization of keywords at the time */ ?>
25
    <?php /* No localization of keywords at the time */ ?>
26
    <meta name="keywords"
26
    <meta name="keywords"
27
          content="<?php /* Appz, */ ?>Download, Links, LCARS, Star Trek, TNG, The Next Generation, DS9, Deep Space 9, Deep Space Nine, VOY, Voyager, UFP, Federation, United Federation of Planets, Database, Databank, <?php /* Song, Songbook, Surf, anonymously, */?>Raumschiff Enterprise, DNG, Die n&auml;chste Generation, VFP, F&ouml;deration, Vereinte F&ouml;deration der Planeten, Datenbasis, Datenbank<?php /*, Lied, Liedtext, surfen, anonym */ ?>">
27
          content="<?php /* Appz, */ ?>Download, Links, LCARS, Star Trek, TNG, The Next Generation, DS9, Deep Space 9, Deep Space Nine, VOY, Voyager, UFP, Federation, United Federation of Planets, Database, Databank, <?php /* Song, Songbook, Surf, anonymously, */?>Raumschiff Enterprise, DNG, Die n&auml;chste Generation, VFP, F&ouml;deration, Vereinte F&ouml;deration der Planeten, Datenbasis, Datenbank<?php /*, Lied, Liedtext, surfen, anonym */ ?>">
28
<?php /*
28
<?php /*
29
    <meta name="keywords" http-equiv="Keywords" lang="de" content="">
29
    <meta name="keywords" http-equiv="Keywords" lang="de" content="">
30
    <meta name="keywords" http-equiv="Keywords" lang="en-us" content="">
30
    <meta name="keywords" http-equiv="Keywords" lang="en-us" content="">
31
    <meta name="keywords" http-equiv="Keywords" lang="en" content="">
31
    <meta name="keywords" http-equiv="Keywords" lang="en" content="">
32
*/ ?>
32
*/ ?>
33
    <meta name="revisit-after" content="3 days">
33
    <meta name="revisit-after" content="3 days">
34
34
35
    <!-- Robots: Dublin Core Metadata (http://purl.org/metadata/dublin_core) -->
35
    <!-- Robots: Dublin Core Metadata (http://purl.org/metadata/dublin_core) -->
36
    <meta name="dcterms.title" content="PointedEars’ Website">
36
    <meta name="dcterms.title" content="PointedEars’ Website">
37
    <meta name="dcterms.creator" content="Thomas ‘PointedEars’ Lahn">
37
    <meta name="dcterms.creator" content="Thomas ‘PointedEars’ Lahn">
38
    <meta name="dcterms.subject" content="Private Web site">
38
    <meta name="dcterms.subject" content="Private Web site">
39
<?php /*
39
<?php /*
40
    <meta name="dcterms.description"
40
    <meta name="dcterms.description"
41
          content="PointedEars' Website: <?php echo $description; ?>">
41
          content="PointedEars' Website: <?php echo $description; ?>">
42
*/ ?>
42
*/ ?>
43
    <meta name="dcterms.publisher" content="PointedEars">
43
    <meta name="dcterms.publisher" content="PointedEars">
44
    <meta name="dcterms.date" content="2002-05-23T10:56:00+02:00">
44
    <meta name="dcterms.date" content="2002-05-23T10:56:00+02:00">
45
    <meta name="dcterms.created" content="2002-05-23">
45
    <meta name="dcterms.created" content="2002-05-23">
46
    <meta name="dcterms.modified" content="<?php echo gmdate('Y-m-dTH:i:sO', $modi); ?>">
46
    <meta name="dcterms.modified" content="<?php echo gmdate('Y-m-dTH:i:sO', $modi); ?>">
47
<?php /*
47
<?php /*
48
    <meta name="dcterms.type" content="">
48
    <meta name="dcterms.type" content="">
49
    <meta name="dcterms.format" content="">
49
    <meta name="dcterms.format" content="">
50
*/ ?>
50
*/ ?>
51
    <meta name="dcterms.identifier" content="http://pointedears.de/index.<?php echo $language; ?>">
51
    <meta name="dcterms.identifier" content="http://pointedears.de/index.<?php echo $language; ?>">
52
    <meta name="dcterms.language" content="<?php echo $language; ?>">
52
    <meta name="dcterms.language" content="<?php echo $language; ?>">
53
    <meta name="dcterms.rightsHolder"
53
    <meta name="dcterms.rightsHolder"
54
          content="Copyright © 2002&#8211;<?php echo gmdate('Y', $modi); ?> Thomas&nbsp;Lahn.">
54
          content="Copyright © 2002&#8211;<?php echo gmdate('Y', $modi); ?> Thomas&nbsp;Lahn.">
55
    <meta name="dcterms.rights"
55
    <meta name="dcterms.rights"
56
          content="<?php echo tr("All rights reserved."); ?> <?php echo tr("The author is not responsible for the availability and the content of websites referred by this site, and not responsible for the availability and the content of websites referred by those sites. Whereever outsourced material is used, copyright or trademark infringement is not intended. Third parties who claim copyrights or trademarks used herein are asked to send an informal email to webmaster@PointedEars.de for immediate removal or modification of the respective material on the website instead of reminding the author of usage of this material. Thank you."); ?>">
56
          content="<?php echo tr("All rights reserved."); ?> <?php echo tr("The author is not responsible for the availability and the content of websites referred by this site, and not responsible for the availability and the content of websites referred by those sites. Whereever outsourced material is used, copyright or trademark infringement is not intended. Third parties who claim copyrights or trademarks used herein are asked to send an informal email to webmaster@PointedEars.de for immediate removal or modification of the respective material on the website instead of reminding the author of usage of this material. Thank you."); ?>">
57
57
58
<?php /*
58
<?php /*
59
    <!-- <link rel="stylesheet" type="text/css" href="styles/lcars.css"> -->
59
    <!-- <link rel="stylesheet" type="text/css" href="styles/lcars.css"> -->
60
    <!-- <link rel="stylesheet" type="text/css" href="styles/lcars21.css"> -->
60
    <!-- <link rel="stylesheet" type="text/css" href="styles/lcars21.css"> -->
61
    <!-- No optimization here: Resource Builder does not handle URI parameters -->
61
    <!-- No optimization here: Resource Builder does not handle URI parameters -->
62
*/ ?>
62
*/ ?>
63
    <link rel="stylesheet" type="text/css" href="styles/lcars-basic">
63
    <link rel="stylesheet" type="text/css" href="styles/lcars-basic">
64
<?php
64
<?php
65
  $isLocal = ($_SERVER['HTTP_HOST'] === 'localhost');
65
  $isLocal = ($_SERVER['HTTP_HOST'] === 'localhost');
66
  $printable = (isset($_GET['printable']) && $_GET['printable'] === '1');
66
  $printable = (isset($_GET['printable']) && $_GET['printable'] === '1');
67
  if (!$printable)
67
  if (!$printable)
68
  {
68
  {
69
?>
69
?>
70
    <link rel="stylesheet" type="text/css" href="styles/lcars22<?php
70
    <link rel="stylesheet" type="text/css" href="styles/lcars22<?php
71
      if (isset($_GET['ani']) && $_GET['ani'] !== '')
71
      if (isset($_GET['ani']) && $_GET['ani'] !== '')
72
      {
72
      {
73
        echo '?ani=' . $_GET['ani'];
73
        echo '?ani=' . $_GET['ani'];
74
      }
74
      }
75
    ?>">
75
    ?>">
76
<?php
76
<?php
77
  }
77
  }
78
?>
78
?>
79
    <!--[if lt IE 7]>
79
    <!--[if lt IE 7]>
80
      <link rel="stylesheet" type="text/css" href="styles/lcars22-ie6.css">
80
      <link rel="stylesheet" type="text/css" href="styles/lcars22-ie6.css">
81
    <![endif]-->
81
    <![endif]-->
82
    <style type="text/css">
82
    <style type="text/css">
83
      <!--
83
      <!--
84
      p {
84
      p {
85
        max-width: 100%;
85
        max-width: 100%;
86
      }
86
      }
87
      -->
87
      -->
88
    </style>
88
    </style>
89
89
90
    <script type="text/javascript" src="scripts/builder?src=object,dom,dom/css,dom/storage,dom/events,dom/geolocation,dom/timeout,dom/widgets,dom/window,dom/xpath,http,regexp,lcars,../application/scripts/klingon,../application/scripts/vulcan-media-script<?php
90
    <script type="text/javascript" src="scripts/builder?src=object,dom,dom/css,dom/storage,dom/events,dom/geolocation,dom/timeout,dom/widgets,dom/window,dom/xpath,http,regexp,lcars,../application/scripts/klingon,../application/scripts/vulcan-media-script<?php
91
      if ($isLocal)
91
      if ($isLocal)
92
      {
92
      {
93
        ?>&amp;verbose=1&amp;debug=1<?php
93
        ?>&amp;verbose=1&amp;debug=1<?php
94
      }
94
      }
95
    ?>"></script>
95
    ?>"></script>
96
    <script type="text/javascript">
96
    <script type="text/javascript">
97
<?php
97
<?php
98
      /*
98
      /*
99
      var ms1Day = 60*60*24*1000; // ms for 1 days = 60sec*60min*24hours*1000ms
99
      var ms1Day = 60*60*24*1000; // ms for 1 days = 60sec*60min*24hours*1000ms
100
      var msLeaveDays = ms1Day*6;
100
      var msLeaveDays = ms1Day*6;
101
      var ms30Days=ms1Day*30;
101
      var ms30Days=ms1Day*30;
102
      var delta;
102
      var delta;
103
      var newTime=new Date();
103
      var newTime=new Date();
104
      var msTime=newTime.getTime();
104
      var msTime=newTime.getTime();
105
      var msExpire=msTime+ms30Days;
105
      var msExpire=msTime+ms30Days;
106
      var expireTime=new Date(msExpire);
106
      var expireTime=new Date(msExpire);
107

107

108
      cookieVal=
108
      cookieVal=
109
          "savedTime=" + newTime.toGMTString()
109
          "savedTime=" + newTime.toGMTString()
110
        + "; expires=" + expireTime.toGMTString()
110
        + "; expires=" + expireTime.toGMTString()
111
        + "; domain=anybody"
111
        + "; domain=anybody"
112
        + "; path=/";
112
        + "; path=/";
113
      document.cookie= cookieVal;
113
      document.cookie= cookieVal;
114
      */
114
      */
115
?>
115
?>
116
      var TEXT_NOT_AVAILABLE = "<?php echo tr('N/A'); ?>";
116
      var TEXT_NOT_AVAILABLE = "<?php echo tr('N/A'); ?>";
117
117
118
      function body_load ()
118
      function body_load ()
119
      {
119
      {
120
        if (typeof this.ontouchstart != 'undefined')
120
        if (typeof this.ontouchstart != 'undefined')
121
        {
121
        {
122
          this.ontouchstart = function () {};
122
          this.ontouchstart = function () {};
123
        }
123
        }
124
124
125
        if (fullscreen.isSupportedBy(document.documentElement))
125
        if (fullscreen.isSupportedBy(document.documentElement))
126
        {
126
        {
127
          var fullscreenLI = jsx.dom.getElementById("cmd3");
127
          var fullscreenLI = jsx.dom.getElementById("cmd3");
128
          fullscreenLI.firstChild.style.cursor = "";
128
          fullscreenLI.firstChild.style.cursor = "";
129
        }
129
        }
130
130
131
        jsx.dom.geolocation.setTexts({
131
        jsx.dom.geolocation.setTexts({
132
          TEXT_LATITUDE: "<?php echo tr('Latitude'); ?>",
132
          TEXT_LATITUDE: "<?php echo tr('Latitude'); ?>",
133
          TEXT_NORTH_ABBR: "<?php echo tr('N'); ?>",
133
          TEXT_NORTH_ABBR: "<?php echo tr('N'); ?>",
134
          TEXT_SOUTH_ABBR: "<?php echo tr('S'); ?>",
134
          TEXT_SOUTH_ABBR: "<?php echo tr('S'); ?>",
135
          TEXT_LONGITUDE: "<?php echo tr('Longitude'); ?>",
135
          TEXT_LONGITUDE: "<?php echo tr('Longitude'); ?>",
136
          TEXT_WEST_ABBR: "<?php echo tr('W'); ?>",
136
          TEXT_WEST_ABBR: "<?php echo tr('W'); ?>",
137
          TEXT_EAST_ABBR: "<?php echo tr('E'); ?>",
137
          TEXT_EAST_ABBR: "<?php echo tr('E'); ?>",
138
          TEXT_LAT_LNG_ACCURACY: "<?php echo tr('Lat/Lng Accuracy'); ?>",
138
          TEXT_LAT_LNG_ACCURACY: "<?php echo tr('Lat/Lng Accuracy'); ?>",
139
          TEXT_ALTITUDE: "<?php echo tr('Altitude'); ?>",
139
          TEXT_ALTITUDE: "<?php echo tr('Altitude'); ?>",
140
          TEXT_ALT_ACCURACY: "<?php echo tr('Alt. Accuracy'); ?>",
140
          TEXT_ALT_ACCURACY: "<?php echo tr('Alt. Accuracy'); ?>",
141
          TEXT_SPEED: "<?php echo tr('Speed'); ?>",
141
          TEXT_SPEED: "<?php echo tr('Speed'); ?>",
142
          TEXT_HEADING: "<?php echo tr('Heading'); ?>",
142
          TEXT_HEADING: "<?php echo tr('Heading'); ?>",
143
          TEXT_NOT_AVAILABLE: TEXT_NOT_AVAILABLE
143
          TEXT_NOT_AVAILABLE: TEXT_NOT_AVAILABLE
144
        });
144
        });
145
145
146
        lcars.content = new lcars.Content(null, null, {
146
        lcars.content = new lcars.Content(null, null, {
147
          texts: {
147
          texts: {
148
            TEXT_CURRENT_COORDS: "<?php echo tr('Your current coordinates on Terra'); ?>"
148
            TEXT_CURRENT_COORDS: "<?php echo tr('Your current coordinates on Terra'); ?>"
149
          }
149
          }
150
        });
150
        });
151
151
152
        lcars.multiDisplay = new lcars.MultiDisplay(null, null, {
152
        lcars.multiDisplay = new lcars.MultiDisplay(null, null, {
153
          texts: {
153
          texts: {
154
            TEXT_NOT_AVAILABLE: TEXT_NOT_AVAILABLE,
154
            TEXT_NOT_AVAILABLE: TEXT_NOT_AVAILABLE,
155
            TEXT_CURRENT_COORDS: "<?php echo tr('Your current coordinates on Terra'); ?>",
155
            TEXT_CURRENT_COORDS: "<?php echo tr('Your current coordinates on Terra'); ?>",
156
            TEXT_ACCURACY: "<?php echo tr('accuracy'); ?>"
156
            TEXT_ACCURACY: "<?php echo tr('accuracy'); ?>"
157
          },
157
          },
158
          content: lcars.content
158
          content: lcars.content
159
        });
159
        });
160
160
161
        /* Enable Vulcan Media Script */
161
        /* Enable Klingon pIQaD/Vulcan Media Script */
162
        var cmd4 = document.getElementById("cmd4");
162
        var cmd4 = document.getElementById("cmd4");
163
        if (cmd4 && cmd4.lastChild && typeof cmd4.lastChild.onclick == "function")
163
        if (cmd4 && cmd4.lastChild && typeof cmd4.lastChild.onclick == "function")
164
        {
164
        {
165
          jsx.dom.timeout.runAsync(function () {
165
          jsx.dom.timeout.runAsync(function () {
166
            var event = document.createEvent("Events");
166
            var event = document.createEvent("Events");
167
            event.initEvent("click", true, false);
167
            event.initEvent("click", true, false);
168
            cmd4.lastChild.dispatchEvent(event);
168
            cmd4.lastChild.dispatchEvent(event);
169
          }, 1000);
169
          }, 1000);
170
        }
170
        }
171
171
172
        lcars.insertSound();
172
        lcars.insertSound();
173
      }
173
      }
174
    </script>
174
    </script>
175
    <?php /* <bgsound src="media/interface/sound/beginop.wav" loop="infinite"> */ ?>
175
    <?php /* <bgsound src="media/interface/sound/beginop.wav" loop="infinite"> */ ?>
176
  </head>
176
  </head>
177
  <body class="fade-in" onload="body_load()">
177
  <body class="fade-in" onload="body_load()">
178
 <?php require_once 'content.phtml'; ?>
178
 <?php require_once 'content.phtml'; ?>
179
 <?php require_once 'multi-display.phtml'; ?>
179
 <?php require_once 'multi-display.phtml'; ?>
180
  </body>
180
  </body>
181
</html>
181
</html>
182
 
182