| Server IP : 104.21.73.108 / Your IP : 216.73.216.59 Web Server : Apache/2 System : Linux cat167-197.static.lnwhostname.com 5.10.0-20-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) x86_64 User : paphayomho ( 1042) PHP Version : 5.6.40 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/paphayomho/domains/paphayomhospital.go.th/private_html/hrm/ |
Upload File : |
<?php include('header.php'); ?>
<?php
include_once('controller/connect.php');
$dbs = new database();
$db=$dbs->connection();
$TotalEmp =mysqli_query($db,"select count(EmployeeId) as emp from employee where RoleId !='1' ");
$TotalEmploId = mysqli_fetch_assoc($TotalEmp);
$pandingleave = mysqli_query($db,"select count(LeaveStatus) as pleave from leavedetails where LeaveStatus='Pending'");
$tpandingleave = mysqli_fetch_assoc($pandingleave);
?>
<ol class="breadcrumb" style="margin: 10px 0px ! important;">
<li class="breadcrumb-item" title="Home"><a href="index.php">หน้าหลัก</a></li>
</ol>
<!--four-grids here-->
<div class="row" style="">
<div class="col-lg-6 col-md-6 col-sm-12">
<div class="panel panel-default bg-light dash-summary">
<div class="panel-body">
<a href="employeeview.php">
<div class="icon">
<i class="glyphicon glyphicon-user" aria-hidden="true"></i>
</div>
<div class="four-text">
<h3>จำนวนบุคลากร</h3>
<h4><?php echo(isset($TotalEmploId['emp']))?$TotalEmploId['emp']:"";?></h4>
</div>
</a>
</div>
</div>
</div>
<div class="col-lg-6 col-md-6 col-sm-12">
<div class="panel panel-default bg-light dash-summary">
<div class="panel-body">
<a href="leaverequest.php">
<div class="icon">
<i class="glyphicon glyphicon-list-alt" aria-hidden="true"></i>
</div>
<div class="four-text">
<h3>สรุปค่าใช้จ่ายการประชุม</h3>
<h4><?php include('but_admin.php'); ?></h4>
</div>
</a>
</div>
</div>
</div>
<!-- <div class="col-md-3 four-grid">
<div class="four-w3ls">
<div class="icon">
<i class="glyphicon glyphicon-folder-open" aria-hidden="true"></i>
</div>
<div class="four-text">
<h3>Projects</h3>
<h4>12,430</h4>
</div>
</div>
</div> -->
<!-- <div class="col-md-3 four-grid">
<div class="four-wthree">
<div class="icon">
<i class="glyphicon glyphicon-briefcase" aria-hidden="true"></i>
</div>
<div class="four-text">
<h3>Old Projects</h3>
<h4>14,430</h4>
</div>
</div>
</div> -->
<div class="clearfix"></div>
</div>
<!--//four-grids here-->
<?php include('footer.php'); ?>