ÿØÿà JFIF ÿÛ „ ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /var/www/html/netphim/code/admin/block/ |
<ul class="nav nav-tabs"> <li class="nav-item"> <a class="nav-link <?php if($block_type==1){ echo 'active';} ?>" aria-current="page" href="?act=admin&code=block&block_type=1">Html block</a> </li> <li class="nav-item"> <a class="nav-link <?php if($block_type==2){ echo 'active';} ?>" href="?act=admin&code=block&block_type=2">List block</a> </li> </ul> <div class="card"> <div class="card-header">Danh sách <?php if($block_type==1){ echo 'html';} ?><?php if($block_type==2){ echo 'list';} ?> block <div class="card-tools"><a href="?act=admin&code=block&type=post_html" class="btn btn-success"><i class="fas fa-file-code"></i> Thêm mới html block</a> <a href="?act=admin&code=block&type=post_list" class="btn btn-warning"><i class="fas fa-list"></i> Thêm mới list block</a></div> </div> <div class="card-body"> <div class="row"> <!-- Left col --> <section class="col-lg-12 connectedSortable"> <?php echo $txt_list; ?> </section> </div> </div> </div> <script> $(function () { 'use strict' // Make the dashboard widgets sortable Using jquery UI $('.connectedSortable').sortable({ placeholder: 'sort-highlight', connectWith: '.connectedSortable', handle: '.card-header, .nav-tabs', forcePlaceholderSize: true, zIndex: 999999, axis: 'y', update: function (event, ui) { var data = $(this).sortable('serialize'); // POST to server using $.post or $.ajax $.ajax({ data: data, type: 'POST', url: '?act=admin&code=homepage&type=post_vitri_block' }); } }); $('.connectedSortable .card-header').css('cursor', 'move'); }); </script>