Kabano is a PHP web application listing alpine huts. https://kabano.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

d.admin.logs.html 810B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. <? include('blocks/d.head.html'); ?>
  4. <body>
  5. <? include('blocks/d.nav.html'); ?>
  6. <section>
  7. <h1>Logs.</h1>
  8. <span class="subtitle">
  9. <select id="logfile">
  10. <? $i = 0;
  11. foreach ($files_list as $row) {
  12. if ($row != "." && $row != "..") { ?>
  13. <option <?=$i==$filenb?'selected':''?> value="<?=$i?>"><? echo $row; ?></option>
  14. <? $i++;
  15. } ?>
  16. <? } ?>
  17. </select>
  18. </span>
  19. <br>
  20. <br>
  21. <pre><?
  22. foreach($output as $line) {
  23. echo $line."<br>";
  24. }
  25. ?></pre>
  26. </section>
  27. <script type="text/javascript">
  28. $( "#logfile" ).change(function() {
  29. window.location.href = "<?=$config['rel_root_folder']?>admin/logs/"+$( this ).val();
  30. });
  31. </script>
  32. <? include('blocks/d.footer.html'); ?>
  33. </body>
  34. </html>