Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.128.94.112
Current Path : /var/www/html/gsh/ |
| Current File : /var/www/html/gsh/mcverifydet.php |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="css/basic.css" />
<!-- <link rel="stylesheet" type="text/css" href="css/jquery-ui-1.7.2.custom.css" /> -->
<script type="text/javascript" src="js/jquery-1.8.3.js"></script>
<script type="text/javascript" src="js/jquery.corner.js"></script>
<script type="text/javascript" src="js/jscript.js"></script>
<script type="text/javascript" src="js/curve-min.js"></script>
<link rel="stylesheet" href="jquery-ui-1.9/themes/base/jquery.ui.all.css">
<link rel="shortcut icon" type="image/jpg" href="img/favicon.jpg" />
<?php
$v1 = $_GET['v1'];
$v2 = $_GET['v2'];
$v3 = $_GET['v3'];
$v4 = substr($v3,-1);
$v3 = substr($v3, 0, -1);
$servername = "72.167.46.92";
$username = "gcguser";
$password = "Logisys@2106";
$dbname = "resultsg_gcg";
// Create connection
$conn = new mysqli($servername, $username, $password, $dbname);
// Check connection
if($conn->connect_error)
{
die("Connection failed: " . $conn->connect_error);
}
$get_data="select FUNIVCODE,FUNIVNAME,FUNIVADD1,pdf_logo_path from control";
$result=$conn->query($get_data);
if (mysqli_num_rows($result) > 0)
{
// output data of each row
while($row = mysqli_fetch_assoc($result))
{
$FUNIVCODE=$row['FUNIVCODE'];
$FUNIVNAME=$row['FUNIVNAME'];
$FUNIVADD1=$row['FUNIVADD1'];
$pdf_logo_path=$row['pdf_logo_path'];
}
}
$query="select degree.FDESCPN, degree.FEXAMNAME, degree.FEXAMDATE, mcverify.FREGNO, mcverify.FNAME, mcverify.FTOTMARKS,
mcverify.FRESULT, mcverify.FMCNUMBER, mcverify.FENROLL, mcverify.FEXAMDATE ,student.FPHOTOPATH from mcverify,degree,student
where degree.FDEGREE = mcverify.FDEGREE and degree.FEXAMNO = mcverify.FEXAMNO and student.FREGNO = mcverify.FREGNO
and mcverify.FREGNO='{$v1}' and mcverify.FEXAMNO='{$v2}' and mcverify.FYEAR='{$v3}' and mcverify.FEXAMTYPE='{$v4}'";
$rst=$conn->query($query);
if (mysqli_num_rows($rst) > 0) {
// output data of each row
while($row = mysqli_fetch_assoc($rst)) {
$FDESCPN=$row['FDESCPN'];
$FEXAMNAME=$row['FEXAMNAME'];
$FEXAMDATE=$row['FEXAMDATE'];
$FREGNO=$row['FREGNO'];
$FNAME=$row['FNAME'];
$FTOTMARKS=$row['FTOTMARKS'];
$FRESULT=$row['FRESULT'];
$FMCNUMBER=$row['FMCNUMBER'];
$FENROLL=$row['FENROLL'];
$FDESCPN=$row['FDESCPN'];
$PHOTOPATH = $row['FPHOTOPATH'];
}
}
?>
<div id='main_frame'>
<div class='header_main_div'>
<div class='header_left_div' >
<div class='header_log_left_div'><img height=103 width=120 src="<?php echo $pdf_logo_path?>"></div>
</div>
<div class='header_right_div'>
<div class='header_right_txt_div'>
<?php echo $FUNIVNAME?><br>
<span id='span_address'><?php echo $FUNIVADD1?><br></span>
</div>
<div class='header_right_txt_div' style='margin-top:-15px;'>Marks Card Verification</div>
</div>
<div style='clear:both;'>
<div id='main_page_div' >
<div id="index_main_page" style='margin-top:10px;margin-left:40px;font-size:20px;align:center;'>
<div style='float:left;width:600px;'>
<table id="index_main_page" border="0" cellspacing="1" style='margin-top:10px;margin-left:40px;font-size:20px;align:center;'>
<tr style='padding:5px 5px;'>
<td style='width:100px;text-align:left;padding:2px 2px;'>Degree </td>
<td style='width:300px;'> : <?php echo $FDESCPN; ?></td>
</tr>
<tr style='padding:5px 5px;'>
<td style='text-align:left;padding:2px 2px;'>Semester </td>
<td> : <?php echo $FEXAMNAME; ?></td>
</tr>
<tr style='padding:5px 5px;'>
<td style='text-align:left;padding:2px 2px;'>Examination </td>
<td> : <?php echo $FEXAMDATE; ?></td>
</tr>
<!-- <tr style='padding:5px 5px;'>
<td style='text-align:left;padding:2px 2px;'>Roll No. </td>
<td> : <?php echo $FENROLL; ?></td>
</tr> -->
<tr style='padding:5px 5px;'>
<td style='text-align:left;padding:2px 2px;'>Register No. </td>
<td> : <?php echo $FREGNO; ?></td>
</tr>
<tr style='padding:5px 5px;'>
<td style='text-align:left;padding:2px 2px;'>Name </td>
<td> : <?php echo $FNAME; ?></td>
</tr>
<tr style='padding:5px 5px;'>
<td style='text-align:left;padding:2px 2px;'>Total Marks </td>
<td> : <?php echo $FTOTMARKS; ?></td>
</tr>
<tr style='padding:5px 5px;'>
<td style='text-align:left;padding:2px 2px;'>Result </td>
<td> : <?php echo $FRESULT; ?></td>
</tr>
<tr style='padding:5px 5px;'>
<td style='text-align:left;padding:2px 2px;'>M.C. Number </td>
<td> : <?php echo $FMCNUMBER; ?></td>
</tr>
</table>
</div>
<div style='float:left;'>
<span style='padding:20px 20px;'><img src='<?php echo $PHOTOPATH?>' width='80px' height='80px' style = 'margin-top:100px;margin-left:150px'/></span>
</div>
</div>
<div id="Footer">
<div id="FooterInner">
<div id="FooterLink">
<div style="width: 350px; float: left; text-align: left; margin-left: 20px;">
<!-- <a href="AboutUs.aspx">About Us</a> | <a href="TermCondition.aspx">Registration Term
Condition</a>-->
</div>
<div style="width: 220px; float: right;">
Powered by <a style="outline: 0;" target="_blank" href="http://www.logisys.org">Logisys</a>
</div>
</div>
</div>
</div>
</div>
</div>
|