Commit e0a07db2 by Phạm Văn Đoan

tối ưu đường dẫn

parent 2142cf56
...@@ -8,5 +8,5 @@ ...@@ -8,5 +8,5 @@
</div> </div>
</div> </div>
<div class="row" style="text-align: center"> <div class="row" style="text-align: center">
<img src="<?php echo base_url().'images/access-denied-2.png' ?>"> <img src="<?php echo base_url('images/access-denied-2.png') ?>">
</div> </div>
\ No newline at end of file
...@@ -20,30 +20,30 @@ $action = $CI->router->fetch_method(); ...@@ -20,30 +20,30 @@ $action = $CI->router->fetch_method();
<link rel="stylesheet" href="<?php echo base_url('public/assets/css/bootstrap.min.css') ?>"/> <link rel="stylesheet" href="<?php echo base_url('public/assets/css/bootstrap.min.css') ?>"/>
<link rel="stylesheet" href="<?php echo base_url('public/assets/font-awesome/4.2.0/css/font-awesome.min.css') ?>"/> <link rel="stylesheet" href="<?php echo base_url('public/assets/font-awesome/4.2.0/css/font-awesome.min.css') ?>"/>
<link rel="stylesheet" href="<?php echo base_url('public/assets/css/datepicker.min.css') ?>" /> <link rel="stylesheet" href="<?php echo base_url('public/assets/css/datepicker.min.css') ?>" />
<link rel="stylesheet" href="<?php echo base_url().'public/assets/css/daterangepicker.min.css' ?>" /> <link rel="stylesheet" href="<?php echo base_url('public/assets/css/daterangepicker.min.css') ?>" />
<link rel="stylesheet" href="<?php echo base_url().'public/assets/css/chosen.min.css' ?>"/> <link rel="stylesheet" href="<?php echo base_url('public/assets/css/chosen.min.css') ?>"/>
<link rel="stylesheet" href="<?php echo base_url().'public/assets/css/jquery-ui.min.css' ?>"/> <link rel="stylesheet" href="<?php echo base_url('public/assets/css/jquery-ui.min.css') ?>"/>
<!-- <link rel="stylesheet" href="assets/css/jquery-ui.min.css" /> --> <!-- <link rel="stylesheet" href="assets/css/jquery-ui.min.css" /> -->
<!-- text fonts --> <!-- text fonts -->
<link rel="stylesheet" href="<?php echo base_url().'public/assets/fonts/fonts.googleapis.com.css' ?>"/> <link rel="stylesheet" href="<?php echo base_url('public/assets/fonts/fonts.googleapis.com.css') ?>"/>
<!-- ace styles --> <!-- ace styles -->
<link rel="stylesheet" href="<?php echo base_url().'public/assets/css/ace.min.css' ?>" class="ace-main-stylesheet" id="main-ace-style"/> <link rel="stylesheet" href="<?php echo base_url('public/assets/css/ace.min.css') ?>" class="ace-main-stylesheet" id="main-ace-style"/>
<!-- DCV Style --> <!-- DCV Style -->
<link rel="stylesheet" href="<?php echo base_url().'public/assets/css/dcv-css.css' ?>"/> <link rel="stylesheet" href="<?php echo base_url('public/assets/css/dcv-css.css') ?>"/>
<link rel="stylesheet" href="<?php echo base_url().'public/assets/css/pagination.css' ?>"/> <link rel="stylesheet" href="<?php echo base_url('public/assets/css/pagination.css') ?>"/>
<!-- inline styles related to this page --> <!-- inline styles related to this page -->
<style> body { font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif; } </style> <style> body { font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif; } </style>
<!-- ace settings handler --> <!-- ace settings handler -->
<script src="<?php echo base_url().'public/assets/js/ace-extra.min.js' ?>"></script> <script src="<?php echo base_url('public/assets/js/ace-extra.min.js') ?>"></script>
<!-- <script src="<?php echo base_url().'public/assets/js/jquery.1.11.1.min.js' ?>"></script> --> <!-- <script src="<?php //echo base_url('public/assets/js/jquery.1.11.1.min.js') ?>"></script> -->
<script src="<?php echo base_url().'public/assets/js/jquery.2.1.1.min.js' ?>"></script> <script src="<?php echo base_url('public/assets/js/jquery.2.1.1.min.js') ?>"></script>
<script src="<?php echo base_url().'public/assets/js/bootstrap.min.js' ?>"></script> <script src="<?php echo base_url('public/assets/js/bootstrap.min.js') ?>"></script>
<script src="<?php echo base_url().'public/assets/js/jquery-ui.min.js' ?>"></script> <script src="<?php echo base_url('public/assets/js/jquery-ui.min.js') ?>"></script>
<script src="<?php echo base_url().'public/assets/js/jquery.ui.touch-punch.min.js' ?>"></script> <script src="<?php echo base_url('public/assets/js/jquery.ui.touch-punch.min.js') ?>"></script>
<script src="<?php echo base_url().'public/assets/js/chosen.jquery.min.js' ?>"></script> <script src="<?php echo base_url('public/assets/js/chosen.jquery.min.js') ?>"></script>
<script src="<?php echo base_url().'public/fckeditor/ckfinder/ckfinder.js' ?>"></script> <script src="<?php echo base_url('public/fckeditor/ckfinder/ckfinder.js') ?>"></script>
<?php if ($controller == 'cmsRanking' && $action == 'listByDaily'): ?> <?php if ($controller == 'cmsRanking' && $action == 'listByDaily'): ?>
<!-- Styles --> <!-- Styles -->
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<td style="text-align: center">#<?php echo $data['id']; ?></td> <td style="text-align: center">#<?php echo $data['id']; ?></td>
<td style="text-align: left"><?php echo $data['full_name']; ?></td> <td style="text-align: left"><?php echo $data['full_name']; ?></td>
<td style="text-align: center"> <td style="text-align: center">
<a href="<?php echo base_url().'backend/cmsArtist/editArtist/'.$data['id']; ?>" title="Sửa thông tin"> <a href="<?php echo base_url('backend/cmsArtist/editArtist/'.$data['id']); ?>" title="Sửa thông tin">
<i class="ace-icon fa fa-pencil bigger-130"></i> <i class="ace-icon fa fa-pencil bigger-130"></i>
</a> </a>
</td> </td>
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<td style="text-align: center"><?php echo ($key+1+$offset); ?></td> <td style="text-align: center"><?php echo ($key+1+$offset); ?></td>
<td style="text-align: center">#<?php echo $data['id']; ?></td> <td style="text-align: center">#<?php echo $data['id']; ?></td>
<td> <td>
<a href="<?php echo base_url().'backend/cmsSetting/editAccessAction/'.$data['id']; ?>" title="Chi tiết"> <a href="<?php echo base_url('backend/cmsSetting/editAccessAction/'.$data['id']); ?>" title="Chi tiết">
<?php echo $data['name']; ?> <?php echo $data['name']; ?>
</a> </a>
</td> </td>
...@@ -35,10 +35,10 @@ ...@@ -35,10 +35,10 @@
<td style="text-align: center"><?php echo MyHelper::reFormatDate($data['created_at']); ?></td> <td style="text-align: center"><?php echo MyHelper::reFormatDate($data['created_at']); ?></td>
<td style="text-align: center"><?php echo MyHelper::reFormatDate($data['updated_at']); ?></td> <td style="text-align: center"><?php echo MyHelper::reFormatDate($data['updated_at']); ?></td>
<td style="text-align: center"> <td style="text-align: center">
<a href="<?php echo base_url().'backend/cmsSetting/editAccessAction/'.$data['id']; ?>" title="Chi tiết"> <a href="<?php echo base_url('backend/cmsSetting/editAccessAction/'.$data['id']); ?>" title="Chi tiết">
<i class="ace-icon fa fa-pencil bigger-130"></i> <i class="ace-icon fa fa-pencil bigger-130"></i>
</a> </a>
<a href="<?php echo base_url().'backend/cmsSetting/deleteAccessAction/'.$data['id']; ?>" <a href="<?php echo base_url('backend/cmsSetting/deleteAccessAction/'.$data['id']); ?>"
onclick="return confirm('Bạn có chắc chắn muốn xóa không?')" title="Xóa"> onclick="return confirm('Bạn có chắc chắn muốn xóa không?')" title="Xóa">
<i class="ace-icon red fa fa-trash-o bigger-130"></i> <i class="ace-icon red fa fa-trash-o bigger-130"></i>
</a> </a>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<td style="text-align: center"><?php echo ($key+1+$offset); ?></td> <td style="text-align: center"><?php echo ($key+1+$offset); ?></td>
<td style="text-align: center">#<?php echo $data['id']; ?></td> <td style="text-align: center">#<?php echo $data['id']; ?></td>
<td> <td>
<a href="<?php echo base_url().'backend/cmsSetting/editAccessController/'.$data['id']; ?>"> <a href="<?php echo base_url('backend/cmsSetting/editAccessController/'.$data['id']); ?>">
<?php echo $data['name']; ?></td> <?php echo $data['name']; ?></td>
</a> </a>
<td><?php echo $data['description']; ?></td> <td><?php echo $data['description']; ?></td>
...@@ -32,10 +32,10 @@ ...@@ -32,10 +32,10 @@
<td style="text-align: center"><?php echo MyHelper::reFormatDate($data['created_at']); ?></td> <td style="text-align: center"><?php echo MyHelper::reFormatDate($data['created_at']); ?></td>
<td style="text-align: center"><?php echo MyHelper::reFormatDate($data['updated_at']); ?></td> <td style="text-align: center"><?php echo MyHelper::reFormatDate($data['updated_at']); ?></td>
<td style="text-align: center"> <td style="text-align: center">
<a href="<?php echo base_url().'backend/cmsSetting/editAccessController/'.$data['id']; ?>" title="Chi tiết"> <a href="<?php echo base_url('backend/cmsSetting/editAccessController/'.$data['id']); ?>" title="Chi tiết">
<i class="ace-icon fa fa-pencil bigger-130"></i> <i class="ace-icon fa fa-pencil bigger-130"></i>
</a> </a>
<a href="<?php echo base_url().'backend/cmsSetting/deleteAccessController/'.$data['id']; ?>" <a href="<?php echo base_url('backend/cmsSetting/deleteAccessController/'.$data['id']); ?>"
onclick="return confirm('Bạn có chắc chắn muốn xóa không?')" title="Xóa"> onclick="return confirm('Bạn có chắc chắn muốn xóa không?')" title="Xóa">
<i class="ace-icon red fa fa-trash-o bigger-130"></i> <i class="ace-icon red fa fa-trash-o bigger-130"></i>
</a> </a>
......
...@@ -21,14 +21,14 @@ ...@@ -21,14 +21,14 @@
<?php <?php
if($data['groupName'] == 'dcv_super_admin'): if($data['groupName'] == 'dcv_super_admin'):
if($data['id'] == $this->session->userdata('id')): ?> if($data['id'] == $this->session->userdata('id')): ?>
<a href="<?php echo base_url().'backend/cmsSetting/editUserAdmin/'.$data['id']; ?>" title="Cập nhật User"> <a href="<?php echo base_url('backend/cmsSetting/editUserAdmin/'.$data['id']); ?>" title="Cập nhật User">
<?php echo $data['fullname']; ?> <?php echo $data['fullname']; ?>
</a> </a>
<?php <?php
else: echo $data['fullname']; else: echo $data['fullname'];
endif; endif;
else: ?> else: ?>
<a href="<?php echo base_url().'backend/cmsSetting/editUserAdmin/'.$data['id']; ?>" title="Cập nhật User"> <a href="<?php echo base_url('backend/cmsSetting/editUserAdmin/'.$data['id']); ?>" title="Cập nhật User">
<?php echo $data['fullname']; ?> <?php echo $data['fullname']; ?>
</a> </a>
<?php endif; ?> <?php endif; ?>
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
}?> }?>
<?php if($this->session->userdata('is_super') == 1): ?> <?php if($this->session->userdata('is_super') == 1): ?>
<a href="<?php echo base_url().'backend/cmsSetting/changeStatus/'.$data['id'].'/'.$data['is_active'] ?>" onclick="return confirm('Bạn có chắc chắn thay đổi trạng thái không?')"> <a href="<?php echo base_url('backend/cmsSetting/changeStatus/'.$data['id'].'/'.$data['is_active']) ?>" onclick="return confirm('Bạn có chắc chắn thay đổi trạng thái không?')">
Thay đổi Thay đổi
</a> </a>
<?php endif; ?> <?php endif; ?>
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<td style="text-align: center"><?php echo ($key+1+$offset); ?></td> <td style="text-align: center"><?php echo ($key+1+$offset); ?></td>
<td style="text-align: center">#<?php echo $data['id']; ?></td> <td style="text-align: center">#<?php echo $data['id']; ?></td>
<td> <td>
<a href="<?php echo base_url().'backend/cmsSetting/editGroup/'.$data['id']; ?>"> <a href="<?php echo base_url('backend/cmsSetting/editGroup/'.$data['id']); ?>">
<?php echo $data['name']; ?> <?php echo $data['name']; ?>
</a> </a>
</td> </td>
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
<td style="text-align: center"><?php echo MyHelper::reFormatDate($data['created_at']); ?></td> <td style="text-align: center"><?php echo MyHelper::reFormatDate($data['created_at']); ?></td>
<td style="text-align: center"><?php echo MyHelper::reFormatDate($data['updated_at']); ?></td> <td style="text-align: center"><?php echo MyHelper::reFormatDate($data['updated_at']); ?></td>
<td style="text-align: center"> <td style="text-align: center">
<a href="<?php echo base_url().'backend/cmsSetting/editGroup/'.$data['id']; ?>"> <a href="<?php echo base_url('backend/cmsSetting/editGroup/'.$data['id']); ?>">
<i class="ace-icon fa fa-pencil bigger-130"></i> <i class="ace-icon fa fa-pencil bigger-130"></i>
</a> </a>
</td> </td>
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
</td> </td>
<td style="text-align: center"> <td style="text-align: center">
<?php if((time() - strtotime($data['time_login'])) > 15*24*3600): ?> <?php if((time() - strtotime($data['time_login'])) > 15*24*3600): ?>
<a href="<?php echo base_url().'backend/cmsSetting/deleteLogUser/'.$data['id']; ?>" <a href="<?php echo base_url('backend/cmsSetting/deleteLogUser/'.$data['id']); ?>"
onclick="return confirm('Bạn có chắc chắn muốn xóa không?')" title="Xóa"> onclick="return confirm('Bạn có chắc chắn muốn xóa không?')" title="Xóa">
<i class="ace-icon red fa fa-trash-o bigger-130"></i> <i class="ace-icon red fa fa-trash-o bigger-130"></i>
</a> </a>
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</td> </td>
<td style="text-align: left"><?php echo strtoupper($data['blacklist_listen']); ?></td> <td style="text-align: left"><?php echo strtoupper($data['blacklist_listen']); ?></td>
<td style="text-align: center"> <td style="text-align: center">
<a href="<?php echo base_url().'backend/cmsTrack/showTrack/'.$data['id']; ?>" title="Xem chi tiết"> <a href="<?php echo base_url('backend/cmsTrack/showTrack/'.$data['id']); ?>" title="Xem chi tiết">
<i class="ace-icon fa fa-eye bigger-130"></i> <i class="ace-icon fa fa-eye bigger-130"></i>
</a> </a>
</td> </td>
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
$data['id_artist'] = 0; $data['id_artist'] = 0;
} }
?> ?>
<a href="<?php echo base_url().'backend/cmsTrack/editTrack/'.$data['id'].'/'.$data['id_user'].'/'.$data['id_artist']; ?>" title="Xem chi tiết"> <a href="<?php echo base_url('backend/cmsTrack/editTrack/'.$data['id'].'/'.$data['id_user'].'/'.$data['id_artist']); ?>" title="Xem chi tiết">
<i class="ace-icon fa fa-pencil bigger-130"></i> <i class="ace-icon fa fa-pencil bigger-130"></i>
</a> </a>
</td> </td>
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<td><?php echo $data['mobile']; ?></td> <td><?php echo $data['mobile']; ?></td>
<td style="text-align: center"><?php echo MyHelper::reFormatDate($data['created_at']); ?></td> <td style="text-align: center"><?php echo MyHelper::reFormatDate($data['created_at']); ?></td>
<td style="text-align: center"> <td style="text-align: center">
<a href="<?php echo base_url().'backend/cmsUser/showUser/'.$data['id']; ?>" title="Xem chi tiết"> <a href="<?php echo base_url('backend/cmsUser/showUser/'.$data['id']); ?>" title="Xem chi tiết">
<i class="ace-icon fa fa-search bigger-130"></i> <i class="ace-icon fa fa-search bigger-130"></i>
</a> </a>
</td> </td>
......
...@@ -80,7 +80,7 @@ $input_link_keeng = array( ...@@ -80,7 +80,7 @@ $input_link_keeng = array(
<div class="widget-main"> <div class="widget-main">
<?php <?php
$attributes = array('class' => 'form-horizontal', 'id' => 'myform'); $attributes = array('class' => 'form-horizontal', 'id' => 'myform');
echo form_open(base_url().'backend/cmsArtist/addArtist/', $attributes); echo form_open(base_url('backend/cmsArtist/addArtist/'), $attributes);
?> ?>
<div class="form-group"> <div class="form-group">
<label class="col-lg-3"></label> <label class="col-lg-3"></label>
...@@ -135,7 +135,7 @@ $input_link_keeng = array( ...@@ -135,7 +135,7 @@ $input_link_keeng = array(
</div> </div>
<div class="form-group"> <div class="form-group">
<div class="col-lg-3"> <div class="col-lg-3">
<a href="<?php echo base_url().'backend/cmsArtist/listArtist'?>" <a href="<?php echo base_url('backend/cmsArtist/listArtist')?>"
onclick="return confirm('Bạn có chắc chắn muốn quay lại Danh sách không?')"> onclick="return confirm('Bạn có chắc chắn muốn quay lại Danh sách không?')">
<button type="button" class="btn btn-sm btn-default"> <button type="button" class="btn btn-sm btn-default">
<i class="ace-icon fa fa-arrow-left"></i>Quay lại <i class="ace-icon fa fa-arrow-left"></i>Quay lại
......
...@@ -88,7 +88,7 @@ $input_link_keeng = array( ...@@ -88,7 +88,7 @@ $input_link_keeng = array(
<div class="widget-main"> <div class="widget-main">
<?php <?php
$attributes = array('class' => 'form-horizontal', 'id' => 'myform'); $attributes = array('class' => 'form-horizontal', 'id' => 'myform');
echo form_open(base_url().'backend/cmsArtist/editArtist/'.$contest[0]['id'], $attributes); echo form_open(base_url('backend/cmsArtist/editArtist/'.$contest[0]['id']), $attributes);
?> ?>
<div class="form-group"> <div class="form-group">
<label class="col-lg-3"></label> <label class="col-lg-3"></label>
...@@ -143,7 +143,7 @@ $input_link_keeng = array( ...@@ -143,7 +143,7 @@ $input_link_keeng = array(
</div> </div>
<div class="form-group"> <div class="form-group">
<div class="col-lg-3"> <div class="col-lg-3">
<a href="<?php echo base_url().'backend/cmsArtist/listArtist'?>" <a href="<?php echo base_url('backend/cmsArtist/listArtist') ?>"
onclick="return confirm('Bạn có chắc chắn muốn quay lại Danh sách không?')"> onclick="return confirm('Bạn có chắc chắn muốn quay lại Danh sách không?')">
<button type="button" class="btn btn-sm btn-default"> <button type="button" class="btn btn-sm btn-default">
<i class="ace-icon fa fa-arrow-left"></i>Quay lại <i class="ace-icon fa fa-arrow-left"></i>Quay lại
......
<!-- Thông báo lỗi --> <!-- Thông báo lỗi -->
<?php MyHelper::loadView('backend/cms_partials/error_message_view') ?> <?php MyHelper::loadView('backend/cms_partials/error_message_view') ?>
<div class="row"> <div class="row">
<?php echo form_open(base_url().'backend/cmsArtist/listArtistAjax'); ?> <?php echo form_open(base_url('backend/cmsArtist/listArtistAjax')); ?>
<div class="col-lg-3"> <div class="col-lg-3">
<input class="form-control" type="text" name="input-name" id="input-name" <input class="form-control" type="text" name="input-name" id="input-name"
placeholder="Nhập id, tên nghệ sĩ, email..." /> placeholder="Nhập id, tên nghệ sĩ, email..." />
...@@ -119,7 +119,7 @@ function loadDataByAjaxDateRange(dtFrom, dtTo, url) { ...@@ -119,7 +119,7 @@ function loadDataByAjaxDateRange(dtFrom, dtTo, url) {
function changePagination(pageId) { function changePagination(pageId) {
$('#data-loading').show(); $('#data-loading').show();
var csrf_value = '<?php echo $this->security->get_csrf_hash(); ?>'; var csrf_value = '<?php echo $this->security->get_csrf_hash(); ?>';
var url = '<?php echo base_url()."backend/cmsArtist/listArtistAjax"; ?>'; var url = '<?php echo base_url("backend/cmsArtist/listArtistAjax"); ?>';
var fByName = $("#input-name").val(); var fByName = $("#input-name").val();
//Ajax ve bieu do\ //Ajax ve bieu do\
$.ajax({ $.ajax({
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
function changePagination(pageId) { function changePagination(pageId) {
$('#data-loading').show(); $('#data-loading').show();
var url = '<?php echo base_url()."backend/cmsRanking/listByDailyAjax"; ?>'; var url = '<?php echo base_url("backend/cmsRanking/listByDailyAjax"); ?>';
callAjax(pageId, url); callAjax(pageId, url);
} }
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
function changePagination(pageId) { function changePagination(pageId) {
$('#data-loading').show(); $('#data-loading').show();
var csrf_value = '<?php echo $this->security->get_csrf_hash(); ?>'; var csrf_value = '<?php echo $this->security->get_csrf_hash(); ?>';
var url = '<?php echo base_url()."backend/cmsRanking/listByMonthlyAjax"; ?>'; var url = '<?php echo base_url("backend/cmsRanking/listByMonthlyAjax"); ?>';
var fByName = $("#input-date-picker").val(); var fByName = $("#input-date-picker").val();
//Ajax //Ajax
$.ajax({ $.ajax({
......
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
function changePagination(pageId) { function changePagination(pageId) {
$('#data-loading').show(); $('#data-loading').show();
var csrf_value = '<?php echo $this->security->get_csrf_hash(); ?>'; var csrf_value = '<?php echo $this->security->get_csrf_hash(); ?>';
var url = '<?php echo base_url()."backend/cmsRanking/listByWeeklyAjax"; ?>'; var url = '<?php echo base_url("backend/cmsRanking/listByWeeklyAjax"); ?>';
var fByName = $("#input-date-picker").val(); var fByName = $("#input-date-picker").val();
//Ajax ve bieu do\ //Ajax ve bieu do\
$.ajax({ $.ajax({
......
<!-- Thông báo lỗi --> <!-- Thông báo lỗi -->
<?php MyHelper::loadView('backend/cms_partials/error_message_view') ?> <?php MyHelper::loadView('backend/cms_partials/error_message_view') ?>
<div class="row"> <div class="row">
<?php echo form_open(base_url().'backend/cmsSetting/listGroup'); ?> <?php echo form_open(base_url('backend/cmsSetting/listGroup')); ?>
<div class="col-lg-2"> <div class="col-lg-2">
<input <input
class="form-control" type="text" class="form-control" type="text"
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
</div> </div>
<div class="row"> <div class="row">
<div class="col-lg-12"> <div class="col-lg-12">
<a href="<?php echo base_url().'backend/cmsSetting/addGroup'?>"> <a href="<?php echo base_url('backend/cmsSetting/addGroup')?>">
<button class="btn btn-sm btn-primary">+ Thêm mới</button> <button class="btn btn-sm btn-primary">+ Thêm mới</button>
</a> </a>
</div> </div>
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
//Thuc hien viec ve bieu do //Thuc hien viec ve bieu do
$(document).ready(function() { $(document).ready(function() {
var url = '<?php echo base_url()."backend/cmsSetting/listGroupAjax"; ?>'; var url = '<?php echo base_url("backend/cmsSetting/listGroupAjax"); ?>';
// Tìm kiếm theo cú pháp // Tìm kiếm theo cú pháp
var oldTimeout2 = ''; var oldTimeout2 = '';
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
function changePagination(pageId) { function changePagination(pageId) {
var csrf_value = '<?php echo $this->security->get_csrf_hash(); ?>'; var csrf_value = '<?php echo $this->security->get_csrf_hash(); ?>';
var url = '<?php echo base_url()."backend/cmsSetting/listGroupAjax"; ?>'; var url = '<?php echo base_url("backend/cmsSetting/listGroupAjax"); ?>';
var filterByName = $("#input-name").val(); var filterByName = $("#input-name").val();
//Ajax ve bieu do //Ajax ve bieu do
$.ajax({ $.ajax({
......
...@@ -309,7 +309,7 @@ $check = "checked => 1"; ...@@ -309,7 +309,7 @@ $check = "checked => 1";
</div> </div>
<div class="form-group"> <div class="form-group">
<div class="col-lg-3"> <div class="col-lg-3">
<a href="<?php echo base_url().'backend/cmsArtist/listArtist'?>" <a href="<?php echo base_url('backend/cmsArtist/listArtist') ?>"
onclick="return confirm('Bạn có chắc chắn muốn quay lại Danh sách không?')"> onclick="return confirm('Bạn có chắc chắn muốn quay lại Danh sách không?')">
<button type="button" class="btn btn-sm btn-default"> <button type="button" class="btn btn-sm btn-default">
<i class="ace-icon fa fa-arrow-left"></i>Quay lại <i class="ace-icon fa fa-arrow-left"></i>Quay lại
...@@ -399,7 +399,7 @@ $(document).ready(function() { ...@@ -399,7 +399,7 @@ $(document).ready(function() {
}); });
}); });
}); });
var url = '<?php echo base_url().'backend/cmsArtist/addArtistAjax'; ?>'; var url = '<?php echo base_url('backend/cmsArtist/addArtistAjax'); ?>';
//Thêm mới nghệ sĩ //Thêm mới nghệ sĩ
$('#add_artists').click(function(e) { $('#add_artists').click(function(e) {
......
...@@ -256,7 +256,7 @@ $input_link_keeng = array( ...@@ -256,7 +256,7 @@ $input_link_keeng = array(
</div> </div>
<div class="form-group"> <div class="form-group">
<div class="col-lg-3"> <div class="col-lg-3">
<a href="<?php echo base_url().'backend/cmsArtist/listArtist'?>" <a href="<?php echo base_url('backend/cmsArtist/listArtist') ?>"
onclick="return confirm('Bạn có chắc chắn muốn quay lại Danh sách không?')"> onclick="return confirm('Bạn có chắc chắn muốn quay lại Danh sách không?')">
<button type="button" class="btn btn-sm btn-default"> <button type="button" class="btn btn-sm btn-default">
<i class="ace-icon fa fa-arrow-left"></i>Quay lại <i class="ace-icon fa fa-arrow-left"></i>Quay lại
...@@ -337,7 +337,7 @@ $(document).ready(function() { ...@@ -337,7 +337,7 @@ $(document).ready(function() {
}); });
}); });
var url = '<?php echo base_url().'backend/cmsArtist/addArtistAjax'; ?>'; var url = '<?php echo base_url('backend/cmsArtist/addArtistAjax'); ?>';
//Thêm mới nghệ sĩ //Thêm mới nghệ sĩ
$('#add_artists').click(function(e) { $('#add_artists').click(function(e) {
......
<!-- Thông báo lỗi --> <!-- Thông báo lỗi -->
<?php MyHelper::loadView('backend/cms_partials/error_message_view') ?> <?php MyHelper::loadView('backend/cms_partials/error_message_view') ?>
<div class="row"> <div class="row">
<?php echo form_open(base_url().'backend/cmsUser/listUserAjax'); ?> <?php echo form_open(base_url('backend/cmsUser/listUserAjax')); ?>
<div class="col-lg-3"> <div class="col-lg-3">
<input <input
class="form-control" type="text" class="form-control" type="text"
...@@ -115,7 +115,7 @@ ...@@ -115,7 +115,7 @@
function changePagination(pageId) { function changePagination(pageId) {
$('#data-loading').show(); $('#data-loading').show();
var csrf_value = '<?php echo $this->security->get_csrf_hash(); ?>'; var csrf_value = '<?php echo $this->security->get_csrf_hash(); ?>';
var url = '<?php echo base_url()."backend/cmsUser/listUserAjax"; ?>'; var url = '<?php echo base_url("backend/cmsUser/listUserAjax"); ?>';
var fByName = $("#input-name").val(); var fByName = $("#input-name").val();
//Ajax ve bieu do\ //Ajax ve bieu do\
$.ajax({ $.ajax({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment