Subversion Repositories LCARS

Rev

Rev 170 | Rev 211 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
98 PointedEar 1
<?php
2
 
151 PointedEar 3
$language = 'en';
4
$locale = 'en_US.UTF-8';
5
require_once 'global.php';
138 PointedEar 6
 
98 PointedEar 7
$encoding = 'UTF-8';
8
header("Content-Type: text/html" . ($encoding ? "; charset=$encoding" : ""));
9
 
10
$modi = max(array(
11
  @filemtime(__FILE__),
104 PointedEar 12
  @filemtime("styles/lcars-basic.css"),
13
  @filemtime("styles/lcars22.css"),
170 PointedEar 14
  @filemtime("styles/lcars22-ie6.css"),
98 PointedEar 15
));
16
 
116 PointedEar 17
\header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $modi ) . ' GMT');
98 PointedEar 18
 
116 PointedEar 19
/* Resource expires in HTTP/1.1 caches 24h after last retrieval */
117 PointedEar 20
\header('Cache-Control: max-age=86400, s-maxage=86400, must-revalidate, proxy-revalidate');
98 PointedEar 21
 
116 PointedEar 22
/* Resource expires in HTTP/1.0 caches 24h after last retrieval */
23
\header('Expires: ' . gmdate('D, d M Y H:i:s', time() + 86400) . ' GMT');
98 PointedEar 24
 
25
?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
37 PointedEar 26
  "http://www.w3.org/TR/html4/loose.dtd">
2 PointedEar 27
<html lang="en">
28
  <head>
112 PointedEar 29
    <title>Language Selection — PointedEars’ Website</title>
2 PointedEar 30
    <link rel="SHORTCUT ICON" href="favicon.ico">
31
    <!-- Browsers: Character Set, Script Type, Style Sheets Type,
32
         Proxy Usage -->
37 PointedEar 33
    <meta http-equiv="content-type"content="text/html; charset=UTF-8">
2 PointedEar 34
    <meta http-equiv="Content-Script-Type" content="text/javascript">
35
    <meta http-equiv="Content-Style-Type" content="text/css">
36
    <meta http-equiv="expires" content="0">
37
    <!-- Robots: Language, Index, Subordinated Files, Description, Author,
38
         Keywords, Document Date -->
39
    <meta name="robots" content="index">
105 PointedEar 40
<?php /*
2 PointedEar 41
    <meta name="description"
105 PointedEar 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!">
43
*/ ?>
2 PointedEar 44
    <meta name="author" content="PointedEars, PointedEars Software (PES)">
45
    <!-- No localization of keywords due to following language selection -->
46
    <meta name="keywords"
47
          http-equiv="Keywords"
165 PointedEar 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 */ ?>">
2 PointedEar 49
    <!--meta name="keywords" http-equiv="Keywords" lang="de" content=""-->
50
    <!--meta name="keywords" http-equiv="Keywords" lang="en-us" content=""-->
51
    <!--meta name="keywords" http-equiv="Keywords" lang="en" content=""-->
52
    <meta name="revisit-after" content="3 days">
53
    <meta name="date" content="2002-05-23T10:56:00+02:00">
54
    <!-- Robots: Dublin Core Metadata
55
         (http://purl.org/metadata/dublin_core) -->
105 PointedEar 56
    <meta name="DCTERMS.title" content="PointedEars’ Website">
57
    <meta name="DCTERMS.creator" content="PointedEars, PointedEars Software (PES)">
58
    <meta name="DCTERMS.subject" content="Private Homepage">
59
<?php /*
60
    <meta name="DCTERMS.description"
2 PointedEar 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!">
105 PointedEar 62
*/ ?>
63
    <meta name="DCTERMS.publisher" content="PointedEars">
2 PointedEar 64
    <meta name="DCTERMS.created" content="2002-05-23">
105 PointedEar 65
    <meta name="DCTERMS.modified" content="<?php echo gmdate('Y-m-dTH:i:sO', $modi); ?>">
66
<?php /*
2 PointedEar 67
    <!--meta name="DC.Type" content=""-->
68
    <!--meta name="DC.Format" content=""-->
105 PointedEar 69
*/ ?>
70
    <meta name="DCTERMS.identifier" content="http://pointedears.de/">
71
    <meta name="DCTERMS.rightsHolder"
72
          content="Copyright © 2002&#8211;<?php echo gmdate('Y', $modi); ?> Thomas&nbsp;Lahn.">
73
    <meta name="DCTERMS.rights"
151 PointedEar 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."); ?>">
105 PointedEar 75
<?php /*
37 PointedEar 76
    <!-- <link rel="stylesheet" type="text/css" href="styles/lcars21.css"> -->
166 PointedEar 77
    <!-- IE 9 in non-Compatibility Mode sends "Accept: text/css",
78
         Apache responds with 406 without .php:
79
         http://blog.s9y.org/archives/227-ie9-has-trouble-with-css-content-types.html
80
         (Resource Builder handles negotation for sources)
81
         -->
105 PointedEar 82
*/ ?>
166 PointedEar 83
    <link rel="stylesheet" type="text/css" href="scripts/builder.php?type=text/css&amp;prefix=../styles/&amp;src=lcars-basic,lcars22">
170 PointedEar 84
    <!--[if lt IE 7]>
85
      <link rel="stylesheet" type="text/css" href="styles/lcars22-ie6.css">
86
    <![endif]-->
37 PointedEar 87
    <style type="text/css">
105 PointedEar 88
      <!--
37 PointedEar 89
      a {
90
        text-decoration: none;
91
      }
166 PointedEar 92
 
37 PointedEar 93
      ul {
94
        list-style: none;
95
        padding-left: 0;
96
      }
166 PointedEar 97
 
37 PointedEar 98
      #greeting {
99
        margin-top: 0;
100
      }
166 PointedEar 101
 
37 PointedEar 102
      #greeting p {
103
        background-color: #000;
104
        color: #fff;
105
        font-size: 136%;
106
      }
166 PointedEar 107
 
37 PointedEar 108
      #languages .key {
38 PointedEar 109
        min-width: 0.65em;
37 PointedEar 110
      }
105 PointedEar 111
      -->
37 PointedEar 112
    </style>
105 PointedEar 113
<?php /*
127 PointedEar 114
    <script type="text/javascript" src="scripts/builder?src=object,dom,dom/css,dom/css/color,dom/ani,dom/window"></script>
105 PointedEar 115
*/ ?>
168 PointedEar 116
    <script type="text/javascript" src="scripts/builder?src=object,dom/window"></script>
2 PointedEar 117
    <script type="text/javascript">
105 PointedEar 118
<?php /*
2 PointedEar 119
      /* Hardcore Frame Buster
120
      if (parent.frames.length > 0 )
121
        parent.location.href = window.location.href;
105 PointedEar 122
*/ ?>
123
<?php /*
37 PointedEar 124
      function animate ()
125
      {
105 PointedEar 126
*/ ?>
127
<?php /*
37 PointedEar 128
        var s = document.createElement("style");
129
        s.type = "text/css";
130
        s.appendChild(document.createTextNode(
131
            "@-webkit-keyframes fade-out {"
132
          + "  from {"
133
          + "    overflow: hidden;"
134
          + "    border-top-left-radius: 0;"
135
          + "    border-bottom-left-radius: 0;"
136
          + "  }"
137
          + "  to {"
138
          + "    overflow: hidden;"
139
          + "    left: 100%;"
140
          + "    border-top-left-radius: 0;"
141
          + "    border-bottom-left-radius: 0;"
142
          + "  }"
143
          + "}"
144
          + "#bow-top, #footer {"
145
          + "  -webkit-animation-name: fade-out;"
146
          + "  -webkit-animation-duration: 1s;"
147
          + "  -webkit-animation-fill-mode: forwards;"
148
          + "}"
149
          + "#bow-top .text {"
150
          + "  visibility: hidden;"
151
          + "}"
152
          + ".empty .separator-left {"
153
          + "  visibility: hidden;"
154
          + "}"
155
        ));
156
        document.head.appendChild(s);
105 PointedEar 157
*/ ?>
158
<?php /*
98 PointedEar 159
        jsx._import(jsx.dom.animation);
37 PointedEar 160
        var keyFrames = [
161
          {
162
            values: {
163
              style: {
164
                overflow: "hidden",
165
                "border-top-left-radius": 0,
166
                "border-bottom-left-radius": 0
167
              }
168
            }
169
          },
170
          {
171
            time: "1s",
172
            values: {
173
              style: {
174
                overflow: "hidden",
175
                left: "100%",
176
                "border-top-left-radius": 0,
177
                "border-bottom-left-radius": 0
178
              }
179
            }
180
          }
181
        ];
166 PointedEar 182
 
37 PointedEar 183
        var animation = new Animation({
184
          timelines: [
185
            new Timeline({
186
              target: document.getElementById("bow-top"),
187
              keyFrames: keyFrames
188
            }),
189
            new Timeline({
190
              target: document.getElementById("footer"),
191
              keyFrames: keyFrames
192
            })
193
          ]
194
        });
195
        animation.play();
196
      }
105 PointedEar 197
*/ ?>
198
 
37 PointedEar 199
      function navigateTo (link)
200
      {
105 PointedEar 201
<?php /*
202
        animate();
203
        window.setTimeout(function () {
204
          window.alert(link);
205
        }, 1000);
206
        return false;
207
*/ ?>
37 PointedEar 208
        return true;
209
      }
2 PointedEar 210
    </script>
211
  </head>
85 PointedEar 212
  <body class="fade-in empty" onload="if (typeof this.ontouchstart != 'undefined') this.ontouchstart = function () {}">
37 PointedEar 213
    <div id="LCARS">
214
      <div id="bow">
215
        <div id="bow-top">
216
          <div class="separator-left">&nbsp;</div>
38 PointedEar 217
          <h1 class="text"><span>PointedEars’ Website</span></h1>
37 PointedEar 218
        </div>
219
        <div id="bow-left">&nbsp;</div>
220
        <div id="bow-left-concave">&nbsp;</div>
221
      </div>
222
      <div id="footer-container">
223
        <div id="footer">
38 PointedEar 224
          <h2 class="text"><span>Language Selection</span></h2>
37 PointedEar 225
          <div class="separator-right">&nbsp;</div>
226
        </div>
227
      </div>
228
    </div>
229
    <div id="content">
230
      <div style="text-align: center"><img
231
        src="media/video/img/vulcan_hand-black-bg.png"
232
        width="120"
233
        height="168"
38 PointedEar 234
        alt="Vulcan greeting"
235
        title="Vulcan greeting"
37 PointedEar 236
        border="0"
237
        onmouseover="return setStatus(this.title)"
238
        onmouseout="return resetStatus()"></div>
166 PointedEar 239
 
37 PointedEar 240
      <ul id="greeting">
241
        <li style="white-space: nowrap"><p style="text-align: center" lang="x-vulcan-latin">Dif-tor heh smusma</p></li>
242
        <li style="white-space: nowrap"><p style="text-align: center" lang="en">Live long and prosper</p></li>
243
        <li style="white-space: nowrap"><p style="text-align: center" lang="de">Leben Sie lang und erfolgreich</p></li>
244
      </ul>
166 PointedEar 245
 
37 PointedEar 246
      <ul style="text-align: center">
247
        <li class="instruction" lang="en">Please select your language</li>
248
        <li class="instruction" lang="de">Bitte w&auml;hlen Sie Ihre Sprache</li>
249
      </ul>
166 PointedEar 250
 
37 PointedEar 251
      <div class="group">
252
        <div class="separator">&nbsp;</div>
38 PointedEar 253
        <ul id="languages">
254
          <li><a href="index.en" class="button right" lang="en"
37 PointedEar 255
                 hreflang="en" accesskey="e"
38 PointedEar 256
                 ><span class="key">en</span> <span class="text">English</span></a></li>
257
          <li><a href="index.de" class="button right" lang="de"
37 PointedEar 258
                 hreflang="de" accesskey="d"
259
                 onclick="return navigateTo(this)"
38 PointedEar 260
                 ><span class="key">de</span> <span class="text">Deutsch</span></a></li>
37 PointedEar 261
        </ul>
262
        <div style="clear: both"><!--  --></div>
263
      </div>
166 PointedEar 264
 
105 PointedEar 265
<?php
266
  $app = 'Language';
267
  require_once 'footer.phtml';
268
?>
37 PointedEar 269
    </div>
2 PointedEar 270
  </body>
105 PointedEar 271
</html>