Files
OpenRA/web/index.html
2010-05-08 12:45:03 +12:00

1 line
7.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<title>OpenRA</title>
<link rel="Stylesheet" type="text/css" href="openra.css" />
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" href="ie7.css">
<![endif]-->
<script src="jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="jquery.cycle.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
$("#screenshots").cycle({
sync: true,
pager: '#nav',
timeout: 5000,
pagerAnchorBuilder: function(idx, slide) {
return '#nav li:eq(' + idx + ')';
},
pagerEvent: 'mouseover'
});
//Work out what to show for downloads
var useragent = navigator.userAgent.toLowerCase();
if (useragent.indexOf("x11") != -1 || useragent.indexOf("linux") != -1) {
$("#down_btn_linux").show();
$("#down_link_win").show();
$("#down_link_mac").show();
}
else if (useragent.indexOf("mac") != -1) {
$("#down_btn_mac").show();
$("#down_link_win").show();
$("#down_link_linux").show();
}
else {
$("#down_btn_win").show();
$("#down_link_mac").show();
$("#down_link_linux").show();
}
$.get("downloads.txt", function(data) {
$("#stats_down").html(data);
});
$.get("/games.txt", function(data) {
$("#stats_games").html(data);
});
$.get("/master/list.php", function(data) {
if (data.length <= 3) { $("#stats_players").html("0"); return; }
var m, sum = 0;
var p = /^\s*Players: (\d+)/mg;
while ((m = p.exec(data)) != null) {
sum += (Number)(m[1]);
}
$("#stats_players").html(sum);
});
$.getJSON("/releases/windows/version.json", function(data) {
$("#down_btn_win span.desc").html(
"version: " + data.version + " " +
"size: " + data.size);
});
$.getJSON("/releases/linux/version.json", function(data) {
$("#down_btn_linux span.desc").html(
"version: " + data.version + " " +
"size: " + data.size);
});
$.getJSON("/releases/mac/version.json", function(data) {
$("#down_btn_mac span.desc").html(
"version: " + data.version + " " +
"size: " + data.size);
});
});
</script>
</head>
<body>
<div id="header" class="bar">
<h1><img src="soviet-logo.png" alt="Logo" />OpenRA</h1>
</div>
<div id="main">
<div id="menu">
<span class="links"><a href="index.html">Home</a></span>
<span class="links"><a href="footage.html">Gameplay Footage</a></span>
<span class="links"><a href="mods.html">Mods</a></span>
<span class="links"><a href="stats.html">Stats</a></span>
<span class="links"><a href="getinvolved.html">Get Involved</a></span>
<span class="links"><a href="irc://irc.freenode.net/openra">IRC</a></span>
<span class="links"><a href="http://twitter.com/openRA">Twitter</a></span>
</div>
<div id="sidebar">
<div style="margin: 0 auto; width: 100%">
<span class="stats">
<strong id="stats_players">--</strong><span class="desc">current players</span>
</span>
<span class="stats">
<strong id="stats_games">--</strong><span class="desc">total games played</span>
</span>
<span class="stats">
<strong id="stats_down">--</strong><span class="desc">downloads</span>
</span>
</div>
<div id="down_btn_win" class="rounded download" onclick="document.location='releases/windows/latest.php'">
<img src="arrow.png" alt="Download Arrow" style="float: left; margin-top: 3px" />
Download OpenRA for Windows<br />
<span class="desc"></span>
</div>
<div id="down_btn_linux" class="rounded download" onclick="document.location='releases/linux/latest.php'">
<img src="arrow.png" alt="Download Arrow" style="float: left; margin-top: 3px" />
Download OpenRA for Linux<br />
<span class="desc">Select Distribution</span>
</div>
<div id="down_btn_mac" class="rounded download" onclick="document.location='releases/mac/latest.php'">
<img src="arrow.png" alt="Download Arrow" style="float: left; margin-top: 3px" />
Download OpenRA for Mac OS X<br />
<span class="desc"></span>
</div>
<p id="down_link_win" class="download">
<a href="releases/windows/latest.php">Download OpenRA for Windows</a>
</p>
<p id="down_link_linux" class="download">
<a href="releases/linux/latest.php">Download OpenRA for Linux</a>
</p>
<p id="down_link_mac" class="download">
<a href="releases/mac/latest.php">Download OpenRA for Mac OS X</a>
</p>
<a href="license.html"><img src="gplv3-127x51.png" alt="GPLv3 Logo" style="border: none; margin-top: 5px;"/></a>
</div>
<div id="content">
<h2>Welcome Back, Commander</h2>
<ul id="nav" style="margin: 0; padding: 0">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
<div id="screenshots" style="clear: left" class="border">
<img height="316" width="506" src="ss1.jpg" alt="Screenshot 1" />
<img height="316" width="506" src="ss2.jpg" alt="Screenshot 2" />
<img height="316" width="506" src="ss3.jpg" alt="Screenshot 3" />
<img height="316" width="506" src="ss4.jpg" alt="Screenshot 4" />
<img height="316" width="506" src="ss5.jpg" alt="Screenshot 5" />
<img height="316" width="506" src="ss6.jpg" alt="Screenshot 6" />
<img height="316" width="506" src="ss7.jpg" alt="Screenshot 7" />
<img height="316" width="506" src="ss8.jpg" alt="Screenshot 8" />
<img height="316" width="506" src="ss9.jpg" alt="Screenshot 9" />
</div>
<p>
OpenRA is an Open Source reimplementation of Command & Conquer: Red Alert.
</p>
<p>
We've tried to closely follow the spirit of the original game, while modernizing the interface
and making use of today's powerful graphics processors. Our emphasis is on the multiplayer experience,
but we might support a single-player campaign at some point, too.
</p>
<p>
OpenRA should run on any modern PC running Windows, Mac OS X or Linux. Requires Microsoft .NET Framework v3.5 SP1 or
later; or an up-to-date version of Mono.
</p>
</div>
</div>
<div id="footer" class="bar">
<p id="trademarks">
<img src="soviet-logo.png" alt="OpenRA Logo" height="70px" style="float: right; margin-right: 10px" />
Command &amp; Conquer and Command &amp; Conquer Red Alert are trademarks or registered trademarks of Electronic Arts Inc.in the U.S. and/or other countries.<br />
Windows is a registered trademark of Microsoft Corporation in the United States and other countries.<br />
Mac OS X is a trademark of Apple Inc., registered in the U.S. and other countries.<br />
Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.<br />
Mono is a registered trademark of Novell, Inc. in the United States and other countries.<br />
</p>
</div>
</body>
</html>