⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.37
Server IP:
15.235.14.176
Server:
Linux server2.ihostph.com 4.18.0-553.30.1.el8_10.x86_64 #1 SMP Tue Nov 26 02:30:26 EST 2024 x86_64
Server Software:
Apache
PHP Version:
8.1.34
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
gracious
/
faithforcehr.graciousphils.com
/
Edit File: dashboard.php
<?php include('includes/config.php'); if(strlen($_SESSION['alogin'])==0) { header('location:index.php'); } else { ?> <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>HUMAN RESOURCES DEPARTMENT</title> <!-- Bootstrap --> <!-- <link href="includes/assets/bootstrap.min.css" rel="stylesheet"> --> <!-- Font Awesome --> <script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js"></script> <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" rel="stylesheet"> <!-- Google Font --> <link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap" rel="stylesheet"> <link href="https://cdn.jsdelivr.net/npm/sweetalert2@11.19.1/dist/sweetalert2.min.css" rel="stylesheet"> </head> <?php include('header.php');?> <body class="bg-dark"> <div class="container-fluid mt-4"> <div class="row"> <div class="col-md-2"> <div class="card rounded bg-primary"> <div class="card-body"> <center> <strong class="fw-bolder text-warning">HR</strong> <strong class="fw-bolder text-warning" id="fullname" name="fullname"></strong><br> <small class="fw-bold" id="position" name="position"></small> </center><br> <img src="../employeeportal.graciousphils.com/images/<?php echo $_SESSION['myimage']; ?>" alt="Round Image" name="hrphoto" id="hrphoto" class="rounded-circle mx-auto d-block" width="100" height="100"><br> <center><strong class="fw-bold" id="company" name="company"></strong></center> </div> </div> </div> <div class="col-md-7"> <div class="row"> <div class="col-md-3"> <div class="card bg-primary text-center rounded shadow-sm position-relative"> <!-- Eye icon (no background) --> <a href="employeelist.php" class="position-absolute" style="top: 10px; right: 10px; text-decoration: none;" title="View Employee List"> <i class="fas fa-eye text-warning fs-5"></i> </a> <div class="card-body d-flex flex-column align-items-center"> <div class="d-flex align-items-center justify-content-center mb-2"> <h3 class="mb-0 fw-bold text-warning" id="employeecount" name="employeecount"></h3> </div> <div> <small class="text-muted fw-semibold">Active</small><br> <small class="text-muted fw-semibold">Employee</small> </div> </div> </div> </div> <div class="col-md-3"> <div class="card bg-primary text-center rounded shadow-sm"> <div class="card-body d-flex flex-column align-items-center"> <div class="d-flex align-items-center justify-content-center mb-2"> <!-- <img src="icons/group.png" alt="Employee Icon" width="40" height="40" class="me-2"> --> <h3 class="mb-0 fw-bold text-warning" id="inactiveemployeecount" name="inactiveemployeecount"></h3> </div> <div> <small class="text-muted fw-semibold">Inactive</small><br> <small class="text-muted fw-semibold">Employee</small> </div> </div> </div> </div> <div class="col-md-3"> <div class="card bg-primary text-center rounded shadow-sm"> <div class="card-body d-flex flex-column align-items-center"> <div class="d-flex align-items-center justify-content-center mb-2"> <!-- <img src="icons/group.png" alt="Employee Icon" width="40" height="40" class="me-2"> --> <h3 class="mb-0 fw-bold text-warning" id="companycount" name="companycount"></h3> </div> <div> <small class="text-muted fw-semibold">Main</small><br> <small class="text-muted fw-semibold">Count</small> </div> </div> </div> </div> <div class="col-md-3"> <div class="card bg-primary text-center rounded shadow-sm"> <div class="card-body d-flex flex-column align-items-center"> <div class="d-flex align-items-center justify-content-center mb-2"> <!-- <img src="icons/group.png" alt="Employee Icon" width="40" height="40" class="me-2"> --> <h3 class="mb-0 fw-bold text-warning" id="department_count" name="department_count"></h3> </div> <div> <small class="text-muted fw-semibold">Department</small><br> <small class="text-muted fw-semibold">Count</small> </div> </div> </div> </div> </div> </div> <div class="col-md-3"> <div class="card bg-primary rounded"> <div class="card-body"> </div> </div> </div> </div> </div> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11.19.1/dist/sweetalert2.all.min.js"></script> <script src="dashboard_info_js/hr_admin_info.js"></script> </body> </html> <?php }?>
Simpan