| Server IP : 103.48.194.25 / Your IP : 216.73.216.74 Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.33 System : Linux VMHostDefault 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 User : sieuthimay ( 1016) PHP Version : 8.2.20 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/zomuaban.com/public_html/site/views/backend-old/ |
Upload File : |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta name="robots" content="noindex"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Admin</title>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<?=includeCss('common', 'bootstrap/css/bootstrap.css')?>
<?=includeCss('common', 'flag-icon/css/flag-icon.css')?>
<?=includeCss('site', 'bootstrap-theme.css')?>
<?=includeCss('site', 'component.css')?>
<?=includeCss('site', 'icons.css')?>
<link href="<?php echo base_url(); ?>public/backend/css/style.css" rel="stylesheet">
<script src="<?=common('js/jquery.js')?>"> </script>
<script src="<?=common('bootstrap/js/bootstrap.js')?>"></script>
<script src="<?=common('js/jquery.cookie.js')?>"></script>
<script src="<?=common('js/purl.js')?>"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.lazyload/1.9.1/jquery.lazyload.min.js" type="text/javascript" ></script>
<script src="<?=themeCdn('js/alogap.api.js')?>"></script>
<script src="<?=themeCdn('js/util.js')?>"></script>
</head>
<body>
<div class="container-fluid">
<div class="row">
<div id="navigate" class="col-sm-3 col-md-2 panel-group">
<?=$this->load->view('backend/inc/navigation')?>
</div>
<div id="frame-container" class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 nopadding">
<iframe width="100%" height="100%" src="" frameborder="none"></iframe>
</div>
</div>
</div>
<script>
$(document).ready(function(){
$lastestURL = '';
// Check trong trường hợp iframe> nếu có query > active tab tương ứng
var tab = $.url(true).param('tab');
if(tab=='autoget'){
$lastestURL = window.location.href.replace('/admin?tab=autoget', '/autoget?');
$item = $('#navigate').find('#autoget');
}else{
// Tìm url được mở (được lưu trong cookie)
$lastestURL = ($.cookie('curr') && $.cookie('curr')!='') ? $.cookie('curr') : '';
$item = $('#navigate').find('a[href="'+$lastestURL+'"]');
}
if($lastestURL && $lastestURL!=''){
$('#frame-container>iframe').attr('src',$lastestURL);
// OPen panel and active item
$item.parent().addClass('active');
openPanel('#' +$item.parent().parent().parent().parent().attr('id'));
}
$('#navigate .panel-body .nav-sidebar>li>a').click(function(e){
e.preventDefault();
$('#navigate .panel-body .nav-sidebar>li').removeClass('active');
$(this).parent().addClass('active');
$('#frame-container>iframe').attr('src', $(this).attr('href'));
// Lưu cookie
$.cookie('curr',$(this).attr('href'));
})
})
// Hàm để logout
submitLogout = function (){
jQuery.ajax({
type:"POST",
url:"<?=base_url()?>" + "frontend/auth/ajax_logout",
success:function(result){
var data = $.parseJSON(result);
if(data.success)window.parent.location.reload();
Alertt.show(data);
}
});
}
</script>
</body>
</html>