Initial commit for radiantprestation project

This commit is contained in:
2026-01-06 08:29:33 +00:00
commit 89481e47af
2578 changed files with 580558 additions and 0 deletions

53
flexcodeOLD/log.php Normal file
View File

@@ -0,0 +1,53 @@
<?php
include 'include/global.php';
include 'include/function.php';
if (isset($_GET['action']) && $_GET['action'] == 'index') {
?>
<script type="text/javascript">
$('title').html('Log');
</script>
<?php
$log = getLog();
if (count($log) > 0) {
echo "<div class='row'>"
."<div class='col-md-12'>"
."<table class='table table-bordered table-hover'>"
."<thead>"
."<tr>"
."<th class='col-md-4'>Heure Serveur</th>"
."<th class='col-md-4'>Nom</th>"
."<th class='col-md-4'>Infos</th>"
."</tr>"
."</thead>"
."<tbody>";
foreach ($log as $row) {
echo "<tr>"
."<td>".$row['log_time']."</td>"
."<td>".$row['user_name']."</td>"
."<td><code>".$row['data']."</code></td>"
."</tr>";
}
echo
"</tbody>"
."</table>"
."</div>"
."</div>";
} else {
echo 'Aucune trace';
}
}
?>