forked from patyiscoding/temp18
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
279 lines (229 loc) · 12 KB
/
index.php
File metadata and controls
279 lines (229 loc) · 12 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
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
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
<!DOCTYPE HTML>
<html>
<head>
<title>Temp 18° - Online magazine for teens</title>
<?php include 'header_tags.php'; ?>
<meta name="description" content="Online magazine and platform for teenagers to learn about current news, lifestyle, entertainment, fashion, tech, sports, science from other teenagers" />
<link rel="canonical" href="http://temp18.co/" />
<meta name="keywords" content="Temp 18, Teen magazine, Magazine, Teens, For teens, Read, Teenagers, Lifestyle, Fashion, Tech, Sports, Test Prep">
<meta name="robots" content="index, follow">
</head>
<body>
<?php include './components/header.php'; ?>
<!--temporarily here-->
<section class="slideshow-section">
<div class="row m-articles-section-row">
<?php
echo drawMainSlideshow();
?>
</div>
</section>
<!--<section class="section-padding section-inside-padding main-typing-section">
<div class="m-box-blue">
<h2>
<span class="m-typed"></span>
</h2>
</div>
</section>-->
<!--
<section class="container-fluid m-random-section">
<h2 class="m-box-back hide-on-mobile">TEMP 18°</h2>
<div class="row">
<div class="col-xs-12 m-random-article-border">
<div class="col-xs-12">
<div class="m-box-gray m-section-padding">
<div class="m-box-blue">
<h2>
<span class="m-typed"></span>
</h2>
</div>
<div class="m-box-yellow">
<div>
<p>Temp 18° is an online magazine and a social hub for teens.</p>
<p>Our mission is to relieve the ubiquitous teenage stress by encouraging and promoting learning in an eccentric style. We believe that in order to understand and develop a passion for something, there must be a sense of unity and will. </p>
<p>We hope you find our articles humorous, relatable, and knowledgeable!</p>
</div>
</div>
</div>
</div>
-->
<!-- <div class="m-random-article col-xs-12 col-md-6">-->
<!--
<div class="m-random-article-inside">
<div class="m-random-article-wrapper">
<div class="m-random-mask-container -is-animated" js-split-lines-fade-in="" style="">
<div class="m-random-mask-box" style="display: block; text-align: start; position: relative; transform: matrix(1, 0, 0, 1, 0, 0);">
<div class="wrapper-black-mask" style="transform: translate3d(0px, 0px, 0px);">
<div class="black-mask">
<div class="black-mask-shape" id="m-mask-text-first"></div>
<div class="wrapper-text">
<span id="wrapper-text-span" style="transform: translate3d(0px, 0px, 0px);">
</span>
</div>
</div>
</div>
</div>
<div class="m-random-mask-box" style="display: block; text-align: start; position: relative; transform: matrix(1, 0, 0, 1, 0, 0);">
<div class="wrapper-black-mask" style="transform: translate3d(0px, 0px, 0px);">
<div class="black-mask">
<div class="black-mask-shape" id="m-mask-text-second"></div>
<div class="wrapper-text">
<span style="transform: translate3d(0px, 0px, 0px);">Read about</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
-->
<!-- <div class="m-random-categories">-->
<?php
// for($i = 0; $i <countRows('categories'); $i++){
// echo drawRandomCategories($i+1);
// }
?>
<!-- </div>-->
<!-- </div>-->
<!--
</div>
</div>
</section>
-->
<!--
MAIN FEATURED ARTICLE
<section class="container-fluid m-featured m-section-inside-padding">
<a href="">
<div class="m-featured-wrapper">
<div>
<div class="m-featured-image">
<div></div>
<img src="/temp18/pictures/m6.jpg">
</div>
</div>
<div class="row m-featured-row section-padding">
<div class="col-xs-12 section-inside-padding m-featured-row-inside">
<div>
<h2>Fields of five-story-high ice blades could complicate landing on Jupiter moon</h2>
</div>
<p>Scientists have long wanted to explore Jupiter’s frozen moon, Europa, which is home to a vast subsurface ocean that makes it a promising home for extraterrestrial life.</p>
</div>
</div>
</div>
</a>
</section>
-->
<?php
// $limit = 6;
// $colevery = $limit / 2;
// $count = 1;
// $result = "a";
// for($i = 0; $i <countRows('articles'); $i++){
// if($result != '' && $count == 1){
// echo '<div class="col-xs-12 col-md-6">';
// }
// $result = drawPost($i+1);
// echo $result;
// if($count == $colevery){
// echo '</div>';
// $count = 0;
// }
// if($result != ''){
// $count++;
// }
// }
?>
<!--
<section class="container-fluid m-section-inside-padding m-section-category-wrapper">
<div class="row m-articles-section-row m-section-padding m-section-category">
-->
<section class="main-category-wrapper">
<?php
for($i = 1; $i <= countRows('categories'); $i++){
echo drawCategorySectionMain($i);
}
?>
</section>
<!--
<div class="col-xs-12 col-md-7 m-column-first">
<div class="col-xs-12 col-md-6 box-featured m-column-header">
<div>
<h2 class="m-column-header-text">Science</h2>
</div>
<p class="m-column-header-p">From prior experience, I know reading SAT passages can be very daunting, but believe me, it does not have to be. For the reading section</p>
<a class="button" href="">See all</a>
</div>
<div class="col-xs-12 col-md-6 box-featured">
<a class="m-box" href="/temp18/article/sat-how-to-reading" name="1">
<div class="col-xs-12 feat-wrapper">
<div class="feat-background-image">
<img src="/temp18/pictures/fe.jpg"></div>
<div class="col-xs-12 feat-text">
<div>
<h2>How to Read SAT Reading Passages</h2>
</div>
<p>Martin gives an inside look on the SAT Reading section</p>
<p id="m-descr-p"></p>
<div class="m-article-content">
<p>From prior experience, I know reading SAT passages can be very daunting, but believe me, it does not have to be. For the reading section, the most important thing that you need to have is a clear stra...</p>
</div>
</div>
</div>
</a>
</div>
</div>
-->
<!--
<div class="col-xs-12 col-md-5 m-column-second">
<section class="c-last_news col-xs-12" data-widget="latestNews">
<h1 class="c-last-news_title o-title overline">
<a data-route="articles" href="http://kekselias.com/articles/" class="js-wow u-fadeInLeftBig" data-wow-delay="0.3s" style="visibility: visible; animation-delay: 0.3s; animation-name: fadeInLeftBig;">Latest Articles</a>
</h1>
<article class="c-last-news_item overline is-active" style="z-index: 35;">
<div class="c-last-news_content js-wow is-animated" style="opacity: 0.521758; transform: translate(71.7363%, 0%) translate3d(0px, 0px, 0px); visibility: visible;">
<div class="o-container_content js-wow is-animated" style="visibility: visible;">
<p class="c-last-news_infos">
01 07 2018 | by Victor Xing | Capital Markets </p>
<p class="c-last-news_intro o-subtitle">
<a href="http://kekselias.com/articles/2018/01/07/flatter-yield-curve-symptom-ineffective-tightening/">Flatter yield curve a symptom of ineffective tightening</a>
</p>
<a href="http://kekselias.com/articles/2018/01/07/flatter-yield-curve-symptom-ineffective-tightening/" class="c-last-news_more o-link">
Read the post <span class="overlay">
Read the post </span>
</a>
</div>
</div>
</article>
<article class="c-last-news_item overline" style="z-index: 30;">
<div class="c-last-news_content js-wow is-animated" style="opacity: 1; transform: matrix(1, 0, 0, 1, 0, 0); visibility: visible;">
<div class="o-container_content ">
<p class="c-last-news_infos">
12 04 2017 | by Victor Xing | Central Banks </p>
<p class="c-last-news_intro o-subtitle">
<a href="http://kekselias.com/articles/2017/12/04/bond-market-term-premium-wolves-yellowstone/">Bond market term premium and wolves of Yellowstone</a>
</p>
<a href="http://kekselias.com/articles/2017/12/04/bond-market-term-premium-wolves-yellowstone/" class="c-last-news_more o-link">Read the post
<span class="overlay">Read the post</span>
</a>
</div>
</div>
</article>
</section>
</div>
</div>
</section>
-->
<?php include './components/footer.php';?>
</body>
</html>
<script type="text/javascript">
var typed = new Typed('.m-typed', {
strings: ["", "For teens. By teens"],
typeSpeed: 140
});
</script>
<script type="text/javascript">
$("#slideshow").carousel({
swipe: 80
});
</script>