mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Removed Cancelled and added Viewed to Invoice. Client Links mirror their accompanied tabs in the client portal, minor UI fixes on ticket view, client view of ticket sorted tickets DESC via ticket_id
This commit is contained in:
@@ -3,7 +3,11 @@
|
||||
<?php
|
||||
$sql_recent_logins = mysqli_query($mysqli,"SELECT * FROM logs
|
||||
WHERE log_type = 'Login' AND log_action = 'Success' AND user_id = $session_user_id
|
||||
ORDER BY log_id DESC LIMIT 5");
|
||||
ORDER BY log_id DESC LIMIT 8");
|
||||
|
||||
$sql_recent_logs = mysqli_query($mysqli,"SELECT * FROM logs
|
||||
WHERE user_id = $session_user_id
|
||||
ORDER BY log_id DESC LIMIT 8");
|
||||
?>
|
||||
|
||||
|
||||
@@ -13,7 +17,7 @@ $sql_recent_logins = mysqli_query($mysqli,"SELECT * FROM logs
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="col-md-3">
|
||||
<h5 class="text-secondary">User Details</h5>
|
||||
|
||||
<form action="post.php" method="post" enctype="multipart/form-data" autocomplete="off">
|
||||
@@ -69,8 +73,36 @@ $sql_recent_logins = mysqli_query($mysqli,"SELECT * FROM logs
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div class="col-md-8">
|
||||
<h5 class="text-secondary">Recent Logins</h5>
|
||||
<div class="col-md-4">
|
||||
<h5 class="text-secondary mb-4">Recent Logs</h5>
|
||||
|
||||
<table class="table">
|
||||
<tbody>
|
||||
<?php
|
||||
|
||||
while($row = mysqli_fetch_array($sql_recent_logs)){
|
||||
$log_id = $row['log_id'];
|
||||
$log_type = $row['log_type'];
|
||||
$log_action = $row['log_action'];
|
||||
$log_description = $row['log_description'];
|
||||
$log_created_at = $row['log_created_at'];
|
||||
|
||||
?>
|
||||
|
||||
<tr>
|
||||
<td><i class="fa fa-fw fa-pencil-alt text-secondary"></i> <?php echo $log_type; ?></td>
|
||||
<td><?php echo $log_action; ?></td>
|
||||
<td><i class="fa fa-fw fa-clock text-secondary"></i> <?php echo $log_created_at; ?></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="col-md-5">
|
||||
<h5 class="text-secondary mb-4">Recent Logins</h5>
|
||||
|
||||
<table class="table">
|
||||
<tbody>
|
||||
|
||||
Reference in New Issue
Block a user