<?php
   require_once("header.php");
   require_once("menu.php");
   ?>
<style>
   th {
   width: 20%;
   }
</style>
<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-table mr-1"></i>Career Page Content Section
            <a href="edit-career.php" class="btn btn-primary btn-sm float-right add_right">Edit Career Info</a>
         </div>
       <div class="card-body">
                   <div class="table-responsive">
                <?php
                  $ex = $obj->view_career_top_content();
                  $row=mysqli_fetch_array($ex)
                 ?>
               <table class="table table-bordered" width="100%" cellspacing="0">
                 <tr>
                     <th style="width: 300px;">Career Main Title</th>
                     <td><?php echo $row['careers_title'];?></td>
                  </tr>
                   <tr>
                     <th style="width: 300px;">Career Content</th>
                     <td><?php echo $row['careers_text'];?></td>
                  </tr>
                   
                  <tr>
                      <th>Career Sidebar Image</th>
                      <td><img width="500" src="<?php echo $row['careers_img'];?>"></td>
                  </tr>
                </table>
            </div>
            </div>
      </div>
   </div>
</main>
<?php require_once("footer.php");?>