HEX
Server: Apache
System: Linux p3plzcpnl506847.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: slfopp7cb1df (5698090)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/slfopp7cb1df/www/conradinvestmentgroup.com/pm/app/Views/filters/manage_modal.php
<div class="modal-body clearfix">
    <div class="container-fluid">
        <div class="table-responsive">
            <table id="filters-table" class="display" cellspacing="0" width="100%">
            </table>
        </div>
    </div>
</div>

<div class="modal-footer">
    <button type="button" class="btn btn-default close-manage-modal" data-bs-dismiss="modal"><span data-feather="x" class="icon-16"></span> <?php echo app_lang('close'); ?></button>
</div>

<script type="text/javascript">
    $(document).ready(function () {
        var context = "<?php echo $context; ?>";

        var optionClass = "w250";
        if(isMobile()){
            optionClass = "";
        }

        $("#filters-table").appTable({
            source: '<?php echo_uri("filters/list_data/" . $context . "/" . $context_id) ?>',
            order: [[0, 'asc']],
            columns: [
                {title: "<?php echo app_lang('title') ?> ", "class": "all"},
                {title: "<?php echo app_lang('bookmark') ?> ", "class": "text-center"},
                {title: "<?php echo app_lang('bookmark_icon') ?> ", "class": "text-center"},
                {title: "<i data-feather='menu' class='icon-16'></i>", "class": "text-center option " + optionClass}
            ]
        });

        if (!window.changeFilterInitialized) {
            window.changeFilterInitialized = [];
        }

        if (!window.changeFilterInitialized[context]) {
            $('body').on('click', '.js-change-filter-' + context, function () {
                var id = $(this).attr("data-id");
                if (window.Filters && window.Filters[context]) {
                    var filter = window.Filters[context];
                    filter.initChangeFilter(id);
                    $(".close-manage-modal").trigger("click");
                }
            });
            window.changeFilterInitialized[context] = true;
        }



    });
</script>