%PDF- %GIF98; %PNG; .
Cyber Programmer
Logo of a company Server : Apache
System : Linux sh00666.bluehost.com 5.14.0-687.26.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 14 16:32:02 EDT 2026 x86_64
User : ndkhermy ( 1200)
PHP Version : 8.5.12
Disable Function : NONE
Directory :  /home1/ndkhermy/public_html/website_6ca89795/admin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home1/ndkhermy/public_html/website_6ca89795/admin/appsettingalldata.php
<?php
session_start();
if(!isset($_SESSION["username"]))
{
  header('location:../admin.php');
}
?>
<?php
include('header.php');
?>
<div class="container">
    <h2>App Settings</h2>
    <?php
    include('../dbcon.php');
    $run = $conn->query("SELECT * FROM `app_setting`");

    if ($run->num_rows > 0) {
        while ($data = $run->fetch_assoc()) {
    ?>
            <table class="table table-bordered">
                <tr>
                    <th colspan="2">App Setting Details</th>
                </tr>
                <tr>
                    <th>Title</th>
                    <td><?php echo htmlspecialchars($data['title1']); ?></td>
                </tr>
                <tr>
                    <th>Address</th>
                    <td><?php echo htmlspecialchars($data['address']); ?></td>
                </tr>
                <tr>
                    <th>Email</th>
                    <td><?php echo htmlspecialchars($data['email']); ?></td>
                </tr>
                <tr>
                    <th>Email 2</th>
                    <td><?php echo htmlspecialchars($data['email2']); ?></td>
                </tr>
                <tr>
                    <th>For Enquiry</th>
                    <td><?php echo htmlspecialchars($data['for_enquiry']); ?></td>
                </tr>
                <tr>
                    <th>About Details</th>
                    <td><?php echo htmlspecialchars($data['about_details']); ?></td>
                </tr>
                <tr>
                    <th>Contact Details</th>
                    <td><?php echo htmlspecialchars($data['contact_details']); ?></td>
                </tr>
                <tr>
                    <th>Your Website Url</th>
                    <td><?php echo htmlspecialchars($data['base_url']); ?></td>
                </tr>
                <tr>
                    <th>Facebook</th>
                    <td><?php echo htmlspecialchars($data['facebook']); ?></td>
                </tr>
                <tr>
                    <th>Instagram</th>
                    <td><?php echo htmlspecialchars($data['instagram']); ?></td>
                </tr>
                <tr>
                    <th>Tiktok</th>
                    <td><?php echo htmlspecialchars($data['twitter']); ?></td>
                </tr>
                <tr>
                    <th>YouTube</th>
                    <td><?php echo htmlspecialchars($data['youtube']); ?></td>
                </tr>
                <tr>
                    <th>Whatsapp Number</th>
                    <td><?php echo htmlspecialchars($data['whatsapp']); ?></td>
                </tr>
                <tr>
                    <th>Actions</th>
                    <td><a class="btn btn-primary" href="appsettingform.php?sid=<?php echo $data['id']; ?>">Edit</a></td>
                </tr>
            </table>
    <?php
        }
    } else {
        echo "<p>No records found.</p>";
    }
    ?>
</div>
            <!-- / Content -->
            <div class="content-backdrop fade"></div>
          </div>
          <!-- Content wrapper -->
        </div>
        <!-- / Layout page -->
      </div>
    </div>
    <!-- / Layout wrapper -->

    

    <!-- Core JS -->
    <!-- build:js assets/vendor/js/core.js -->
    <script src="../assets/vendor/libs/jquery/jquery.js"></script>
    <script src="../assets/vendor/libs/popper/popper.js"></script>
    <script src="../assets/vendor/js/bootstrap.js"></script>
    <script src="../assets/vendor/libs/perfect-scrollbar/perfect-scrollbar.js"></script>

    <script src="../assets/vendor/js/menu.js"></script>
    <!-- endbuild -->

    <!-- Vendors JS -->

    <!-- Main JS -->
    <script src="../assets/js/main.js"></script>

    <!-- Page JS -->

    <!-- Place this tag in your head or just before your close body tag. -->
    <script async defer src="https://buttons.github.io/buttons.js"></script>
  </body>
</html>

VaKeR 2022