Update Banyak

This commit is contained in:
WD - Dev
2025-09-21 21:40:17 +07:00
parent c6bee729c5
commit efca8f5f80
145 changed files with 195185 additions and 1378 deletions
+16 -6
View File
@@ -88,11 +88,11 @@
</div>
<!-- /.card-header -->
<div class="card-body">
<table id="example2" class="table table-bordered table-striped">
<table id="example22" class="table table-bordered table-striped">
<thead>
<tr>
<th>Nama Server</th>
<th>Waktu</th>
<th>Nama Server</th>
<th>Nomor</th>
<th>Pesan</th>
<th>Url Image</th>
@@ -102,11 +102,12 @@
</thead>
<tbody>
<?php
$apaket = mysqli_query($con, "SELECT * FROM master_pesan $SqlDataWHId ORDER BY waktu DESC, id DESC LIMIT 500");
$apaket = mysqli_query($con, "SELECT * FROM master_pesan $SqlDataWHId ORDER BY waktu DESC LIMIT 500");
while ($paket = mysqli_fetch_assoc($apaket))
{
?>
<tr>
<td style="max-width: 200px;"><?php echo $paket['waktu']; ?></td>
<td>
<?php
$asv = mysqli_query($con,"SELECT nama_server FROM data_server WHERE id = '$paket[id_data_server]'");
@@ -114,13 +115,12 @@
echo $sv['nama_server'];
?>
</td>
<td style="max-width: 200px;"><?php echo $paket['waktu']; ?></td>
<td><?php echo $paket['nomor']; ?></td>
<td style="max-width: 300px;"><?php echo $paket['pesan']; ?></td>
<td style="max-width: 200px;"><?php echo $paket['url_file']; ?></td>
<td><?php echo $paket['status']; ?></td>
<td>
<?php if($paket['status'] == 'GAGAL') { ?>
<?php if($paket['status'] == 'GAGAL' || $paket['status'] == 'TERKIRIM') { ?>
<form method="post">
<input type="submit" name="ulangi<?php echo $paket['id']; ?>" class="btn btn-primary btn-sm" value="Ulangi">
</a>
@@ -149,4 +149,14 @@
</div>
<!-- /.container-fluid -->
</section>
<!-- /.content -->
<!-- /.content -->
<script>
$(function () {
$("#example22").DataTable({
"responsive": true,
"autoWidth": false,
"pageLength": 100,
"order": [[0, "desc"]] // Kolom pertama urut DESC
});
});
</script>