");
$('#maincontent').attr("class",page_class(link));
$('#eEdit').attr('href','rte3.php?edit=1&link=' + link);
$('#eNew').attr('href','rte3.php?edit=0&link=' + link);
$('#eDelete').attr('href','delete_page.php?edit=9&link=' + link);
$('#maincontent').slideDown('slow');
});
$('.rte').click( function(e) {
var link = $(this).attr('href');
document.location.href = link;
});
/* For LOCAL links on site pages */
$('.local').on('click', function(e) {
e.preventDefault(); // stops default behaviour
$('#maincontent').slideUp('slow');
var link = $(this).attr('href');
if(link.substring(0,11)=="main.php?p=") {
link = link.substring(11); // To ensure that only page data (not MAIN surround) is loaded
}
// alert("Link="+link);
$('#maincontent').load("loadpage.php?link=" + link);
$('#maincontentjs').load("");
$('#maincontent').attr("class",page_class(link));
$('#eEdit').attr('href','rte3.php?edit=1&link=' + link);
$('#eNew').attr('href','rte3.php?edit=0&link=' + link);
$('#eDelete').attr('href','delete_page.php?edit=9&link=' + link);
$('#maincontent').slideDown('slow');
});
$('#maincontent').on('click','a[href$=".mp3"]' ,function(e) {
e.preventDefault();
var song = $(this).attr('href');
var n = song.split("/");
song = n[n.length - 1]; // Last element
var songlink = "
";
// alert ('MP3 clicked: '+songlink);
$(this).after(songlink);
});
/* ********************************* */
// make sure action works on loaded content
var topic = 1;
$(document).on('click','#switch', function(e) {
e.preventDefault();
if(topic==1) {
topic = 2;
$('.bLatest').removeClass('bActive');
$('.bRecent').addClass('bActive');
$('.tLatest').css('display','none');
$('.tRecent').css('display','block');
} else {
topic = 1;
$('.bLatest').addClass('bActive');
$('.bRecent').removeClass('bActive');
$('.tLatest').css('display','block');
$('.tRecent').css('display','none');
}
});
/* ********************************* */
});
//-->
HEROES and GENERALS
Square Enix announces Open Beta - Play for free now!
Tear up the WWII frontlines, manage resources and engage thousands of online players in a persistent war campaign built for shooter and strategy fans
LONDON (March 1st, 2013) Square Enix, in partnership with Reto-Moto, today announces the official global launch of the Heroes & Generals™ -OPEN BETA. Developed by Reto-Moto, a Copenhagen-based studio specialising in the creation of original online entertainment software, Heroes & Generals is available on PC for everyone to play - for free.
For more information please see the attached release.
Please view the Open Beta trailer here: http://youtu.be/WvaD71wO_ic