<?php
require('db.php');
include "x.php";
?>
<!doctype html>
<html lang="en">
  <head>
    
     <?php include "include/meta.php"; ?>

     <?php include "include/css.php"; ?>

       <link rel="stylesheet" href="assets/css/bootstrap.css">
<style>
  td{
    padding: 10px 10px;
  }
   .center{
    text-align: center;
  }
</style>
  </head>
  <body>
<?php include "include/header.php"; ?>


<section class="w3l-contact-breadcrum">
  <div class="breadcrum-bg py-sm-5 py-4">
    <div class="container py-lg-3">
      <h2>Seminar & Workshop </h2>
      <p><a href="index.php">Home</a> &nbsp; / &nbsp; Seminar & Workshop </p>
    </div>
  </div>
</section>


<div class="container">
  <div class="row">
        <div class="col-md-1">
      



    </div>
    <div class="col-md-10">
      <br>
<div class="well form-horizontal">

            
  <p align="left"><table width="98%" border="1" cellspacing="3" cellpadding="3" bordercolor="#000000" style="border-collapse:collapse;">
           <tr align="center" style="background:grey; border:1px solid #000; color:#fff;">
            <td  colspan="5" style="co lor: black; padding: 20px 0; font-size: 20px; ">Seminar & Workshop  Conducted by the Institute</td>
           </tr>
           <tr align="center" style="background:#990000; border:1px solid #000; color:#fff;">
            <td width="30">Sl. No.</td>
            <td width="129">Name of Experts</td>
              <td width="102">Designation</td>
              <td width="119">Name of Company</td>
              <td width="152">Lecture Delivery <br> on Topic </td>

           </tr>

           <?php
                    $sem_sql = "SELECT * FROM seminar WHERE s_by = '$x' ORDER BY createdate DESC  LIMIT 25";
                    $sem_run = mysqli_query($con, $sem_sql);

                    $c = 1;
                    while ( $sem_rows = mysqli_fetch_assoc($sem_run) ) {
                ?>
                                                                                                 
           <tr class="text_col">
            <td class="center"><?php echo $c; ?></td>
            <td align="left"><a href="" style="text-decoration:none;"><?php echo $sem_rows['name']; ?></a></td>
              <td class="center"><?php echo $sem_rows['designation']; ?></td>
              <td class="center"><?php echo $sem_rows['company']; ?></td>
              <td class="center"><?php echo $sem_rows['topic']; ?></td>
           </tr>
           
           <?php 
                $c++;
                }
            ?>
           
          </table></p>



</div>

    </div>
    <div class="col-md-1">
      



    </div>
  </div>
</div>

<?php include "include/footer.php"; ?>
<?php include "include/js.php"; ?>

</body>

</html>
<!-- // grids block 5 -->
