Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 3.149.242.223
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
bnu /
JQGrid3.5 /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
css
[ DIR ]
drwxr-xr-x
i18n
[ DIR ]
drwxr-xr-x
JsonXml.js
8.66
KB
-rwxr-xr-x
grid.base.js
100.99
KB
-rwxr-xr-x
grid.celledit.js
16.62
KB
-rwxr-xr-x
grid.common.js
21.7
KB
-rwxr-xr-x
grid.custom.js
25.98
KB
-rwxr-xr-x
grid.formedit.js
73.84
KB
-rwxr-xr-x
grid.grouping.js
7.09
KB
-rwxr-xr-x
grid.import.js
8.33
KB
-rwxr-xr-x
grid.inlinedit.js
8.65
KB
-rwxr-xr-x
grid.jqueryui.js
16.98
KB
-rwxr-xr-x
grid.loader.js
2.14
KB
-rwxr-xr-x
grid.postext.js
1.51
KB
-rwxr-xr-x
grid.setcolumns.js
5.38
KB
-rwxr-xr-x
grid.subgrid.js
8.43
KB
-rwxr-xr-x
grid.tbltogrid.js
3.02
KB
-rwxr-xr-x
grid.treegrid.js
14.76
KB
-rwxr-xr-x
jqDnR.js
1.92
KB
-rwxr-xr-x
jqModal.js
3.32
KB
-rwxr-xr-x
jquery.fmatter.js
19.62
KB
-rwxr-xr-x
jquery.searchFilter.js
36.21
KB
-rwxr-xr-x
ui.multiselect.js
10.02
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : grid.grouping.js
// Grouping module ;(function($){ $.jgrid.extend({ groupingSetup : function () { return this.each(function (){ var $t = this, grp = $t.p.groupingView; if(grp !== null && ( (typeof grp === 'object') || $.isFunction(grp) ) ) { if(!grp.groupField.length) { $t.p.grouping = false; } else { for(var i=0;i<grp.groupField.length;i++) { if(!grp.groupOrder[i]) { grp.groupOrder[i] = 'asc'; } if(!grp.groupText[i]) { grp.groupText[i] = '{0}'; } if( typeof(grp.groupColumnShow[i]) != 'boolean') { grp.groupColumnShow[i] = true; } if( typeof(grp.groupSummary[i]) != 'boolean') { grp.groupSummary[i] = false; } if(grp.groupColumnShow[i] === true) { $($t).jqGrid('showCol',grp.groupField[i]); } else { $($t).jqGrid('hideCol',grp.groupField[i]); } grp.sortitems[i] = []; grp.sortnames[i] = []; grp.summaryval[i] = []; if(grp.groupSummary[i]) { grp.summary[i] =[]; var cm = $t.p.colModel; for(var j=0, cml = cm.length; j < cml; j++) { if(cm[j].summaryType) { grp.summary[i].push({nm:cm[j].name,st:cm[j].summaryType, v:''}); } } } } $t.p.scroll = false; $t.p.rownumbers = false; $t.p.subGrid = false; $t.p.treeGrid = false; $t.p.gridview = true; } } else { $t.p.grouping = false; } }); }, groupingPrepare : function (rData, items, gdata, record) { this.each(function(){ // currently only one level // Is this a good idea to do it so!!!!????? items[0] += ""; var itm = items[0].toString().split(' ').join(''); var grp = this.p.groupingView, $t= this; if(gdata.hasOwnProperty(itm)) { gdata[itm].push(rData); } else { gdata[itm] = []; gdata[itm].push(rData); grp.sortitems[0].push(itm); grp.sortnames[0].push($.trim(items[0].toString())); grp.summaryval[0][itm] = $.extend(true,[],grp.summary[0]); } if(grp.groupSummary[0]) { $.each(grp.summaryval[0][itm],function(i,n) { if ($.isFunction(this.st)) { this.v = this.st.call($t, this.v, this.nm, record); } else { this.v = $($t).jqGrid('groupingCalculations.'+this.st, this.v, this.nm, record); } }); } }); return gdata; }, groupingToggle : function(hid){ this.each(function(){ var $t = this, grp = $t.p.groupingView, strpos = hid.lastIndexOf('_'), uid = hid.substring(0,strpos+1), num = parseInt(hid.substring(strpos+1),10)+1, minus = grp.minusicon, plus = grp.plusicon; if( $("#"+hid+" span").hasClass(minus) ) { if(grp.showSummaryOnHide && grp.groupSummary[0]) { $("#"+hid).nextUntil(".jqfoot").hide(); } else { $("#"+hid).nextUntil("#"+uid+String(num)).hide(); } $("#"+hid+" span").removeClass(minus).addClass(plus); } else { $("#"+hid).nextUntil("#"+uid+String(num)).show(); $("#"+hid+" span").removeClass(plus).addClass(minus); } }); return false; }, groupingRender : function (grdata, colspans ) { return this.each(function(){ var $t = this, grp = $t.p.groupingView, str = "", icon = "", hid, pmrtl ="", gv, cp, ii; //only one level for now if(!grp.groupDataSorted) { // ???? TO BE IMPROVED grp.sortitems[0].sort(); grp.sortnames[0].sort(); if(grp.groupOrder[0].toLowerCase() == 'desc') { grp.sortitems[0].reverse(); grp.sortnames[0].reverse(); } } if(grp.groupCollapse) { pmrtl = grp.plusicon; } else {pmrtl = grp.minusicon;} pmrtl += " tree-wrap-"+$t.p.direction; ii = 0; while(ii < colspans) { if($t.p.colModel[ii].name == grp.groupField[0]) { cp = ii; break; } ii++; } $.each(grp.sortitems[0],function(i,n){ hid = $t.p.id+"ghead_"+i; icon = "<span style='cursor:pointer;' class='ui-icon "+pmrtl+"' onclick=\"jQuery('#"+$t.p.id+"').jqGrid('groupingToggle','"+hid+"');return false;\"></span>"; try { gv = $t.formatter(hid, grp.sortnames[0][i], cp, grp.sortitems[0] ); } catch (egv) { gv = grp.sortnames[0][i]; } str += "<tr id=\""+hid+"\" role=\"row\" class= \"ui-widget-content jqgroup ui-row-"+$t.p.direction+"\"><td colspan=\""+colspans+"\">"+icon+$.jgrid.format(grp.groupText[0], gv, grdata[n].length)+"</td></tr>"; for(var kk=0;kk<grdata[n].length;kk++) { str += grdata[n][kk].join(''); } if(grp.groupSummary[0]) { var hhdr = ""; if(grp.groupCollapse && !grp.showSummaryOnHide) { hhdr = " style=\"display:none;\""; } str += "<tr"+hhdr+" role=\"row\" class=\"ui-widget-content jqfoot ui-row-"+$t.p.direction+"\">"; var fdata = grp.summaryval[0][n], cm = $t.p.colModel, vv, grlen = grdata[n].length; for(var k=0; k<colspans;k++) { var tmpdata = "<td "+$t.formatCol(k,1,'')+"> </td>", tplfld = "{0}"; $.each(fdata,function(){ if(this.nm == cm[k].name) { if(cm[k].summaryTpl) { tplfld = cm[k].summaryTpl; } if(this.st == 'avg') { if(this.v && grlen > 0) { this.v = (this.v/grlen); } } try { vv = $t.formatter('', this.v, k, this); } catch (ef) { vv = this.v; } tmpdata= "<td "+$t.formatCol(k,1,'')+">"+$.jgrid.format(tplfld,vv)+ "</td>"; return false; } }); str += tmpdata; } str += "</tr>"; } }); $("#"+$t.p.id+" tbody:first").append(str); // free up memory str = null; }); }, groupingGroupBy : function (name, options, current) { return this.each(function(){ var $t = this; if(typeof(name) == "string") { name = [name]; } var grp = $t.p.groupingView; $t.p.grouping = true; // show previoous hidden groups if they are hidden for(var i=0;i<grp.groupField.length;i++) { if(!grp.groupColumnShow[i]) { $($t).jqGrid('showCol',grp.groupField[i]); } } $t.p.groupingView = $.extend($t.p.groupingView, options || {}); grp.groupField = name; $($t).trigger("reloadGrid"); }); }, groupingRemove : function (current) { return this.each(function(){ var $t = this; if(typeof(current) == 'undefined') { current = true; } $t.p.grouping = false; if(current===true) { $("tr.jqgroup, tr.jqfoot","#"+$t.p.id+" tbody:first").remove(); $("tr.jqgrow:hidden","#"+$t.p.id+" tbody:first").show(); } else { $($t).trigger("reloadGrid"); } }); }, groupingCalculations : { "sum" : function(v, field, rc) { return parseFloat(v||0) + parseFloat((rc[field]||0)); }, "min" : function(v, field, rc) { if(v==="") { return parseFloat(rc[field]||0); } return Math.min(parseFloat(v),parseFloat(rc[field]||0)); }, "max" : function(v, field, rc) { if(v==="") { return parseFloat(rc[field]||0); } return Math.max(parseFloat(v),parseFloat(rc[field]||0)); }, "count" : function(v, field, rc) { if(v==="") {v=0;} if(rc.hasOwnProperty(field)) { return v+1; } else { return 0; } }, "avg" : function(v, field, rc) { // the same as sum, but at end we divide it return parseFloat(v||0) + parseFloat((rc[field]||0)); } } }); })(jQuery);
Close