Added full source code
This commit is contained in:
commit
33f8586698
1377 changed files with 123808 additions and 0 deletions
scripts/site/main/layout
21
scripts/site/main/layout/actual-header.en.inc
Normal file
21
scripts/site/main/layout/actual-header.en.inc
Normal file
|
@ -0,0 +1,21 @@
|
|||
<title>Legacy Worlds<?= is_null($this->title) ? "" : " - {$this->title}" ?></title>
|
||||
<? if (! is_null($this->cssRes) ) : ?>
|
||||
<link rel='stylesheet' type='text/css' href='<?= makeLink('css', 'main', 'css') ?>?id=<?= $this->cssRes ?>' />
|
||||
<? endif; ?>
|
||||
<? if (! is_null($this->jsRes) ) : ?>
|
||||
<script type='text/javascript' charset='utf-8' src='<?= makeLink('js', 'main', 'js') ?>?id=<?= $this->jsRes ?>'></script>
|
||||
<? endif; ?>
|
||||
<meta name=description content="Massively multiplayer strategy game based on planet conquest, research, spying, diplomacy, war, alliances. Features both permanent and 'speed' games." />
|
||||
<meta name=keywords content="massively multiplayer, free, strategy game, wargame, multiplayer games, multiplayer game, strategy games, planet conquest, planets, colonisation, colonization, galaxy, galactic, universe, persistent, permanent, warships, fleets, fighter, massively multiplayer game, cruiser, battle cruiser, star, starship, ground armies, strategy game, planet, nebula, nebulae, players, alliances, online multiplayer game, diplomacy, spy, trade, spying, trading, web, browser, based, multiplayer, strategy" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="extframe">
|
||||
<div class="internal" id="intframe">
|
||||
<a id="hbutton" href="<?= makeLink('index', 'main') ?>" title="Legacy Worlds home page"><span>Legacy Worlds</span></a>
|
||||
<div id="version">
|
||||
current version: <?= config::$main['v_game'] ?> -
|
||||
engine v<?= config::$main['v_engine'] ?> -
|
||||
revision <?= config::$main['v_rev'] ?>
|
||||
</div>
|
||||
<div id="players"><? include("players.en.inc"); ?></div>
|
||||
<div id="lbox"><? include("lbox.en.inc"); ?></div>
|
8
scripts/site/main/layout/footer.inc
Normal file
8
scripts/site/main/layout/footer.inc
Normal file
|
@ -0,0 +1,8 @@
|
|||
</div>
|
||||
<div class="internal" id="footer">
|
||||
Copyright (C) 2004-2008,
|
||||
<a title="DeepClone Development" href="http://www.deepclone.com">DeepClone development</a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
4
scripts/site/main/layout/header.inc
Normal file
4
scripts/site/main/layout/header.inc
Normal file
|
@ -0,0 +1,4 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?=$__lang?>">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="application/xhtml+xml;charset=utf-8" />
|
20
scripts/site/main/layout/lbox.en.inc
Normal file
20
scripts/site/main/layout/lbox.en.inc
Normal file
|
@ -0,0 +1,20 @@
|
|||
<? if ($_SESSION['authok']) : ?>
|
||||
Welcome, <b><?= utf8entities($_SESSION['login']) ?></b><br/>
|
||||
<? if ($__vacation) : ?>
|
||||
Vacation mode activated
|
||||
<? endif; ?>
|
||||
<br/>
|
||||
<a title="Preferences" href="<?= makeLink('settings', 'main') ?>">Preferences</a><br/>
|
||||
<a title="Log out" href="<?= makeLink('logout', 'main') ?>">Log out</a>
|
||||
<? else : ?>
|
||||
<? if (input::$path == "main" && input::$page == "logout") : ?>
|
||||
<form method="post" action="<?= makeLink('index', 'main') ?>?userlogin=1"><div>
|
||||
<? else : ?>
|
||||
<form method="post" action="?userlogin=1"><div>
|
||||
<? endif; ?>
|
||||
Username: <input type="text" name="login" value='' size="15" maxlength="15" class='input' /><br/>
|
||||
Password: <input type="password" name="password" value='' size="15" maxlength="65" class='input' /><br/>
|
||||
<a title="Recover password" href="<?= makeLink('lostpass', 'main') ?>">Forgot your password?</a>
|
||||
<input type="submit" value='Log in' class='input' />
|
||||
</div></form>
|
||||
<? endif; ?>
|
2
scripts/site/main/layout/players.en.inc
Normal file
2
scripts/site/main/layout/players.en.inc
Normal file
|
@ -0,0 +1,2 @@
|
|||
<?= number_format($__accounts) ?> player<?= $__accounts > 1 ? "s" : "" ?>,
|
||||
<?= number_format($__online) ?> online
|
Reference in a new issue