<?php
require_once("header.php");
require_once("menu.php");
error_reporting(0);

if(isset($_REQUEST['del']))
{
    $ser_page_id = base64_decode($_REQUEST['del']);
    $ser_page_status = '1';
    $ex = $obj->softdel_servicepage($ser_page_id,$ser_page_status);
    echo '<script>window.location="del_servicepage.php"</script>';
}

?>

<div id="layoutSidenav_content">
<main class="mt-4">
    <div class="container-fluid">        
        <div class="card mb-4">
            <div class="card-header">
                <i class="fas fa-recycle mr-1"></i>Deleted Service Page Content
            </div>
            <div class="card-body">
                <div class="table-responsive">
                  <div class="table-responsive">
               <?php
                  $ex = $obj->get_del_servicepage();
                  while($row=mysqli_fetch_array($ex))
                  {
                  ?>
               <table class="table table-bordered" width="100%" cellspacing="0">
                  <tr>
                     <th>Page Title</th>
                     <td><?php echo $row['service_name'];?></td>
                  </tr>
                  <tr>
                     <th>Page Sub Title</th>
                     <td><?php echo $row['ser_page_title'];?></td>
                  </tr>
                   
                    <tr>
                     <th>Description</th>
                     <td><?php echo $row['ser_page_desc'];?></td>
                  </tr>
                    <tr>
                     <th>Service Image</th>
                     <td><img  width="300" src="<?php echo $row['ser_page_image'];?>"></td>
                  </tr>
                
                  
                  <tr>
                  <tr>
                     <td colspan="2">
                         <a href="del_servicepage.php?del=<?php echo base64_encode($row['ser_page_id']);?>" class="btn btn-secondary  delete_right btn-sm"><i class="fas fa-recycle"></i></a>
                     </td>
                  </tr>
                  <?php } ?>
               </table>
                    </table>
                </div>
            </div>
        </div>
    </div>
</main>


<?php require_once("footer.php");?>
