Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(document).ready(function() {
- var adminstatus=$('#enjin-bar .left a[href$=\"/admin\"]').text();
- $(".body-wrap-3").prepend($(".bd-pagetop"));
- $(".body-wrap-3").prepend($(".bd-nav"));
- $(".body-wrap-3").prepend($(".bd-admin"));
- if (adminstatus == ''){}
- else{
- $(".bd-admin").css("display", "block");
- }
- $(".dropdown").hover(function(){
- $(this).find(".dropdown-content").stop().slideToggle();
- });
- $('#nav-ipbutton').click(function() {
- $('#nav-ipbutton').attr('data-original-title', 'Copied!').tooltip('show');
- });
- $('#ipbutton-footer').click(function() {
- $('#ipbutton-footer').attr('data-original-title', 'Copied!').tooltip('show');
- });
- var images = ['top-bg1.png', 'top-bg2.png', 'top-bg3.png', 'top-bg4.png', 'top-bg5.png', 'top-bg6.png'];
- $('.bd-pagetop').css({'background-image': 'url(http://files.enjin.com/765160/blasticdesigns/' + images[Math.floor(Math.random() * images.length)] + ')'});
- $('.element_avatar img').attr('src', function (index, current_value) {
- return current_value.replace('25', '90');
- });
- var modules=[
- {
- module:"m_forumlatestthreads",
- icon:"fa-list"
- },
- {
- module:"m_eventsmini",
- icon:"fa-calendar"
- },
- {
- module:"m_login",
- icon:"fa-user"
- },
- {
- module:"m_hitcounter",
- icon:"fa-line-chart"
- },
- {
- module:"m_shoutbox",
- icon:"fa-comments-o"
- },
- {
- module:"m_forumtopposter",
- icon:"fa-star"
- },
- {
- module:"m_forum",
- icon:"fa-users"
- },
- {
- module:"m_minecraftserverstatus_new",
- icon:"fa-power-off"
- },
- {
- module:"m_shopactivity",
- icon:"fa-line-chart"
- },
- {
- module:"m_latestpurchases",
- icon:"fa-tags"
- },
- {
- module:"m_topdonator",
- icon:"fa-heart"
- },
- {
- module:"m_shopping",
- icon:"fa-shopping-cart"
- },
- {
- module:"m_minecraftvoting",
- icon:"fa-star"
- },
- {
- module:"m_members",
- icon:"fa-user"
- },
- {
- module: "m_eventsupcoming",
- icon: "fa-calendar"
- },
- {
- module: "ts3-tree",
- icon: "fa-microphone"
- },
- {
- module:"m_minecraftservertopplayersonline",
- icon:"fa-pie-chart"
- },
- {
- module:"m_tickets",
- icon:"fa-ticket"
- },
- {
- module:"m_messagingchat",
- icon:"fa-comments"
- },
- {
- module:"m_news",
- icon:"fa-newspaper-o"
- }
- ];
- $.each(modules, function(){
- $('.'+this.module+'').parents('.container').find('.header_text_text').prepend('<i class="fa '+this.icon+'"></i>');
- });
- var onlineplayers=$('.m_minecraftserverstatus_new .top-area .count').text();
- $(".footer-players span").append(onlineplayers);
- });
- $(function () {
- $('[data-toggle="tooltip"]').tooltip()
- })
- function copyToClipboard(element) {
- var $temp = $("<input>");
- $("body").append($temp);
- $temp.val($(element).text()).select();
- document.execCommand("copy");
- $temp.remove();
- }
Add Comment
Please, Sign In to add comment