-
Notifications
You must be signed in to change notification settings - Fork 1
/
find-result.php
112 lines (94 loc) · 4.82 KB
/
find-result.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?php
session_start();
error_reporting(0);
include('includes/config.php');?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Dept.of ISE Student Result Management System</title>
<link rel="stylesheet" href="css/bootstrap.min.css" media="screen" >
<link rel="stylesheet" href="css/font-awesome.min.css" media="screen" >
<link rel="stylesheet" href="css/animate-css/animate.min.css" media="screen" >
<link rel="stylesheet" href="css/icheck/skins/flat/blue.css" >
<link rel="stylesheet" href="css/main.css" media="screen" >
<script src="js/modernizr/modernizr.min.js"></script>
</head>
<div class="row">
<u><h1 align="center">DEPT. OF ISE RESULT MANAGEMENT SYSTEM</h1></u>
<body class="" style="background-image: url('https://www.rnsit.ac.in/wp-content/themes/twentyseventeen/img/r1.jpg');background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;">
<div class="main-wrapper">
<div class="login-bg-color bg-blUE-300">
<div class="row">
<div class="col-md-4 col-md-offset-4">
<div class="panel login-box">
<div class="panel-heading">
<div class="panel-title text-center">
<h4>School Result Management System</h4>
</div>
</div>
<div class="panel-body p-20">
<form action="result.php" method="post">
<div class="form-group">
<label for="rollid">Enter your USN</label>
<input type="text" class="form-control" id="rollid" placeholder="Enter Your Roll Id" autocomplete="off" name="rollid">
</div>
<div class="form-group">
<label for="default" class="col-sm-2 control-label">Class</label>
<select name="class" class="form-control" id="default" required="required">
<option value="">Select Class</option>
<?php $sql = "SELECT * from tblclasses";
$query = $dbh->prepare($sql);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
if($query->rowCount() > 0)
{
foreach($results as $result)
{ ?>
<option value="<?php echo htmlentities($result->id); ?>"><?php echo htmlentities($result->ClassName); ?> Section-<?php echo htmlentities($result->Section); ?></option>
<?php }} ?>
</select>
</div>
<div class="form-group mt-20">
<div class="">
<div class="col-sm-6">
<a href="index.php" button type="button" class="btn btn-danger ">Back to Home?</a>
</div>
<button type="submit" class="btn btn-success btn-labeled pull-right">Search<span class="btn-label btn-label-right"><i class="fa fa-check"></i></span></button>
<div class="clearfix"></div>
</div>
</div>
</form>
<hr>
</div>
<!-- /.col-md-6 col-md-offset-3 -->
</div>
<!-- /.row -->
</div>
<!-- /. -->
</div>
<!-- /.main-wrapper -->
<!-- ========== COMMON JS FILES ========== -->
<script src="js/jquery/jquery-2.2.4.min.js"></script>
<script src="js/jquery-ui/jquery-ui.min.js"></script>
<script src="js/bootstrap/bootstrap.min.js"></script>
<script src="js/pace/pace.min.js"></script>
<script src="js/lobipanel/lobipanel.min.js"></script>
<script src="js/iscroll/iscroll.js"></script>
<!-- ========== PAGE JS FILES ========== -->
<script src="js/icheck/icheck.min.js"></script>
<!-- ========== THEME JS ========== -->
<script src="js/main.js"></script>
<script>
$(function(){
$('input.flat-blue-style').iCheck({
checkboxClass: 'icheckbox_flat-blue'
});
});
</script>
<!-- ========== ADD custom.js FILE BELOW WITH YOUR CHANGES ========== -->
</body>
</html>