Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
v3.cesa.co.za /
public /
bundles /
core /
js /
Delete
Unzip
Name
Size
Permission
Date
Action
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
dropzone.js
127.73
KB
-rwxrwxr-x
2026-04-02 12:06
form.js
10.83
KB
-rwxrwxr-x
2026-04-02 12:06
jquery-ui-timepicker-addon.js
99.11
KB
-rwxrwxr-x
2026-04-02 12:06
Save
Rename
var fileUploadURL = ''; var publicHolidays = []; (function ($, window) { window.fetchPublicHolidays = function () { if ($('#publicHolidaysValues').length > 0) { publicHolidays = JSON.parse($('#publicHolidaysValues').val()); } return publicHolidays; } }(jQuery, window)); function getImagesBrowsed(entityVarId, page = 1, allImages = 0, removeFileId = '') { if (page <= 0) { page = 1; } if (typeof entityName == 'undefined') { return; } $('#modalBody_' + entityVarId).html('Loading...'); var entityNameId = entityName[entityVarId] + 'Id'; var routeOptions = { 'limit': 20, 'page': page, 'allImages': allImages, 'removeFileId': removeFileId, 'element_id': entityVarId, 'unique_id': entityId[entityVarId] }; routeOptions[entityNameId] = entityId[entityVarId]; jQuery.getJSON(Routing.generate( 'iga_content_files_browse_images_json', routeOptions), function (response) { var filesText = findAndReplace(new String(response.browseHTML), 'page-link"', 'page-link-' + entityVarId + '"'); var fileUploadText = findAndReplace(new String(response.uploadFile), 'required="required"', ''); var insideNavText = '<ul class="nav nav-tabs" id="fileList' + entityVarId + '" role="tablist">' + '<li class="nav-item">' + '<a class="nav-link active" id="file-tab1' + entityVarId + '" data-toggle="tab" data-bs-toggle="tab" href="#tab1' + entityVarId + '" role="tab" aria-controls="file-tab1' + '' + entityVarId + '" aria-selected="true">' + browseImg + '</a></li>' + '<li class="nav-item">' + '<a class="nav-link" id="file-tab2' + entityVarId + '" data-toggle="tab" data-bs-toggle="tab" href="#tab2' + entityVarId + '" role="tab" aria-controls="file-tab2' + '' + entityVarId + '" aria-selected="false">' + uploadImg + '</a></li>' + '</ul>'; var insideBodyText = '<div class="tab-content" id="fileListContent' + entityVarId + '">' + '<div class="tab-pane fade active show" id="tab1' + entityVarId + '" role="tabpanel" aria-labelledby="file-tab1' + entityVarId + '">' + '<p class="text-center">' + '<a href="#" id="linkedImages_' + entityVarId + '">' + linkedImg + '</a>' + ' ' + '<a href="#" id="allImages_' + entityVarId + '">' + allImg + '</a>' + '</p>' + filesText + '</div>' + '<div class="tab-pane fade" id="tab2' + entityVarId + '" role="tabpanel" aria-labelledby="file-tab2' + entityVarId + '">' + '<p>' + fileUploadText + '</p></div>' + '</div>'; buildBodyText(entityVarId, insideNavText + insideBodyText); jQuery('.page-link-' + entityVarId).click(function () { getImagesBrowsed(entityVarId, jQuery(this).attr('data'), allImages); return false; }); jQuery('#linkedImages_' + entityVarId).click(function () { getImagesBrowsed(entityVarId, 0, 0); return false; }); jQuery('#allImages_' + entityVarId).click(function () { getImagesBrowsed(entityVarId, 0, 1); return false; }); jQuery('.fileGalleryItemClick_' + entityVarId).click(function () { jQuery('#selected' + entityVarId).html(jQuery(this).html()); jQuery('#' + inputId[entityVarId]).val(jQuery(this).attr('data')); jQuery('.close').each(function () { $(this).click(); }); return false; }); if (jQuery('#' + inputId[entityVarId]).length > 0 && jQuery('#' + inputId[entityVarId]).val() == '' && jQuery('#fileFirstId_' + entityVarId).length > 0 && jQuery('#fileFirstId_' + entityVarId).val() != '' && autoUpdate[entityVarId] > 0) { jQuery('#selected' + entityVarId).html(jQuery('#fileGalleryItemClick_' + entityVarId + '_' + jQuery('#fileFirstId_' + entityVarId).val()).html()); jQuery('#' + inputId[entityVarId]).val(jQuery('#fileFirstId_' + entityVarId).val()); } if (removeFileId != '' && jQuery('#' + inputId[entityVarId]).length > 0 && removeFileId == jQuery('#' + inputId[entityVarId]).val()) { jQuery('#selected' + entityVarId).html(''); jQuery('#' + inputId[entityVarId]).val(''); } if (jQuery('#' + entityVarId + '_files_i18n_title').val() == '') { jQuery('#' + entityVarId + '_files_i18n_title').val(jQuery('#' + formId[entityVarId] + '_' + entityName[entityVarId]).val()); } Dropzone.autoDiscover = false; var routeOptions = { 'cultureString': jQuery('#cultureString').val(), 'fileId': jQuery('#fileId').val(), 'fileI18nId': jQuery('#fileI18nId').val(), 'elementId': entityVarId }; routeOptions[entityNameId] = entityId[entityVarId]; dropzone_default[entityVarId] = new Dropzone("#dropzone_" + entityVarId + "_files_i18n", { url: Routing.generate('iga_content_files_upload', routeOptions), maxFiles: 10, parallelUploads: 10, uploadMultiple: true, dictMaxFilesExceeded: 'Only 10 files can be uploaded', maxFilesize: 200, // in Mb addRemoveLinks: true, autoProcessQueue: false, timeout: 1200000, init: function () { this.on("maxfilesexceeded", function (file) { this.removeFile(file); }); this.on("sending", function (file, xhr, formData) { // send additional data with the file as POST data if needed. formData.append("files_i18n_title", jQuery('#' + entityVarId + '_files_i18n_title').val()); formData.append("files_i18n_caption", jQuery('#' + entityVarId + '_files_i18n_caption').val()); formData.append("files_i18n_description", jQuery('#' + entityVarId + '_files_i18n_description').val()); formData.append("files_i18n_key_words", jQuery('#' + entityVarId + '_files_i18n_key_words').val()); formData.append("files_i18n_approved", jQuery('#' + entityVarId + '_files_i18n_approved').val()); this.processQueue(); }); this.on("successmultiple", function (file, response) { if (response.uploaded) { //alert('File(s) Uploaded'); getImagesBrowsed(entityVarId, 0, 0); } }); } }); jQuery('.btn-file-remove').click(function () { getImagesBrowsed(entityVarId, 0, 0, $(this).attr('data-file-id')); return false; }); jQuery('#' + entityVarId + '_btnSave').click(function () { if (jQuery('#' + entityVarId + '_files_i18n_title').val() == '') { // alert(pleasFileTitle); return false; } if (jQuery('#' + entityVarId + '_files_i18n_caption').val() == '') { jQuery('#' + entityVarId + '_files_i18n_caption').val(jQuery('#' + entityVarId + '_files_i18n_title').val()); } if (jQuery('#' + entityVarId + '_files_i18n_description').val() == '') { jQuery('#' + entityVarId + '_files_i18n_description').val(jQuery('#' + entityVarId + '_files_i18n_title').val()); } if (jQuery('#' + entityVarId + '_files_i18n_key_words').val() == '') { jQuery('#' + entityVarId + '_files_i18n_key_words').val(jQuery('#' + entityVarId + '_files_i18n_title').val()); } dropzone_default[entityVarId].processQueue(); return false; }); }); } // Image upload form item function rotateImg(entityVar) { rotation[entityVar] = (rotation[entityVar] + 90) % 360; // the mod 360 probably isn't needed if (rotation[entityVar] >= 360) { rotation[entityVar] = 0 } $('#selected' + entityVar).children('img').css("transform", "rotate(" + rotation[entityVar] + "deg)"); $('#image_rotate_' + entityVar).val(rotation[entityVar]); } $(document).ready(function () { var disabledDatesArray = []; fetchPublicHolidays(); var weekDaysDisabled = []; if ($('#closedSundays').length > 0 && $('#closedSundays').val() > 0) { weekDaysDisabled = [0]; } for (phCnt = 0; phCnt < publicHolidays.length; phCnt++) { inDate = new Date(publicHolidays[phCnt].date); disabledDatesArray[disabledDatesArray.length] = ("0" + inDate.getDate()).slice(-2) + "-" + ("0" + (inDate.getMonth() + 1)).slice(-2) + "-" + inDate.getFullYear(); } // console.log(disabledDatesArray); $(".datepicker").datepicker({ dateFormat: 'dd-mm-yy', changeMonth: true, changeYear: true, disabledDates: disabledDatesArray }); // $('.datetimepicker').click(function () { // hideKeyboard(); // }); /* $(".datetimepicker").datetimepicker({ format: 'd-m-Y H:i:s', dateFormat: 'd-m-Y', timeFormat: 'H:i:s', formatDate: 'd-m-Y', formatTime: 'H:i:s', timepicker: true, changeMonth: true, changeYear: true, changeTime: true, disabledDates: disabledDatesArray, disabledWeekDays: weekDaysDisabled }); $('.timepicker').timepicker(); */ $('.select2-field').each(function () { // $(this).attr('style', 'width: 280px;'); $(this).select2({placeholder: $(this).attr('data-instructions')}); }); $('.removeFile').click(function () { var fileRemoveURL = $(this).attr('data-file-remove-url'); window.location.href = fileRemoveURL + '&removeFileId=' + $(this).attr('data-file-id'); return false; }); $('.removeFileImg').click(function () { var fileRemoveURL = $(this).attr('data-file-remove-url'); window.location.href = fileRemoveURL + '&tempValName=embedded_files_&removeFileId=' + $(this).attr('data-file-id'); return false; }); if ($('#user_register_register_bidder').length > 0) { $('#user_register_register_bidder').click(function () { bidderRegister(); }); bidderRegister(); bidderRegisterDetails(); } if ($('#register_bidder').length > 0) { $('#register_bidder').click(function () { bidderRegister(); }); bidderRegister(); bidderRegisterDetails(); } if ($('#user_register_register_company').length > 0) { $('#user_register_register_company').click(function () { companyRegister(); }); companyRegister(); } $('.iga-modal-dialog-popup').each(function () { getImagesBrowsed($(this).attr('data-modal-id')); }); // $(".nav-tabs").tabs(); });