<?php require "_header.php";?>
<script language="javascript" type="text/javascript">
document.getElementById("main-content").style.display = 'none';
</script>
<style type="text/css">
	.table-report{
		font-family:Verdana, Geneva, sans-serif;
		font-size:12px;
		text-align:left;
		border-right:0px none;
		border-bottom:0px none;
	}
	.table-report-inner{
		font-family:Verdana, Geneva, sans-serif;
		font-size:12px;
	}
	.table-report tr{
		padding:2px 2px 2px 2px;
	}
	.table-report td{
		padding:2px 2px 2px 2px;
		border-top:0px none;
		border-left:0px none;
	}
	.table-report th{
		padding:2px 2px 2px 2px;
		font-weight:bold;
		text-align:left;
		border-top:0px none;
		border-left:0px none;
	}	
	.break { page-break-before: always; }
</style>
<div id="main-report">
<?php
if($_SESSION['aCollegeId']!="" && isset($_SESSION['aCollegeId'])) 
{ 	
	$student_id 	= $_SESSION['student_id'];
	
	?>
	<center><h4>My Profile</h4></center>
    <br />
    <br/>
    <?php 
	$qry ="SELECT * FROM `cms_studentmaster` Where student_id='".$_SESSION['student_id']."' ";
	$result1=dbQuery($qry);
	if(dbRows($result1)>0) {
	$row=dbArray($result1);
	extract($row);
	?>
    <table width="100%" align="center" class="report">
            <tbody><tr>
                <th width="22%" style="background-color:#CCC; text-align:left; padding-left:5px;">Full Name: </th>
                <td style="text-align:left; padding-left:5px;" colspan="2"><?php echo $student_surname.' '.$student_firstname.' '.$student_lastname;?></td>
                <td align="center" style="padding:10px 10px 10px 10px;" rowspan="3">
                <img width="100" height="100" src="http://image.ac.in/imagecms/photo/college/1/student/<?php echo $student_photo ?>"></td>
            </tr>
            <tr>
                <th align="left" style="background-color:#CCC; text-align:left; padding-left:5px;">Current Address:
                </th><td style="text-align:left; padding-left:5px;" colspan="2"><?php echo $student_address ?></td>
                </tr>
            <tr>
            	<th style="background-color:#CCC; text-align:left; padding-left:5px;">Gender:</th>
            	<td style="text-align:left; padding-left:5px;" colspan="2"><?php echo $student_gender ?></td>
            </tr>
             <tr>
                <th width="22%" style="background-color:#CCC; text-align:left; padding-left:5px;">Birth Date:</th>
                <td style="text-align:left; padding-left:5px;"><?php echo $student_birthdate ?> </td>
                <th width="25%" style="background-color:#CCC; text-align:left; padding-left:5px;">Admission Date:</th>
                <td width="20%" style="text-align:left; padding-left:5px;"><?php echo $student_admdate ?></td>
            </tr>
             <tr>
                <th width="22%" style="background-color:#CCC; text-align:left; padding-left:5px;">Enrollment Enrollment No:</th>
                <td style="text-align:left; padding-left:5px;"><?php echo $student_gturegno ?> </td>
                <th width="25%" style="background-color:#CCC; text-align:left; padding-left:5px;">ACPDC Reg. No:</th>
                <td width="20%" style="text-align:left; padding-left:5px;"><?php echo $student_acpdcregno ?></td>
            </tr>
            <tr>
                <th width="22%" style="background-color:#CCC; text-align:left; padding-left:5px;">Category:</th>
                <td style="text-align:left; padding-left:5px;"><?php echo $student_category ?> </td>
                <th width="25%" style="background-color:#CCC; text-align:left; padding-left:5px;">Nationality:</th>
                <td width="20%" style="text-align:left; padding-left:5px;"><?php echo $student_nationality ?></td>
            </tr>
            <tr>
                <th style="background-color:#CCC; text-align:left; padding-left:5px;">Cast</th>
                <td style="text-align:left; padding-left:5px;"><?php echo $student_cast ?></td>
                <th width="25%" style="background-color:#CCC; text-align:left; padding-left:5px;">Blood Group:</th>
                <td width="20%" style="text-align:left; padding-left:5px;"><?php echo $student_bloodgroup ?></td>
            </tr>
            <tr>
                 <th style="background-color:#CCC; text-align:left; padding-left:5px;">phone[O]</th>
                <td style="text-align:left; padding-left:5px;"><?php echo $student_phoneo ?></td>
                <th style="background-color:#CCC; text-align:left; padding-left:5px;">Phone[R]:</th>
                <td style="text-align:left; padding-left:5px;"><?php echo $student_phoner ?></td>
            </tr>
            <tr>
                <th style="background-color:#CCC; text-align:left; padding-left:5px;">Mobile Parents:</th>
                <td style="text-align:left; padding-left:5px;"><?php echo $student_mobileparents ?></td>
                <th style="background-color:#CCC; text-align:left; padding-left:5px;">Mobile Student:</th>
                <td style="text-align:left; padding-left:5px;"><?php echo $student_mobilestudents ?></td>
            </tr>
             <tr>
                <th style="background-color:#CCC; text-align:left; padding-left:5px;">Email</th>
                <td style="text-align:left; padding-left:5px;"><?php echo $student_emailid ?></td>
                <th align="left" style="background-color:#CCC; text-align:left; padding-left:5px;">Mobile Other:</th>
                <td style="text-align:left; padding-left:5px;"><?php echo $student_mobileother ?></td>
            </tr>
            
            </tbody></table>
                    
	

<?php
	}
	else{
		echo "NO DATA FOUND!";	
	}
}
	?>
</div>
<?php 
	require "_footer.php";
?>
                            