Subversion Repositories LCARS

Rev

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