-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhome.php
202 lines (179 loc) · 5.76 KB
/
home.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
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<?php
session_start();
?>
<!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>Home</title>
</head>
<style>
.center {
border-radius: 50px;
display: block;
max-width: 15%;
max-height: 25%;
padding-bottom: -100px;
}
#login {
border-radius: 20px;
background-color: #663399;
font-size: large;
color: white;
border: 2px solid black;
}
#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 {
border: 3px solid black;
color: purple;
background-color: white;
}
#login:hover {
color: purple;
border-radius: 20px;
border: 3px solid black;
background-color: white;
}
td {
padding:7px 10px 7px 10px;
}
.slogan1 {
margin-left: 15px;
font-size: 25px;
}
.slogan2 {
margin-left: 15px;
font-size: 22px;
}
.slogan3 {
margin-left: 15px;
font-size: 30px;
}
.comp {
font-size: large;
}
input[type=submit],button {
width: 25%;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: 1px solid #ccc;
border-radius: 4px;
cursor: pointer;
}
hr {
border-width: 3px;
}
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>
<a href="home.php"><img src="learnzy.png" class="center"></a>
<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>
<table>
<tr>
<td>
<p class="slogan1">Connecting <strong>Experties</strong>, Recruiters</p>
<p class="slogan2"> Explore opportunities from across the globe to learn, showcase skills, get hired
by your dream
company.</p>
<hr>
<p class="slogan3">Work is Worship</p>
</td>
<td>
<img src="learnzy1.png">
</td>
</tr>
</table>
</div>
<hr>
<div>
<table>
<tr>
<td>
<div class="comp" width="20%">Companies <br>Trust us :</div>
</td>
<td>
<div width="20%"><img src="amazon.png" alt="Not Found" width="150px" height="50px"></div>
</td>
<td>
<div width="20%"><img src="tata.png" alt="Not Found" width="150px" height="70px"></div>
</td>
<td>
<div width="20%"><img src="microsoft.jpeg" alt="Not Found" width="180px" height="70px"></div>
</td>
<td>
<div width="20%"><img src="google.png" alt="Not Found" width="150px" height="70px"></div>
</td>
<td>
<div width="20%"><img src="mahindra.jpeg" alt="Not Found" width="150px" height="70px"></div>
</td>
<td>
<div width="20%"><img src="uber.png" alt="Not Found" width="150px" height="70px"></div>
</td>
</tr>
<tr>
<td>
<div width="20%"><img src="hero.png" alt="Not Found" width="150px" height="70px"></div>
</td>
<td>
<div width="20%"><img src="nestle.png" alt="Not Found" width="150px" height="70px"></div>
</td>
<td>
<div width="20%"><img src="pepsico.png" alt="Not Found" width="150px" height="70px"></div>
</td>
<td>
<div width="20%"><img src="adityabirla.jpeg" alt="Not Found" width="150px" height="70px"></div>
</td>
</tr>
</table>
</div>
<hr>
</body>
</html>