Fixed IRC link

This commit is contained in:
Matthew
2010-05-06 01:11:26 +12:00
parent ef7114b1f6
commit b7dba51251
6 changed files with 9 additions and 47 deletions

View File

@@ -12,44 +12,6 @@
<script src="jquery-1.4.2.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
//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("/master/list.php", function(data) {
if (data.length <= 3) return;
var m, sum = 0;
var p = /^\s*Players: (\d+)/g;
while ((m = p.exec(data)) != null) {
sum += (Number)(m[1]);
}
$("#stats_players").html(sum);
});
});
</script>
<script src="http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-vbw" type="text/javascript"></script>
<style type="text/css">
@@ -129,7 +91,7 @@
<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="irc://irc.freenode.net/openra">IRC</a></span>
<span class="links"><a href="http://twitter.com/openRA">Twitter</a></span>
</div>
<div style="margin-top: 20px">

View File

@@ -21,7 +21,7 @@
<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="irc://irc.freenode.net/openra">IRC</a></span>
<span class="links"><a href="http://twitter.com/openRA">Twitter</a></span>
</div>
</div>
@@ -38,4 +38,4 @@
</p>
</div>
</body>
</html>
</html>

File diff suppressed because one or more lines are too long

View File

@@ -21,7 +21,7 @@
<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="irc://irc.freenode.net/openra">IRC</a></span>
<span class="links"><a href="http://twitter.com/openRA">Twitter</a></span>
</div>
<h3 style="text-align: center;">

View File

@@ -21,7 +21,7 @@
<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="irc://irc.freenode.net/openra">IRC</a></span>
<span class="links"><a href="http://twitter.com/openRA">Twitter</a></span>
</div>
</div>
@@ -38,4 +38,4 @@
</p>
</div>
</body>
</html>
</html>

View File

@@ -21,7 +21,7 @@
<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="irc://irc.freenode.net/openra">IRC</a></span>
<span class="links"><a href="http://twitter.com/openRA">Twitter</a></span>
</div>
</div>
@@ -38,4 +38,4 @@
</p>
</div>
</body>
</html>
</html>