OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
cream
/
reader
/
arvindfacebook
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
03/04/2025 08:32:49 AM
rwxr-xr-x
📄
bounceViewList.php
5.86 KB
05/19/2025 10:07:13 AM
rw-r--r--
📄
index.php
946 bytes
05/19/2025 10:07:13 AM
rw-r--r--
Editing: bounceViewList.php
Close
<?php include 'db.php'; include '../inc/config.php'; include '../inc/validate.logged.php'; // Query to get bounce count $sql = "SELECT from_email, email, COUNT(*) AS bounce_count FROM bounces WHERE from_email = '$gUserEmail' GROUP BY email"; $result = mysqli_query($conn, $sql); ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Knobly Cream: Create • Reach • Measure</title> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> <!-- Font Awesome CSS --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"> <!-- Additional Stylesheets --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.0.0/animate.min.css"> <link rel="stylesheet" href="../inc/fontawesome/css/all.min.css"> <link rel="stylesheet" href="../inc/magnific-popup.css"> <link rel="stylesheet" href="../inc/style.css"> <link rel="stylesheet" href="../inc/genai_style.css"> <!-- jQuery --> <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script> <!-- Bootstrap JS and dependencies --> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.8.0/Chart.min.js" crossorigin="anonymous"></script> <script src="https://cdn.tiny.cloud/1/u5oz235qw5jiqww4udm90ocp9zg2rncblqo2ch0ym3twjgyt/tinymce/5/tinymce.min.js" referrerpolicy="origin"></script> <script src="https://js.zohostatic.com/books/zfwidgets/assets/js/zf-widget.js"></script> <script src="../inc/jquery.magnific-popup.min.js"></script> <script src="../inc/common.js"></script> </head> <body class="sb-nav-fixed"> <?php include "navbar.php"; ?> <div id="layoutSidenav"> <?php include 'sidebar.php'; ?> <div id="layoutSidenav_content"> <main> <div id="panelContent" class="container-fluid"> <div class="container mt-5"> <ol class="breadcrumb my-3"> <li class="breadcrumb-item w-100" style="display:flex; justify-content:space-between; align-items:center;"> <h4 class="mt-1">Bounced Emails</h4> <a href="download_bounces.php" class="btn btn-outline-danger" style="background-color: #f26522;" role="group" aria-label="Email Status Buttons" class="btn-group ml-auto"><i class="fas fa-envelope-open-text"></i> Download Bounced Emails</a> <a href="viewList.php" class="btn btn-primary" style="background-color: #007bff; border-color: #007bff;"> <i class="bi bi-arrow-left"></i> Back </a> </li> </ol> <div class="table-responsive"> <table class="table table-bordered table-striped"> <thead class="thead-dark"> <tr> <th>From Email</th> <th>Email Bounced</th> <th>Bounce Count</th> </tr> </thead> <tbody> <?php if ($result) { // Check if there are any rows returned if (mysqli_num_rows($result) > 0) { // Output data of each row while ($row = mysqli_fetch_assoc($result)) { echo '<tr>'; echo '<td>' . htmlspecialchars($row['from_email']) . '</td>'; echo '<td>' . htmlspecialchars($row['email']) . '</td>'; echo '</tr>'; } } else { // No rows returned, display a message echo '<tr><td colspan="2">No Delivered email found</td></tr>'; } } else { // Query failed, display an error message echo '<tr><td colspan="2">Error: ' . htmlspecialchars(mysqli_error($conn)) . '</td></tr>'; } // Close database connection mysqli_close($conn); ?> </tbody> </table> </div> </div> </div> </main> </div> </div> <!-- Bootstrap JS and dependencies --> <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@1.16.1/dist/umd/popper.min.js"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> <?= include 'footer.php'; ?> </body> </html>