Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218
Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219
")
.addClass(this.tableClass)
.append(a)
.append(c)
.append(d)),
f = (this._header = b("
")
.addClass(this.gridHeaderClass)
.addClass(this._scrollBarWidth() ? "jsgrid-header-scrollbar" : "")
.append(e));
return f;
},
_createBody: function () {
var a = (this._content = b("")),
c = (this._bodyGrid = b("
").addClass(this.tableClass).append(a)),
d = (this._body = b("
")
.addClass(this.gridBodyClass)
.append(c)
.on(
"scroll",
b.proxy(function (a) {
this._header.scrollLeft(a.target.scrollLeft);
}, this)
));
return d;
},
_createPagerContainer: function () {
var a = this.pagerContainer || b("
").appendTo(this._container);
return b(a).addClass(this.pagerContainerClass);
},
_eachField: function (a) {
var c = this;
b.each(this.fields, function (b, d) {
d.visible && a.call(c, d, b);
});
},
_createHeaderRow: function () {
if (b.isFunction(this.headerRowRenderer))
return b(this.renderTemplate(this.headerRowRenderer, this));
var a = b("
").addClass(this.headerRowClass);
return (
this._eachField(function (c, d) {
var e = this._prepareCell(
"
", b, "filtercss")
.append(this.renderTemplate(b.filterTemplate, b))
.appendTo(a);
}),
a
);
},
_createInsertRow: function () {
if (b.isFunction(this.insertRowRenderer))
return b(this.renderTemplate(this.insertRowRenderer, this));
var a = b("
", b, "insertcss")
.append(this.renderTemplate(b.insertTemplate, b))
.appendTo(a);
}),
a
);
},
_callEventHandler: function (a, c) {
return a.call(this, b.extend(c, { grid: this })), c;
},
reset: function () {
return (
this._resetSorting(), this._resetPager(), this._loadStrategy.reset()
);
},
_resetPager: function () {
(this._firstDisplayingPage = 1), this._setPage(1);
},
_resetSorting: function () {
(this._sortField = null), (this._sortOrder = i), this._clearSortingCss();
},
refresh: function () {
this._callEventHandler(this.onRefreshing),
this.cancelEdit(),
this._refreshHeading(),
this._refreshFiltering(),
this._refreshInserting(),
this._refreshContent(),
this._refreshPager(),
this._refreshSize(),
this._callEventHandler(this.onRefreshed);
},
_refreshHeading: function () {
this._headerRow.toggle(this.heading);
},
_refreshFiltering: function () {
this._filterRow.toggle(this.filtering);
},
_refreshInserting: function () {
this._insertRow.toggle(this.inserting);
},
_refreshContent: function () {
var a = this._content;
if ((a.empty(), !this.data.length))
return a.append(this._createNoDataRow()), this;
for (
var b = this._loadStrategy.firstDisplayIndex(),
c = this._loadStrategy.lastDisplayIndex(),
d = b;
c > d;
d++
) {
var e = this.data[d];
a.append(this._createRow(e, d));
}
},
_createNoDataRow: function () {
var a = 0;
return (
this._eachField(function () {
a++;
}),
b("
")
.addClass(this.noDataRowClass)
.append(
b("
")
.addClass(this.cellClass)
.attr("colspan", a)
.append(this.renderTemplate(this.noDataContent, this))
)
);
},
_createRow: function (a, c) {
var d;
return (
b.isFunction(this.rowRenderer)
? (d = this.renderTemplate(this.rowRenderer, this, {
item: a,
itemIndex: c,
}))
: ((d = b("
")), this._renderCells(d, a)),
d
.addClass(this._getRowClasses(a, c))
.data(g, a)
.on(
"click",
b.proxy(function (b) {
this.rowClick({ item: a, itemIndex: c, event: b });
}, this)
)
.on(
"dblclick",
b.proxy(function (b) {
this.rowDoubleClick({ item: a, itemIndex: c, event: b });
}, this)
),
this.selecting && this._attachRowHover(d),
d
);
},
_getRowClasses: function (a, b) {
var c = [];
return (
c.push((b + 1) % 2 ? this.oddRowClass : this.evenRowClass),
c.push(t(this.rowClass, this, a, b)),
c.join(" ")
);
},
_attachRowHover: function (a) {
var c = this.selectedRowClass;
a.hover(
function () {
b(this).addClass(c);
},
function () {
b(this).removeClass(c);
}
);
},
_renderCells: function (a, b) {
return (
this._eachField(function (c) {
a.append(this._createCell(b, c));
}),
this
);
},
_createCell: function (a, c) {
var d,
e = this._getItemFieldValue(a, c),
f = { value: e, item: a };
return (
(d = b.isFunction(c.cellRenderer)
? this.renderTemplate(c.cellRenderer, c, f)
: b("
").append(this.renderTemplate(c.itemTemplate || e, c, f))),
this._prepareCell(d, c)
);
},
_getItemFieldValue: function (a, b) {
for (var c = b.name.split("."), d = a[c.shift()]; d && c.length; )
d = d[c.shift()];
return d;
},
_setItemFieldValue: function (a, b, c) {
for (var d = b.name.split("."), e = a, f = d[0]; e && d.length; )
(a = e), (f = d.shift()), (e = a[f]);
if (!e) for (; d.length; ) (a = a[f] = {}), (f = d.shift());
a[f] = c;
},
sort: function (a, c) {
return (
b.isPlainObject(a) && ((c = a.order), (a = a.field)),
this._clearSortingCss(),
this._setSortingParams(a, c),
this._setSortingCss(),
this._loadStrategy.sort()
);
},
_clearSortingCss: function () {
this._headerRow
.find("th")
.removeClass(this.sortAscClass)
.removeClass(this.sortDescClass);
},
_setSortingParams: function (a, b) {
(a = this._normalizeField(a)),
(b =
b ||
(this._sortField === a
? this._reversedSortOrder(this._sortOrder)
: i)),
(this._sortField = a),
(this._sortOrder = b);
},
_normalizeField: function (a) {
return b.isNumeric(a)
? this.fields[a]
: "string" == typeof a
? b.grep(this.fields, function (b) {
return b.name === a;
})[0]
: a;
},
_reversedSortOrder: function (a) {
return a === i ? j : i;
},
_setSortingCss: function () {
var a = this._visibleFieldIndex(this._sortField);
this._headerRow
.find("th")
.eq(a)
.addClass(
this._sortOrder === i ? this.sortAscClass : this.sortDescClass
);
},
_visibleFieldIndex: function (a) {
return b.inArray(
a,
b.grep(this.fields, function (a) {
return a.visible;
})
);
},
_sortData: function () {
var a = this._sortFactor(),
b = this._sortField;
b &&
this.data.sort(function (c, d) {
return a * b.sortingFunc(c[b.name], d[b.name]);
});
},
_sortFactor: function () {
return this._sortOrder === i ? 1 : -1;
},
_itemsCount: function () {
return this._loadStrategy.itemsCount();
},
_pagesCount: function () {
var a = this._itemsCount(),
b = this.pageSize;
return Math.floor(a / b) + (a % b ? 1 : 0);
},
_refreshPager: function () {
var a = this._pagerContainer;
a.empty(), this.paging && a.append(this._createPager());
var b = this.paging && this._pagesCount() > 1;
a.toggle(b);
},
_createPager: function () {
var a;
return (
(a = b.isFunction(this.pagerRenderer)
? b(
this.pagerRenderer({
pageIndex: this.pageIndex,
pageCount: this._pagesCount(),
})
)
: b("