Repository navigation
Expand file tree
/
Copy pathamnesia.php
More file actions
174 lines (144 loc) · 5.16 KB
/
Copy pathamnesia.php
File metadata and controls
174 lines (144 loc) · 5.16 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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<!-- head here -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>HNG FUN</title>
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom fonts for this template -->
<link href="vendor/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
<link href='https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
<!-- Custom styles for this template -->
<link href="css/style2.css" rel="stylesheet">
<link href="css/style1.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<link href="css/learn.css" rel="stylesheet">
<!-- <link href="css/carousel.css" rel="stylesheet">-->
<link href="css/landing-page.min.css" rel="stylesheet">
<style>
.card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
max-width: 300px;
margin: auto;
text-align: center;
font-family: Ebrima;
margin-top: 70px;
}
.title {
color: grey;
font-size: 18px;
}
button {
border: none;
outline: 0;
display: inline-block;
padding: 8px;
color: white;
background-color: #007BFF;
text-align: center;
cursor: pointer;
width: 100%;
font-size: 18px;
}
h6{
text-align:center;
font-family: Ebrima;
}
a {
text-decoration: none;
font-size: 22px;
color: black;
}
button:hover, a:hover {
opacity: 0.7;
}
.mt{ margin-top: 20px; }
</style>
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-expand-lg navbar-light bg-primary fixed-top" id="mainNav">
<div class="container">
<a class="navbar-brand" href="/index.php">HNG FUN</a>
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
Menu
<i class="fa fa-bars"></i>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="index.php">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="learn.php">Learn</a>
</li>
<li class="nav-item">
<a class="nav-link" href="listing.php">Interns</a>
</li>
<li class="nav-item">
<a class="nav-link" href="admin.php">Register</a>
</li>
<li class="nav-item">
<a class="nav-link" href="testimonies.php">Testimonies</a>
</li>
</ul>
</div>
</div>
</nav><!-- Page Content -->
<div class="card">
<img src="http://res.cloudinary.com/kaysy123/image/upload/v1523968386/IMG-20160626-WA0014.jpg" alt="picture" style="width:100%">
<h3 class="mt">Bassey Kingsley</h3>
<h6> Designer</h6>
<h6 style="color: #007BFF"> slack username: amnesia</h6>
<p><button><a href="www.hngfun/amnesia.php"></a> HNG 4.0 Intern</button></p>
</div>
<!-- Footer -->
<footer>
<div class="container">
<div class="row">
<div class="col-lg-8 col-md-10 mx-auto">
<ul class="list-inline text-center">
<li class="list-inline-item">
<a id="twitter" href="https://twitter.com/basi_rafael">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-twitter fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<li class="list-inline-item">
<a id="github" href="https://github.com/https://github.com/Kaysy123">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
</ul>
<p class="copyright text-muted">Copyright © HNG FUN 2018</p>
</div>
</div>
</div>
</footer>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- Custom scripts for this template -->
<script src="js/hng.min.js"></script>
<?php
try {
$sql = 'SELECT * FROM secret_word';
$q = $conn->query($sql);
$q->setFetchMode(PDO::FETCH_ASSOC);
$data = $q->fetch();
} catch (PDOException $e) {
throw $e;
}
$secret_word = $data['secret_word'];
?>
</body>