-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
221 lines (179 loc) · 8.87 KB
/
index.php
File metadata and controls
221 lines (179 loc) · 8.87 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
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
<?php require_once "admin/include/db.php"; ?>
<!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>Resume - Start Bootstrap Theme</title>
<link rel="icon" type="image/x-icon" href="assets/img/favicon.ico" />
<!-- Font Awesome icons (free version)-->
<script src="https://use.fontawesome.com/releases/v5.15.3/js/all.js" crossorigin="anonymous"></script>
<!-- Google fonts-->
<link href="https://fonts.googleapis.com/css?family=Saira+Extra+Condensed:500,700" rel="stylesheet" type="text/css" />
<link href="https://fonts.googleapis.com/css?family=Muli:400,400i,800,800i" rel="stylesheet" type="text/css" />
<!-- Core theme CSS (includes Bootstrap)-->
<link href="css/styles.css" rel="stylesheet" />
</head>
<body id="page-top">
<!-- Navigation-->
<?php
//connecting datas
$menu = $db->prepare("SELECT * FROM header ");
$menu->execute();
$menu_row = $menu->fetch(PDO::FETCH_OBJ);
?>
<nav class="navbar navbar-expand-lg navbar-dark bg-primary fixed-top" id="sideNav">
<a class="navbar-brand js-scroll-trigger" href="#page-top">
<span class="d-block d-lg-none">Clarence Taylor</span>
<span class="d-none d-lg-block"><img class="img-fluid img-profile rounded-circle mx-auto mb-2" src="assets/img/profile.jpg" alt="..." /></span>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-toggler-icon"></span></button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav">
<li class="nav-item"><a class="nav-link js-scroll-trigger" href="#about"><?php echo $menu_row->menu1 ?></a></li>
<li class="nav-item"><a class="nav-link js-scroll-trigger" href="#experience"><?php echo $menu_row->menu2 ?></a></li>
<li class="nav-item"><a class="nav-link js-scroll-trigger" href="#education"><?php echo $menu_row->menu3 ?></a></li>
<li class="nav-item"><a class="nav-link js-scroll-trigger" href="#interests"><?php echo $menu_row->menu4 ?></a></li>
<li class="nav-item"><a class="nav-link js-scroll-trigger" href="#awards"><?php echo $menu_row->menu5 ?></a></li>
</ul>
</div>
</nav>
<!-- Page Content-->
<div class="container-fluid p-0">
<!-- About-->
<?php
//connecting datas
$about = $db->prepare("SELECT * FROM about ");
$about->execute();
$about_row = $about->fetch(PDO::FETCH_OBJ);
?>
<section class="resume-section" id="about">
<div class="resume-section-content">
<h1 class="mb-0">
<?php echo $about_row->title ?>
</h1>
<div class="subheading mb-5">
<?php echo $about_row->address ?>
</div>
<p class="lead mb-5"><?php echo $about_row->description ?></p>
<div class="social-icons">
<a class="social-icon" href="<?php echo $about_row->linkedin ?>"><i class="fab fa-linkedin-in"></i></a>
<a class="social-icon" href="<?php echo $about_row->instagram ?>"><i class="fab fa-instagram"></i></a>
<a class="social-icon" href="<?php echo $about_row->eposta ?>"><i class="fas fa-envelope"></i></a>
</div>
</div>
</section>
<hr class="m-0" />
<!-- Experience-->
<section class="resume-section" id="experience">
<div class="resume-section-content">
<h2 class="mb-5">Experience</h2>
<?php
//connecting datas
$exp = $db->query("SELECT * FROM experience ")->fetchAll(PDO::FETCH_OBJ);
foreach ($exp as $exp_row) {
?>
<div class="d-flex flex-column flex-md-row justify-content-between mb-5">
<div class="flex-grow-1">
<h3 class="mb-0"><?php echo $exp_row->title ?></h3>
<div class="subheading mb-3"><?php echo $exp_row->sub_title ?></div>
<p><?php echo $exp_row->description ?></p>
</div>
<div class="flex-shrink-0"><span class="text-primary"><?php echo $exp_row->exp_date ?></span></div>
</div>
<?php } ?>
</div>
</section>
<hr class="m-0" />
<!-- Education-->
<section class="resume-section" id="education">
<div class="resume-section-content">
<h2 class="mb-5">Education</h2>
<?php
//connecting datas
$edu = $db->query("SELECT * FROM education ")->fetchAll(PDO::FETCH_OBJ);
foreach ($edu as $edu_row) {
?>
<div class="d-flex flex-column flex-md-row justify-content-between mb-5">
<div class="flex-grow-1">
<h3 class="mb-0"><?php echo $edu_row->edu_school ?></h3>
<div class="subheading mb-3"><?php echo $edu_row->edu_departmen ?></div>
<div><?php echo $edu_row->edu_desc ?></div>
<p>GPA: <?php echo $edu_row->gpa ?></p>
</div>
<div class="flex-shrink-0"><span class="text-primary"><?php echo $edu_row->date ?></span></div>
</div>
<?php } ?>
</div>
</section>
<hr class="m-0" />
<!-- Interests-->
<section class="resume-section" id="interests">
<div class="resume-section-content">
<h2 class="mb-5">Interests</h2>
<?php
//connecting datas
$interest = $db->prepare("SELECT * FROM interest ");
$interest->execute();
$interest_row = $interest->fetch(PDO::FETCH_OBJ);
?>
<p><?php echo $interest_row->title ?></p>
<p class="mb-0"><?php echo $interest_row->i_description ?></p>
</div>
</section>
<hr class="m-0" />
<!-- Awards-->
<section class="resume-section" id="awards">
<div class="resume-section-content">
<h2 class="mb-5">Awards & Certifications</h2>
<ul class="fa-ul mb-0">
<li>
<span class="fa-li"><i class="fas fa-trophy text-warning"></i></span>
Google Analytics Certified Developer
</li>
<li>
<span class="fa-li"><i class="fas fa-trophy text-warning"></i></span>
Mobile Web Specialist - Google Certification
</li>
<li>
<span class="fa-li"><i class="fas fa-trophy text-warning"></i></span>
1
<sup>st</sup>
Place - University of Colorado Boulder - Emerging Tech Competition 2009
</li>
<li>
<span class="fa-li"><i class="fas fa-trophy text-warning"></i></span>
1
<sup>st</sup>
Place - University of Colorado Boulder - Adobe Creative Jam 2008 (UI Design Category)
</li>
<li>
<span class="fa-li"><i class="fas fa-trophy text-warning"></i></span>
2
<sup>nd</sup>
Place - University of Colorado Boulder - Emerging Tech Competition 2008
</li>
<li>
<span class="fa-li"><i class="fas fa-trophy text-warning"></i></span>
1
<sup>st</sup>
Place - James Buchanan High School - Hackathon 2006
</li>
<li>
<span class="fa-li"><i class="fas fa-trophy text-warning"></i></span>
3
<sup>rd</sup>
Place - James Buchanan High School - Hackathon 2005
</li>
</ul>
</div>
</section>
</div>
<!-- Bootstrap core JS-->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.0/dist/js/bootstrap.bundle.min.js"></script>
<!-- Core theme JS-->
<script src="js/scripts.js"></script>
</body>
</html>