Current File : /home/inlingua/www/sensoriumpsychologists.com/student/student_view_profile.php
<?php



include_once('../classes/config.php');

include_once('common/session.php');

$student_id=$session_row['student_id'];

$student_no=$session_row['registration_no'];



//print_r($row);//die;

?>

<?php include_once("common/header.php");?>

<?php  include_once("common/head_links.php"); ?>

<?php include_once("common/left_side_bar.php");?>

    <!-- Content Wrapper. Contains page content -->

    

    <div class="content-wrapper">



        <!-- Content Header (Page header) -->

        <!-- Content Header (Page header) -->

       <section class="content-header">

          <h1> View/Edit Profile</h1>

        </section>

    <!-- Main content -->

    <section class="content">

   <?php

   $result12=$query->select_where_field('shristi_students_details','student_id',$student_id,'AND status!=1 AND student_code='."'$student_no'");

$row=$result12->fetch_assoc();

   ?> 

   

   <div class="row">



          	<div class="col-md-12 col-sm-12 col-xs-12">

           

<table class="student_p table table-striped">

<tr> 

<td colspan="11"> <h1>Student's Profile</h1></td></tr>

<tr >

    <th>Name</th>

    <td> <?php echo $session_row['fname']." ".$session_row['lname']; ?></td>

    <td colspan="4" rowspan="15"></td>

</tr>



<tr >

    <th>Father's Name</th>

    <td><?php echo $row['father_name'] ?></td>

</tr>



<tr >

    <th>Mother's Name</th>

    <td><?php echo $row['mother_name'] ?></td>

</tr>

<tr >

    <th>Date of Birth</th>

    <td><?php echo $row['dob'] ?></td>

</tr>

<tr >

    <th>Gender</th>

    <td><?php echo $row['gender'] ?></td>

</tr>

<tr >

    <th>Contact No.</th>

    <td><?php echo $row['mobile1']?></td>

</tr>

<tr >

    <th>Registration No.</th>

    <td><?php echo $session_row['registration_no']?></td>

</tr>

<tr >

    <th>Registration Start Date</th>

    <td><?php echo $session_row['registration_date']?></td>

</tr>

<tr >

    <th>Registration End Date</th>

    <td><?php echo $session_row['next_end_date']?></td>

</tr>

<tr >

    <th>Email ID</th>

    <td><?php echo $session_row['email']  ?></td>

</tr>

<tr >

    <th>Permanent Address</th>

    <td><?php echo $row['p_address'].",".$row['city'].",".$row['state']."-".$row['p_code'] ?></td>

</tr>

<tr >

    <th>Correspondence Address</th>

    <td><?php echo $row['c_address'] ?></td>

</tr>

<tr >

  <?php



		  $results=$query->select('shristi_course');



           $rows=$results->fetch_assoc();



		   ?> 

    <th>Course selected</th>

    <td><?php echo $rows['name'] ?></td>

</tr>

<tr >

    <th>Course Fees</th>

    <td><?php echo $rows['fee'] ?></td>

</tr>

<tr >

    <th>Joining Batch</th>

    <td><?php echo $session_row['join_batch'] ?></td>

</tr>

<tr >

    <td colspan="6"><b>Educational Qualification</b></td>

</tr>

<tr >

    <th></th>

    <th><strong>Board/University</strong></th>

    <th><strong>Year of Passing</strong></th>

    <th><strong>Percentage of Marks</strong></th>

        

</tr>

<tr >

    <th>Matriculation</th>

    <td><?php echo $row['mboard'] ?></td>

    <td><?php echo $row['myear'] ?></td>

    <td><?php echo $row['mprecentage'] ?></td>

</tr>

<tr >

    <th>Higher Secondary</th>

    <td><?php echo $row['hboard'] ?></td>

    <td><?php echo $row['hyear'] ?></td>

    <td><?php echo $row['hprecentage'] ?></td>

</tr>

<tr >

    <th>Graduation</th>

    <td><?php echo $row['gboard'] ?></td>

    <td><?php echo $row['gyear'] ?></td>

    <td><?php echo $row['gprecentage'] ?></td>

</tr>

<tr >

    <th>Other Qualification</th>

    <td><?php echo $row['oboard'] ?></td>

    <td><?php echo $row['oyear'] ?></td>

    <td><?php echo $row['oprecentage'] ?></td>

</tr>





</table>

                



            </div>

          </div>

   

   

   <div class="row">



        <div class="col-md-12">



          <button type="button" onClick="window.location.href='index.php'" class="btn btn-warning" style="margin-right:10px;margin-top:10px;">Back</button>



          <a href="student_edit_profile.php" class=" btn btn-success" style="margin-top:10px;">Edit</a>



        </div>



      </div>

      </section>



      </div><!-- /.content-wrapper -->



      <?php include_once("common/footer.php");?>

    </div><!-- ./wrapper -->

</div>

<?php include_once("common/footer_links.php");?>



  </body>



</html>