Subversion Repositories LCARS

Rev

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