2015-04-13 00:25:34 -04:00
|
|
|
|
<div id="footer">IW4M Admin v{{VERSION}} — <a href="http://raidmax.org/IW4MAdmin">RaidMax.org</a></div>
|
2015-04-24 15:37:56 -04:00
|
|
|
|
<script>
|
|
|
|
|
$('a').each(function () {
|
|
|
|
|
this.href = this.href.replace('userip', userip);
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
<script>
|
|
|
|
|
$(function () {
|
|
|
|
|
$("#history_dialog").dialog({
|
|
|
|
|
autoOpen: false,
|
|
|
|
|
modal: true,
|
2015-04-27 13:40:57 -04:00
|
|
|
|
width: 1100,
|
|
|
|
|
height: 450,
|
2015-04-24 15:37:56 -04:00
|
|
|
|
buttons: {
|
|
|
|
|
"Dismiss": function () {
|
|
|
|
|
$(this).dialog("close");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
$("a.history").on("click", function (e) {
|
|
|
|
|
e.preventDefault();
|
|
|
|
|
$("#history_dialog").html("");
|
|
|
|
|
$("#history_dialog").dialog("option", "title", "Player History").dialog("open");
|
|
|
|
|
$("#history_dialog").load(this.href);
|
|
|
|
|
});
|
|
|
|
|
});
|
2015-08-23 17:58:48 -04:00
|
|
|
|
</script>
|
|
|
|
|
<script>
|
|
|
|
|
$(function () {
|
|
|
|
|
$('.pseudoLinkAlias').click(function (e) {
|
|
|
|
|
e.preventDefault();
|
|
|
|
|
$(this).next().toggle('fast');
|
|
|
|
|
return true;
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$(function () {
|
|
|
|
|
$('a').click(function (e) {
|
|
|
|
|
e.stopPropagation();
|
|
|
|
|
e.preventDefault();
|
|
|
|
|
var href = this.href;
|
|
|
|
|
var parts = href.split('?');
|
|
|
|
|
var url = parts[0];
|
|
|
|
|
console.log(parts);
|
|
|
|
|
var params = parts[1].split('?');
|
|
|
|
|
var pp, inputs = '';
|
|
|
|
|
for (var i = 0, n = params.length; i < n; i++) {
|
|
|
|
|
pp = params[i].split('=');
|
|
|
|
|
inputs += '<input type="hidden" name="' + pp[0] + '" value="' + pp[1] + '" />';
|
|
|
|
|
}
|
|
|
|
|
$("body").append('<form action="' + url + '" method="post" id="sneakySneaky">' + inputs + '</form>');
|
|
|
|
|
$("#poster").submit();
|
|
|
|
|
});
|
|
|
|
|
});
|
2015-04-24 15:37:56 -04:00
|
|
|
|
</script>
|
2015-04-13 00:25:34 -04:00
|
|
|
|
</body>
|
|
|
|
|
</html>
|