-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
175 lines (164 loc) · 7.32 KB
/
index.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
<?php
require 'class/View.php';
$obj_view = new View();
$query_result = $obj_view->select_all_published_about_info();
$query_result1 = $obj_view->select_all_published_mission_info();
$query_result2 = $obj_view->select_all_published_vision_info();
$query_result3 = $obj_view->select_all_published_about_info();
$query_result4 = $obj_view->select_all_published_about_info();
?>
<?php
include 'includes/header.php';
?>
<section id="hero" data-type="background" data-speed="10">
<article>
<div class="container clearfix">
<div class="row">
<div class="col-sm-5">
<img src="assets/frontend/img/logo-badge.png" class="logo">
</div>
<div class="col-sm-7 hero-text">
<h1>Welcome to my portfolio</h1>
<?php while ($about_info = mysqli_fetch_assoc($query_result)) { ?>
<p><?php echo $about_info['info_description'];?></p>
<?php } ?>
</div>
</div>
</div>
</article>
</section>
<!-- BOOST UR INCOME
================================== -->
<section id="boost-income">
<div class="container">
<div class="section-header">
<img src="assets/frontend/img/icon-boost.png" alt="chart">
<h2>About Me</h2>
<?php while ($about_info = mysqli_fetch_assoc($query_result3)) { ?>
<p class="lead"><?php echo $about_info['info_description'];?></p>
<?php } ?>
</div>
<div class="row">
<div class="col-sm-6">
<h3>Mission</h3>
<?php while ($about_info = mysqli_fetch_assoc($query_result1)) { ?>
<p class="lead"><?php echo $about_info['info_description'];?></p>
<?php } ?>
</div>
<div class="col-sm-6">
<h3>Vision</h3>
<?php while ($about_info = mysqli_fetch_assoc($query_result2)) { ?>
<p class="lead"><?php echo $about_info['info_description'];?></p>
<?php } ?>
</div>
</div>
</div>
</section>
<!-- Course Features
==================================-->
<section id="course-features">
<div class="container">
<div class="section-header">
<img src="assets/frontend/img/icon-rocket.png">
<h3>What will you get?</h3>
</div>
<div class="row">
<div class="col-sm-2">
<i class="ci ci-facebook"></i>
<h4>Lifetime access to 80+ lectures</h4>
</div>
<div class="col-sm-2">
<i class="ci ci-watch"></i>
<h4>10+ hours of HD video content</h4>
</div>
<div class="col-sm-2">
<i class="ci ci-calender"></i>
<h4>30-day money back guarantee</h4>
</div>
<div class="col-sm-2">
<i class="ci ci-community"></i>
<h4>Access to a community of like-minded students</h4>
</div>
<div class="col-sm-2">
<i class="ci ci-instructor"></i>
<h4>Direct access to the instructor</h4>
</div>
<div class="col-sm-2">
<i class="ci ci-devices"></i>
<h4>Accessible content on your mobile devices</h4>
</div>
</div>
</div>
</section>
<!-- Project Features
==================================-->
<section id="project-features">
<div class="container">
<h2>All I care about</h2>
<div class="row">
<div class="col-sm-4">
<img src="assets/frontend/img/icon-design.png">
<h3>Modern design</h3>
<p>
You get to work with a modern, professional quality design & layout.
</p>
</div>
<div class="col-sm-4">
<img src="assets/frontend/img/icon-code.png">
<h3>Quality Coding</h3>
<p>
You’ll learn how hand-craft a stunning website with valid, semantic and beautiful HTML5 & CSS3.
</p>
</div>
<div class="col-sm-4">
<img src="assets/frontend/img/icon-cms.png">
<h3>Easy-to-use CMS</h3>
<p>
Allow your clients to easily update their websites by converting your static
websites to dynamic websites, using WordPress.
</p>
</div>
</div>
</div>
</section>
<!-- Video
==================================-->
<section id="video">
<div class="container">
<div class="row">
<div class="col-sm-8 col-sm-offset-2">
<h2>The Bezel-less Smartphone: Xiaomi Mi Mix!</h2>
<div>
<iframe width="100%" height="415" src="https://www.youtube.com/embed/m7plA1ALkQw" frameborder="0" allowfullscreen></iframe>
</div>
</div>
</div>
</div>
</section>
<!-- Instructor
==================================-->
<section id="instructor">
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="row">
<div class="col-lg-12">
<h2>Jahangir Ripon</h2>
</div>
<div class="col-lg-4">
<a href="http://twitter.com" target="_blank" class="badge social twitter"><i class="fa fa-twitter"></i></a>
<a href="http://facebook.com" target="_blank" class="badge social facebook"><i class="fa fa-facebook"></i></a>
<a href="http://youtube.com" target="_blank" class="badge social youtube"><i class="fa fa-youtube"></i></a>
</div>
</div>
<?php while ($about_info = mysqli_fetch_assoc($query_result4)) { ?>
<p class="lead"><?php echo $about_info['info_description'];?></p>
<?php } ?>
</div>
</div>
<hr>
</div>
</section>
<?php
include 'includes/footer.php';
?>