-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin.php
130 lines (125 loc) · 7.03 KB
/
admin.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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<!-- Developed by Saurav Bajracharya and Pramesh Bajracharya -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>
Student details information.
</title>
<link rel="stylesheet" href="styleadmin.css">
<link rel="stylesheet" href="animate.css">
<link rel="shortcut icon" href="bvc.png" type="image/x-icon" />
</head>
<body>
<header id="topHead" class="animated fadeInDown">
<a href="index.php"><h2 style = "margin-left : 30px">Student Information Sheet - BVCEC</h2></a>
<a href="index.php"><img id="home" src="download.png" style="width : 65px ; height : 65px;"></a>
</header>
<div id="bodyMain">
<div id="bodyMain">
<form id="importExcel" name="import" method="post" enctype="multipart/form-data">
<p id="text">To insert data into database from Excel,<br> Click the browse button below and select the file you want to upload.<br></p>
<input id="file" type="file" name="file" value="Choose a file"><br />
<input id="submit" type="submit" name="submit" value="Insert">
</form>
<?php
include "functions.php";
import();
?>
<form action="details_admin.php" method="POST" class="form form--login">
<div class="form__fieldRoll">
<div class="new">
<label class="fontawesome-user" for="login__username"><span class="hidden">Roll no</span></label></div>
<input id="login__rollno" type="text" class="form__input" placeholder="" name="roll_no" required> *
</div>
<div class="viewupdate animated bounce">
<input type="submit" value="View/Update">
</div>
</form>
<form action="stu_table.php" method="POST" class="form form--login">
<div class="form__fieldRoll">
<div class="studentlist animated bounce">
<input type="submit" value="View student list">
</div>
</div>
</form>
<form action="admin_update.php" method="POST" class="form form--login">
<p id="search"><br><br><u>Change username password</u></p>
<div class="dibba">
<div class="new">
<label class="fontawesome-user" for="login__username"><span class="hidden">Current Username</span></label>
</div>
<input id="login__rollno" type="text" class="form__input" placeholder="" name="cuname">
</div>
<div class="dibba">
<div class="new">
<label class="fontawesome-user" for="login__username"><span class="hidden">Current password</span></label></div>
<input id="login__rollno" type="text" class="form__input" placeholder="" name="cpwd">
</div>
<div class="dibba">
<div class="new">
<label class="fontawesome-user" for="login__username"><span class="hidden">New Username</span></label></div>
<input id="login__rollno" type="text" class="form__input" placeholder="" name="nuname">
</div>
<div class="dibba">
<div class="new">
<label class="fontawesome-user" for="login__username"><span class="hidden">New Password</span></label></div>
<input id="login__rollno" type="text" class="form__input" placeholder="" name="npwd">
</div>
<div class="searchbottom animated bounce ">
<input type="submit" value="submit">
</div>
</form><br><br>
<form action="stu_table_criteria.php" method="POST" class="form form--login">
<p id="search"><u>Advanced search</u></p>
<div class="dibba">
<div class="new">
<label class="fontawesome-user" for="login__username"><span class="hidden">Percentage Greater Than</span></label></div>
<input id="login__rollno" type="text" class="form__input" placeholder="" name="field_1">
</div>
<div class="searchbottom animated bounce ">
<input type="submit" value="Search">
</div>
</form>
<form class="form form--login" action="email.php" method="post">
<div id="emailDiv">
<p id="emailForm_p"><u>Send E-Mail</u></p>
<div class="dibba">
<div class="new">
<label class="fontawesome-user" for="login__username"><span class="hidden">Enter Email or Regd.no here</span></label></div>
<input id="login__rollno" type="text" class="form__input" placeholder="Email / Regd.No" name="emailRegd" required>
</div>
</div>
<div id="emailDiv">
<div class="dibba">
<div class="new">
<label class="fontawesome-user" for="login__username"><span class="hidden">Enter Subject</span></label></div>
<input id="login__rollno" type="text" class="form__input" placeholder="" name="subject">
</div>
</div>
<div id="emailDiv">
<div class="dibba">
<div class="new">
<label class="fontawesome-user" for="login__username"><span class="hidden">Enter message</span></label></div>
<input id="login__rollno" type="text" class="form__input" placeholder="" name="message">
</div>
</div>
<div class="searchbottom animated bounce " style="position:relative;margin: 55px 0 0px 300px;">
<input type="submit" value="Send" name="submit">
</div>
</form>
<div id="clear"></div>
<form class="form form--login" action="mailer.php" method="post">
<div class="buttons">
<div class="searchbottom animated bounce ">
<input type="submit" value="Send To All" name="submitToAll">
</div>
<div class="searchbottom animated bounce " style="position:absolute;margin: -55px 0 0px 300px;">
<input type="submit" value="Send By Selecting" name="submitBySelect">
</div>
</div>
</form>
</div>
</div>
</body>
</html>