ACIL FM
Dark
Refresh
Current DIR:
/home/mhhtmff/app/NH-HR-test-old/ds/public/transfers
/
home
mhhtmff
app
NH-HR-test-old
ds
public
transfers
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
new_transfer_content.php
2.35 MB
chmod
View
DL
Edit
Rename
Delete
transfers_calendar_content.php
1.52 MB
chmod
View
DL
Edit
Rename
Delete
transfers_list.php
2.62 MB
chmod
View
DL
Edit
Rename
Delete
transfers_to_approve_count.php
624 B
chmod
View
DL
Edit
Rename
Delete
transfers_to_approve_list.php
2.42 MB
chmod
View
DL
Edit
Rename
Delete
transfer_details_content.php
3.98 MB
chmod
View
DL
Edit
Rename
Delete
users_list.php
1.51 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/mhhtmff/app/NH-HR-test-old/ds/public/transfers/users_list.php
<?php session_start(); if (!isset($_SESSION['loggedin'])) { exit("unauthorized"); } include "../../php/database.php"; ?> <h4 style="position: absolute;">Utenti</h4> <table id="users_transfer_table" class="display" style="width:100%"> <thead> <tr> <th>Nome</th> <th>Cognome</th> <th>Azioni</th> </tr> </thead> <tbody> <?php $sql = "SELECT * FROM users WHERE enable = 1 AND attendance = 1 ORDER BY name ASC"; $result = mysqli_query($con, $sql); while ($row = mysqli_fetch_assoc($result)) { $sql_approve = "SELECT COUNT(id) AS total FROM transfers WHERE user_id = " . $row["id"] . " AND status_id = 1"; $result_approve = mysqli_query($con, $sql_approve); $approve = mysqli_fetch_assoc($result_approve); if ($approve["total"] > 0) { echo "<tr id='" . $row["id"] . "' onclick='TransfersListUser(" . $row["id"] . ")' style='cursor: pointer; color: red; font-weight: 900'>"; } else { echo "<tr id='" . $row["id"] . "' onclick='TransfersListUser(" . $row["id"] . ")' style='cursor: pointer'>"; } echo "<td>" . $row["name"] . "</td>"; echo "<td>" . $row["surname"] . "</td>"; if ($approve["total"] > 0) { echo "<td>" . $approve["total"] . "</td>"; } else { echo "<td></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