-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
414 lines (385 loc) · 19.2 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
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
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
<?php
require('includes/config.php'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!--This is going to be best fucking website ever-->
<!-- This is the name of the Webpage-->
<head>
<title>Welcome to St. Cloud State's Computer SCIience Club's site</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--Oswald Font -->
<link href='http://fonts.googleapis.com/css?family=Oswald:400,300,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="css/tooltipster.css" />
<!-- home slider-->
<link href="css/pgwslider.css" rel="stylesheet">
<!-- Font Awesome -->
<link rel="stylesheet" href="css/font-awesome.min.css">
<link href="style.css" rel="stylesheet" media="screen">
<link href="responsive.css" rel="stylesheet" media="screen">
</head>
<!-- This is the CONTENT of the page-->
<body>
<!-- This is the Header Area - top block-->
<section id="header_area">
<!-- Wrapper header-->
<div class="wrapper header">
<!-- Top of the header-->
<div class="clearfix header_top">
<div class="clearfix logo floatleft">
<a href="csci.club"><h1><span>CSCI</span> Club <p style="font-size:50%; color:red;">St Cloud State ACM Chapter</p></h1></a>
<a href="mailto:[email protected]"><h3 style="font-family:courier; color:yellow;">[email protected]<h3></a>
</div>
<div class="clearfix search floatright">
<form>
<input type="text" placeholder="Search"/>
<input type="submit" />
</form>
</div>
</div>
<!-- Header bottom-->
<div class="header_bottom">
<nav>
<ul id="nav">
<li><a href="csci.club">Home</a></li>
<li><a href="">About Us</a></li>
<li id="dropdown"><a href="">Activities</a>
<ul>
<li><a href="">Weekly Meetings</a></li>
<li><a href="">Jeopardy/Pizza</a></li>
<li><a href="https://www.hackerrank.com">Coding/Problem-solving on weekly basis</a></li>
<li><a href="">Presentations</a><li>
</ul>
</li>
<li id="dropdown"><a href="">Coding Competitions</a>
<ul>
<li><a href="http://ncna-region.unl.edu">ACM NCNA Programming Contest</a><li>
<li><a href="http://www.digikey.com/US/EN/Careers/computing-competition.html">DigiKey Collegiate Computing Computation</a><li>
<li><a href="http://www.micsymposium.org">Midwest Instruction Computation Symposium</a><li>
</ul>
</li>
<li id="dropdown"><a href="">Hackathons</a>
<ul>
<li><a href="https://www.hackillinois.org">Hack Illinois</a><li>
<li><a href="https://carlhacks.com">CarlHacks 2016</a><li>
</ul>
</li>
<li id="dropdown"><a href="">Cool Stuff</a>
<ul>
<li><a href="http://www.geeksforgeeks.org">Geeks For Geeks</a><li>
<li><a href="http://jacksonpollock.org">White Canvas to paint</a><li>
<li><a href="https://www.acm.org">Association For Computing Machinery</a><li>
</ul>
<li>
<li><a href="https://www.stcloudstate.edu/academics/programs/cose-comp-sci.aspx">Go to School</a><li>
<li id="dropdown"><a href="http://www.stcloudstate.edu/csit/faculty-staff.aspx">Know your professors</a>
<ul>
<li><a href="http://web.stcloudstate.edu/rsarnath">Ramnath Sarnath</a><li>
<li><a href="http://web.stcloudstate.edu/oalazzam">Omar Al-Azzam</a><li>
<li><a href="http://www.stcloudstate.edu/csit/faculty-staff.aspx">Andrew A. Anda</a><li>
<li><a href="http://www.stcloudstate.edu/csit/faculty-staff.aspx">Theresia Fisher</a><li>
<li><a href="http://www.stcloudstate.edu/csit/faculty-staff.aspx">Tirthankar Ghosh</a><li>
<li><a href="http://web.stcloudstate.edu/dohamnes">Donal O. Hamnes</a><li>
<li><a href="http://web.stcloudstate.edu/jherath">Jayantha Herath</a><li>
<li><a href="http://web.stcloudstate.edu/bajulstrom">Bryant A. Julstrom</a><li>
<li><a href="http://www.stcloudstate.edu/csit/faculty-staff.aspx">Ezzat Kirmani</a><li>
<li><a href="http://web.stcloudstate.edu/jhu">Jie H. Meichsner</a><li>
<li><a href="http://web.stcloudstate.edu/mmkeni">Mehdi Mekni</a><li>
</ul>
<li>
<li><a href="">Contact us</a></li>
</ul>
</nav>
</div>
<!-- End of header bottom-->
</div>
<!-- End of wrapper-->
</section>
<!-- End of Header Area -->
<!-- CONTENT after Header-->
<section id="content_area">
<div class="clearfix wrapper main_content_area">
<div class="clearfix main_content floatleft">
<div class="clearfix slider">
<ul class="pgwSlider">
<li><img src="images/thumbs/logo.jpg" alt="CSCI T-shirts Logo 2015/2016" data-description="CSCI Club's T-shirt Logo 2015-16" data-large-src="images/slides/logo.jpg"/></li>
<li><img src="images/thumbs/beard.jpg" alt="One word: BEARD" data-large-src="images/slides/beard.jpg" data-description="Beard helps us solve problems!!!"/></li>
<li>
<img src="images/thumbs/programmer.jpg" alt="10 reasons to date a Programmer" data-large-src="images/slides/programmer.jpg" data-description="Why you should date a programmer?">
</li>
</ul>
</div>
<div class="clearfix content">
<div class="content_title"><h2>Latest Blog Post</h2></div>
<!-- For each article in the blog -->
<!-- -->
<!-- Start of first blog post-->
<!-- Andrew Added post -->
<?php
//if no page clicked on load home page default to it of 1
/*if(!isset($_GET['p'])){
$q = mysql_query("SELECT * FROM posts WHERE postID='1'");
} else { //load requested page based on the id
$id = $_GET['p']; //get the requested id
$id = mysql_real_escape_string($id); //make it safe for database use
$q = mysql_query("SELECT * FROM posts WHERE postID='$id'");
$q = mysql_query("SELECT * FROM posts WHERE postID='$id'");
}*/
$sql = mysql_query(
"SELECT * FROM posts
WHERE isRoot='1'
AND postTitle NOT IN (
'Home',
'About',
'Services',
'News',
'Contact'
)
ORDER BY postID DESC");
$i = 1;
while ($row = mysql_fetch_object($sql))
{
//echo "<li><a href=\"".Dir."?p=$row->postID\">$row->postTitle</a></li>";
//get post data from database and create an object
//$r = mysql_fetch_object($q);
//print the post content
// start of content echo
echo " <div class=\"clearfix single_content\">
<div class=\"clearfix post_date floatleft\">
<div class=\"date\">
<h3>8</h3>
<p>April</p>
</div>
</div>
<div class=\"clearfix post_detail\">
<h2><a href=\"http://recode.net/2016/04/08/senate-draft-encryption-bill-dangerous/\">$row->postTitle </a></h2>
<div class=\"clearfix post-meta\">
<p><span><i class=\"fa fa-user\"></i> Admin</span> <span><i class=\"fa fa-clock-o\"></i> 9 April 2016</span> <span><i class=\"fa fa-comment\"></i> 4 comments</span> <span><i class=\"fa fa-folder\"></i> Category</span></p>
</div>
<div class=\"clearfix post_excerpt\">
<img src=\"images/random$i.jpg\" alt=\"\"/>
<p>$row->postCont</p>
</div>
<a href=\"http://recode.net/2016/04/08/senate-draft-encryption-bill-dangerous/\">Continue Reading ...</a>
</div>
</div>
";
$i++;
}
?>
<!-- End Post -->
<div class="clearfix single_content">
<div class="clearfix post_date floatleft">
<div class="date">
<h3>8</h3>
<p>April</p>
</div>
</div>
<div class="clearfix post_detail">
<h2><a href="http://recode.net/2016/04/08/senate-draft-encryption-bill-dangerous/">The New Encryption Bill Isn't Finished and Silicon Valley Already Hates It</a></h2>
<div class="clearfix post-meta">
<p><span><i class="fa fa-user"></i> Admin</span> <span><i class="fa fa-clock-o"></i> 9 April 2016</span> <span><i class="fa fa-comment"></i> 4 comments</span> <span><i class="fa fa-folder"></i> Category</span></p>
</div>
<div class="clearfix post_excerpt">
<img src="images/first.jpg" alt=""/>
<p>Congress is poised to step into the encryption battle that has been raging in the courts and in the media, with legislation that would require technology companies to decrypt messages when served with a court order.</p>
</div>
<a href="http://recode.net/2016/04/08/senate-draft-encryption-bill-dangerous/">Continue Reading ...</a>
</div>
</div>
<!-- End of first blog post-->
<!-- Second Blog Post-->
<div class="clearfix single_content">
<div class="clearfix post_date floatleft">
<h3>9</h3>
<p>April</p>
</div>
<div class="clearfix post_detail">
<h2><a href="http://www.stcloudstate.edu/programs/software-engineering/default.aspx?utm_source=web&utm_medium=free&utm_content=edu-carousel&utm_campaign=software-engineering"> Software Engineering - NOW in SCSU!!! </a></h2>
<div class="clearfix post-meta">
<p><span>Admin</span> <span>9 April 2016</span> <span>4 comments</span> <span>Category</span></p>
</div>
<div class="clearfix post_excerpt">
<img src="images/se.tiff" alt=""/>
<p>Students who major from this program will find themselves prepared to apply scientific andtechnological principles to analyze, design, implement, verify, deliver and maintain software systems for business and general computing applications. Students will start with theoretical and practical application courses. Later, they will explore in detail the life-cycle of software development with intensive experiential learning and hands-on. Finally, they will choose specialization courses such as Gaming and Visualization, Big Data Analytic, Mobile Application Development and IT Integration and Transformation.</p>
</div>
<a href="">Continue Reading</a>
</div>
</div>
<!-- Third Blog Post-->
<div class="clearfix single_content">
<div class="clearfix post_date floatleft">
<h3>9</h3>
<p>April</p>
</div>
<div class="clearfix post_detail">
<h2><a href="https://carlhacks.com">SCSU students in CarlHacks 2016</a></h2>
<div class="clearfix post-meta">
<p><span>Admin</span> <span>9 April 2016</span> <span>4 comments</span> <span>Category</span></p>
</div>
<div class="clearfix post_excerpt">
<img src="images/carl.tiff" alt=""/>
<p><strong>CarlHacks is in Progress!</strong>
<ul>A few quick notes to keep in mind:<ul>
<li>Note that the maximum team size is five.
<li>To be fair, we don't allow teams larger than that, so that each team doesn't have as big of an advantage over another.
<li>Join the CarlHacks 2016 Attendees Facebook group to chat with other attendees, and get updates the day of the event!
<li> In addition to first (Dell Venue 10 Pro tablets, and Raspberry Pi kits), second (quadcopters), and third (Arduino Uno kits) prizes we have two special prizes: the Best Developer Tool wins octocat figurines, and the Best Domain Name gets domain.com swag and a Sparkfun Redboards.</p>
</div>
<a href="https://carlhacks.com">Continue Reading</a>
</div>
</div>
</div>
<!-- END OF BLOG POST ARTICLE ARE-->
<!-- Display the other pages of blogs-->
<div class="pagination">
<nav>
<ul>
<li><a href=""> << </a></li>
<li><a href="">1</a></li>
<li><a href="">2</a></li>
<li><a href="">3</a></li>
<li><a href="">4</a></li>
<li><a href=""> >> </a></li>
</ul>
</nav>
</div>
</div>
<!-- Sidebar AREA within the CONTENT-->
<div class="clearfix sidebar_container floatright">
<!-- SIGNUP for Newsletter-->
<div class="clearfix newsletter">
<form>
<h2>Signup for newsletter</h2>
<input type="text" placeholder="Name" id="mce-TEXT"/>
<input type="email" placeholder="Phone Number" id="mce-EMAIL"/>
<input type="submit" value="Submit" id="mc-embedded-subscribe"/>
</form>
</div>
<!-- Most Popular Section AREA-->
<div class="clearfix sidebar">
<div class="clearfix single_sidebar">
<div class="popular_post">
<div class="sidebar_title"><h2>Most Popular</h2></div>
<ul>
<li><a href="http://www.stcloudstate.edu/careerservices/documents/CTComputerScience.pdf">Computer Science major at-a-glance</a></li>
<li><a href="https://catalog.stcloudstate.edu/~/Catalog/ViewCatalog.aspx?pageid=viewcatalog&catalogid=8&topicgroupid=338">University Catalog </a></li>
<li><a href="http://www.stcloudstate.edu/csit/_files/documents/CSCI%20Graduate%20Data.pdf">SCSU Graduate Data </a></li>
<li><a href="http://www.stcloudstate.edu/csit/">Department of Computer Science and Information Technology</a></li>
<li><a href="http://www.stcloudstate.edu/csit/student/projects.aspx">Projects</a></li>
<li><a href="http://www.stcloudstate.edu/csit/student/internships.aspx">Internships</a><li>
<li><a href="http://www.stcloudstate.edu/campusinvolvement/annual-events/mainstreet.aspx">Mainstreet/ Sidestreet</a><li>
<li><a href="https://stcloudstate.collegiatelink.net/organization/association-for-computing-machinery">Collegiate Link</a><li>
<li><a href="http://www.stcloudstate.edu/programs/software-engineering/default.aspx?utm_source=web&utm_medium=free&utm_content=edu-carousel&utm_campaign=software-engineering">Software Engineering</a><li>
</ul>
</div>
</div>
<div class="clearfix single_sidebar category_items">
<h2>Categories in Computer Science</h2>
<ul>
<li class="cat-item"><a href="">Algorithms and data structures</a>(12)</li>
<li class="cat-item"><a href="">Artificial intelligence </a>(12)</li>
<li class="cat-item"><a href="">Computational science</a>(12)</li>
<li class="cat-item"><a href="">Computer architecture </a>(12)</li>
<li class="cat-item"><a href="">Computer graphics </a>(12)</li>
<li class="cat-item"><a href="">Computer security</a>(12)</li>
<li class="cat-item"><a href="">Concurrency (computer science)</a>(12)</li>
<li class="cat-item"><a href="">Programming language theory</a>(12)</li>
<li class="cat-item"><a href="">Database theory</a>(12)</li>
<li class="cat-item"><a href="">Formal Methods </a>(12)</li>
<li class="cat-item"><a href="">Human-based computation </a>(12)</li>
<li class="cat-item"><a href="">Human-computer computation </a>(12)</li>
<li class="cat-item"><a href="">Mathematical optimization </a>(12)</li>
<li class="cat-item"><a href="">Soft computing </a>(12)</li>
<li class="cat-item"><a href="">Software engineering </a>(12)</li>
<li class="cat-item"><a href="">Theoretical computer science</a>(12)</li>
<li class="cat-item"><a href="">Theory of computation </a>(12)</li>
</ul>
</div>
<div class="clearfix single_sidebar">
<h2>Recent Post</h2>
<ul>
<li><a href="https://www.google.com/#q=panama+papers">Panama Papers<span>(12)</span></a></li>
<li><a href="https://flipboard.com">Flipboard<span>(12)</span></a></li>
</ul>
</div>
</div>
</div>
</div>
</section>
<!-- End of CONTENT-->
<!-- FOOTER area-->
<section id="footer_top_area">
<div class="clearfix wrapper footer_top">
<div class="clearfix footer_top_container">
<div class="clearfix single_footer_top floatleft">
<h2>About CSCI Club</h2>
<p>The Computer Science Club is a student organization that is dedicated to providing SCSU students with supplementary computer science knowledge and expand their professional/personal networks. While the club is focused towards serving students in the computer science field, all students interested in computing are welcome to join.
<strong>Organization Meeting Time: (Day and Time) </strong>
Every Thursday 6-8pm Headley Hall Room 230</p> <!-- FILL STUFF HERE-->
</div>
<div class="clearfix single_footer_top floatleft">
<h2>Recent Post</h2>
<p><li>Member of CSCI club are currently participating in CarlHacks 2016 held in Carleton College, Northfield, MN. The event is
36 hour hackathon. Currently, the CSCI member are working on this website: frontend, backend with database implementation.
<a href="https://carlhacks.com">More info...</a><li>
<li>Next activity on the horizon, MICS 2016, going to be held in Upper Iowa. MICS stands for Midwest Instruction Computation Symposium.
<a href="http://www.micsymposium.org/mics2016/">More info...</a><li>
</p> <!-- FILL STUFF HERE-->
</div>
<div class="clearfix single_footer_top floatleft">
<h2>Useful Links</h2>
<ul>
<li><a href="">Gallery</a></li>
<li><a href="">CSCI Club Board Members</a></li>
</ul>
</div>
</div>
</div>
</section>
<section id="footer_bottom_area">
<div class="clearfix wrapper footer_bottom">
<div class="clearfix copyright floatleft">
<p> Copyright © All rights reserved by <span>CSCI.Club</span></p>
</div>
<div class="clearfix social floatright">
<ul>
<li><a class="tooltip" title="Facebook" href=""><i class="fa fa-facebook-square"></i></a></li>
<li><a class="tooltip" title="Twitter" href=""><i class="fa fa-twitter-square"></i></a></li>
<li><a class="tooltip" title="Google+" href=""><i class="fa fa-google-plus-square"></i></a></li>
<li><a class="tooltip" title="LinkedIn" href=""><i class="fa fa-linkedin-square"></i></a></li>
<li><a class="tooltip" title="tumblr" href=""><i class="fa fa-tumblr-square"></i></a></li>
<li><a class="tooltip" title="Pinterest" href=""><i class="fa fa-pinterest-square"></i></a></li>
<li><a class="tooltip" title="RSS Feed" href=""><i class="fa fa-rss-square"></i></a></li>
<li><a class="tooltip" title="Sitemap" href=""><i class="fa fa-sitemap"></i> </a></li>
</ul>
</div>
</div>
</section>
<!-- End of FOOTER-->
<script type="text/javascript" src="http://code.jquery.com/jquery-1.7.0.min.js"></script>
<script type="text/javascript" src="js/jquery.tooltipster.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.tooltip').tooltipster();
});
</script>
<script type="text/javascript" src="js/selectnav.min.js"></script>
<script type="text/javascript">
selectnav('nav', {
label: '-Navigation-',
nested: true,
indent: '-'
});
</script>
<script src="js/pgwslider.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.pgwSlider').pgwSlider({
intervalDuration: 5000
});
});
</script>
<script type="text/javascript" src="js/placeholder_support_IE.js"></script>
</body>
</html>