Repository navigation
Expand file tree
/
Copy pathmedia.php
More file actions
204 lines (171 loc) · 8.53 KB
/
Copy pathmedia.php
File metadata and controls
204 lines (171 loc) · 8.53 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
<!DOCTYPE html><!--[if IE 8 ]>
<html lang="en" class="no-js ie8"></html><![endif]-->
<!--[if IE 9 ]>
<html lang="en" class="no-js ie9"></html><![endif]-->
<html class="no-js" lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="Sella - Creative html Template">
<meta name="author" content="createIT">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, maximum-scale=1, shrink-to-fit=no">
<meta name="format-detection" content="telephone=no">
<link rel="shortcut icon" href="assets/images/HyperloopIcon.png">
<link rel="apple-touch-icon" href="assets/images/HyperloopIcon.png" sizes="16x16">
<title>Press | Hyperloop UC</title>
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/font-awesome.min.css">
<link rel="stylesheet" href="assets/css/style.css"><!--[if lt IE 9]>
<script src="assets/js/html5shiv.min.js"></script>
<script src="assets/js/respond.min.js"></script>
<script src="assets/js/es5-shim.min.js"></script><![endif]-->
<?php
include 'config.php';
?>
</head>
<body class="cssAnimate">
<div id="ct-js-wrapper" class="ct-pageWrapper">
<div id="header"></div>
<section>
<header data-height="30%" class="ct-u-display-tablex text-center whiteGradient paddingBottom60">
<div class="inner text-uppercase" style="color: #000">
<div class="container ct-u-color--black text-center">
<h1 class="h1 text-uppercase pageHeading" style="padding-top: 12%; ">Media</h1>
<br>
<span class="fontBody" style="color: #333">Download the complete press-kit <a href="https://drive.google.com/drive/folders/0ByLCBeMONAv7d3JUT3puMGRBVDA" target="__blank"><i style="color: #e00122"><u>here</u></i></a></span>
</div>
</div>
</header>
<section data-background="#eee" class="whiteGradient" style="margin-top:15px;padding-top:10px;padding-bottom:30PX">
<div class="container">
<div class="ct-section-header ct-section-header-decoration-center ct-u-margin-bottom-30" style="padding-top: 30px">
<h1 class="h1 about-hyperloop-h1 fontHeading" >Us in Media</h1>
</div>
<?php
$sql = 'select * from media order by publishingDate';
$count = 1;
$result = $conn->query($sql);
if( $result->num_rows > 0 )
{
while($row = $result->fetch_assoc())
{
if($row['showFlag'] == "true")
{
if($count % 3 == 0){
?>
<div class="row" style="">
<?php
}
?>
<div class="col-md-4">
<a href="http://time.com/4207248/hyperloop-pod-design-competition/" target="_blank">
<div class="text-center mediaDiv fontBody" >
<div>
<?php echo $row['title']; ?>
</div>
<br/>
<br/>
<div class="row">
<div class="col-md-4 img-responsive" style="padding-right:5px;padding-left:10px">
<?php
if($row['imageType'] == "square") {
?>
<img src="<?php echo $row['logoLink']; ?>" height="50px" width="50px"/>
<?php
} else {
?>
<img src="<?php echo $row['logoLink']; ?>" height="50px" width="100px"/>
<?php
}
?>
</div>
<div class="col-md-8" style="padding-right:5px;padding-left:5px">
<span class="mediaPublisherName fontBody"><b><?php echo $row['publisherName']; ?></b> </span> <br/>
<span class="mediaPublisherDate fontBody"><?php echo $row['publishingDate']; ?></span>
</div>
</div>
</div>
</a>
</div>
<?php
if($count % 3 == 0){
?>
</div>
<?php
}
?>
<?php
$count = $count + 1;
}
}
}
?>
</div>
</section>
<div class="ct-section-header ct-section-header-decoration-center ct-u-margin-bottom-30 paddingTop60 paddingBottom60">
<h1 class="h1 about-hyperloop-h1 fontHeading" >Image Gallery</h1>
</div>
<div id="ct-gallery" class="ct-gallery ct-js-gallery ct-gallery--col5 lightGallery paddingTop60 "><a href="assets/images/Press_page/Hyperloop%20UC%20-%20Image%20background.png">
<article class="ct-gallery-item marketing">
<figure><img src="assets/images/Press_page/Hyperloop%20UC%20-%20Image%20background.png" width="256px" height="175px" alt=""/>
</figure>
</article></a><a href="assets/images/Press_page/Hyperloop%20UC%20-%20Gray%20background.png">
<article class="ct-gallery-item marketing">
<figure><img src="assets/images/Press_page/Hyperloop%20UC%20-%20Gray%20background.png" width="256px" height="175px" alt=""/>
</figure>
</article></a><a href="assets/images/Press_page/pod_lake.jpg">
<article class="ct-gallery-item marketing">
<figure><img src="assets/images/Press_page/pod_lake.jpg" width="256px" height="175px" alt=""/>
</figure>
</article></a><a href="assets/images/Press_page/Hyperloop%20Interior%20Business%20Top.jpg">
<article class="ct-gallery-item marketing">
<figure><img src="assets/images/Press_page/Hyperloop%20Interior%20Business%20Top.jpg" width="256px" height="175px" alt=""/>
</figure>
</article></a><a href="assets/images/Press_page/Hyperloop%20Interior%20Business.jpg">
<article class="ct-gallery-item marketing">
<figure><img src="assets/images/Press_page/Hyperloop%20Interior%20Business.jpg" width="256px" height="175px" alt=""/>
</figure>
</article></a><a href="assets/images/Press_page/Hallbach%20mfg.jpg">
<article class="ct-gallery-item marketing">
<figure><img src="assets/images/Press_page/Hallbach%20mfg.jpg" width="256px" height="175px" alt=""/>
</figure>
</article></a><a href="assets/images/Press_page/Pipe%20Bending.JPG">
<article class="ct-gallery-item marketing">
<figure><img src="assets/images/Press_page/Pipe%20Bending.JPG" width="256px" height="175px" alt=""/>
</figure>
</article></a><a href="assets/images/Press_page/Plasma%20cutting.jpg">
<article class="ct-gallery-item marketing">
<figure><img src="assets/images/Press_page/Plasma%20cutting.jpg" width="256px" height="175px" alt=""/>
</figure>
</article></a><a href="assets/images/Press_page/Space%20Frame%201.jpg">
<article class="ct-gallery-item marketing">
<figure><img src="assets/images/Press_page/Space%20Frame%201.jpg" width="256px" height="175px" alt=""/>
</figure>
</article></a><a href="assets/images/Press_page/Hallbach%20assembled.jpg">
<article class="ct-gallery-item marketing ">
<figure><img src="assets/images/Press_page/Hallbach%20assembled.jpg" width="256px" height="175px" alt=""/>
</figure>
</article></a>
</div>
</section>
<!-- Footer-->
<footer class="ct-footer" >
<div class="container" id="footerContainer">
</div>
</footer>
<style>
</style>
<!-- JavaScripts-->
<script src="assets/js/sella.min.js"></script>
<script src="assets/js/main.js"></script>
<script src="assets/form/js/contact-form.js"></script>
<script>
$(function(){
$("#footerContainer").load("footer.html");
});
$(function(){
$("#header").load("header.html");
});
</script>
</body>
</html>