booking/PROCESSLIST.php

73 lines
4.3 KiB
PHP
Executable File

<?php
require_once('fixed/config/go_con.php');
access(50);
?>
<!DOCTYPE html>
<html lang="en" dir="rtl">
<?php require_once('fixed/head/go.php'); ?>
<body class="rtl">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/@mdi/font@6.5.95/css/materialdesignicons.min.css">
<?php require_once('fixed/loader/go.php'); ?>
<div class="page-wrapper" id="pageWrapper">
<?php require_once('fixed/header/go.php'); ?>
<div class="page-body-wrapper">
<?php require_once('fixed/sidebar/go.php'); ?>
<div class="page-body">
<div class="container-fluid">
<div class="row">
<div class="col-12">
<div class="card">
<div class="tab-pane p-3 active" id="tab<?=$tabs?>" role="tabpanel">
<div class="card-body new-user order-list">
<div class="table-responsive">
<table class="table table-bordered text-center">
<thead class="table-primary">
<tr>
<th scope="col">Id</th>
<th scope="col">User</th>
<th scope="col">Host</th>
<th scope="col">db</th>
<th scope="col">Command</th>
<th scope="col">Time</th>
<th scope="col">State</th>
<th scope="col">Info</th>
<th scope="col">Progress</th>
</tr>
</thead>
<tbody>
<?php
$get_PROCESSLIST_sql = mysqli_query($db, "SHOW FULL PROCESSLIST");
while ($get_PROCESSLIST = mysqli_fetch_assoc($get_PROCESSLIST_sql)) {
?>
<tr>
<th scope="row"><?=$get_PROCESSLIST['Id']?></th>
<td><?=$get_PROCESSLIST['User']?></td>
<td><?=$get_PROCESSLIST['Host']?></td>
<td><?=$get_PROCESSLIST['db']?></td>
<td><?=$get_PROCESSLIST['Command']?></td>
<td><?=$get_PROCESSLIST['Time']?></td>
<td><?=$get_PROCESSLIST['State']?></td>
<td><?=$get_PROCESSLIST['Info']?></td>
<td><?=$get_PROCESSLIST['Progress']?></td>
</tr>
<?php
}
?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php require_once('fixed/footer/go.php'); ?>
</div>
</div>
<?php require_once('fixed/js/go.php'); ?>
</body>
</html>