Subversion Repositories LCARS

Rev

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

Rev 168 Rev 170
1
<?php
1
<?php
2
2
3
$language = 'en';
3
$language = 'en';
4
$locale = 'en_US.UTF-8';
4
$locale = 'en_US.UTF-8';
5
require_once 'global.php';
5
require_once 'global.php';
6
6
7
$encoding = 'UTF-8';
7
$encoding = 'UTF-8';
8
header("Content-Type: text/html" . ($encoding ? "; charset=$encoding" : ""));
8
header("Content-Type: text/html" . ($encoding ? "; charset=$encoding" : ""));
9
9
10
$modi = max(array(
10
$modi = max(array(
11
  @filemtime(__FILE__),
11
  @filemtime(__FILE__),
12
  @filemtime("styles/lcars-basic.css"),
12
  @filemtime("styles/lcars-basic.css"),
13
  @filemtime("styles/lcars22.css"),
13
  @filemtime("styles/lcars22.css"),
-
 
14
  @filemtime("styles/lcars22-ie6.css"),
14
));
15
));
15
16
16
\header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $modi ) . ' GMT');
17
\header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $modi ) . ' GMT');
17
18
18
/* Resource expires in HTTP/1.1 caches 24h after last retrieval */
19
/* Resource expires in HTTP/1.1 caches 24h after last retrieval */
19
\header('Cache-Control: max-age=86400, s-maxage=86400, must-revalidate, proxy-revalidate');
20
\header('Cache-Control: max-age=86400, s-maxage=86400, must-revalidate, proxy-revalidate');
20
21
21
/* Resource expires in HTTP/1.0 caches 24h after last retrieval */
22
/* Resource expires in HTTP/1.0 caches 24h after last retrieval */
22
\header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 86400) . ' GMT');
23
\header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 86400) . ' GMT');
23
24
24
?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
25
?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
25
  "http://www.w3.org/TR/html4/loose.dtd">
26
  "http://www.w3.org/TR/html4/loose.dtd">
26
<html lang="en">
27
<html lang="en">
27
  <head>
28
  <head>
28
    <title>Language Selection — PointedEars’ Website</title>
29
    <title>Language Selection — PointedEars’ Website</title>
29
    <link rel="SHORTCUT ICON" href="favicon.ico">
30
    <link rel="SHORTCUT ICON" href="favicon.ico">
30
    <!-- Browsers: Character Set, Script Type, Style Sheets Type,
31
    <!-- Browsers: Character Set, Script Type, Style Sheets Type,
31
         Proxy Usage -->
32
         Proxy Usage -->
32
    <meta http-equiv="content-type"content="text/html; charset=UTF-8">
33
    <meta http-equiv="content-type"content="text/html; charset=UTF-8">
33
    <meta http-equiv="Content-Script-Type" content="text/javascript">
34
    <meta http-equiv="Content-Script-Type" content="text/javascript">
34
    <meta http-equiv="Content-Style-Type" content="text/css">
35
    <meta http-equiv="Content-Style-Type" content="text/css">
35
    <meta http-equiv="expires" content="0">
36
    <meta http-equiv="expires" content="0">
36
    <!-- Robots: Language, Index, Subordinated Files, Description, Author,
37
    <!-- Robots: Language, Index, Subordinated Files, Description, Author,
37
         Keywords, Document Date -->
38
         Keywords, Document Date -->
38
    <meta name="robots" content="index">
39
    <meta name="robots" content="index">
39
<?php /*
40
<?php /*
40
    <meta name="description"
41
    <meta name="description"
41
          content="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!">
42
          content="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!">
42
*/ ?>
43
*/ ?>
43
    <meta name="author" content="PointedEars, PointedEars Software (PES)">
44
    <meta name="author" content="PointedEars, PointedEars Software (PES)">
44
    <!-- No localization of keywords due to following language selection -->
45
    <!-- No localization of keywords due to following language selection -->
45
    <meta name="keywords"
46
    <meta name="keywords"
46
          http-equiv="Keywords"
47
          http-equiv="Keywords"
47
          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 */ ?>">
48
          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 */ ?>">
48
    <!--meta name="keywords" http-equiv="Keywords" lang="de" content=""-->
49
    <!--meta name="keywords" http-equiv="Keywords" lang="de" content=""-->
49
    <!--meta name="keywords" http-equiv="Keywords" lang="en-us" content=""-->
50
    <!--meta name="keywords" http-equiv="Keywords" lang="en-us" content=""-->
50
    <!--meta name="keywords" http-equiv="Keywords" lang="en" content=""-->
51
    <!--meta name="keywords" http-equiv="Keywords" lang="en" content=""-->
51
    <meta name="revisit-after" content="3 days">
52
    <meta name="revisit-after" content="3 days">
52
    <meta name="date" content="2002-05-23T10:56:00+02:00">
53
    <meta name="date" content="2002-05-23T10:56:00+02:00">
53
    <!-- Robots: Dublin Core Metadata
54
    <!-- Robots: Dublin Core Metadata
54
         (http://purl.org/metadata/dublin_core) -->
55
         (http://purl.org/metadata/dublin_core) -->
55
    <meta name="DCTERMS.title" content="PointedEars’ Website">
56
    <meta name="DCTERMS.title" content="PointedEars’ Website">
56
    <meta name="DCTERMS.creator" content="PointedEars, PointedEars Software (PES)">
57
    <meta name="DCTERMS.creator" content="PointedEars, PointedEars Software (PES)">
57
    <meta name="DCTERMS.subject" content="Private Homepage">
58
    <meta name="DCTERMS.subject" content="Private Homepage">
58
<?php /*
59
<?php /*
59
    <meta name="DCTERMS.description"
60
    <meta name="DCTERMS.description"
60
          content="PointedEars' Website: Access to the United Federation of Planets Databanks and an online songbook. Coming soon: Software downloads always worth a click, 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!">
61
          content="PointedEars' Website: Access to the United Federation of Planets Databanks and an online songbook. Coming soon: Software downloads always worth a click, 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!">
61
*/ ?>
62
*/ ?>
62
    <meta name="DCTERMS.publisher" content="PointedEars">
63
    <meta name="DCTERMS.publisher" content="PointedEars">
63
    <meta name="DCTERMS.created" content="2002-05-23">
64
    <meta name="DCTERMS.created" content="2002-05-23">
64
    <meta name="DCTERMS.modified" content="<?php echo gmdate('Y-m-dTH:i:sO', $modi); ?>">
65
    <meta name="DCTERMS.modified" content="<?php echo gmdate('Y-m-dTH:i:sO', $modi); ?>">
65
<?php /*
66
<?php /*
66
    <!--meta name="DC.Type" content=""-->
67
    <!--meta name="DC.Type" content=""-->
67
    <!--meta name="DC.Format" content=""-->
68
    <!--meta name="DC.Format" content=""-->
68
*/ ?>
69
*/ ?>
69
    <meta name="DCTERMS.identifier" content="http://pointedears.de/">
70
    <meta name="DCTERMS.identifier" content="http://pointedears.de/">
70
    <meta name="DCTERMS.rightsHolder"
71
    <meta name="DCTERMS.rightsHolder"
71
          content="Copyright © 2002&#8211;<?php echo gmdate('Y', $modi); ?> Thomas&nbsp;Lahn.">
72
          content="Copyright © 2002&#8211;<?php echo gmdate('Y', $modi); ?> Thomas&nbsp;Lahn.">
72
    <meta name="DCTERMS.rights"
73
    <meta name="DCTERMS.rights"
73
          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."); ?>">
74
          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."); ?>">
74
<?php /*
75
<?php /*
75
    <!-- <link rel="stylesheet" type="text/css" href="styles/lcars21.css"> -->
76
    <!-- <link rel="stylesheet" type="text/css" href="styles/lcars21.css"> -->
76
    <!-- IE 9 in non-Compatibility Mode sends "Accept: text/css",
77
    <!-- IE 9 in non-Compatibility Mode sends "Accept: text/css",
77
         Apache responds with 406 without .php:
78
         Apache responds with 406 without .php:
78
         http://blog.s9y.org/archives/227-ie9-has-trouble-with-css-content-types.html
79
         http://blog.s9y.org/archives/227-ie9-has-trouble-with-css-content-types.html
79
         (Resource Builder handles negotation for sources)
80
         (Resource Builder handles negotation for sources)
80
         -->
81
         -->
81
*/ ?>
82
*/ ?>
82
    <link rel="stylesheet" type="text/css" href="scripts/builder.php?type=text/css&amp;prefix=../styles/&amp;src=lcars-basic,lcars22">
83
    <link rel="stylesheet" type="text/css" href="scripts/builder.php?type=text/css&amp;prefix=../styles/&amp;src=lcars-basic,lcars22">
-
 
84
    <!--[if lt IE 7]>
-
 
85
      <link rel="stylesheet" type="text/css" href="styles/lcars22-ie6.css">
-
 
86
    <![endif]-->
83
    <style type="text/css">
87
    <style type="text/css">
84
      <!--
88
      <!--
85
      a {
89
      a {
86
        text-decoration: none;
90
        text-decoration: none;
87
      }
91
      }
88
92
89
      ul {
93
      ul {
90
        list-style: none;
94
        list-style: none;
91
        padding-left: 0;
95
        padding-left: 0;
92
      }
96
      }
93
97
94
      #greeting {
98
      #greeting {
95
        margin-top: 0;
99
        margin-top: 0;
96
      }
100
      }
97
101
98
      #greeting p {
102
      #greeting p {
99
        background-color: #000;
103
        background-color: #000;
100
        color: #fff;
104
        color: #fff;
101
        font-size: 136%;
105
        font-size: 136%;
102
      }
106
      }
103
107
104
      #languages .key {
108
      #languages .key {
105
        min-width: 0.65em;
109
        min-width: 0.65em;
106
      }
110
      }
107
      -->
111
      -->
108
    </style>
112
    </style>
109
<?php /*
113
<?php /*
110
    <script type="text/javascript" src="scripts/builder?src=object,dom,dom/css,dom/css/color,dom/ani,dom/window"></script>
114
    <script type="text/javascript" src="scripts/builder?src=object,dom,dom/css,dom/css/color,dom/ani,dom/window"></script>
111
*/ ?>
115
*/ ?>
112
    <script type="text/javascript" src="scripts/builder?src=object,dom/window"></script>
116
    <script type="text/javascript" src="scripts/builder?src=object,dom/window"></script>
113
    <script type="text/javascript">
117
    <script type="text/javascript">
114
<?php /*
118
<?php /*
115
      /* Hardcore Frame Buster
119
      /* Hardcore Frame Buster
116
      if (parent.frames.length > 0 )
120
      if (parent.frames.length > 0 )
117
        parent.location.href = window.location.href;
121
        parent.location.href = window.location.href;
118
*/ ?>
122
*/ ?>
119
<?php /*
123
<?php /*
120
      function animate ()
124
      function animate ()
121
      {
125
      {
122
*/ ?>
126
*/ ?>
123
<?php /*
127
<?php /*
124
        var s = document.createElement("style");
128
        var s = document.createElement("style");
125
        s.type = "text/css";
129
        s.type = "text/css";
126
        s.appendChild(document.createTextNode(
130
        s.appendChild(document.createTextNode(
127
            "@-webkit-keyframes fade-out {"
131
            "@-webkit-keyframes fade-out {"
128
          + "  from {"
132
          + "  from {"
129
          + "    overflow: hidden;"
133
          + "    overflow: hidden;"
130
          + "    border-top-left-radius: 0;"
134
          + "    border-top-left-radius: 0;"
131
          + "    border-bottom-left-radius: 0;"
135
          + "    border-bottom-left-radius: 0;"
132
          + "  }"
136
          + "  }"
133
          + "  to {"
137
          + "  to {"
134
          + "    overflow: hidden;"
138
          + "    overflow: hidden;"
135
          + "    left: 100%;"
139
          + "    left: 100%;"
136
          + "    border-top-left-radius: 0;"
140
          + "    border-top-left-radius: 0;"
137
          + "    border-bottom-left-radius: 0;"
141
          + "    border-bottom-left-radius: 0;"
138
          + "  }"
142
          + "  }"
139
          + "}"
143
          + "}"
140
          + "#bow-top, #footer {"
144
          + "#bow-top, #footer {"
141
          + "  -webkit-animation-name: fade-out;"
145
          + "  -webkit-animation-name: fade-out;"
142
          + "  -webkit-animation-duration: 1s;"
146
          + "  -webkit-animation-duration: 1s;"
143
          + "  -webkit-animation-fill-mode: forwards;"
147
          + "  -webkit-animation-fill-mode: forwards;"
144
          + "}"
148
          + "}"
145
          + "#bow-top .text {"
149
          + "#bow-top .text {"
146
          + "  visibility: hidden;"
150
          + "  visibility: hidden;"
147
          + "}"
151
          + "}"
148
          + ".empty .separator-left {"
152
          + ".empty .separator-left {"
149
          + "  visibility: hidden;"
153
          + "  visibility: hidden;"
150
          + "}"
154
          + "}"
151
        ));
155
        ));
152
        document.head.appendChild(s);
156
        document.head.appendChild(s);
153
*/ ?>
157
*/ ?>
154
<?php /*
158
<?php /*
155
        jsx._import(jsx.dom.animation);
159
        jsx._import(jsx.dom.animation);
156
        var keyFrames = [
160
        var keyFrames = [
157
          {
161
          {
158
            values: {
162
            values: {
159
              style: {
163
              style: {
160
                overflow: "hidden",
164
                overflow: "hidden",
161
                "border-top-left-radius": 0,
165
                "border-top-left-radius": 0,
162
                "border-bottom-left-radius": 0
166
                "border-bottom-left-radius": 0
163
              }
167
              }
164
            }
168
            }
165
          },
169
          },
166
          {
170
          {
167
            time: "1s",
171
            time: "1s",
168
            values: {
172
            values: {
169
              style: {
173
              style: {
170
                overflow: "hidden",
174
                overflow: "hidden",
171
                left: "100%",
175
                left: "100%",
172
                "border-top-left-radius": 0,
176
                "border-top-left-radius": 0,
173
                "border-bottom-left-radius": 0
177
                "border-bottom-left-radius": 0
174
              }
178
              }
175
            }
179
            }
176
          }
180
          }
177
        ];
181
        ];
178

182

179
        var animation = new Animation({
183
        var animation = new Animation({
180
          timelines: [
184
          timelines: [
181
            new Timeline({
185
            new Timeline({
182
              target: document.getElementById("bow-top"),
186
              target: document.getElementById("bow-top"),
183
              keyFrames: keyFrames
187
              keyFrames: keyFrames
184
            }),
188
            }),
185
            new Timeline({
189
            new Timeline({
186
              target: document.getElementById("footer"),
190
              target: document.getElementById("footer"),
187
              keyFrames: keyFrames
191
              keyFrames: keyFrames
188
            })
192
            })
189
          ]
193
          ]
190
        });
194
        });
191
        animation.play();
195
        animation.play();
192
      }
196
      }
193
*/ ?>
197
*/ ?>
194
198
195
      function navigateTo (link)
199
      function navigateTo (link)
196
      {
200
      {
197
<?php /*
201
<?php /*
198
        animate();
202
        animate();
199
        window.setTimeout(function () {
203
        window.setTimeout(function () {
200
          window.alert(link);
204
          window.alert(link);
201
        }, 1000);
205
        }, 1000);
202
        return false;
206
        return false;
203
*/ ?>
207
*/ ?>
204
        return true;
208
        return true;
205
      }
209
      }
206
    </script>
210
    </script>
207
  </head>
211
  </head>
208
  <body class="fade-in empty" onload="if (typeof this.ontouchstart != 'undefined') this.ontouchstart = function () {}">
212
  <body class="fade-in empty" onload="if (typeof this.ontouchstart != 'undefined') this.ontouchstart = function () {}">
209
    <div id="LCARS">
213
    <div id="LCARS">
210
      <div id="bow">
214
      <div id="bow">
211
        <div id="bow-top">
215
        <div id="bow-top">
212
          <div class="separator-left">&nbsp;</div>
216
          <div class="separator-left">&nbsp;</div>
213
          <h1 class="text"><span>PointedEars’ Website</span></h1>
217
          <h1 class="text"><span>PointedEars’ Website</span></h1>
214
        </div>
218
        </div>
215
        <div id="bow-left">&nbsp;</div>
219
        <div id="bow-left">&nbsp;</div>
216
        <div id="bow-left-concave">&nbsp;</div>
220
        <div id="bow-left-concave">&nbsp;</div>
217
      </div>
221
      </div>
218
      <div id="footer-container">
222
      <div id="footer-container">
219
        <div id="footer">
223
        <div id="footer">
220
          <h2 class="text"><span>Language Selection</span></h2>
224
          <h2 class="text"><span>Language Selection</span></h2>
221
          <div class="separator-right">&nbsp;</div>
225
          <div class="separator-right">&nbsp;</div>
222
        </div>
226
        </div>
223
      </div>
227
      </div>
224
    </div>
228
    </div>
225
    <div id="content">
229
    <div id="content">
226
      <div style="text-align: center"><img
230
      <div style="text-align: center"><img
227
        src="media/video/img/vulcan_hand-black-bg.png"
231
        src="media/video/img/vulcan_hand-black-bg.png"
228
        width="120"
232
        width="120"
229
        height="168"
233
        height="168"
230
        alt="Vulcan greeting"
234
        alt="Vulcan greeting"
231
        title="Vulcan greeting"
235
        title="Vulcan greeting"
232
        border="0"
236
        border="0"
233
        onmouseover="return setStatus(this.title)"
237
        onmouseover="return setStatus(this.title)"
234
        onmouseout="return resetStatus()"></div>
238
        onmouseout="return resetStatus()"></div>
235
239
236
      <ul id="greeting">
240
      <ul id="greeting">
237
        <li style="white-space: nowrap"><p style="text-align: center" lang="x-vulcan-latin">Dif-tor heh smusma</p></li>
241
        <li style="white-space: nowrap"><p style="text-align: center" lang="x-vulcan-latin">Dif-tor heh smusma</p></li>
238
        <li style="white-space: nowrap"><p style="text-align: center" lang="en">Live long and prosper</p></li>
242
        <li style="white-space: nowrap"><p style="text-align: center" lang="en">Live long and prosper</p></li>
239
        <li style="white-space: nowrap"><p style="text-align: center" lang="de">Leben Sie lang und erfolgreich</p></li>
243
        <li style="white-space: nowrap"><p style="text-align: center" lang="de">Leben Sie lang und erfolgreich</p></li>
240
      </ul>
244
      </ul>
241
245
242
      <ul style="text-align: center">
246
      <ul style="text-align: center">
243
        <li class="instruction" lang="en">Please select your language</li>
247
        <li class="instruction" lang="en">Please select your language</li>
244
        <li class="instruction" lang="de">Bitte w&auml;hlen Sie Ihre Sprache</li>
248
        <li class="instruction" lang="de">Bitte w&auml;hlen Sie Ihre Sprache</li>
245
      </ul>
249
      </ul>
246
250
247
      <div class="group">
251
      <div class="group">
248
        <div class="separator">&nbsp;</div>
252
        <div class="separator">&nbsp;</div>
249
        <ul id="languages">
253
        <ul id="languages">
250
          <li><a href="index.en" class="button right" lang="en"
254
          <li><a href="index.en" class="button right" lang="en"
251
                 hreflang="en" accesskey="e"
255
                 hreflang="en" accesskey="e"
252
                 ><span class="key">en</span> <span class="text">English</span></a></li>
256
                 ><span class="key">en</span> <span class="text">English</span></a></li>
253
          <li><a href="index.de" class="button right" lang="de"
257
          <li><a href="index.de" class="button right" lang="de"
254
                 hreflang="de" accesskey="d"
258
                 hreflang="de" accesskey="d"
255
                 onclick="return navigateTo(this)"
259
                 onclick="return navigateTo(this)"
256
                 ><span class="key">de</span> <span class="text">Deutsch</span></a></li>
260
                 ><span class="key">de</span> <span class="text">Deutsch</span></a></li>
257
        </ul>
261
        </ul>
258
        <div style="clear: both"><!--  --></div>
262
        <div style="clear: both"><!--  --></div>
259
      </div>
263
      </div>
260
264
261
<?php
265
<?php
262
  $app = 'Language';
266
  $app = 'Language';
263
  require_once 'footer.phtml';
267
  require_once 'footer.phtml';
264
?>
268
?>
265
    </div>
269
    </div>
266
  </body>
270
  </body>
267
</html>
271
</html>