-
Notifications
You must be signed in to change notification settings - Fork 1
/
blog.html
executable file
·255 lines (245 loc) · 9.49 KB
/
blog.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>MICDS Co-Ed Robotics - Blog</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="" />
<meta name="author" content="http://bootstraptaste.com" />
<!-- css -->
<link href="css/bootstrap.min.css" rel="stylesheet" />
<link href="css/fancybox/jquery.fancybox.css" rel="stylesheet">
<link href="css/jcarousel.css" rel="stylesheet" />
<link href="css/flexslider.css" rel="stylesheet" />
<link href="css/style.css" rel="stylesheet" />
<!-- Theme skin -->
<link href="skins/default.css" rel="stylesheet" />
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<style>
.oj {
object-fit: cover;
object-position: center;
height: 200px !important;
width: 100%;
}
</style>
<script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
<script>
var twel;
function fms(twel) {
var x = 0;
var y = twel;
while (x < twel.length) {
var str = "<article><div class=\"post-image\"><div class=\"post-heading\"><h3>" + y[x][0] + "</h3></div><img class=\"tea\" src=\"" + y[x][2] + "\" alt=\"" + x[0] + "\"/></div><p>" + y[x][1] + " <div class=\"bottom-article\"><ul class=\"meta-post\"><li><i class=\"icon-calendar\"></i><a href=\"#\">" + y[x][3] + "</a></li><li><i class=\"icon-user\"></i><a href=\"#\">" + y[x][4] + "</a></li><li><i class=\"icon-folder-open\"></i><a href=\"#\"> Blog</a></li></ul><a href=\"#\" class=\"pull-right\">Continue reading <i class=\"icon-angle-right\"></i></a></div></article>";
document.getElementById("WOAH").insertAdjacentHTML('afterbegin', str);
x++;
}
x = twel.length - 1;
while (x > twel.length - 4) {
var bb = "<li><img src=\"" + y[x][2] + "\" class=\"pull-left oj\"/><h6><a href=\"#\">" + y[x][0] + "</a></h6><p>" + y[x][1].substring(0,100) + "...</p></li>";
document.getElementById("WOOSH").insertAdjacentHTML('beforeend', bb);
x--;
}
}
$.ajax({
type: "GET",
url: "http://micdsrobotics.herokuapp.com/callmemaybe.php",
success: function(data) {
console.log(JSON.parse(data));
twel = JSON.parse(data);
fms(twel);
},
error: function(e) {
console.log(e.message);
}
});
</script>
<div id="wrapper">
<!-- start header -->
<header>
<div class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.html"><span>MICDS </span>Robotics</a>
</div>
<div class="navbar-collapse collapse ">
<ul class="nav navbar-nav">
<li><a href="index.html">Home</a></li>
<!--<li class="dropdown ">
<a href="#" class="dropdown-toggle " data-toggle="dropdown" data-hover="dropdown" data-delay="0" data-close-others="false">Features <b class=" icon-angle-down"></b></a>
<ul class="dropdown-menu">
<li><a href="typography.html">Typography</a></li>
<li><a href="components.html">Components</a></li>
<li><a href="pricingbox.html">Pricing box</a></li>
</ul>
</li>-->
<!--<li><a href="portfolio.html">Portfolio</a></li>-->
<li class="active"><a href="blog.html">Blog</a></li>
<!-- <li><a href="contact.html">Contact</a></li>-->
</ul>
</div>
</div>
</div>
</header>
<!-- end header -->
<section id="inner-headline">
<div class="container">
<div class="row">
<div class="col-lg-12">
<ul class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i></a><i class="icon-angle-right"></i></li>
<li class="active">Blog</li>
</ul>
</div>
</div>
</div>
</section>
<section id="content">
<div class="container">
<div class="row">
<div class="col-lg-8" id="WOAH">
</div>
<div class="col-lg-4">
<aside class="right-sidebar">
<div class="widget">
<form class="form-search">
<input class="form-control" type="text" placeholder="Search..">
</form>
</div>
<div class="widget">
<h5 class="widgetheading">Categories</h5>
<ul class="cat">
<li><i class="icon-angle-right"></i><a href="#">Web design</a><span> (20)</span></li>
<li><i class="icon-angle-right"></i><a href="#">Online business</a><span> (11)</span></li>
<li><i class="icon-angle-right"></i><a href="#">Marketing strategy</a><span> (9)</span></li>
<li><i class="icon-angle-right"></i><a href="#">Technology</a><span> (12)</span></li>
<li><i class="icon-angle-right"></i><a href="#">About finance</a><span> (18)</span></li>
</ul>
</div>
<div class="widget">
<h5 class="widgetheading">Latest posts</h5>
<ul class="recent" id="WOOSH">
</ul>
</div>
<div class="widget">
<h5 class="widgetheading">Popular tags</h5>
<ul class="tags">
<li><a href="#">Web design</a></li>
<li><a href="#">Trends</a></li>
<li><a href="#">Technology</a></li>
<li><a href="#">Internet</a></li>
<li><a href="#">Tutorial</a></li>
<li><a href="#">Development</a></li>
</ul>
</div>
</aside>
</div>
</div>
</div>
</section>
<footer>
<div class="container">
<div class="row">
<div class="col-lg-3">
<div class="widget">
<h5 class="widgetheading">Get in touch with us</h5>
<address>
<strong>MICDS Robotics</strong><br>
101 N Warson Rd<br>
St. Louis, MO 63124</address>
<p>
<i class="icon-phone"></i> (314) 867-5309 <br>
<i class="icon-envelope-alt"></i> awilson@micds.org
</p>
</div>
</div>
<div class="col-lg-3">
<div class="widget">
<h5 class="widgetheading">Pages</h5>
<ul class="link-list">
<li><a href="#">Press release</a></li>
<li><a href="#">Terms and conditions</a></li>
<li><a href="#">Privacy policy</a></li>
<li><a href="#">Career center</a></li>
<li><a href="#">Contact us</a></li>
</ul>
</div>
</div>
<div class="col-lg-3">
<div class="widget">
<h5 class="widgetheading">Latest posts</h5>
<ul class="link-list">
<li><a href="#">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</a></li>
<li><a href="#">Pellentesque et pulvinar enim. Quisque at tempor ligula</a></li>
<li><a href="#">Natus error sit voluptatem accusantium doloremque</a></li>
</ul>
</div>
</div>
<div class="col-lg-3">
<div class="widget">
<h5 class="widgetheading">Flickr photostream</h5>
<div class="flickr_badge">
<script type="text/javascript" src="http://www.flickr.com/badge_code_v2.gne?count=8&display=random&size=s&layout=x&source=user&user=34178660@N03"></script>
</div>
<div class="clear">
</div>
</div>
</div>
</div>
</div>
<div id="sub-footer">
<div class="container">
<div class="row">
<div class="col-lg-6">
<div class="copyright">
<p>
<span>© MICDS ROBOTICS. 2015. ALL RIGHTS RESERVED</span>
</p>
<!--
All links in the footer should remain intact.
Licenseing information is available at: http://bootstraptaste.com/license/
You can buy this theme without footer links online at: http://bootstraptaste.com/buy/?theme=Moderna
-->
</div>
</div>
<div class="col-lg-6">
<ul class="social-network">
<li><a href="#" data-placement="top" title="Facebook"><i class="fa fa-facebook"></i></a></li>
<li><a href="#" data-placement="top" title="Twitter"><i class="fa fa-twitter"></i></a></li>
<li><a href="#" data-placement="top" title="Linkedin"><i class="fa fa-linkedin"></i></a></li>
<li><a href="#" data-placement="top" title="Pinterest"><i class="fa fa-pinterest"></i></a></li>
<li><a href="#" data-placement="top" title="Google plus"><i class="fa fa-google-plus"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
</footer>
</div>
<a href="#" class="scrollup"><i class="fa fa-angle-up active"></i></a>
<!-- javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="js/jquery.js"></script>
<script src="js/jquery.easing.1.3.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.fancybox.pack.js"></script>
<script src="js/jquery.fancybox-media.js"></script>
<script src="js/google-code-prettify/prettify.js"></script>
<script src="js/portfolio/jquery.quicksand.js"></script>
<script src="js/portfolio/setting.js"></script>
<script src="js/jquery.flexslider.js"></script>
<script src="js/animate.js"></script>
<script src="js/custom.js"></script>
</body>
</html>