| Server IP : 210.245.233.93 / Your IP : 216.73.216.226 Web Server : Apache/2.2.15 (CentOS) System : Linux webserver2.onesolution.com.hk 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64 User : apache ( 48) PHP Version : 5.3.3 Disable Function : exec, shell_exec, system, passthru, popen, proc_open, pcntl_exec MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/hkosl.com/billingsystem/dashboard_bk/ |
Upload File : |
<!DOCTYPE html>
<html lang="en-HK" prefix="og: http://ogp.me/ns#">
<head>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<title>Size</title>
<!-- css -->
<?php include 'inc/headlinks.php'; ?>
<?php include 'inc/link-js.php'; ?>
<!-- End layout styles -->
<link rel="stylesheet" href="../assets/css/dropify.css?<?= rand(1, 10000) / 7; ?>" />
</head>
<body>
<div class="container-scroller">
<!-- partial:partials/_sidebar.html -->
<?php include 'inc/sidebar.php'; ?>
<!-- partial -->
<div class="container-fluid page-body-wrapper">
<!-- partial:partials/_navbar.html -->
<?php include 'inc/navbar.php'; ?>
<!-- partial -->
<div class="main-panel">
<!-- breadcrumb -->
<div class="page-title-box d-flex align-items-center justify-content-between">
<ol class="breadcrumb m-0 p-0">
<li class="breadcrumb-item active">Size</li>
</ol>
<div class="page-title-right">
<div class="splitBtn mb-md-0 mb-3">
<button type="button" class="btn btn-indigo dropdown-toggle px-3 shadow_green" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="mr-3">Action</span> <span class="sr-only"> Toggle Dropdown</span>
</button>
<div class="dropdown-menu dropdown-menu-right small">
<a class="dropdown-item" href="#" data-toggle="modal" data-target="#addNew"> <i class="mdi mdi-plus-circle"></i> Add Size</a>
<a class="dropdown-item" href="#" data-toggle="modal" data-target="#importCSV"><i class="mdi mdi-file-import"></i> Import</a>
</div>
</div>
</div>
</div>
<!-- breadcrumb end -->
<div class="content-wrapper pb-0">
<!-- alert Message -->
<?php include 'inc/alertmessage.php'; ?>
<!-- alert Message END-->
<div class="row searchWrap">
<!-- Search Row -->
<div class="col-lg-10">
<div class="row searchDefault">
<div class="col-lg-6">
<div class="form-group select2singleSearch shadow">
<select class="form-control noborder" id="SizeSearch">
<option></option>
</select>
</div>
</div>
<div class="col-lg-6">
<div class="form-group shadow select2Multiple">
<select class="form-control" id="Name" multiple="multiple" style="width: 100%;">
<option value="X">X</option>
<option value="XLK">XLK</option>
<option value="XLL">XLL</option>
</select>
</div>
</div>
</div>
</div>
<div class="col-lg-2">
<div class="btn-group w-100 shadow whiteBg mb-2" role="group" aria-label="Basic example">
<button type="button" class="btn btn-secondary w-100">
Clear </button>
<button type="button" class="btn btn-dark w-100">
Search </button>
</div>
</div>
<!-- Search Row END -->
</div>
<div class="boxShadow whiteBg mb-4">
<!-- Data Table -->
<div class="table-responsive mb-2">
<table id="DataDT" class="table">
</table>
</div>
<!-- Data Table END-->
</div>
<!-- content-wrapper ends -->
<!-- partial:partials/_footer.html -->
<?php include 'inc/footer.php'; ?>
<!-- partial -->
</div>
<!-- main-panel ends -->
</div>
<!-- page-body-wrapper ends -->
</div>
<!-- Modal import-->
<?php include 'component/import.php'; ?>
<!-- Modal add-->
<?php include 'component/add_size.php'; ?>
<!-- Modal edit-->
<?php include 'component/edit_size.php'; ?>
<script src="../assets/datatables/buttons/1.1.2/js/dataTables.buttons.min.js?<?= rand(1, 10000) / 7; ?>"></script>
<script src="../assets/datatables/select/1.1.2/js/dataTables.select.min.js?<?= rand(1, 10000) / 7; ?>"></script>
<script src="../assets/js/bootstrap-datetimepicker.js?<?= rand(1, 10000) / 7; ?>"></script>
<script src="../assets/js/select2.js?<?= rand(1, 10000) / 7; ?>"></script>
<script src="../assets/js/dataTables.checkboxes.js?<?= rand(1, 10000) / 7; ?>"></script>
<script>
$(function() {
var dataSizeCode = [{
id: 0,
text: '1233'
},
{
id: 1,
text: '4444'
}
];
$("#SizeSearch").select2({
placeholder: "Size Code",
allowClear: true,
data: dataSizeCode
});
$("#Name").select2({
placeholder: "Name",
allowClear: true
});
var columnDefs = [/*{
data: "DT_RowId",
title: "All"
},*/ {
render: function(data, type, row) {
var result =
' <a href="#" class="defaultText" data-toggle="modal" data-target="#edit"><i class="mdi mdi-table-edit"></i> </a>';
return result;
},
title: "Edit",
width: "50"
},
{
data: "column01",
title: "Code#"
},
{
data: "column02",
title: "Name"
}
];
var siteTable = $('#DataDT').DataTable({
scrollX: true,
ajax: "../assets/json/size.json",
columns: columnDefs,
searching: false,
select: 'single',
responsive: true,
lengthMenu: [
[10, 25, 50, 100, -1],
[10, 25, 50, 100, "All"]
],
altEditor: true, // Enable altEditor
pageLength: 10,
/* columnDefs: [{
'targets': 0,
'checkboxes': {
'selectRow': false
}
}],*/
order: []
});
});
</script>
</body>
</html>