|
Server IP : 2a02:4780:3:1493:0:3736:a38e:7 / Your IP : 216.73.216.218 Web Server : LiteSpeed System : Linux sg-nme-web1393.main-hosting.eu 4.18.0-553.77.1.lve.el8.x86_64 #1 SMP Wed Oct 8 14:21:00 UTC 2025 x86_64 User : u926327694 ( 926327694) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF Directory (0755) : /home/u926327694/domains/smsoft.in/public_html/smart/../arjdwd/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
<?php
include('adminweb/db.php');
if(isset($_SESSION['reg_no'])) {
// $reg_no = $_SESSION['student_data']['reg_no'];
$reg_no=$_SESSION['reg_no'];
$news_letter_class = "newsletter-area-2";
?>
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8">
<title>SIR M VISVESWARAYYA P U COLLEGE</title>
<meta name="description" content="SIR M VISVESWARAYYA P U COLLEGE">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="assets/images/favicon.png" type="image/png">
<link rel="stylesheet" href="assets/css/plugins/bootstrap.min.css">
<style>
@media print
{
.no-print, .no-print *
{
display: none !important;
}
}
</style>
</head>
<body>
<section class="">
<div class="page-banner-bg bg_cover" >
<div class="container">
<img src="assets/images/resultheder.png" style="width:100%; margin-top:20px;" />
<h2 style="margin:0; text-align:center;margin-top:10px;"><span>Result</span></h2>
</div>
</div>
</section>
<section class="">
<div class="container">
<div class="event-details-content mb-50">
<div class="event-schedule-table table-responsive" style="margin-top:20px;">
<table class="table table-bordered">
<thead>
<?php
$query_mng = mysqli_query($con,"select * from students where reg_no='$reg_no'");
while($res_mng = mysqli_fetch_array($query_mng))
{
?>
<tr>
<th>Name: <?php echo $res_mng['name']; ?></th>
<th>Roll Number: <?php echo $res_mng['roll_number']; ?></th>
<th>Register Number: <?php echo $res_mng['reg_no']; ?></th>
<th>Class/Division: <?php echo $res_mng['class']; ?>/<?php echo $res_mng['division']; ?></th>
</tr>
<?php
}
?>
</thead>
</table>
<table class="table table-bordered">
<thead>
<tr>
<th>Exam</th>
<th>Subject</th>
<th>Theory Marks</th>
<th>Practical Marks</th>
</tr>
</thead>
<tbody>
<?php
$query_mng1 = mysqli_query($con,"select * from student_result where reg_no='$reg_no' order by exam,id");
while($res_mng1 = mysqli_fetch_array($query_mng1))
{
?>
<tr>
<td><?php echo $res_mng1['exam']; ?></td>
<td><?php echo $res_mng1['subject']; ?></td>
<td><?php echo $res_mng1['theory_marks']; ?></td>
<td><?php echo $res_mng1['practical_marks']; ?></td>
</tr>
<?php
}
?>
</tbody>
</table>
<center class="no-print">
<a href="index.php" class="btn btn-primary mb-4">Logout</a>
</center>
</div>
</div>
</div>
</section>
</body>
</html>
<?php
}
else
{
echo"<script>window.location='login.php';</script>";
}
?>