-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathheader.php
251 lines (247 loc) · 13 KB
/
header.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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
<!DOCTYPE html>
<html lang="en">
<!--Developed by C. Blay for theprogrammershub.net -->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="icon" href="img/thehub.ico.jpg" type="image/x-icon">
<meta name="description" content="Learn to code for free and interact with an open source community of programmers and computer enthusiasts.">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="keywords" content="theprogrammershub, learn to code for free in ghana, learn, cassidy blay, computers, programming, the hub, web development, mobile development, code editors, api, source code, learn to code, learn cprogramming, learn php, jobs, the programmer's hub, the programmers hub, programmerhub, programminghub, learn to code for free">
<meta name="author" content="Cassidy Blay" />
<meta name="contact" content="[email protected]" />
<meta name="copyright" content="Copyright (c)2017 The Programmer's Hub. All Rights Reserved." />
<meta property="og:title" content="Learn to code for free and interact with an open source community of programmers and computer enthusiasts">
<meta property="og:url" content="http://www.theprogrammershub.net">
<meta property="og:description" content="Learn to code for free and get help with all your programming questions.">
<meta property="og:image" content="http://www.theprogrammershub.net/img/thehub.ico.jpg">
<meta property="og:type" content="article">
<meta name="robots" content="all,follow">
<!-- css-->
<link href="css/preloader.css" rel="stylesheet">
<link href="font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<link href="css/enhanced-modals.min.css" rel="stylesheet">
<style>
.margin {
margin-top: 65px;
}
.bg-skin-lp {
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
}
</style>
</head>
<body class="fixed-sn bg-skin-lp" onload="myFunction()" style="margin:0;">
<div id="greeting" style="height: 70vh;" class="flex-center flex-column">
<h2 class="greeting">Learn to code for free!</h2><br><br><hr></div>
<div id="loader">
<div class="first"></div>
<div class="second"></div>
</div>
<div style="display:none;" id="myDiv" class="animate-bottom">
<!--Double navigation-->
<header>
<!-- Sidebar navigation -->
<ul id="slide-out" class="side-nav fixed sn-bg-1 custom-scrollbar" style="color: #263238">
<!-- Logo -->
<li>
<div class="logo-wrapper waves-light">
<a href="index"><img src="img/thehub.jpg" alt="the programmershub.net logo" class="flex-center" width=250></a>
</div>
</li>
<!--/. Logo -->
<!--search form for users -->
<li>
<form action="findProfile" method="Get">
<div class="md-form input-group">
<input type="text" class="form-control inherit" style="color: white;" name="search_user" placeholder="Find user profile" required>
<button class="btn btn-indigo btn-md" type="submit"><i class="fa fa-search"></i></button>
</div>
</form>
</li>
<!-- Side navigation links -->
<li>
<ul class="collapsible collapsible-accordion">
<li><a class="collapsible-header waves-effect arrow-r"><i class="fa fa-code"></i>Learn<i class="fa fa-angle-down rotate-icon"></i></a>
<div class="collapsible-body">
<ul class="collapsible">
<li><a href="getstarted" style="color:white;" class="waves-effect">Getting started</a></li>
<li><a href="map" style="color:white;" class="waves-effect">PHP</a></li>
<li><a href="cmap" style="color:white;" class="waves-effect">C</a></li>
</ul>
</div>
</li>
<ul class="collapsible"><li><a href="downloadables" style="color:white;" class="waves-effect" ><i class="fa fa-download"></i>Download</a></li></ul>
<ul class="collapsible"><li><a href="sourcecodes" style="color:white;" class="waves-effect" ><i class="fa fa-archive"></i>Source codes</a></li></ul>
<li><a class="collapsible-header waves-effect arrow-r"><i class="fa fa-html5"></i>Code Editors<i class="fa fa-angle-down rotate-icon"></i></a>
<div class="collapsible-body">
<ul class="collapsible">
<li><a href="phpeditor" style="color:white;" class="waves-effect">PHP</a></li>
<li><a href="jseditor" style="color:white;" class="waves-effect">Javascript</a></li>
<li><a href="htmleditor" style="color:white;" class="waves-effect">HTML</a></li>
</div>
</li>
</ul>
<ul class="collapsible"><li><a href="donate" alt="Support by donating to the programmer's hub" style="color:white;" class="waves-effect" ><i class="fa fa-money"></i>Donate</a></li></ul>
</li>
<!--/. Side navigation links -->
<div class="sidenav-bg mask-strong"></div>
</ul>
<!--/. Sidebar navigation -->
<!-- Navbar -->
<nav class="navbar fixed-top navbar-toggleable-md navbar-dark indigo scrolling-navbar double-nav">
<!-- SideNav slide-out button -->
<div class="float-xs-left">
<a href="#" data-activates="slide-out" class="button-collapse"><i class="fa fa-bars"></i></a>
</div>
<!-- Breadcrumb-->
<div class="breadcrumb-dn mr-auto">
<p> <a href="index">The Programmer's hub</a></p>
</div>
<ul class="nav navbar-nav ml-auto flex-row">
<li class="nav-item">
<a href="index" class="nav-link"><i class="fa fa-home" title="Home"></i> <span class="hidden-sm-down">Home</span></a>
</li>
<li class="nav-item">
<a href="work" alt="Find job vacancies and make yourself available for employment here" class="nav-link"><i class="fa fa-briefcase" title="Jobs"></i> <span class="hidden-sm-down">Jobs</span></a>
</li>
<li class="nav-item">
<a type="button" data-toggle="modal" data-target="#modalLogin" alt="Login to your account and experience the full features of this platform" class="nav-link"><i class="fa fa-sign-in" title="Sign In"></i> <span class="hidden-sm-down">Sign In</span></a>
</li>
<li class="nav-item">
<a type="button" data-toggle="modal" data-target="#modalRegister" alt="Become a member of our community today. Click here to register now!" class="nav-link"><i class="fa fa-users" title="Register"></i> <span class="hidden-sm-down">Register</span></a>
</li>
</ul>
</nav>
<!-- /.Navbar -->
</header>
<!--Modal: Login Form-->
<div class="modal fade" id="modalLogin" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog cascading-modal" role="document">
<!--Content-->
<div class="modal-content">
<!--Header-->
<div class="modal-header light-blue darken-3 white-text">
<button type="button" class="close waves-effect waves-light" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<h4 class="title"><i class="fa fa-user"></i> Log in</h4>
</div>
<!--Body-->
<div class="modal-body">
<form action="login" method="post">
<div class="md-form">
<i class="fa fa-envelope prefix"></i>
<input type="email" name="email" class="form-control" placeholder="Your Email">
</div>
<div class="md-form">
<i class="fa fa-lock prefix"></i>
<input type="password" name="password" class="form-control" placeholder="Your Password">
</div>
<div class="text-xs-center">
<button type="submit" class="btn btn-info">Log in </button>
</div>
</form>
</div>
<!--Footer-->
<div class="modal-footer">
<div class="options text-center text-md-right mt-1">
<p>Not a member? <a href="register">Sign Up</a></p>
<p>Forgot <a href="password.support.php">Password?</a></p>
</div>
<button type="button" class="btn btn-outline-info waves-effect ml-auto" data-dismiss="modal">Close <i class="fa fa-times-circle ml-1"></i></button>
</div>
</div>
</div>
</div>
<!--/modal-->
<!--Modal: Register Form-->
<div class="modal fade" id="modalRegister" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog cascading-modal" role="document">
<!--Content-->
<div class="modal-content">
<!--Header-->
<div class="modal-header light-blue darken-3 white-text">
<button type="button" class="close waves-effect waves-light" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<h4 class="title"><i class="fa fa-user-plus"></i> Register</h4>
</div>
<!--Body-->
<div class="modal-body">
<form action="register" method="post">
<div class="md-form"><i class="fa fa-envelope prefix"></i>
<input type="email" class="form-control" placeholder="Email" name="email" required autofocus>
</div>
<div class="md-form"><i class="fa fa-pencil prefix"></i>
<input type="text" class="form-control" placeholder="First Name" name="first_name" required></div>
<div class="md-form"><i class="fa fa-pencil prefix"></i>
<input type="text" class="form-control" placeholder="Last Name" name="last_name" required></div>
<div class="md-form"><i class="fa fa-lock prefix"></i>
<input type="password" class="form-control" placeholder="Password" name="password" required>
</div>
<div class="md-form"><i class="fa fa-lock prefix"></i>
<input type="password" class="form-control" placeholder="re-type Password" name="retype_password" required></div>
<div class="md-form">
<button class="btn btn-info" type="submit">Sign up <i class="fa fa-sign-in ml-1"></i></button></div>
</form>
</div>
<!--Footer-->
<div class="modal-footer">
<div class="options text-center text-md-right mt-1">
<p>Already have an account? <a href="login">Log In</a></p>
</div>
<button type="button" class="btn btn-outline-info waves-effect ml-auto" data-dismiss="modal">Close <i class="fa fa-times-circle ml-1"></i></button>
</div>
</div>
<!--/.Content-->
</div>
</div>
<script type="text/javascript" src="js/jscript.js"></script>
<script type="text/javascript" src="js/enhanced-modals.min.js"></script>
<script>
$(".button-collapse").sideNav();
</script>
<script>
var myVar;
function myFunction() {
myVar = setTimeout(showPage, 1200);
}
function showPage() {
document.getElementById("loader").style.display = "none";
document.getElementById("greeting").style.display = "none";
document.getElementById("myDiv").style.display = "block";
}
</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-96580657-1', 'auto');
ga('send', 'pageview');
</script>
<script>
((window.gitter = {}).chat = {}).options = {
room: 'The-Programmers-Hub/Lobby?source=orgpage'
};
</script>
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script>
<script src="https://cdn.onesignal.com/sdks/OneSignalSDK.js" async='async'></script>
<script>
var OneSignal = window.OneSignal || [];
OneSignal.push(["init", {
appId: "8c87c521-6aee-495b-9d75-bb6a4f8397eb",
autoRegister: true, /* Set to true to automatically prompt visitors */
httpPermissionRequest: {
enable: true
},
notifyButton: {
enable: true /* Set to false to hide */
}
}]);
</script>
<div class="margin col-md-12"></div>