<!DOCTYPE html>
<html lang="
<?php echo $language; ?>">
<head>
<title>
<?php echo tr
('Home') . ' – ' . tr
("PointedEars' Website"); ?></title>
<link rel="SHORTCUT ICON" href="favicon.ico">
<!-- Browsers: Character Encoding -->
<meta charset="UTF-8">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<!-- Robots: Index, Subordinated Files, Description, Author,
Keywords, Document Date -->
<meta name="robots" content="index">
<meta name="robots" content="follow">
<?php /*
<meta name="description"
content="PointedEars' Website: <?php
$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!");
echo $description;
?>">
*/ ?>
<meta name="author" content="Thomas ‘PointedEars’ Lahn">
<?php /* No localization of keywords at the time */ ?>
<meta name="keywords"
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ächste Generation, VFP, Föderation, Vereinte Föderation der Planeten, Datenbasis, Datenbank
<?php /*, Lied, Liedtext, surfen, anonym */ ?>">
<?php /*
<meta name="keywords" http-equiv="Keywords" lang="de" content="">
<meta name="keywords" http-equiv="Keywords" lang="en-us" content="">
<meta name="keywords" http-equiv="Keywords" lang="en" content="">
*/ ?>
<meta name="revisit-after" content="3 days">
<!-- Robots: Dublin Core Metadata (http://purl.org/metadata/dublin_core) -->
<meta name="dcterms.title" content="PointedEars’ Website">
<meta name="dcterms.creator" content="Thomas ‘PointedEars’ Lahn">
<meta name="dcterms.subject" content="Private Web site">
<?php /*
<meta name="dcterms.description"
content="PointedEars' Website: <?php echo $description; ?>">
*/ ?>
<meta name="dcterms.publisher" content="PointedEars">
<meta name="dcterms.date" content="2002-05-23T10:56:00+02:00">
<meta name="dcterms.created" content="2002-05-23">
<meta name="dcterms.modified" content="
<?php echo gmdate('Y-m-dTH:i:sO', $modi); ?>">
<?php /*
<meta name="dcterms.type" content="">
<meta name="dcterms.format" content="">
*/ ?>
<meta name="dcterms.identifier" content="http://pointedears.de/index.
<?php echo $language; ?>">
<meta name="dcterms.language" content="
<?php echo $language; ?>">
<meta name="dcterms.rightsHolder"
content="Copyright © 2002–
<?php echo gmdate('Y', $modi); ?> Thomas Lahn.">
<meta name="dcterms.rights"
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."); ?>">
<?php /*
<!-- <link rel="stylesheet" type="text/css" href="styles/lcars.css"> -->
<!-- <link rel="stylesheet" type="text/css" href="styles/lcars21.css"> -->
<!-- No optimization here: Resource Builder does not handle URI parameters -->
*/ ?>
<link rel="stylesheet" type="text/css" href="styles/lcars-basic">
<?php
$isLocal = ($_SERVER['HTTP_HOST'] === 'localhost');
$printable = (isset($_GET['printable']) && $_GET['printable'] === '1');
if (!$printable)
{
?>
<link rel="stylesheet" type="text/css" href="styles/lcars22
<?php
if (isset($_GET['ani']) && $_GET['ani'] !== '')
{
echo '?ani=' . $_GET['ani'];
}
?>">
<?php
}
if ($language == $klingon)
{
?>
<link rel="stylesheet" type="text/css" href="styles/lcars-klingon">
<?php
}
?>
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="styles/lcars22-ie6.css">
<![endif]-->
<style type="text/css">
<!--
p {
max-width: 100%;
}
-->
</style>
<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
<?php
if ($isLocal)
{
?>&verbose=1&debug=1
<?php
}
?>"></script>
<?php
if ($language == $klingon)
{
?>
<script type="text/javascript" src="application/scripts/klingon.js"></script>
<?php
}
else if ($language == $vulcan)
{
?>
<script type="text/javascript" src="application/scripts/vulcan-media-script.js"></script>
<?php
}
?>
<script type="text/javascript">
<?php
/*
var ms1Day = 60*60*24*1000; // ms for 1 days = 60sec*60min*24hours*1000ms
var msLeaveDays = ms1Day*6;
var ms30Days=ms1Day*30;
var delta;
var newTime=new Date();
var msTime=newTime.getTime();
var msExpire=msTime+ms30Days;
var expireTime=new Date(msExpire);
cookieVal=
"savedTime=" + newTime.toGMTString()
+ "; expires=" + expireTime.toGMTString()
+ "; domain=anybody"
+ "; path=/";
document.cookie= cookieVal;
*/
?>
var TEXT_NOT_AVAILABLE = "
<?php echo tr
('N/A'); ?>";
var cmd3;
var oScreenDim;
var oAvailDim;
var oInnerDim;
var _gEBI = jsx.dom.getElementById;
var previousIsFullscreen;
var fullscreenText;
var LANG_KLINGON = "
<?php echo $klingon; ?>";
var LANG_VULCAN = "
<?php echo $vulcan; ?>";
lcars.language = "
<?php echo $language; ?>";
function body_load ()
{
if (typeof this.ontouchstart != 'undefined')
{
this.ontouchstart = function () {};
}
if (fullscreen.isSupportedBy(document.documentElement))
{
var fullscreenLI = jsx.dom.getElementById("cmd3");
fullscreenLI.firstChild.style.cursor = "";
}
jsx.dom.geolocation.setTexts({
TEXT_LATITUDE: "
<?php echo tr
('Latitude'); ?>",
TEXT_NORTH_ABBR: "
<?php echo tr
('N'); ?>",
TEXT_SOUTH_ABBR: "
<?php echo tr
('S'); ?>",
TEXT_LONGITUDE: "
<?php echo tr
('Longitude'); ?>",
TEXT_WEST_ABBR: "
<?php echo tr
('W'); ?>",
TEXT_EAST_ABBR: "
<?php echo tr
('E'); ?>",
TEXT_LAT_LNG_ACCURACY: "
<?php echo tr
('Lat/Lng Accuracy'); ?>",
TEXT_ALTITUDE: "
<?php echo tr
('Altitude'); ?>",
TEXT_ALT_ACCURACY: "
<?php echo tr
('Alt. Accuracy'); ?>",
TEXT_SPEED: "
<?php echo tr
('Speed'); ?>",
TEXT_HEADING: "
<?php echo tr
('Heading'); ?>",
TEXT_NOT_AVAILABLE: TEXT_NOT_AVAILABLE
});
lcars.content = new lcars.Content(null, null, {
texts: {
TEXT_CURRENT_COORDS: "
<?php echo tr
('Your current coordinates on Terra'); ?>"
}
});
lcars.multiDisplay = new lcars.MultiDisplay(null, null, {
texts: {
TEXT_NOT_AVAILABLE: TEXT_NOT_AVAILABLE,
TEXT_CURRENT_COORDS: "
<?php echo tr
('Your current coordinates on Terra'); ?>",
TEXT_ACCURACY: "
<?php echo tr
('accuracy'); ?>"
},
content: lcars.content
});
/* Fullscreen button */
if (fullscreen.isSupportedBy(document.documentElement))
{
cmd3 = jsx.dom.getElementById("cmd3");
if (cmd3)
{
cmd3.firstChild.tabIndex = "1";
cmd3.firstChild.style.cursor = "";
fullscreenText = "
<?php echo tr
("Fullscreen"); ?>";
/* FIXME: Replaces the `span' element; need LCARS-specific button */
// var fullscreenButton = new lcars.FullscreenButton(
// document.getElementById("cmd3").firstChild, null, {
// text: fullscreenText
// });
cmd3.firstChild.firstChild.innerHTML = fullscreenText;
}
}
_addEventListener(window, "resize", function () {
<?php /* FIXME: Also update title attribute value */ ?>
if (typeof oScreenDim == "undefined") oScreenDim = _gEBI(ID_SCREEN_DIM);
var screen_text = dim.getScreenText();
if (lcars.language == LANG_KLINGON) screen_text = pIqaDize(screen_text);
if (oScreenDim) oScreenDim.innerHTML = screen_text;
if (typeof oAvailDim == "undefined") oAvailDim = _gEBI(ID_AVAIL_DIM);
var avail_text = dim.getAvailText();
if (lcars.language == LANG_KLINGON) avail_text = pIqaDize(avail_text);
if (oAvailDim) oAvailDim.innerHTML = avail_text;
if (typeof oInnerDim == "undefined") oInnerDim = _gEBI(ID_INNER_DIM);
var inner_text = dim.getInnerText();
if (lcars.language == LANG_KLINGON) inner_text = pIqaDize(inner_text);
if (oInnerDim) oInnerDim.innerHTML = inner_text;
if (fullscreen.isSupportedBy(document.documentElement))
{
var nowIsFullscreen = fullscreen.isFullscreen();
if (nowIsFullscreen != previousIsFullscreen)
{
if (typeof cmd3 == "undefined")
{
cmd3 = document.getElementById("cmd3");
}
var textTarget = cmd3.firstChild.firstChild;
if (nowIsFullscreen)
{
var innerHTML = "
<?php echo tr
("Window"); ?>";
if (transcripted)
{
textTarget.title = innerHTML;
switch (lcars.language)
{
case LANG_KLINGON:
innerHTML = pIqaDize(innerHTML);
break;
case LANG_VULCAN:
innerHTML = mediaTranscribe(innerHTML);
break;
}
}
textTarget.innerHTML = innerHTML;
}
else
{
var text = fullscreenText;
if (transcripted)
{
textTarget.title = text;
switch (lcars.language)
{
case LANG_KLINGON:
text = pIqaDize(text);
break;
case LANG_VULCAN:
text = mediaTranscribe(text);
break;
}
}
textTarget.innerHTML = text;
}
previousIsFullscreen = nowIsFullscreen;
}
}
});
/* Enable Klingon pIQaD/Vulcan Media Script */
var cmd4 = document.getElementById("cmd4");
if (cmd4 && cmd4.lastChild)
{
jsx.dom.timeout.runAsync(function () {
cmd4.lastChild.click();
}, 1000);
}
lcars.insertSound();
}
var transcripted = false;
function toggleScript (button)
{
var caption = button.firstChild;
if (transcripted)
{
if (lcars.language == LANG_KLINGON) klingonLatinScript(button);
if (lcars.language == LANG_VULCAN) latinScript(button);
caption.textContent = caption.getAttribute("data-text");
caption.removeAttribute("data-text");
caption.title = caption.getAttribute("data-title");
caption.removeAttribute("data-title");
}
else
{
if (lcars.language == LANG_KLINGON) pIqaD(button);
if (lcars.language == LANG_VULCAN) mediaScript(button);
caption.setAttribute("data-text", caption.textContent);
caption.textContent = "
<?php echo tr
('Latin'); ?>";
caption.setAttribute("data-title", caption.title);
caption.removeAttribute("title");
}
transcripted = !transcripted;
}
</script>
<?php /* <bgsound src="media/interface/sound/beginop.wav" loop="infinite"> */ ?>
</head>
<body class="fade-in" onload="body_load()">
<?php require_once 'content.phtml'; ?>
<?php require_once 'multi-display.phtml'; ?>
</body>
</html>