-
Notifications
You must be signed in to change notification settings - Fork 1
/
utpv2.php
61 lines (51 loc) · 3.63 KB
/
utpv2.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<html>
<head>
<title>Unit Test portal</title>
<link href="bootstrap.min.css" rel="stylesheet">
</head><body>
<div class="progress">
<div class="progress-bar progress-bar-info" style="width: 100%; height:100%;"></div>
</div>
<h3 align="center"><em><strong><span style="font-size: 36px"><span style="font-family: Georgia">Unit Test portal <div class="form-group" style="margin:30px;" align="center" >
<a href="principalportal.php" target=""><input type="submit" class="btn btn-primary" value="Home"></a> <a href="allstdview1.php" target=""><input type="submit" class="btn btn-primary" value="Student Details"></a> <a href="tgviewp.php" target=""><input type="submit" class="btn btn-primary" value="View/Edit T/G Form"></a> <a href="feedbackview.html" target=""><input type="submit" class="btn btn-primary" value="Feedbacks"></a> <a href="utf.html" target=""><input type="submit" class="btn btn-primary" value="View UT Marks"></a> <a href="attendancefv1.html" target=""><input type="submit" class="btn btn-primary" value="View Attendance"></a> <a href="requestandsuggestionview.php" target=""><input type="submit" class="btn btn-primary" value="Request & Suggestions"></a> <a href="newsandevents.html" target=""><input type="submit" class="btn btn-primary" value="Upload News And Events"></a> <a href="logoutp.php" target=""><input type="submit" class="btn btn-primary" value="Logout"></a>
</div></span></span></strong></em></h3>
<div class="progress">
<div class="progress-bar progress-bar-info" style="width: 100%; height:100%;"></div>
</div>
<div class="form-group" style="margin:30px;" align="Left" >
<a href="facultyportal.php" target=""><input type="submit" class="btn btn-primary" value="Home"></a>
</div>
<font size="6">
<?php
$branch1 = array('Computer Science','Civil Engineering','Electrical Engineering','Electronics&Telecommunication','Mechanical Engineering','First Year');
$branch = $_POST['branch'];
$year1 = array('First Semester','Second Semester','Third Semester','Fourth Semester','Fifth Semester','Sixth Semester','Seventh Semester','Eighth Semester');
$sem = $_POST['semester'];
$utno1 = array('1','2','3');
$utno = $_POST['utno'];
$rollno=$_POST['rollno'];
$conn=new mysqli("localhost","root","","collegemanagement");
$result = $conn->query("SELECT * FROM unittest where rollno='$rollno' and sem= '$sem' and branch='$branch' and utno='$utno'");
if ($result->num_rows > 0) {
$row = $result->fetch_assoc();
?>
<table align="center" border="1" width="50%">
<form action="utpv1.html" method="post">
<tr><td align="center"><?php echo "".$row['sub1'];?></td><td align="center"><?php echo "".$row['sub1o'];?><br></td></tr>
<tr><td align="center"><?php echo "".$row['sub2'];?></td><td align="center"> <?php echo "".$row['sub2o'];?><br></td></tr>
<tr><td align="center"> <?php echo "".$row['sub3'];?></td><td align="center"> <?php echo "".$row['sub3o'];?> <br></td></tr>
<tr><td align="center"> <?php echo "".$row['sub4'];?></td><td align="center"> <?php echo "".$row['sub4o'];?> <br></td></tr>
<tr><td align="center"> <?php echo "".$row['sub5'];?></td><td align="center"> <?php echo "".$row['sub5o'];?> <br></td></tr>
<tr><td align="center"> <?php echo "".$row['sub6'];?></td><td align="center"> <?php echo "".$row['sub6o'];?> <br></td></tr>
</table align="center">
<?php }?>
<div class="form-group" style="margin:30px;" align="center" >
<input type="submit" value="Check For Another Unit Test " class="btn btn-primary" >
</div>
</form>
<div class="progress">
<div class="progress-bar progress-bar-info" style="width: 100%; height:100%;"></div>
</div>
</form>
</body>
</html>