X7ROOT File Manager
Current Path:
/home/hamdjcne/app.hamdalillahitravel.com/app/Views/setting
home
/
hamdjcne
/
app.hamdalillahitravel.com
/
app
/
Views
/
setting
/
ðŸ“
..
📄
.DS_Store
(6 KB)
📄
access.php
(8.18 KB)
📄
app.php
(1.79 KB)
📄
area.php
(11.96 KB)
📄
area_form.php
(4.85 KB)
📄
module.php
(6.52 KB)
📄
module_form.php
(3.3 KB)
📄
platform.php
(10.33 KB)
📄
role.php
(6.57 KB)
📄
role_form.php
(1.76 KB)
📄
territory.php
(8.63 KB)
📄
territory_form.php
(5.29 KB)
Editing: territory.php
<?php use App\Models\Crud; $this->Crud = new Crud(); ?> <?=$this->extend('designs/backend');?> <?=$this->section('title');?> <?=$title;?> <?=$this->endSection();?> <?=$this->section('content');?> <div class="app-wrapper d-flex " style="margin-left: 1px; "> <!--begin::Wrapper container--> <div class="app-container container-fluid "> <!--begin::Main--> <div class="app-main flex-column flex-row-fluid " id="kt_app_main"> <!--begin::Content wrapper--> <div class="d-flex flex-column flex-column-fluid"> <!--begin::Toolbar--> <div id="kt_app_toolbar" class="app-toolbar "> <!--begin::Toolbar container--> <div class="d-flex flex-stack flex-row-fluid"> <!--begin::Toolbar wrapper--> <div class="d-flex flex-column flex-row-fluid"> <!--begin::Breadcrumb--> <ul class="breadcrumb breadcrumb-separatorless fw-semibold mb-3"> <!--begin::Item--> <li class="breadcrumb-item text-gray-600 fw-bold lh-1"> <a href="<?=site_url(); ?>" class="text-white text-hover-success"> <i class="ki-duotone ki-home text-gray-500 fs-2"></i> </a> </li> <!--end::Item--> <!--begin::Item--> <li class="breadcrumb-item"> <i class="ki-duotone ki-right fs-3 text-gray-500 mx-n1"></i> </li> <!--end::Item--> <!--begin::Item--> <li class="breadcrumb-item text-gray-600 fw-bold lh-1"> Territory </li> </ul> <div class="page-title d-flex align-items-center me-3"> <!--begin::Title--> <h1 class="page-heading d-flex text-gray-900 fw-bolder fs-1 flex-column justify-content-center my-0"> Territory List </h1> <!--end::Title--> </div> <!--end::Page title--> </div> <!--end::Toolbar wrapper--> <!--begin::Actions--> <div class="d-flex align-items-center gap-3 gap-lg-5"> <!--begin::Primary button--> <a href="javascript:;" class="btn btn-flex btn-center btn-success h-35px h-md-40px btn-active-dark btn-sm px-6 pop" data-bs-toggle="tooltip" pagesize="modal-md" data-bs-placement="top" title="Add Territory" pageTitle="Add Territory" pageName="<?=site_url($mod.'/manage'); ?>" > <i class="ki-duotone ki-plus-square fs-2 p-0 m-0"><span class="path1"></span><span class="path2"></span><span class="path3"></span></i> <span class="ms-2">Add Territory</span> </a> <!--end::Primary button--> </div> <!--end::Actions--> </div> <!--end::Toolbar container--> </div> <!--end::Toolbar--> <!--begin::Content--> <div id="kt_app_content" class="app-content "> <!--begin::Card--> <div class="card my-5"> <!--begin::Card header--> <div class="card-header border-0 pt-6"> <!--begin::Card title--> <div class="card-title"> <!--begin::Search--> <div class="d-flex align-items-center position-relative my-1"> <i class="ki-duotone ki-magnifier fs-3 position-absolute ms-5"><span class="path1"></span><span class="path2"></span></i> <input type="text" data-kt-customer-table-filter="search" oninput="load('', '')" id="search" class="form-control form-control-solid w-250px ps-12" placeholder="Search" /> </div> <!--end::Search--> </div> </div> <div class="card-body pt-0 table-responsive"> <!--begin::Table--> <table class="table align-middle table-row-dashed fs-6 gy-5" id="dtable"> <thead> <tr class="text-start text-gray-500 fw-bold fs-7 text-uppercase gs-0"> <th class="min-w-125px">Territory</th> <th class="text min-w-70px">State</th> <th class="text min-w-70px">Area</th> <th></th> </tr> </thead> <tbody class="fw-semibold text-gray-600" id="load_data" > </tbody> <tfoot id="loadmore" ></tfoot> </table> <!--end::Table--> </div> </div> </div> <!--end::Content--> </div> <!--begin::Footer--> <div id="kt_app_footer" class="app-footer d-flex flex-column flex-md-row align-items-center flex-center flex-md-stack "> <div class="text-gray-900 order-2 order-md-1"> <span class="text-gray-500 fw-semibold me-1"><?=date('Y'); ?>©</span> <a href="javascript:;" target="_blank" class="text-gray-500 text-hover-success"><?=app_name; ?></a> </div> </div> <!--end::Footer--> </div> </div> <!--end::Wrapper container--> </div> <script>var site_url = '<?php echo site_url(); ?>';</script> <script src="<?php echo site_url(); ?>assets/js/jquery.min.js"></script> <script> $(function () { load('', ''); }); function load(x, y) { var more = 'no'; var methods = ''; if (parseInt(x) > 0 && parseInt(y) > 0) { more = 'yes'; methods = '/' + x + '/' + y; } if (more == 'no') { $('#load_data').html('<tr><td colspan="8"><div class="col-sm-12 fs-2 text-center" data-kt-indicator="on"> <span class="indicator-progress">Please wait... <span class="spinner-border spinner-border-sm align-middle ms-2"></span></span></div></td></tr>'); } else { $('#loadmore').html('<tr><td colspan="8"><div class="col-sm-12 fs-2 text-center" data-kt-indicator="on"> <span class="indicator-progress">Please wait... <span class="spinner-border spinner-border-sm align-middle ms-2"></span></span></div></td></tr>'); } var search = $('#search').val(); var status = $('#status').val(); $.ajax({ url: site_url + 'settings/territory/load' + methods, type: 'post', data: { search: search, status: status }, success: function (data) { var dt = JSON.parse(data); if (more == 'no') { $('#load_data').html(dt.item); } else { $('#load_data').append(dt.item); } if (dt.offset > 0) { $('#loadmore').html('<tr><td colspan="8"><a href="javascript:;" class="btn btn-dim btn-light btn-block p-30" onclick="load(' + dt.limit + ', ' + dt.offset + ');"><i class="ki-duotone ki- arrows-loop"><span class="path1"></span><span class="path2"></span></i> Load More</a></td></tr>'); } else { $('#loadmore').html(''); } }, complete: function () { $.getScript(site_url + '/assets/js/jsmodal.js'); } }); } </script> <?=$this->endSection();?>
Upload File
Create Folder