-
Notifications
You must be signed in to change notification settings - Fork 3
/
pages.php
112 lines (99 loc) · 2.82 KB
/
pages.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
<!DOCTYPE HTML>
<HTML>
<HEAD>
<link rel="stylesheet" href="style2.css">
<style>
* {box-sizing: border-box;}
body {
margin: 0;
font-family: Arial, Helvetica, sans-serif;
}
.topnav {
overflow: hidden;
background-color: #e9e9e9;
}
.topnav a {
float:right;
display: block;
color: black;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.topnav a:hover {
background-color: #ddd;
color: black;
}
.topnav a.active {
background-color: #2196F3;
color: white;
}
.topnav input[type=text] {
float: right;
padding: 6px;
margin-top: 8px;
margin-right: 16px;
border: none;
font-size: 17px;
}
@media screen and (max-width: 600px) {
.topnav a, .topnav input[type=text] {
float: none;
display: block;
text-align: left;
width: 100%;
margin: 0;
padding: 14px;
}
.topnav input[type=text] {
border: 1px solid #ccc;
}
}
</style>
</HEAD>
<body>
<div class="w3-sidebar w3-bar-block w3-card w3-animate-left" style="display:none" id="mySidebar">
<button class="w3-bar-item w3-button w3-large"
onclick="w3_close()" style="text-align:center;"><h5>Collapse ×</h5></button>
<img src="user.jpg" height="200" width="200" style="border-radius:50%;"><br><br><br><br>
<a href="index1.php" style="text-align:center;margin-top:60px;" class="w3-bar-item w3-button"><h3>Upload Material</h3></a>
<a href="#" style="text-align:center;" class="w3-bar-item w3-button"><h3>My Posts</h3></a>
<a href="index.php" style="text-align:center;" class="w3-bar-item w3-button" class="log"><h3>Log out</h3></a>
</div>
<img src="flogo.png" style="position:absolute; top:90%; left:90%; margin-top:-100px; margin-left:-100px;" height="200px" width="200px">
<div id="main">
<div class="topnav">
<button id="openNav" class="w3-button w3-teal w3-xlarge" onclick="w3_open()">☰</button>
<a href="">Contact</a>
<a href="">Home</a>
<a href="" class="active">Search</a>
<select name="subtopic" class = "form-control">
<option value="01">Mechanics</option>
<option value="02">Quantum</option>
<option value="03">Modern</option>
<option value="04">Electrodynamics</option>
</select>
<select name="subject" class = "form-control">
<option value="01">Physics</option>
<!-- <option value="03">Chemistry</option>
</select>
-->
</select>
</div>
</div>
<script>
function w3_open() {
document.getElementById("main").style.marginLeft = "25%";
document.getElementById("mySidebar").style.width = "25%";
document.getElementById("mySidebar").style.display = "block";
document.getElementById("openNav").style.display = 'none';
}
function w3_close() {
document.getElementById("main").style.marginLeft = "0%";
document.getElementById("mySidebar").style.display = "none";
document.getElementById("openNav").style.display = "inline-block";
}
</script>
</body>
</HTML>