ok

Mini Shell

Direktori : /proc/thread-self/root/proc/self/root/home/ngwcolle/public_html/
Upload File :
Current File : //proc/thread-self/root/proc/self/root/home/ngwcolle/public_html/teacher-details.php

<?php
include "header.php";
date_default_timezone_set('Asia/Kolkata');
include "admin/includes/config.php";
$tid=$_GET['tid'];
$cquery=mysqli_query($con, "SELECT * from tbl_teacher where id='$tid'");    
$singleRow = mysqli_fetch_row($cquery);
?>
    <!-- <div class="container">
        <div class="row">
            <div class="col-md-12">
                <nav aria-label="breadcrumb">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="/">Home</a></li>
                        <li><i class="fa fa-caret-right" aria-hidden="true"></i></li>
                        <li class="breadcrumb-item">About RIE</li>
                    </ol>
                </nav>
            </div>
        </div>
    </div> -->

<!-- <section class="breadcrumb-sec">
  <div class="container">
        <div class="row">
            <div class="col-md-12">
                <nav aria-label="breadcrumb">
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="https://riebbs.ac.in/">Home</a></li>
                        <li><i class="fa fa-caret-right" aria-hidden="true"></i></li>
                        <li class="breadcrumb-item"></li>
                    </ol>
                </nav>
            </div>
        </div>
    </div>
</section> -->
<section class="inner-banner"></section>
<section class="section-15 about-section">
    <div class="container">
      <div class="row">
        <div class="col-md-9">
          <div class="title">
            <h1><span>Profile of <?php echo $singleRow[1]; ?></span></h1>
          </div>
		  <table width="100%" align="center" cellpadding="3" cellspacing="0" border="0" style="border:1px solid #ccc;">
		  <!-- <tr> -->
		  <tr class="personal-profile">
			<td align="center" valign="top" >
				<div class="personal-profile-image">
										<img src="upload/teacher/<?php echo $singleRow[15]; ?>" id="img1" alt="photo" class="imgbor"/>
			  </div>
			</td>
			<!-- <td bgcolor="#fff" align="left" valign="top" width="10">&nbsp;</td> -->
			<td bgcolor="#fff" align="left" valign="top">
				<table width="100%" cellpadding="3" cellspacing="3" border="0">
					<tbody>
						<tr>
							<td align="left" valign="top" width="413"><b>Name</b></td>
							<td align="center" valign="top" width="21">:</td>
							<td width="435" align="left" valign="top"><?php echo $singleRow[1]; ?></td>
						</tr>
												<tr>
							<td align="left" valign="top"><b>Designation</b></td>
							<td align="center" valign="top">:</td>
							<td align="left" valign="top"><?php echo $singleRow[2]; ?></td>
						</tr>
												<tr>
							<td align="left" valign="top"><b>Qualification</b></td>
							<td align="center" valign="top">:</td>
							<td align="left" valign="top"><?php echo $singleRow[5]; ?></td>
						</tr>
												<tr>
							<td align="left" valign="top"><b>Email</b></td>
							<td align="center" valign="top">:</td>
							<td id="atag" align="left" valign="top"><?php echo $singleRow[3]; ?></td>
						</tr>
												<tr>
							<td align="left" valign="top"><b>Phone No.</b></td>
							<td align="center" valign="top">:</td>
							<td align="left" valign="top"><?php echo $singleRow[4]; ?></td>
						</tr>
																			<tr>
							<td align="left" valign="top"><b>Area of Interest / Specialization</b></td>
							<td align="center" valign="top">:</td>
							<td align="left" valign="top"><?php echo $singleRow[6]; ?></td>
						</tr>
											</tbody>
				</table>
			</td>
		  </tr>
		</table>
        		<div class="tab new-tab">
		  <button class="tablinks" onClick="openCity(event, 'Teaching')" id="defaultOpen">Teaching</button>
		  <button class="tablinks" onClick="openCity(event, 'Research')">Research</button>
		  <button class="tablinks" onClick="openCity(event, 'Development')">Development</button>
		  <button class="tablinks" onClick="openCity(event, 'Training')">Training</button>
		  <button class="tablinks" onClick="openCity(event, 'Extension')">Extension</button>
		  <button class="tablinks" onClick="openCity(event, 'Other')">Other Information</button>
		</div>
		<div id="Teaching" class="tabcontent">
		  <span onClick="this.parentElement.style.display='none'" class="topright">&times</span>
		  <p><p style="color:#FF0000;"><strong><?php echo $singleRow[6]; ?></strong></p>
<div class="point2">
<ul>
    <li>Teaching experience to students in <?php echo $singleRow[6]; ?> from  <?php echo date("d/m/Y",strtotime($singleRow[11])); ?>.</li>
</ul>
</div></p> 
		</div>
		<div id="Research" class="tabcontent">
		  <span onClick="this.parentElement.style.display='none'" class="topright">&times</span>
		  <p><p style="color:#FF0000;"><strong>Research Projects:</strong></p>
<div class="point2">
<ol>
    <li><?php echo $singleRow[8]; ?></li>
    
</ol>
</div>



<div class="point2">
<div class="point2">

</div>

<div class="point2">

</div>

<div class="point2">

</div>
</div></p>
		</div>
		<div id="Development" class="tabcontent">
		  <span onClick="this.parentElement.style.display='none'" class="topright">&times</span>
      <p><?php echo $singleRow[10]; ?></p>
		  <p></p>
		</div>
		<div id="Training" class="tabcontent">
		  <span onClick="this.parentElement.style.display='none'" class="topright">&times</span>
      <p><?php echo $singleRow[7]; ?></p>
		  <p></p>
		</div>
		<div id="Extension" class="tabcontent">
		  <span onClick="this.parentElement.style.display='none'" class="topright">&times</span>
		  <p><div class="point2">
<ol>
    <li><?php echo $singleRow[6]; ?></li>
   
   
</ol>
</div></p>
		</div>
		<div id="Other" class="tabcontent">
		  <span onClick="this.parentElement.style.display='none'" class="topright">&times</span>
		  
<div class="point2">
<ol>
    <li><?php echo $singleRow[14]; ?></li>
   
</ol>
</div>

<div class="point2">

</div>

<div class="point2">

</div></p>
		</div>
		<script>
		function openCity(evt, cityName) {
			var i, tabcontent, tablinks;
			tabcontent = document.getElementsByClassName("tabcontent");
			for (i = 0; i < tabcontent.length; i++) {
				tabcontent[i].style.display = "none";
			}
			tablinks = document.getElementsByClassName("tablinks");
			for (i = 0; i < tablinks.length; i++) {
				tablinks[i].className = tablinks[i].className.replace(" active", "");
			}
			document.getElementById(cityName).style.display = "block";
			evt.currentTarget.className += " active";
		}
		// Get the element with id="defaultOpen" and click on it
		document.getElementById("defaultOpen").click();
		</script>
                </div>
                <?php include "sidebar.php";?> 
    </div>
</section>
<?php include "footer.php";?>

Zerion Mini Shell 1.0