Server : LiteSpeed System : Linux nl-srv-web1396.main-hosting.eu 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64 User : u107206879 ( 107206879) PHP Version : 7.2.34 Disable Function : NONE Directory : /home/u107206879/domains/escort46.de/public_html/admin/service/ |
<?php
include "../db_connection.php";
include "../sessioncheck.php";
if(isset($_POST['value']) && !empty($_POST['value'])){
$ad_id = $_POST['value'];
$reportQry=mysqli_query($connection,"SELECT * FROM report_ads WHERE ad_id=$ad_id ORDER BY created_at DESC");
?>
<div class="modal-body">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">X</button>
<p style="color: #818181">Users who reported AD ID: <?= $ad_id ?></p>
<hr />
<div class="table-responsive">
<table class="table table-hover col-lg-12 col-md-12 col-xs-12 col-sm-12" id="reported_ad_users" style="overflow:auto;" >
<thead>
<tr>
<th>Users ID</th>
<th>Reason</th>
<th>Date</th>
</tr>
</thead>
<tbody>
<?php
while($reportRow = mysqli_fetch_assoc($reportQry)){
?>
<tr>
<td class="center"><?= $reportRow['user_id'] ?></td>
<td class="center"><?= $reportRow['reason'] ?></td>
<td class="center"><?= $reportRow['created_at'] ?></td>
</tr>
<?php
}
?>
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default pull-left" data-dismiss="modal">
Close
</button>
</div>
<?php
}
?>