UO modpage

Credits For UO CW mod

We need YOUR help!

"); $("div.headermediabox div.supporter").html(""); } } function noAB() { gaAB("send", "event", "Adblock", "Unblocked", "false", 1); } function gaAB(var1, var2, var3, var4, var5, var6) { if(typeof ga === "function") { ga(var1, var2, var3, var4, var5, var6); } } var profileHeight = measureHeight("#profiledescription"); if(profileHeight < 450) { $(".normalboxreadmore").removeClass("normalboxreadmore"); } else { $("#profiledescription").append("

READ MORE
"); $(".normalboxreadmore .readmore").click(function() { $(".normalboxreadmore").animate({"max-height": profileHeight+"px"}, "medium", null, function() { $(".normalboxreadmore").css("max-height", "none").removeClass("normalboxreadmore"); }); $(this).remove(); }); } var tempvideos = []; var shownvideo = 0; $("#imagebox span.play").click(function(){ $(".tempplayer").remove(); if(shownvideo != $(this).data("id")) { shownvideo = $(this).data("id"); $(".imagebox").append("
"+tempvideos[shownvideo]+"
"); $(".tempplayer").slideDown(); } else { shownvideo = 0; } return false; }); var slidearr = new Array(); slidearr[1] = new Array(6);slidearr[1][0] = new Array(0, "/mods/united-offensive-cold-war/images/g3#imagebox", "https://media.moddb.com/cache/images/mods/1/19/18268/crop_120x90/xbow.gif", 820434, "G3", "image"); slidearr[1][1] = new Array(0, "/mods/united-offensive-cold-war/images/m72-law#imagebox", "https://media.moddb.com/cache/images/mods/1/19/18268/crop_120x90/M72_LAW.gif", 639617, "M72 LAW", "image"); slidearr[1][2] = new Array(0, "/mods/united-offensive-cold-war/images/untextured-m60#imagebox", "https://media.moddb.com/cache/images/mods/1/19/18268/crop_120x90/m60.gif", 635917, "untextured M60", "image"); slidearr[1][3] = new Array(0, "/mods/united-offensive-cold-war/images/sks#imagebox", "https://media.moddb.com/cache/images/mods/1/19/18268/crop_120x90/screen_sks.gif", 623514, "SKS in game", "image"); slidearr[1][4] = new Array(0, "/mods/united-offensive-cold-war/images/t64-wip1#imagebox", "https://media.moddb.com/cache/images/mods/1/19/18268/crop_120x90/T64_left_side_view.gif", 617617, "T64 WIP", "image"); slidearr[1][5] = new Array(0, "/mods/united-offensive-cold-war/images/aps1#imagebox", "https://media.moddb.com/cache/images/mods/1/19/18268/crop_120x90/APS.gif", 614036, "APS", "image"); slidearr[2] = new Array(6);slidearr[2][0] = new Array(0, "/mods/united-offensive-cold-war/images/aps#imagebox", "https://media.moddb.com/cache/images/mods/1/19/18268/crop_120x90/APB.gif", 614035, "APB silencer and shoulder stock", "image"); slidearr[2][1] = new Array(0, "/mods/united-offensive-cold-war/images/an-12-wip#imagebox", "https://media.moddb.com/cache/images/mods/1/19/18268/crop_120x90/an.1.gif", 614032, "AN 12 WIP", "image"); slidearr[2][2] = new Array(0, "/mods/united-offensive-cold-war/images/akm-wooden-stock#imagebox", "https://media.moddb.com/cache/images/mods/1/19/18268/crop_120x90/AKM.1.gif", 584727, "AKM wooden stock", "image"); slidearr[2][3] = new Array(0, "/mods/united-offensive-cold-war/images/akm-fixed-folding-stock-textured#imagebox", "https://media.moddb.com/cache/images/mods/1/19/18268/crop_120x90/AKM_supp.gif", 553984, "AKM fixed folding stock textured", "image"); slidearr[2][4] = new Array(0, "/mods/united-offensive-cold-war/images/rpg-7#imagebox", "https://media.moddb.com/cache/images/mods/1/19/18268/crop_120x90/RPG.gif", 553630, "RPG 7", "image"); slidearr[2][5] = new Array(0, "/mods/united-offensive-cold-war/images/uh-1-huey#imagebox", "https://media.moddb.com/cache/images/mods/1/19/18268/crop_120x90/Cold_war_Huey.jpg", 496459, "UH-1 Huey", "image"); slidearr[3] = new Array(6);slidearr[3][0] = new Array(0, "/mods/united-offensive-cold-war/images/urban-combat-map3#imagebox", "https://media.moddb.com/cache/images/mods/1/19/18268/crop_120x90/2011-07-14_00004.jpg", 473169, "Urban combat map", "image"); slidearr[3][1] = new Array(0, "/mods/united-offensive-cold-war/images/urban-combat-map2#imagebox", "https://media.moddb.com/cache/images/mods/1/19/18268/crop_120x90/2011-07-14_00005.jpg", 473168, "Urban combat map", "image"); slidearr[3][2] = new Array(0, "/mods/united-offensive-cold-war/images/urban-combat-map1#imagebox", "https://media.moddb.com/cache/images/mods/1/19/18268/crop_120x90/2011-07-14_00006.jpg", 473167, "Urban combat map", "image"); slidearr[3][3] = new Array(0, "/mods/united-offensive-cold-war/images/urban-combat-map#imagebox", "https://media.moddb.com/cache/images/mods/1/19/18268/crop_120x90/2011-07-14_00003.jpg", 473166, "Urban combat map", "image"); $("#imagebox").galleryBrowse(0, 1, 3, 6, slidearr, "/mods/united-offensive-cold-war/images/add", true); viewBrowse = function(currentoption, response) { if(response["success"]) { if(response["labels"]) { for (i in response["labels"]) { currentoption.parent().find("."+i+"uniqueicon").attr("title", response["labels"][i]).html(response["labels"][i]).change(); } } if(response["action"] == "pin" && response["pinned"]) { currentoption.closest(".row").hide().prependTo(currentoption.closest(".table")).fadeIn(); } else if(response["action"] == "delete") { if(currentoption.closest(".row").next(".row").hasClass("rowcontentnext")) { currentoption.closest(".row").next(".row").remove(); } currentoption.closest(".row").slideUp(400, function(){$(this).remove();}); } else if(response["action"] == "ban") { if(currentoption.text() == "Ban") { currentoption.closest(".row").find(".statusbox").removeClass("statusboxbad"); } else { currentoption.closest(".row").find(".statusbox").addClass("statusboxbad"); } } } }; viewComment = function(currentoption, response) { if(response["action"] == "delete") { $("#"+currentoption.closest(".actions").data("id")+" div.comment").show().html(response["success"] ? "

Your comment action was successful. When a comment is deleted all replies to the comment will be removed as well. Because you are an admin, you can click the \"view deleted\" link above to view deleted comments in-case you wish to undelete them in the future. If this was a mistake, click the link again to reverse the change.

" : "

"+response["text"]+"

"); currentoption.html(response["labels"]["delete"]); } else if(response["action"] == "archive") { currentoption.closest(".row").slideUp(400, function(){$(this).remove();}); } else if(response["action"].includes("karma")) { if(response["success"]) { karma = parseInt(currentoption.parent().find(".karma").html().split(" ", 1)); karma = karma ? (karma + response["karma"]) : response["karma"]; currentoption.parent().find(".karma").html((karma==1 ? "+1 vote" : (karma>1 ? "+"+karma+" votes" : karma+" votes"))); } else if(response["error"]) { currentoption.parent().find(".karma").html(response["text"]); } } }; $(".rowdeleted .comment,.rowbury .comment").hide().each(function() { extra = $(this).find(".hidereason").html(); $(this).find(".hidereason").remove(); $(this).before("

View comment "+extra+"

"); }); $(".togglecomment").click(function() { $(this).parent().next().slideDown(); $(this).parent().remove(); return false; }); $(".4fc576f229ecff3d71153c266bacefeekarmagood").saveUpdate("karmagood", viewComment); $(".1f1ac0d1ea02af982bbea53ed520bdd9karmabad").saveUpdate("karmabad", viewComment); $(".c76625d26ff7f0c55142db2c328da119watch").saveUpdate("watch", false); $("#tagsform .tagaction").saveUpdate(); $(".allbtn a").click(function(){ $(".allbtn a.on").removeClass("on"); $(".textembed").val($(this).parent().html()); $(this).addClass("on"); return false; }); $(".allbtn").closest(".table,.menu").find(".allbtn:first a").click(); $(".moreembed").click(function(){ $(".ratingbtn,.smallbtn").parent().slideToggle(); return false; }); $("a.thickbox").click(function() { $.colorbox({href:$(this).attr("href"), rel:$(this).attr("rel"), open:true, onOpen:function(){ $(".nextmediabox").hide(); }, onClosed:function(){ $(".nextmediabox").show(); }}); return false; }); });