GOOGLE

aku nok ndi : /home/astwardha/public_html/
File Up :
aku nok ndi : /home/astwardha/public_html/mechanical.php

<!DOCTYPE html>
<html lang="en">
<!-- Mirrored from sdmca.edu.in/ by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 27 Sep 2018 18:21:24 GMT -->
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta name="author" content="">
  <title>Agnihotri College of Polytechnic Wardha</title>
  <!-- core CSS -->
  <link href="css/bootstrap.min.css" rel="stylesheet">
  <link href="css/font-awesome.min.css" rel="stylesheet">
  <link href="css/animate.min.css" rel="stylesheet">
  <link href="css/prettyPhoto.css" rel="stylesheet">
  <link href="css/main.css" rel="stylesheet">
  <link href="css/responsive.css" rel="stylesheet">
  <link rel="shortcut icon" href="">
  <script >
   $(document).ready(function () {
    $("#background-image").fullscreenBackground();
  });
</script>
<!-- banner code end-->
<script src="js/slider.js"></script>
<script src="includePage.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
</head><!--/head-->
<body class="homepage">
<?php   include("header.php"); ?>
  <section id="middle">
    <div class="container container_bg">
      <div class="row">
        <div class="col-sm-3 col-md-3 wow fadeInDown">
          <?php include('sidebar.php');?>
        <!--  <script >
          ajaxinclude("left_Site.html");
        </script> --> 
      </div><!--/.col-sm-6-->
      <div class="col-sm-8 col-md-9 wow fadeInDown padding_main_bottom">
   

      <section id="middle">
        <div class="container container_bg">
          <div class="row">
            <?php $president="SELECT * FROM `department` WHERE `department`='Mechanical Engineering'";
                    $president1=mysqli_query($con,$president);
                     $rowpresident=mysqli_fetch_array($president1);
                     $count = mysqli_num_rows($president1);
            ?>
            
  <div class="col-sm-12 wow fadeInDown padding_main_bottom">
    <?php if($count>0){?>
  <h2 class="m_heading_color"><?php echo $rowpresident['heading'];?></h2>
<?php echo $rowpresident['content'];?>
<!-- <h2 class="m_heading_color">Mechanical Engineering Laboratory </h2> -->
<!-- <div class="container">
  <div class="row">
 <div class="col-md-3">
<img src="uploadedImage/department/<?php echo $rowpresident['image1'];?>" class="" width="200" height="120"></div>
<div class="col-md-3">
<img src="uploadedImage/department/<?php echo $rowpresident['image2'];?>" class="" width="200" height="120"></div>
<div class="col-md-3">
<img src="uploadedImage/department/<?php echo $rowpresident['image3'];?>" class="" width="200" height="120"></div>
<div class="col-md-3">
<img src="uploadedImage/department/<?php echo $rowpresident['image4'];?>" class="" width="200" height="120"></div>
</div>
</div> -->
<hr>
<?php } ?>
<!-- <h2 class="m_heading_color">Mechanical Engineering Syllabus </h2>
<button type="button" class="btn btn-primary btn-xs" data-toggle="modal" data-target="#myModal">View Syllabus and Download</button>
 -->
<h2 class="m_heading_color">Mechanical Engineering Teaching Staff </h2>

<table class="table" border="1">
     <tr>
       <th>Sr.No.</th>
       <th>Name</th>
       <th>Email</th>
       <th>Photo</th>
     </tr>
     <?php $staff="SELECT * FROM `staff` WHERE `department`='Mechanical Engineering' OR `department`='".$_GET['name']."' AND `teacher_status`='Teaching' ORDER BY sort ASC";
        $staff1=mysqli_query($con,$staff);
        $i=1;
        while($teaching=mysqli_fetch_array($staff1)){
     ?>
     <tr>
      <td><?php echo $i; ?></td>
      <td><?php echo $teaching['name']; ?></td>
      <td><?php echo $teaching['email']; ?></td>
      <td><img src="uploadedImage/faculty/<?php echo $teaching['image']; ?>" width='100' height="100"></td>
     </tr>
     <?php $i++; } ?>
   </table><br>
      <h2 class="m_heading_color">Laboratories </h2>
<table class="table" border="1">
     <tr>
       <th>Sr.No.</th>
       <th>Heading</th>
       <th>Department</th>
       <th>Content</th>
       <th>Image</th>
     </tr>
     <?php $staff11="SELECT * FROM `laboratories` WHERE `department`='Mechanical Engineering' OR `department`='".$_GET['name']."'";
        $staff1ef=mysqli_query($con,$staff11);
        $i=1;
        while($teachingsd=mysqli_fetch_array($staff1ef)){
     ?>
     <tr>
      <td><?php echo $i; ?></td>
      <td><?php echo $teachingsd['heading']; ?></td>
      <td><?php echo $teachingsd['department']; ?></td>
      <td><?php echo $teachingsd['content']; ?></td>
      <td>
         <a href="uploadedImage/laboratories/<?php echo $teachingsd['image']; ?>" class="highslide" onclick="return hs.expand(this)">
                      <img src="uploadedImage/laboratories/<?php echo $teachingsd['image']; ?>" width="170" height="120" border="0" style="border:1px solid #000000;  border-radius:5px;" /><br />
                    </a>
       </td>           
     </tr>
     <?php $i++; } ?>
   </table>
<h2 class="m_heading_color">Placement Companys</h2>
<?php $placement="SELECT DISTINCT `company` FROM `placement` WHERE `department`='Mechanical Engineering' OR `department`='".$_GET['name']."'";
      $placements=mysqli_query($con,$placement);
      while($rowplacements=mysqli_fetch_array($placements)){?>
<p  style="background-color: red;">
<h3><b style="color: red;">Company Name</b> :- <?php echo $rowplacements['company'];?></h3>
  <!-- <h3><b style="color: red;">Student Name</b> :- <?php echo $rowplacements['student_name'];?></h3> 
  <h3><b style="color: red;">Placement Date</b> :- <?php echo $rowplacements['placement_date'];?></h3> -->
<?php if($rowplacements['iamge']!=''){?> 
<h3><b style="color: red;">Comapny Log</b> :- <img src="uploadedImage/placement/<?php echo $rowplacements['iamge'];?>" width="120"></h3>
<?php } ?>
<!-- <h3><b style="color: red;">About Company</b> :- <?php echo $rowplacements['content'];?></h3> 
 --></p>
<hr/>
<?php } ?>
<br>


 <h2 class="m_heading_color">Selected Student List</h2>
 <table class="table-bordered table-hover table table-striped">
  <tr>
    <th><strong>&nbsp;Sr.No.</strong></th>
    <th><strong>&nbsp;Name</strong></th>
    <th><strong>&nbsp;Company Name</strong></th>
    <th><strong>&nbsp;Joining Year</strong></th>
  </tr>
  <?php $sql="SELECT * FROM `placement` WHERE `department`='Mechanical Engineering' OR `department`='".$_GET['name']."'";
      $placements=mysqli_query($con,$sql);
      $i=1;
      while($row=mysqli_fetch_array($placements)){?>
  <tr>
    <td valign="top"><div align="center"><?php echo $i;?></div></td>
    <td valign="top"><?php echo $row['student_name'];?></td>
    <td valign="top"><?php echo $row['company'];?></td>
    <td valign="top"><strong><?php echo substr($row['placement_date'],0,4);?></strong></td>
  </tr>
  <?php $i++; } ?>
</table>

<h2 class="m_heading_color">Department Events</h2>
<div class="container">
  <div class="row">
   <?php  
     $mysql = mysqli_query($con, "SELECT * FROM `event` WHERE `department`='Mechanical Engineering' ORDER BY id DESC");
    $i = 1;         
    while($res = mysqli_fetch_array($mysql)){ ?>
        <div class="col-sm-3">
    <a href="uploadedImage/event/<?php echo $res['image1'];?>" class="highslide" onclick="return hs.expand(this)">
    <img src="uploadedImage/event/<?php echo $res['image1'];?>" width="150" height="120" border="0" style="border:1px solid #000000;  border-radius:5px;" /><br />
    </a>
        <h5><?php echo $res['heading'];?></h5>

        </div>
        <div class="col-sm-3">
    <a href="uploadedImage/event/<?php echo $res['image2'];?>" class="highslide" onclick="return hs.expand(this)">
    <img src="uploadedImage/event/<?php echo $res['image2'];?>" width="150" height="120" border="0" style="border:1px solid #000000;  border-radius:5px;" /><br />
    </a>
        <h5><?php echo $res['heading'];?></h5>

        </div>
      <?php } ?>




            </div>
          </div><!--/.row-->
        </div><!--/.container-->
    </section><!--/#middle-->
</div>
</div>     
     </div>
   </div><!--/.row-->
 </div><!--/.container-->
</section><!--/#middle-->
<!--/#content-->
<!--/#partner-->
<!--/#conatcat-info-->
<!--/#bottom-->
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>

<div class="modal" id="myModal">
  <div class="modal-dialog">
    <div class="modal-content">

      <!-- Modal Header -->
      <div class="modal-header">
        <h4 class="modal-title">Modal Heading</h4>
        <button type="button" class="close" data-dismiss="modal">&times;</button>
      </div>

      <!-- Modal body -->
      <div class="modal-body">
       <table class="table" border="1" class="">
     <tr>
       <th>Sr.No.</th>
       <th>Department</th>
       <th>Syllabus Name</th>
       <th>Syllabus Formate</th>
       <th>Downlaod</th>
     </tr>
     <?php $syllabus="SELECT * FROM `syllabus` WHERE `department`='Mechanical Engineering' AND `status`='Show' ORDER BY id DESC";
        $syllabusq=mysqli_query($con,$syllabus);
        $i=1;
        while($syllabusqwe=mysqli_fetch_array($syllabusq)){
     ?>
     <tr>
      <td><?php echo $i; ?></td>
      <td><?php echo $syllabusqwe['department']; ?></td>
      <td><?php echo $syllabusqwe['heading']; ?></td>
      <td>
        <?php if($syllabusqwe['image_pdf']!=""){
          $ext = pathinfo($syllabusqwe['image_pdf'], PATHINFO_EXTENSION);
          if($ext=='pdf'){ ?>
          <img src="admin/pdf.png" width="41">
         <?php }else{ ?>
        <img src="uploadedImage/syllabus/<?php echo $syllabusqwe['image_pdf']; ?>" width='100' height="100"></td>

       <?php } }?>
       <td><a href="uploadedImage/syllabus/<?php echo $syllabusqwe['image_pdf']; ?>" class="btn btn-info btn-xs" download="<?php echo $syllabusqwe['image_pdf']; ?>">Download</button></td>
     </tr>
     <?php $i++; } ?>
   </table>
      </div>

      <!-- Modal footer -->
      <div class="modal-footer">
        <button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
      </div>

    </div>
  </div>
</div>
<script >
  ajaxinclude("footer.html");
</script> 
<!--/#footer-->
<script src="js/jquery.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.prettyPhoto.js"></script>
<script src="js/jquery.isotope.min.js"></script>
<script src="js/main.js"></script>
<script src="js/wow.min.js"></script>
</body>
<!-- Mirrored from sdmca.edu.in/ by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 27 Sep 2018 18:25:12 GMT -->
</html>

Copyright © 1945 - 2024 GOOGLE