-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathold-subscribe-page.txt
113 lines (108 loc) · 6.12 KB
/
old-subscribe-page.txt
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
<?php session_start(); ?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="description" content="HNG Internship 6.0 offers the best on hands practice in the world of programming. Join the pre-internship">
<meta name="keywords" content="hng, start, internship, beginner, developer" />
<meta property="og:title" content="StartNG" />
<meta property="og:image" content="https://res.cloudinary.com/jeffogah/image/upload/v1564073433/Start_Default.png" />
<meta property="og:description" content="HNG Internship 6.0 offers the best on hands practice in the world of programming. Join the pre-internship" />
<title>StartNG</title>
<!-- CSS and JS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous" />
<link rel="stylesheet" type="text/css" href="styles/index.css" />
<script src="scripts/index.js"></script>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
</head>
<body>
<div class="container-fluid page-wrapper">
<div class="row content p-0">
<div class="col-sm-12 col-lg-6 bg-info text-white start-info pt-2 pt-sm-5 p-md-5 pt-sm-0">
<span><img src="/img/start.png" alt="startng" class="img-thumb" />
<h5 class="d-inline font-weight-bold">Start</h5>
</span>
<div class="mt-4">
<h2 class="font-weight-bold">HNG 6.0 Pre-Internship</h2>
<small>HNG Internship 6.0 offers the best on hands practice
in the world of programming. <br />Pre-Internship is for complete beginners who want to learn the basics of software before the internship starts.</small>
</div>
</div>
<div class="col-sm-12 col-lg-6 px-4 pt-5">
<h5 class="font-weight-bold">Join HNG 6.0 Pre-Internship</h5>
<?php if (isset($_SESSION['submit']) && $_SESSION['submit'] == "done") { ?>
<!-- Modal -->
<div class="modal fade" id="successModal" tabindex="-1" role="dialog" aria-labelledby="successModalLabel" aria-hidden="false">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-body text-center">
<h4 class="text-center font-weight-bold">Success!! </h4>
<span>You will receive an email containing instructions when the program is about to begin.</br>
Follow us on twitter to get updated news <a href="https://twitter.com/hnginternship"><img src="https://www.itsnicethat.com/system/files/062012/4fd07cea5c3e3c0d810000db/images_slice_large/Twitternew.jpg" width="10%" /></a></span>
</div>
</div>
</div>
</div>
<script>
$('#successModal').modal('show')
</script>
<?php };
unset($_SESSION['submit']);
session_destroy(); ?>
<form action="process.php" method="POST" class="p-0 font-weight-bold mt-4">
<div class="form-group mt-4">
<label for="inputName">Full Name</label>
<input type="text" class="form-control" id="inputName" placeholder="Enter your full name" required name="fullName" />
</div>
<div class="form-group mt-4">
<label for="inputEmail">Email Address</label>
<input type="email" class="form-control" id="inputEmail" placeholder="[email protected]" required name="email" />
</div>
<div class="form-group mt-4">
<label for="inputPhoneNumber">Phone Number</label>
<input type="tel" class="form-control" id="inputPhoneNumber" placeholder="+2340800000000" required name="phone" />
</div>
<div class="form-group mt-4">
<label for="inputTrack">Learning Track</label>
<select id="inputTrack" name="track" class="form-control" required>
<option selected hidden value="">Choose...</option>
<option value="Frontend">Frontend</option>
<option value="Backend">Backend</option>
<option value="Digital Marketing">Digital Marketing</option>
<option value="Mobile Development">Mobile Development</option>
<option value="Machine Learning">Machine Learning</option>
<option value="no idea">Not sure yet</option>
</select>
</div>
<div class="form-row">
<div class="form-group col mt-3">
<label for="inputLocation">Location</label>
<select name="locationSelect" id="inputLocation" class="form-control" required onclick="getLocation()">
<option selected hidden value="">Choose location closest to you</option>
<option>Lagos</option>
<option>Uyo</option>
<option>Kaduna</option>
<option>Other</option>
</select>
</div>
<div class="form-group col mt-4 d-none" id="locationText">
<label for="inputOtherLocation"></label>
<input type="text" class="form-control" id="inputOtherLocation" placeholder="Enter your city" name="locationOthers" />
</div>
</div>
<button type="submit" class="btn bg-main text-white w-100 mt-4">
Join Now!
</button>
</form>
</div>
</div>
<div class="text-center text-main my-2">
© 2019 HNG internship . All Rights Reserved.
</div>
</div>
</body>
</html>