|
Server IP : 111.118.215.156 / Your IP : 216.73.216.167 Web Server : Apache System : Linux md-in-26.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : azasoqqa ( 1858) PHP Version : 8.2.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home2/azasoqqa/public_html/vsrcbse.com/admin/javascript/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
/*! ========================================================================
* App.js v1.2.0
* Copyright 2014 pampersdry
* ========================================================================
*
* pampersdry@gmail.com
*
* This script will be use in my other projects too.
* Your support ensure the continuity of this script and it projects.
* ======================================================================== */
if("undefined"==typeof jQuery)throw new Error("This application requires jQuery");var APP={init:function(){$("html").Core({console:!1,loader:!1})},sidebarSparklines:{init:function(){$("aside .sidebar-sparklines").sparkline("html",{enableTagOptions:!0})}},headerDropdown:{init:function(n){function i(i){var a=$(i.target),e=a.find(".media-list"),o=a.find(".indicator");o.addClass("animation animating fadeInDown").one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){$(this).removeClass("animation animating fadeInDown")}),$.ajax({url:n.url,cache:!1,type:"POST",dataType:"json"}).done(function(n){var i=a.find(".mustache-template").html(),t=Mustache.render(i,n);o.addClass("hide"),a.find(".count").html("("+n.data.length+")"),e.prepend(t),e.find(".media.new").each(function(){$(this).addClass("animation animating flipInX").one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",function(){$(this).removeClass("animation animating flipInX")})})})}$(n.dropdown).one("shown.bs.dropdown",i)}}};$(function(){APP.init(),APP.sidebarSparklines.init(),APP.headerDropdown.init({dropdown:"#header-dd-message",url:"../server/message.php"}),APP.headerDropdown.init({dropdown:"#header-dd-notification",url:"../server/notification.php"})});