├── 1.jpg
├── 2.jpg
├── Home.php
├── back.jpg
├── config.php
├── icons.png
├── images.png
├── index.php
├── logicon.png
├── logout.php
├── new1.jpg
├── photo.jpg
├── profile.css
├── profile.jpg
├── profile.php
├── register.php
├── style.css
├── update.php
└── validation.php
/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rajalingam2000/Guvi/9615fdf7a015f2d9937f53231cd1e976ff50a6c7/1.jpg
--------------------------------------------------------------------------------
/2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rajalingam2000/Guvi/9615fdf7a015f2d9937f53231cd1e976ff50a6c7/2.jpg
--------------------------------------------------------------------------------
/Home.php:
--------------------------------------------------------------------------------
1 |
13 |
14 |
15 |
16 |
17 |
18 | User profile
19 |
20 |
21 |
22 |
25 |
26 |
27 |
35 |
36 |
37 | Welcome to Home page......
38 |
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/back.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rajalingam2000/Guvi/9615fdf7a015f2d9937f53231cd1e976ff50a6c7/back.jpg
--------------------------------------------------------------------------------
/config.php:
--------------------------------------------------------------------------------
1 | connect_error){
11 | die("DB connection failed... ERROR = ".$conn -> connect_error);
12 | }
13 |
14 |
15 | ?>
--------------------------------------------------------------------------------
/icons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rajalingam2000/Guvi/9615fdf7a015f2d9937f53231cd1e976ff50a6c7/icons.png
--------------------------------------------------------------------------------
/images.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rajalingam2000/Guvi/9615fdf7a015f2d9937f53231cd1e976ff50a6c7/images.png
--------------------------------------------------------------------------------
/index.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Login / Registration form
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
Login / Signup
17 |
18 |
19 |
20 |
21 |
Welcome to Our Guvi Internship Project
22 |
"Learning Today, Leading Tomorrow"
23 |
24 |
25 |
26 |
27 |
46 |
61 |
190 |
191 |
--------------------------------------------------------------------------------
/logicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rajalingam2000/Guvi/9615fdf7a015f2d9937f53231cd1e976ff50a6c7/logicon.png
--------------------------------------------------------------------------------
/logout.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/new1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rajalingam2000/Guvi/9615fdf7a015f2d9937f53231cd1e976ff50a6c7/new1.jpg
--------------------------------------------------------------------------------
/photo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rajalingam2000/Guvi/9615fdf7a015f2d9937f53231cd1e976ff50a6c7/photo.jpg
--------------------------------------------------------------------------------
/profile.css:
--------------------------------------------------------------------------------
1 | .Nav_all {
2 | /* background-color: rgb(235, 171, 171); */
3 | background: linear-gradient(45deg, rgb(39, 48, 130),rgb(77, 104, 163));
4 | height: 10%;
5 | position: fixed;
6 | width: 100%;
7 | }
8 | .profile_body
9 | {
10 | background-color: rgb(200, 201, 221);
11 | }
12 | .left_frame {
13 | color: white;
14 | background: linear-gradient(45deg,rgb(77, 104, 163),rgb(39, 48, 130)); width: 10%;
15 | position: fixed;
16 | height: 100%;
17 | margin-top: 5.1%;
18 | }
19 | .mb-3
20 | {
21 | width: 60%;
22 | background: linear-gradient(45deg, pink, red);
23 | -webkit-background-clip: text;
24 | color: transparent;
25 | font-weight: bolder;
26 | padding: 5px 10px;
27 | border-radius: 5px;
28 | margin-top: 2%;
29 | }
30 | .form-control {
31 | text-align: center;
32 | }
33 | .left_frame h1
34 | {
35 | margin-top: 10%;
36 | color: black;
37 | font-size: 30px;
38 | text-align: center;
39 | font-weight: bolder;
40 | }
41 | .update_form {
42 | display: flex;
43 | justify-content: space-between;
44 | background-image: url('1.jpg');
45 | background-size: cover;
46 | background-repeat: no-repeat;
47 | padding: 20px;
48 | border-radius: 10px;
49 | width: 80%;
50 | margin-left: 17%;
51 | margin-top: 10%;
52 | position: fixed;
53 | }
54 |
55 | .part1 {
56 | flex: 1;
57 | padding: 10px;
58 | font-weight: bolder;
59 | border-radius: 10px;
60 | box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
61 | margin-left: 10%;
62 | }
63 |
64 | .mb-3 {
65 | margin-bottom: 15px;
66 |
67 | }
68 | .welcome-message {
69 | background: linear-gradient(45deg, pink, red);
70 | -webkit-background-clip: text;
71 | color: transparent;
72 | font-weight: bold;
73 | display: inline-block;
74 | padding: 5px 10px;
75 | border-radius: 5px;
76 | margin-left: 10%;
77 | margin-top: 2%;
78 | }
79 | .navi_1
80 | {
81 | margin-left: 80%;
82 | margin-top: -4%;
83 | }
84 |
85 | .navi_1 {
86 |
87 | display: flex;
88 | justify-content: center;
89 | align-items: center;
90 | text-decoration: none;
91 | height: 50px;
92 | }
93 |
94 | .btn-link {
95 | padding: 0;
96 | }
97 |
98 | .btn-link a {
99 | color: #fff;
100 | text-decoration: none;
101 | transition: color 0.3s, box-shadow 0.3s;
102 | box-shadow: 0 0 0 rgba(0, 0, 0, 0);
103 | }
104 |
105 | .btn-link:hover a {
106 | color: #ffcc00;
107 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
108 | }
109 |
--------------------------------------------------------------------------------
/profile.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rajalingam2000/Guvi/9615fdf7a015f2d9937f53231cd1e976ff50a6c7/profile.jpg
--------------------------------------------------------------------------------
/profile.php:
--------------------------------------------------------------------------------
1 | alert('Unexpected Error'); ";
38 | }
39 | ?>
40 |
41 |
42 |
43 |
44 |
45 | User profile
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
Welcome Profile page...
57 |
61 |
62 |
66 |
67 |
68 |
Profile
69 |
Hello
70 |
71 |
114 |
115 |
116 |
117 |
118 |
171 |
172 |
--------------------------------------------------------------------------------
/register.php:
--------------------------------------------------------------------------------
1 | 'success'];
37 | echo json_encode($response);
38 | }
39 | else
40 | {
41 |
42 | if(mysqli_errno($conn) == 1062)
43 | {
44 | // SEND ERROR RESPONSE
45 |
46 | $response = ['status' => 'failed','error' => 'Email_already_taken'];
47 | echo json_encode($response);
48 | }
49 | else
50 | {
51 | // SEND ERROR RESPONSE
52 |
53 | $response = ['status' => 'failed','error' => mysqli_error($conn)];
54 | echo json_encode($response);
55 | }
56 | }
57 |
58 |
59 | // ------------ //
60 |
61 |
62 |
63 |
64 | ?>
--------------------------------------------------------------------------------
/style.css:
--------------------------------------------------------------------------------
1 | .main_form
2 | {
3 | background-image:url('2.jpg');
4 | background-size: cover;
5 | background-repeat: no-repeat;
6 | }
7 | .Nav_index
8 | {
9 | background: linear-gradient(45deg, pink, red);
10 | -webkit-background-clip: text;
11 | color: transparent;
12 | font-weight: bold;
13 | display: inline-block;
14 | margin-left: 40%;
15 | }
16 |
17 | .Nav h1
18 | {
19 | font-size: 15px
20 | }
21 | .navi_1
22 | {
23 | margin-left: 40%;
24 | }
25 |
26 | .Register_form
27 | {
28 | width: 30vw;
29 | padding: 30px;
30 | margin-left: 50%;
31 | display: none;
32 | margin-top: -5%;
33 | border-radius: 10PX;
34 | background: linear-gradient(to bottom, #2980b9,#84a1b5);
35 | position: fixed;
36 |
37 | }
38 | .body{
39 | width: 100%;
40 | height: 100vh;
41 | background-color: rgb(39, 97, 97);
42 | }
43 | .login-text {
44 | font-family: 'Montserrat', sans-serif; /* Recommended font */
45 | font-size: 18px; /* Adjust font size as needed */
46 | color: black; /* Black font color */
47 | background: linear-gradient(to right, #00FF00, #00FF00, #000000, #00FF00, #00FF00); /* Mix of black and green */
48 | background-clip: text; /* Clip background to text */
49 | -webkit-background-clip: text; /* For webkit browsers */
50 | display: inline-block; /* Maintain inline display */
51 | }
52 |
53 | .Login_form
54 | {
55 | width: 30vw;
56 | padding: 20px;
57 | margin-left: 50%;
58 | margin-top: -5%;
59 | background: linear-gradient(to bottom, #2980b9,#84a1b5);
60 | border-radius: 10PX;
61 | position: fixed;
62 | }
63 |
64 | .mb-3
65 | {
66 | width:100%;
67 | padding: 10px;
68 | border-radius: 20px;
69 | }
70 | label
71 | {
72 | font-size: 15px;
73 | }
74 | .welcome-container {
75 | margin-top: -5%;
76 | text-align: center;
77 | padding: 100px 0; /* Add vertical spacing for the content */
78 |
79 | }
80 |
81 | .welcome-heading {
82 | font-size: 28px;
83 | color: #fff;
84 | }
85 |
86 | .welcome-quote {
87 | font-size: 20px;
88 | color: #ccc;
89 | margin-top: 20px; /* Add some spacing between the heading and quote */
90 | }
91 |
92 |
93 |
--------------------------------------------------------------------------------
/update.php:
--------------------------------------------------------------------------------
1 | 'success'];
31 | echo json_encode($response);
32 | }
33 | else
34 | {
35 | // send response for found unexpected error
36 |
37 | $response = ['status' => 'failed','error' => mysqli_error($conn)];
38 | echo json_encode($response);
39 | }
40 |
41 | ?>
--------------------------------------------------------------------------------
/validation.php:
--------------------------------------------------------------------------------
1 | 'success'];
31 | echo json_encode($response);
32 | }
33 | else
34 | {
35 | $response = ['status' => 'Invalid'];
36 | echo json_encode($response);
37 | }
38 | }
39 |
40 | else
41 | {
42 | $response = ['status' => 'Error','Error' => mysqli_error($conn)];
43 | echo json_encode($response);
44 | }
45 |
46 | ?>
--------------------------------------------------------------------------------