| Server IP : 162.214.74.102 / Your IP : 216.73.217.80 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/lrsys/public_html/lrsys_apps/school/assets/js/ |
Upload File : |
/**
* Neon Demo Scripts (Demo Theme Only)
*
* Developed by Arlind Nushi - www.laborator.co
*/
if(typeof Dropzone != 'undefined')
{
Dropzone.autoDiscover = false;
}
;(function($, window, undefined)
{
"use strict";
$(document).ready(function()
{
// Dropzone Example
if(typeof Dropzone != 'undefined')
{
if($("#dropzone_example").length)
{
var dz = new Dropzone("#dropzone_example"),
dze_info = $("#dze_info"),
status = {uploaded: 0, errors: 0};
var $f = $('<tr><td class="name"></td><td class="size"></td><td class="type"></td><td class="status"></td></tr>');
dz.on("success", function(file) {
var _$f = $f.clone();
dze_info.removeClass('hidden');
_$f.addClass('success');
_$f.find('.name').html(file.name);
_$f.find('.size').html(parseInt(file.size / 1024, 10) + ' KB');
_$f.find('.type').html(file.type);
_$f.find('.status').html('Uploaded <i class="entypo-check"></i>');
dze_info.find('tbody').append( _$f );
status.uploaded++;
dze_info.find('tfoot td').html('<span class="label label-success">' + status.uploaded + ' uploaded</span> <span class="label label-danger">' + status.errors + ' not uploaded</span>');
})
.on('error', function(file)
{
var _$f = $f.clone();
dze_info.removeClass('hidden');
_$f.addClass('danger');
_$f.find('.name').html(file.name);
_$f.find('.size').html(parseInt(file.size / 1024, 10) + ' KB');
_$f.find('.type').html(file.type);
_$f.find('.status').html('Uploaded <i class="entypo-cancel"></i>');
dze_info.find('tbody').append( _$f );
status.errors++;
dze_info.find('tfoot td').html('<span class="label label-success">' + status.uploaded + ' uploaded</span> <span class="label label-danger">' + status.errors + ' not uploaded</span>');
});
}
}
});
})(jQuery, window);