Files
H1502_website/auth.php
Martijn Scheepers 6c0d7aa5b1 Added auth log page
2019-07-04 08:27:02 +02:00

24 lines
738 B
PHP

<?php include('partialpage/header.php');?>
<?php include('partialpage/sidebar.php');?>
<!-- !PAGE CONTENT! -->
<div class="w3-main" style="margin-left:340px;margin-right:40px">
<!-- auth log output -->
<div class="w3-container" id="auths" style="margin-top:75px">
<h1 class="w3-jumbo"><b>Auth Log</b></h1>
<br>
<div style="border:5px solid red; width:100px" class="w3-round"></div>
<br>
<p>Auth log file(/var/log/auth.log).</p>
<div class="w3-section">
<textarea class="w3-input w3-border" type="text" name="auths" rows="50">
<?php echo file_get_contents('/var/log/auth.log');?>
</textarea>
</div>
</div>
<!-- End page content -->
</div>
<?php include('partialpage/footer.php');?>