403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/HostingSpaces/admin/chatme24.com/wwwroot/_frameworks/administration/default/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/HostingSpaces/admin/chatme24.com/wwwroot/_frameworks/administration/default/user_menu_order.html
{header}

<div class="block_narrow">
{menu_page}
</div>

<style>
    #additional_menu_profile_view,
    #additional_menu_verify_account{
        display: none;
    }

    .tb_fields{
        width: 410px;
    }
</style>

<div class="block_main">
    <h2>{l_title_current}</h2>
    <div class="bl_form">
        <form action="{url_page}" method="POST">
            <input type="hidden" name="cmd" value="update">
            <table class="tb_fields" id="sortable">
            <thead>
                <tr id="no_sortable" >
                    <th></th>
                    <th align="right">{l_table_name}</th>
                    <th>{l_table_status}</th>
                    <!-- begin_additional_menu -->
                    <th>{l_profile_page_menu}</th>
                    <!-- end_additional_menu -->
                    <th align="left" class="last">{l_mobile_home_page}</th>
                    <th></th>
                </tr>
            </thead>
            <!-- begin_order_profile -->
            <tr class="color cursor_pointer" id="no_sortable">
                <td id="decor_l" class="decor_l"></td>
                <td align="right">
                    <input type="hidden" name="order[]" value="profile">{l_profile}
                </td>
                <td align="center">
                </td>
                <td align="center">
                    <input type="radio" name="set_home_page_mobile" value="profile">
                </td>
                <td id="decor_r" class="decor_r"></td>
            </tr>
            <!-- end_order_profile -->
            <!-- begin_order_item -->
            <tr class="color cursor_move">
                <td id="decor_l" class="decor_l"></td>
                <td align="right" width="100px">
                    <input type="hidden" name="order[]" value="{name_block_field}">{name_block}
                </td>
                <td align="center">
                    <input class="order_check" data-name="{name_block_field}" type="checkbox" name="order_status[{name_block_field}]" {checked}>
                </td>
                <!-- begin_additional_menu_item -->
                <td align="center">
                    <input id="additional_menu_{name_block_field}" class="additional_check" data-name="{name_block_field}" type="checkbox" name="additional[{name_block_field}]" {additional_checked} >
                </td>
                <!-- end_additional_menu_item -->
                <td align="center">
                    <!-- begin_order_item_set_home_page -->
                    <input type="radio" name="set_home_page_mobile" value="{name_block_field}">
                    <!-- end_order_item_set_home_page -->
                </td b>
                <td id="decor_r" class="decor_r"></td>
            </tr>
            <!-- end_order_item -->
            </table>

            <div class="wrap_button fl_right">
                <button class="button submit" type="submit">{l_save}</button>
                <div class="button_submit_instruction">{l_or_use_ctrl_s}</div>
            </div>
        </form>
    </div>
</div>
<script>
    var radio = '';

$(function() {
    $('.order_check').change(function(){
        var $el=$(this),$ad=$('.additional_check[data-name="'+$el.data('name')+'"]');
        if(!$el.prop('checked')&&$ad[0]){
            $ad.prop('checked', false);
        }
    })

    $('.additional_check').change(function(){
        var $el=$(this),$or=$('.order_check[data-name="'+$el.data('name')+'"]');
        if(!$or.prop('checked')){
            $el.prop('checked', false);
            return false;
        }
        if($('.additional_check:checked').length>9){
            $el.prop('checked', false);
            alert('{j_there_can_be_no_more_than_items_in_this_menu}');
        }
    })

    $('input:radio[name=set_home_page_mobile]').filter('[value={current_checked}]').prop('checked',true);
    $('input:radio[name=set_home_page_mobile]').filter('[value={current_checked}]').addClass('active');

    $('input[name=set_home_page_mobile]').on('click',function(){
        if($(this).hasClass('active')){
            $(this).prop('checked',false);
            $(this).removeClass('active');
        } else {
            $('input[name=set_home_page_mobile]').removeClass('active');
            $(this).addClass('active');
        }
    });


    $('#sortable tbody').sortable({
        containment: 'parent',
	    tolerance: 'pointer',
	    opacity: 0.5,
        axis: 'y',
        cancel: '#no_sortable',
        cursor: 'move',
        items: 'tr[id != no_sortable]',
        helper: fixHelperModified,
        update: function(e, ui){
            ui.item.attr('class', 'color_set');
            ui.item.children('.decor_l').attr('class', 'decor_set_l');
            ui.item.children('.decor_r').attr('class', 'decor_set_r');
            var myradio = $('input:radio[name=set_home_page_mobile]');
            myradio.filter('[value='+radio+']').prop('checked', true);
        }
    });
});

var fixHelperModified = function(e, tr) {
    radio = $('input[name=set_home_page_mobile]:checked').val();
    var $originals = tr.children();
    var $helper = tr.clone();
    $helper.children().each(function(index)
    {
      $(this).width($originals.eq(index).width());
      $(this).parent().css({'border-collapse' : 'collapse'});
    });
    return $helper;
};
</script>
{footer}

Youez - 2016 - github.com/yon3zu
LinuXploit