-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlearn.php
More file actions
159 lines (149 loc) · 5.55 KB
/
learn.php
File metadata and controls
159 lines (149 loc) · 5.55 KB
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<?php
session_start();
$check = isset($_SESSION['islogin']);
if (!$check) {
echo "<script>window.location.assign('login.php');</script>";
}
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<meta name="author" content="Parthav Chodvadiya">
<title>Learn</title>
</head>
<style>
.center {
border-radius: 50px;
display: block;
max-width: 15%;
max-height: 25%;
padding-bottom: -100px;
}
.navbar {
font-size: 20px;
}
table {
margin-top: 10px;
}
#menu1{
padding-left:20px;
padding-top:20px;
}
td {
padding: 10px;
font-size: large;
color: blueviolet;
}
#login{
border-radius: 20px;
background-color: #663399;
font-size: large;
color: white;
}
#practice,#learn,#compete,#internship,#job,#login{
border-radius: 10px;
background-color: plum;
font-size: large;
color: black;
margin-right: 5px;
cursor: pointer;
}
#practice:hover,#learn:hover,#compete:hover,#internship:hover,#job:hover,#login:hover{
border: 3px solid black;
color:purple;
background-color: white;
}
input[type=submit],button {
width: 25%;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: 1px solid #ccc;
border-radius: 4px;
cursor: pointer;
}
input{
text-align: center;
}
#divlogin{
padding-left: 50%;
text-align: left;
margin-top: -90px;
}
.menu-icon{
margin-left: 10px;
}
#menu{
padding-left: 78%;
}
</style>
<body>
<div>
<div>
<a href="home.php"><img src="learnzy.png" class="center"></a>
</div>
<div id="divlogin">
<input id="learn" type="button" value="Learn" onclick="window.location.href='learn.php';">
<input id="practice" type="button" value="Practice" onclick="window.location.href='practice.php';">
<input id="compete" type="button" value="Compete" onclick="window.location.href='compete.php';">
<input id="internship" type="button" value="Internships" onclick="window.location.href='internship.php';">
<input id="job" type="button" value="Jobs" onclick="window.location.href='job.php';">
<?php
if (!isset($_SESSION['islogin'])) {
echo '<button type="submit" id="login"><a style="text-decoration:none;" href="login.php">Log In</a></button>';
echo '<button type="submit" id="login" style="display:none;"><a href="logout.php">Log Out</a></button>';
} else {
echo '<button type="submit" id="login" style="display:none;"><a href="login.php">Log in</a></button>';
echo '<button type="submit" id="login"><a style="text-decoration:none;" href="logout.php">Logout</a></button>';
}
?>
</div>
<div id="menu1">
<br>
<p class="navbar"><a style="text-decoration:none;" href="home.php">Learnzy</a> >> <a style="text-decoration:none;" href="learn.php">Learn</a></p>
<br>
</div>
</div>
<table border="1">
<tr>
<td><a style="text-decoration:none;"
href="https://www.youtube.com/playlist?list=PLfqMhTWNBTe3H6c9OGXb5_6wcc1Mca52n"><img
src="webDevlop.png">
<p>Web Development Including HTML,CSS,Javascript,PHP</p>
</a></td>
<td><a style="text-decoration:none;"
href="https://www.youtube.com/playlist?list=PLdo5W4Nhv31bZSiqiOL5ta39vSnBxpOPT"><img src="python.png">
<p>Python for beginners : Basic to Advanced leval </p></a>
</td>
<td><a style="text-decoration:none;"
href="https://www.youtube.com/playlist?list=PLu0W_9lII9ai6fAMHp-acBmJONT7Y4BSG"><img src="ml.jpg">
<p>Complete Machine Learning & Data Science Progarm </p></a>
</td>
<td><a style="text-decoration:none;"
href="https://www.youtube.com/playlist?list=PLdo5W4Nhv31YU5Wx1dopka58teWP9aCee"><img src="cpp.png">
<p>Master C++ Programming - Complete Beginner to Advanced</p></a>
</td>
</tr>
<tr>
<td><a style="text-decoration:none;"
href="https://www.youtube.com/playlist?list=PLfqMhTWNBTe0b2nM6JHVCnAkhQRGiZMSJ"><img src="dataStruct.png">
<p>Data Structures and Algorithms - Self Paced</p></a>
</td>
<td><a style="text-decoration:none;"
href="https://www.youtube.com/playlist?list=PLxCzCOWd7aiHGhOHV-nwb0HR5US5GFKFI"><img src="aI.jpg">
<p>Artificial Intelligence</p></a>
</td>
<td><a style="text-decoration:none;"
href="https://www.youtube.com/playlist?list=PLu0W_9lII9aiL0kysYlfSOUgY5rNlOhUd"><img src="androidDev.png">
<p>Learn Android Developement with Flutter</p>
</a></td>
<td><a style="text-decoration:none;"
href="https://www.youtube.com/playlist?list=PLfqMhTWNBTe3LtFWcvwpqTkUSlB32kJop"><img src="java.jpg">
<p>Fork Java Programming - Self Paced</p></a>
</td>
</tr>
</table>
</body>
</html>