Mini Shell
<!DOCTYPE html>
<?php
include 'head.php';
?>
<html>
<style>
body{
margin-top: 20px;
}
.loading{
background-image: url("ajax-loader.gif");
background-repeat: no-repeat;
display: none;
height: 100px;
width: 100px;
}
</style>
<!--
BODY TAG OPTIONS:
=================
Apply one or more of the following classes to get the
desired effect
|---------------------------------------------------------|
| SKINS | skin-blue |
| | skin-black |
| | skin-purple |
| | skin-yellow |
| | skin-red |
| | skin-green |
|---------------------------------------------------------|
|LAYOUT OPTIONS | fixed |
| | layout-boxed |
| | layout-top-nav |
| | sidebar-collapse |
| | sidebar-mini |
|---------------------------------------------------------|
-->
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
<!-- Main Header -->
<?php include 'header.php'; ?>
<!-- Left side column. contains the logo and sidebar -->
<?php include 'leftside.php'; ?>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1 >
รายงานวิทยฐานะ
<small>รายงานข้อมูลวิทยฐานะ</small>
</h1>
<ol class="breadcrumb">
<li><a href="index.php"><i class="fa fa-home"></i> หน้าหลัก</a></li>
<li class="active">รายงานวิทยฐานะ </li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<br>
<!-- Your Page Content Here -->
<div class="box box-primary">
<div class="box-header with-border">
<h4 class="text-center" class="box-title">รายงานข้อมูลบุคลากรตามวิทยฐานะ </h4>
</div><!-- /.box-header -->
<div class="row">
<div class="col-md-6 col-md-offset-4">
<form class="form-inline" name="searchform" id="searchform">
<div class="form-group">
<label for="textsearch">เลือกวิทยฐานะ</label>
<select name="itemname" id="itemname" class="selectpicker show-tick" data-live-search="true" title="---กรุณาเลือกวิทยฐานะ---">
<option value="" >--- แสดงทั้งหมด ---</option>
<option>ชำนาญการ</option>
<option>ชำนาญการพิเศษ</option>
<option>เชี่ยวชาญ</option>
<option>เชี่ยวชาญพิเศษ</option>
</select>
</div>
<button type="button" class="btn btn-primary" id="btnSearch">
<span class="glyphicon glyphicon-search"></span>
ค้นหา
</button>
</form>
</div>
</div>
<div class="loading"></div>
<div class="row" id="list-data" style="margin-top: 10px;">
</div>
<div class="box-footer">
</div><!-- box-footer -->
</div>
<!-- /.box-body -->
<!-- Your Page Content Here -->
</section>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<!-- Main Footer -->
<?php include 'footer.php'; ?>
</div>
<!-- ./wrapper -->
<!-- REQUIRED JS SCRIPTS -->
<!-- jQuery 2.2.3 -->
<script src="plugins/jQuery/jQuery-2.1.4.min.js"></script>
<!-- Bootstrap 3.3.6 -->
<script src="bootstrap/js/bootstrap.min.js"></script>
<!-- AdminLTE App -->
<script src="dist/js/app.min.js"></script>
<script src="bootstrap/js/select2.full.min.js"></script>
<script src="bootstrap/js/smoke.min.js"></script>
<script src="bootstrap/js/bootstrap-select.min.js"></script>
<script type="text/javascript">
$(function () {
$("#btnSearch").click(function () {
$.ajax({
url: "search_ac.php",
type: "GET",
data: {itemname: $("#itemname").val()},
beforeSend: function () {
$(".loading").show();
},
complete: function () {
$(".loading").hide();
},
success: function (data) {
$("#list-data").html(data);
}
});
});
$("#searchform").on("keyup keypress",function(e){
var code = e.keycode || e.which;
if(code==13){
$("#btnSearch").click();
return false;
}
});
});
</script>
<script type="text/javascript">
$(function() {
$('#my-select').searchableOptionList({
showSelectAll: true
});
});
</script>
<!-- Optionally, you can add Slimscroll and FastClick plugins.
Both of these plugins are recommended to enhance the
user experience. Slimscroll is required when using the
fixed layout. -->
</body>
</html>
Zerion Mini Shell 1.0