-
Notifications
You must be signed in to change notification settings - Fork 84
/
company-glory.php
executable file
·259 lines (212 loc) · 9.49 KB
/
company-glory.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
252
253
254
255
256
257
258
259
<!DOCTYPE html>
<!--[if IE 9]>
<html lang="en" class="ie9"> <![endif]-->
<!--[if IE 8]>
<html lang="en" class="ie8"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<title>杭州北望生物技术有限公司 | 公司荣誉</title>
<meta name="description" content="杭州北望生物技术有限公司网站">
<meta name="author" content="刘斌鹏">
<!-- Mobile Meta -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Favicon -->
<link rel="shortcut icon" href="style/images/img/favicon.ico">
<!-- Web Fonts -->
<link
href='http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700,300&subset=latin,latin-ext'
rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=PT+Serif' rel='stylesheet' type='text/css'>
<!-- Bootstrap core CSS -->
<link href="style/css/bootstrap.css" rel="stylesheet">
<!-- Font Awesome CSS -->
<link href="style/css/font-awesome.css" rel="stylesheet">
<!-- Fontello CSS -->
<link href="style/css/fontello.css" rel="stylesheet">
<!-- Plugins -->
<link href="style/css/settings.css" media="screen" rel="stylesheet">
<link href="style/css/extralayers.css" media="screen" rel="stylesheet">
<link href="style/css/magnific-popup.css" rel="stylesheet">
<link href="style/css/animations.css" rel="stylesheet">
<link href="style/css/owl.carousel.css" rel="stylesheet">
<!-- iDea core CSS file -->
<link href="style/css/style.css" rel="stylesheet">
<!-- Style Switcher Styles (Remove these two lines) -->
<link href="#" data-style="styles" rel="stylesheet">
<link href="style/css/style-switcher.css" rel="stylesheet">
<!-- Custom css -->
<link href="style/css/custom.css" rel="stylesheet">
<script src="http://cdn.bootcss.com/jquery/2.0.3/jquery.min.js"></script>
<script src="http://cdn.bootcss.com/jquery/1.10.2/jquery.min.js"></script>
<!--.php5 shim and Respond.js for IE8 support of.php5 elements and media queries -->
<!--[if lt IE 9]>
<script src="style/js.php5shiv.min.js"></script>
<script src="style/js/respond.min.js"></script>
<style>
</style>
<![endif]-->
</head>
<!-- body classes:
"boxed": boxed layout mode e.g. <body class="boxed">
"pattern-1 ... pattern-9": background patterns for boxed layout mode e.g. <body class="boxed pattern-1">
-->
<body class="front no-trans">
<!-- scrollToTop -->
<!-- ================ -->
<div class="scrollToTop"><i class="icon-up-open-big"></i></div>
<!-- page wrapper start -->
<!-- ================ -->
<div class="page-wrapper">
<!-- header-top start (Add "dark" class to .header-top in order to enable dark header-top e.g <div class="header-top dark">) -->
<!-- ================ -->
<!-- header-top end -->
<!-- header start classes:
fixed: fixed navigation mode (sticky menu) e.g. <header class="header fixed clearfix">
dark: dark header version e.g. <header class="header dark clearfix">
================ -->
<?php
require_once "controller/Header.php";
$header = Header::getInstance();
$header->headerGenerate(2,4);
?>
<!-- header end -->
<!-- banner start -->
<!-- ================ -->
<div class="banner">
<div class="fixed-image section dark-translucent-bg parallax-bg-3">
<div class="container">
<div class="space-top"></div>
<h1>杭州北望生物科技有限公司</h1>
<div class="separator-2"></div>
<p class="lead">
<br class="hidden-xs hidden-sm">以基因工程为导向
<br class="hidden-xs hidden-sm"> 为人类健康作贡献</p>
</div>
</div>
</div>
<!-- banner end -->
<!-- page-intro start-->
<!-- ================ -->
<div class="page-intro">
<div class="container">
<div class="row">
<div class="col-md-12">
<ol class="breadcrumb">
<li><i class="fa fa-home pr-10"></i><a href="index.php">主页</a></li>
<li class="active"><a href="about-us.php">关于我们</a></li>
<li class="active">公司荣誉</li>
</ol>
</div>
</div>
</div>
</div>
<!-- page-intro end -->
<!-- main-container start -->
<!-- ================ -->
<section class="main-container">
<div class="container">
<div class="row">
<aside class="col-md-3">
<div class="sidebar">
<div class="block clearfix">
<h3 class="title">关于我们</h3>
<div class="separator"></div>
<nav>
<ul class="nav nav-pills nav-stacked">
<li><a href="about-us.php">公司介绍</a></li>
<li><a href="company-philosophy.php">公司理念</a></li>
<li><a href="developProgress.php">发展历程</a></li>
<li class="active"><a href="company-glory.php">公司荣誉</a></li>
<li><a href="speech.php">领导致辞</a></li>
<li><a href="organization.php">组织结构</a></li>
</ul>
</nav>
</div>
</div>
</aside>
<div class="main col-md-9">
<div class="row" id="honorZone">
<?php
require_once 'model/PdoMySQL.class.php';
require_once 'model/config.php';
$mysqlPdo = new PdoMySQL();
$allrows = $mysqlPdo->find("honor");
$images = [];
foreach ($allrows as $row){
for($i=1;$i<count($row);$i++){
$tag = "image".$i;
if ($row[$tag] != ""){
array_push($images,$row[$tag]);
}
}
}
for ($i=1;$i<=count($images);$i++){
echo '<div class="col-md-4">
<div class="image-box mb-20 object-non-visible" data-animation-effect="fadeInLeft" data-effect-delay="'.(($i-1)*100).'">
<div class="overlay-container">
<img src="'.$images[$i-1].'" alt="">
<div class="overlay">
<div class="overlay-links">
<a href="'.$images[$i-1].'" class="popup-img"><i class="fa fa-search-plus"></i></a>
</div>
</div>
</div>
<div class="image-box-body">
<p>公司荣誉'.$i.'</p>
</div>
</div>
</div>';
}
?>
</div>
</div>
</div>
</section>
<!-- main-container end -->
<!-- section start -->
<!-- ================ -->
<!-- section end -->
<!-- footer start (Add "light" class to #footer in order to enable light footer) -->
<!-- ================ -->
<?php
require_once "controller/Footer.php";
?>
<!-- footer end -->
</div>
<!-- page-wrapper end -->
<!-- JavaScript files placed at the end of the document so the pages load faster
================================================== -->
<!-- Jquery and Bootstap core js files -->
<script type="text/javascript" src="style/js/jquery.min.js"></script>
<script type="text/javascript" src="style/js/bootstrap.min.js"></script>
<!-- Modernizr javascript -->
<script type="text/javascript" src="style/js/modernizr.js"></script>
<!-- Isotope javascript -->
<script type="text/javascript" src="style/js/isotope.pkgd.min.js"></script>
<!-- Owl carousel javascript -->
<script type="text/javascript" src="style/js/owl.carousel.js"></script>
<!-- Magnific Popup javascript -->
<script type="text/javascript" src="style/js/jquery.magnific-popup.min.js"></script>
<!-- Appear javascript -->
<script type="text/javascript" src="style/js/jquery.appear.js"></script>
<!-- Count To javascript -->
<script type="text/javascript" src="style/js/jquery.countTo.js"></script>
<!-- Parallax javascript -->
<script src="style/js/jquery.parallax-1.1.3.js"></script>
<!-- Contact form -->
<script src="style/js/jquery.validate.js"></script>
<!-- SmoothScroll javascript -->
<script type="text/javascript" src="style/js/jquery.browser.js"></script>
<script type="text/javascript" src="style/js/SmoothScroll.js"></script>
<!-- Initialization of Plugins -->
<script type="text/javascript" src="style/js/template.js"></script>
<!-- Custom Scripts -->
<script type="text/javascript" src="style/js/custom.js"></script>
<!-- Color Switcher (Remove these lines) -->
<script type="text/javascript" src="style/js/style-switcher.js"></script>
<!-- Color Switcher End -->
</body>
</html>