<?php
require 'admin/config/function.php';
$abt=mysqli_query($conn,"select * from cat_prod where ct_pd_url='rental-agreement'");
$abt1=mysqli_fetch_assoc($abt);
?>
<!doctype html>
<html lang="en">

<head>
  <!-- Required meta tags -->
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <title><?=$abt1['ct_pd_title']?></title>
  <meta name="description" content="<?=$abt1['ct_pd_mt_ds']?>">
  <link rel="canonical" href="<?=base_url().$abt1['ct_pd_url']?>">
  <?php include 'inc/link.php';?>
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
  
  <!--Font awesome Version--6-->
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
</head>

<body>

  <!-- navbar start here -->
<?php include 'inc/header.php';?>
  <!-- navbar end here -->

  <main>
        <section class="pt-5">
            <div class="text-center" >
                    <h2 class="mb-5" style="color: #207FBF;"><?=$abt1['ct_pd_title']?></h2>
                    <div id="pdfOpen">
                    <embed src="<?=admin_base_url().'uploads/product/'.str_replace(',','',$abt1['cat_pd_pdf_image'])?>#toolbar=0&amp;navpanes=0&amp;scrollbar=0" width="45%" height="1000px" type="application/pdf" frameborder="0" scrolling="auto">

                    </div>
            </div>
        </section>
  </main>


<!-- Footer Start -->
<?php include 'inc/footer.php';?>
</body>

</html>