ÿØÿà 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/ |
<?php $CORE->page_title = 'Block manager'; $type='list'; if(isset($CORE->input['type']) && $CORE->input['type']!=''){ $type=$CORE->input['type']; } switch ($type){ default: include 'list.php'; break; case 'post_html': include 'post_html.php'; break; case 'post_list': include 'post_list.php'; break; case 'del_local_block': include 'del_local_block.php'; break; case 'delete_block': include 'delete_block.php'; break; } include ROOT_PATH . 'include/block/header_admin.php'; ?> <div class="content-wrapper"> <!-- Content Header (Page header) --> <div class="content-header"> <div class="container-fluid"> <div class="row mb-2"> <div class="col-sm-6"> <h1 class="m-0">Quản lý block</h1> </div><!-- /.col --> <div class="col-sm-6"> <ol class="breadcrumb float-sm-right"> <li class="breadcrumb-item"><a href="?">Home</a></li> <li class="breadcrumb-item active"><a href="?act=admin&code=block">Quản lý block</a></li> </ol> </div><!-- /.col --> </div><!-- /.row --> </div><!-- /.container-fluid --> </div> <!-- /.content-header --> <!-- Main content --> <section class="content"> <div class="container-fluid"> <!-- Small boxes (Stat box) --> <div class="row"> <div class="col-md-12"> <?php if($type=='list'){ include 'list_tpl.php'; } if($type=='post_html'){ include 'post_html_tpl.php'; } if($type=='post_list'){ include 'post_list_tpl.php'; } ?> </div> </div> </div> </section> </div> <div id="myModal" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog modal-lg"> <div class="modal-content"> <iframe width="100%" height="600" frameborder="0" allowfullscreen=""></iframe> </div> </div> </div> <script> $('.link_xem').click(function () { var block_id = $(this).attr('rel'); var src = '<?php echo $INFO['home_url'];?>index.php?act=block&code=detail&block_id='+block_id; $('#myModal').modal('show'); $('#myModal iframe').attr('src', src); }); $('#myModal button').click(function () { $('#myModal iframe').removeAttr('src'); }); </script> <?php include ROOT_PATH . 'include/block/footer_admin.php'; ?>