%PDF- %GIF98; %PNG;
Server : ApacheSystem : 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 : |
<?php
session_start();
if(!isset($_SESSION["username"]))
{
header('location:../admin.php');
}
?>
<?php
include('header.php');
?>
<div class="container">
<h2>Scroll Menu</h2>
<h2 align="right"><td><a class="btn btn-success" href="scrollmenu.php">Add Scroll Menu</a></h2>
<table class="table">
<thead>
<?php
include('../dbcon.php');
$run=$conn-> query("SELECT * FROM `scrollmenu`");
IF($run->num_rows>0)
{
?>
<tr>
<th>No.</th>
<th>scrollmenu</th>
<th>EDIT</th>
<th>DELETE</th>
</tr>
</thead>
<?php
$count=0;
While($about=$run->fetch_assoc())
{
$count++;
?>
<tbody>
<tr>
<td><?php echo $count;?></td>
<td><?php echo $about['scroll_menu'];?></td>
<td><a class="btn btn-primary" href="scrollmenuform.php?sid=<?php echo $about['id'];?>">Edit</a></td>
<td><a class="btn btn-primary" href="scrollmenudelete.php?sid=<?php echo $about['id'];?>">Delete</a></td>
</tr>
</tr>
</tbody>
<?php
}
}
?>
<!-- / 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>