├── mvgr.jpg
├── README.md
├── uploaded_files
└── 5035-photo.jpg
├── student_logout.php
├── db.php
├── admin_logout.php
├── staff_logout.php
├── config.php
├── mainpage.html
├── LICENSE
├── curricularupload.php
├── studentupload.php
├── sidebar.html
├── staff_login.php
├── extradetails.php
├── admin_login.php
├── student_details.php
├── admin_access.php
├── changepass.php
├── student_login.php
├── extraCo_curricular.php
├── student_profile.php
├── student_reset_password.php
├── staff_reset_password.php
├── admin_reset_password.php
├── stylesheet.css
└── wt.sql
/mvgr.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codewithsadaf/counsellor_portal_management/HEAD/mvgr.jpg
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # counsellor_portal_management
2 |
3 | This project contains three modules namely admin, student, counsellor.
4 |
--------------------------------------------------------------------------------
/uploaded_files/5035-photo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/codewithsadaf/counsellor_portal_management/HEAD/uploaded_files/5035-photo.jpg
--------------------------------------------------------------------------------
/student_logout.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/db.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/admin_logout.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/staff_logout.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/config.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/mainpage.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
15 |
16 |
COUNSELLOR PORTAL MANAGEMENT
17 |
18 |
19 |
20 |
22 |
23 |
24 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2023 hemanth challa
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/curricularupload.php:
--------------------------------------------------------------------------------
1 |
2 |
34 | Back
35 | ";
37 | echo " ";
38 | }
39 | else{
40 | echo "error in file uploading";
41 | }
42 | }
43 | mysqli_close($conn);
44 | ?>
--------------------------------------------------------------------------------
/studentupload.php:
--------------------------------------------------------------------------------
1 |
2 |
35 | Back
36 | ";
38 | echo " ";
39 | }
40 | else{
41 | echo "error in file uploading";
42 | }
43 | }
44 | mysqli_close($conn);
45 | ?>
--------------------------------------------------------------------------------
/sidebar.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
16 |
17 |
18 | login
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
59 |
60 |
--------------------------------------------------------------------------------
/staff_login.php:
--------------------------------------------------------------------------------
1 |
2 |
32 |
33 |
34 |
35 |
36 |
37 | Admin login
38 |
39 |
40 |
41 |
65 |
--------------------------------------------------------------------------------
/extradetails.php:
--------------------------------------------------------------------------------
1 | query($sql));
13 | $row = [];
14 |
15 | if ($result->num_rows > 0)
16 | {
17 | // fetch all data from db into array
18 | $row = $result->fetch_all(MYSQLI_ASSOC);
19 | }
20 |
21 | ?>
22 |
23 |
24 |
25 |
26 |
27 |
28 |
36 |
37 |
38 |
39 |
40 |
41 | Sign Out
42 |
43 |
44 |
45 |
46 | EventType
47 | Regdno
48 | Name
49 | EventName
50 | StartDate
51 | EndDate
52 | Recognition
53 | Organization
54 |
55 |
56 |
57 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
--------------------------------------------------------------------------------
/admin_login.php:
--------------------------------------------------------------------------------
1 |
2 |
40 |
41 |
42 |
43 |
44 |
45 | Admin login
46 |
47 |
48 |
49 |
78 |
--------------------------------------------------------------------------------
/student_details.php:
--------------------------------------------------------------------------------
1 | query($qry));
17 | if($result1->num_rows == 1){
18 | header("location: student_profile.php");
19 | }
20 | }
21 | $backlog=$_SESSION['uname'];
22 | //$backlog="nagesh";
23 | $sql = "select * from $backlog ";
24 | $result = ($conn->query($sql));
25 | //declare array to store the data of database
26 | $row = [];
27 | //header("location :student_profile.php");
28 | if ($result->num_rows > 0)
29 | {
30 | // fetch all data from db into array
31 | $row = $result->fetch_all(MYSQLI_ASSOC);
32 | }
33 |
34 | ?>
35 |
36 |
37 |
38 |
39 | student details
40 |
41 |
42 |
43 |
58 | LIST OF COUNSELLING STUDENTS
59 |
60 |
61 |
62 | Regdno
63 |
64 |
65 |
66 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
--------------------------------------------------------------------------------
/admin_access.php:
--------------------------------------------------------------------------------
1 |
12 |
13 |
14 |
15 | student profile
16 |
17 |
18 |
19 |
64 |
65 |
66 |
67 |
--------------------------------------------------------------------------------
/changepass.php:
--------------------------------------------------------------------------------
1 | $ncp){
18 | echo "New passwords do not match";
19 | exit();
20 | }
21 | else {
22 | $cquery="UPDATE `staff` SET `password` = '$np' WHERE `Type` = '$role' AND `uname` = '$uname'";
23 | mysqli_query($conn,$cquery);
24 | echo "password sucessfully changed";
25 | // header("location: form.html");
26 | exit();
27 | }
28 | }
29 | else {
30 | echo "invalid inputs";
31 | echo $password;
32 | echo $uname;
33 | echo $role;
34 | exit();
35 | }
36 | }
37 | ?>
38 |
39 |
40 |
41 |
49 |
50 |
51 | This may be the first time you logged in or we resetted you password so please kindly change your password
52 |
74 |
75 |
--------------------------------------------------------------------------------
/student_login.php:
--------------------------------------------------------------------------------
1 | num_rows > 0)
23 | {
24 | // fetch all data from db into array
25 | $row1 = $result->fetch_assoc();
26 | }
27 | //while($rows1=$result->fetch_assoc())
28 | //{
29 | $num=$row1['regdno'];
30 | $_SESSION["num"] = $num;
31 | //}
32 | header("location: extraCo_curricular.php");
33 | exit();
34 | }
35 | else{
36 |
37 | echo "You entered wrong credentials ";
38 | echo $uname;
39 | exit();
40 | }
41 | }
42 | ?>
43 |
44 |
45 |
46 |
47 |
48 | student login
49 |
50 |
53 |
54 |
55 |
56 |
83 |
84 |
11 |
12 |
13 |
14 |
student profile
15 |
16 |
17 |
18 |
69 |
70 |
71 |
72 |
--------------------------------------------------------------------------------
/student_profile.php:
--------------------------------------------------------------------------------
1 | query($sql));
17 | //declare array to store the data of database
18 | $row = [];
19 | if ($result->num_rows > 0) {
20 | // fetch all data from db into array
21 | $row = $result->fetch_all(MYSQLI_ASSOC);
22 | }
23 |
24 | ?>
25 |
26 |
27 |
28 |
student profile
29 |
30 |
31 |
32 |
33 |
34 |
35 | Sign Out
36 |
37 |
STUDENTS DETAILS
38 |
83 |
84 |
85 |
86 |
87 |
88 |
--------------------------------------------------------------------------------
/student_reset_password.php:
--------------------------------------------------------------------------------
1 |
2 |
74 |
75 |
76 |
77 |
78 |
79 |
Reset Password
80 |
81 |
82 |
83 |
84 |
85 |
Reset Password
86 |
Please fill out this form to reset your password.
87 |