⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.19
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Server Software:
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
softaculous
/
enduser
/
themes
/
default
/
js
/
View File Name :
pie.js
function pie(hold,arr,used,left,c,d,u,pole) { var r=Raphael(hold, arr[0], arr[1]); var attrib = new Object(); attrib.colors = new Array(); attrib.colors[0] = c; attrib.colors[1] = d; attrib.legend = [used+" "+u+" Used", left+" "+u+" Free"]; attrib.legendpos = pole || "east"; var vals = new Array(); if(used == 0 && left > 0){ used = 0.1; } vals[0] = used; if(left != 0){ vals[1] = left; } var pie = r.g.piechart(arr[2], arr[3], arr[4], vals, attrib); pie.hover(function () { this.sector.stop(); this.sector.scale(1.1, 1.1, this.cx, this.cy); if (this.label) { this.label[0].stop(); this.label[0].scale(1.5); this.label[1].attr({"font-weight": 900}); } }, function () { this.sector.animate({scale: [1, 1, this.cx, this.cy]}, 600, "bounce"); if (this.label) { this.label[0].animate({scale: 1}, 600, "bounce"); this.label[1].attr({"font-weight": 400}); } }); };