-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
executable file
·362 lines (276 loc) · 18.9 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
<?php if (substr_count($_SERVER['HTTP_ACCEPT_ENCODING'], 'gzip')) ob_start("ob_gzhandler"); else ob_start(); ?>
<?php $page = basename($_SERVER['SCRIPT_NAME']); ?>
<!DOCTYPE html><!-- G5Framework -->
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
<head>
<meta charset="UTF-8">
<title>HTML5 Front-End Development Framework | G5 Framework</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="author" content="Greg Babula" />
<meta name="copyright" content="© 2011 Greg Babula" />
<meta name="description" content="G5 Framework is a HTML5, CSS3, PHP & jQuery Front-End Development framework created by Greg Babula." />
<meta name="robots" content="index,follow" />
<meta name="robots" content="noodp" />
<link rel="canonical" href="http://framework.gregbabula.info" />
<link rel="author" href="humans.txt" />
<link rel="shortcut icon" href="assets/favicon.ico" />
<link rel="apple-touch-icon" href="assets/favicon.png" />
<link rel="stylesheet" media="screen" href="css/base.css?v=2" /> <!--Load CSS-->
<link rel="stylesheet" media="handheld" href="css/handheld.css?v=2" /> <!-- Mobile -->
<script src="js/libs/modernizr-1.6.min.js"></script> <!-- Modernizr -->
</head>
<body>
<div id="wrapper">
<header id="top">
<h1 id="logo"><a href="<?php echo $page; ?>"><span class="hidden">G5 Framework - HTML5 Front-End Development Framework</span></a></h1>
<nav>
<ul>
<li><a href="http://g5framework.com" class="<?php if ($page == 'index.php') { ?>active<?php } ?>">Home</a></li>
<li><a href="#introduction">Introduction</a></li>
<li><a href="http://gregbabula.info/framework.php">Discussion & Support</a></li>
<li><a href="#" class="button orange" data-reveal-id="download-modal">Download</a></li>
</ul>
</nav>
</header><!--end #top-->
<section class="content">
<div id="featured" class="btmspc">
<img src="images/slides/1.png" />
<img src="images/slides/2.png" alt="HTML Captions" data-caption="#caption-2" />
<!--<span class="orbit-caption" id="caption-2">I'm A Badass Caption</span>-->
</div><!--end #featured-->
<section class="cols vis-break brdr cntrtxt btmspc-dbl">
<h1>(X)HTML5, CSS3, PHP & jQuery Front-End Framework</h1>
<img src="images/browser_logos-64.png" width="353" height="66" alt="Browsers" class="topspc tooltip" title="Cross Browser Compatible" />
</section><!--end .cols-->
<section class="cols cols4 btmspc-dbl">
<article class="col col2 first">
<h6 id="introduction">Introduction</h6>
<p>G5 Framework started as a <a href="http://gregbabula.info" target="_blank">personal</a> project. In an attempt to speed up workflow, reuse the best coding practices & similar coding techniques, the framework serves as a starter file for new websites.</p>
<p>Being an active member of the web design community, this framework is a result of a ton of reading and research. For over a year the framework was constantly changed, simplified, and updated with current best practices. The framework is very lightweight and only includes what I believe are the essentials.</p>
<p>The framework is free for personal & commercial use as long as <a href="humans.txt" target="_blank"><mark>humans.txt</mark></a> remains unchanged & in the index head. Don't worry, you can add your team information in there also.</p>
<p><mark>All questions, comments, and suggestions regarding the framework can be directed <a href="http://gregbabula.info/framework.php" class="rgt-arw">here</a></mark></p>
</article>
<article class="col side-nav">
<h6>Packed With</h6>
<ul>
<li><a href="http://www.modernizr.com" target="_blank">Modernizr 1.6</a></li>
<li><a href="http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded" target="_blank">Eric Meyer's Reset Reloaded</a></li>
<li><a href="http://docs.jquery.com/Downloading_jQuery" target="_blank">jQuery 1.5.2</a> with fallback</li>
<li><a href="http://www.css3pie.com" target="_blank">CSS3 PIE</a></li>
<li><a href="http://webdesignerwall.com/tutorials/css3-gradient-buttons" target="_blank">CSS3 Buttons</a></li>
<li><a href="http://cssglobe.com/post/9849/easy-percentage-grid-system-with-html5" target="_blank">Easy Grid</a></li>
<li>IE6 PNG Fix + <a href="http://ie6update.com" target="_blank">IE6 Update</a></li>
<li><a href="https://github.com/jaz303/tipsy" target="_blank">Tipsy Tool Tips</a></li>
<li><a href="http://www.zurb.com/playground/reveal-modal-plugin" target="_blank">Reveal Modals</a></li>
<li><a href="http://www.zurb.com/playground/orbit-jquery-image-slider" target="_blank">Orbit Image Slider</a></li>
</ul>
</article>
<aside class="col side-nav">
<h6>Framework Features</h6>
<ul>
<li>HTML5 baseline</li>
<li>Base CSS</li>
<li>PHP Active Class</li>
<li>Smooth Scroll to Top</li>
<li>HTML5 Placeholder Fallback</li>
<li>Base SEO</li>
<li>Based on a F Layout</li>
<li>Sticky Footer</li>
<li>Clean Organization</li>
<li><a href="http://gregbabula.info/framework.php">And More…</a></li>
</ul>
</aside>
</section><!--end .cols cols3-->
<section class="cols vis-break brdr cntrtxt btmspc-dbl topspc">
<h3 class="topspc btmspc">Free for personal & commercial use as long as <a href="humans.txt" target="_blank"><mark>humans.txt</mark></a><br />remains unchanged & in the index head.</h3>
<a href="http://framework.gregbabula.info/assets/g5framework.zip" class="button orange tooltip-fade btmspc" title="Download Zip"><img src="images/save_64.png" width="64" height="64" alt="Download Zip" /></a>
</section><!--end .cols-->
<section class="cols">
<article class="col first">
<h6>Column 1</h6>
<p>Vivamus nunc tortor, consequat in porta nec, suscipit lacinia dui. Nulla viverra bibendum nisi,
sit amet ullamcorper nibh euismod at. Integer vehicula tempor metus eu dignissim.</p>
</article>
<article class="col">
<h6>Column 2</h6>
<p>Vivamus nunc tortor, consequat in porta nec, suscipit lacinia dui. Nulla viverra bibendum nisi,
sit amet ullamcorper nibh euismod at. Integer vehicula tempor metus eu dignissim.</p>
</article>
</section><!--end .cols-->
<section class="cols cols3">
<article class="col first">
<h6>Column 1</h6>
<p>Vivamus nunc tortor, consequat in porta nec, suscipit lacinia dui. Nulla viverra bibendum nisi,
sit amet ullamcorper nibh euismod at. Integer vehicula tempor metus eu dignissim.</p>
</article>
<article class="col">
<h6>Column 2</h6>
<p>Vivamus nunc tortor, consequat in porta nec, suscipit lacinia dui. Nulla viverra bibendum nisi,
sit amet ullamcorper nibh euismod at. Integer vehicula tempor metus eu dignissim.</p>
</article>
<article class="col">
<h6>Column 3</h6>
<p>Vivamus nunc tortor, consequat in porta nec, suscipit lacinia dui. Nulla viverra bibendum nisi,
sit amet ullamcorper nibh euismod at. Integer vehicula tempor metus eu dignissim.</p>
</article>
</section><!--end .cols cols3-->
<section class="cols cols4">
<article class="col first">
<h6>Column 1</h6>
<p>Vivamus nunc tortor, consequat in porta nec, suscipit lacinia dui. Nulla viverra bibendum nisi,
sit amet ullamcorper nibh euismod at. Integer vehicula tempor metus eu dignissim.</p>
</article>
<article class="col">
<h6>Column 2</h6>
<p>Vivamus nunc tortor, consequat in porta nec, suscipit lacinia dui. Nulla viverra bibendum nisi,
sit amet ullamcorper nibh euismod at. Integer vehicula tempor metus eu dignissim.</p>
</article>
<article class="col">
<h6>Column 3</h6>
<p>Vivamus nunc tortor, consequat in porta nec, suscipit lacinia dui. Nulla viverra bibendum nisi,
sit amet ullamcorper nibh euismod at. Integer vehicula tempor metus eu dignissim.</p>
</article>
<article class="col">
<h6>Column 4</h6>
<p>Vivamus nunc tortor, consequat in porta nec, suscipit lacinia dui. Nulla viverra bibendum nisi,
sit amet ullamcorper nibh euismod at. </p>
</article>
</section><!--end .cols cols4-->
<section class="cols cols5">
<article class="col first">
<h6>Column 1</h6>
<p>Vivamus nunc tortor, consequat in porta nec, suscipit lacinia dui. Nulla viverra bibendum nisi,
sit amet ullamcorper nibh euismod at. Integer vehicula tempor metus eu dignissim.</p>
</article>
<article class="col">
<h6>Column 2</h6>
<p>Vivamus nunc tortor, consequat in porta nec, suscipit lacinia dui. Nulla viverra bibendum nisi,
sit amet ullamcorper nibh euismod at. Integer vehicula tempor metus eu dignissim.</p>
</article>
<article class="col">
<h6>Column 3</h6>
<p>Vivamus nunc tortor, consequat in porta nec, suscipit lacinia dui. Nulla viverra bibendum nisi,
sit amet ullamcorper nibh euismod at. Integer vehicula tempor metus eu dignissim.</p>
</article>
<article class="col">
<h6>Column 4</h6>
<p>Vivamus nunc tortor, consequat in porta nec, suscipit lacinia dui. Nulla viverra bibendum nisi,
sit amet ullamcorper nibh euismod at. </p>
</article>
<article class="col">
<h6>Column 5</h6>
<p>Vivamus nunc tortor, consequat in porta nec, suscipit lacinia dui. Nulla viverra bibendum nisi,
sit amet ullamcorper nibh euismod at. </p>
</article>
</section><!--end .cols cols5-->
<section class="cols cols6">
<article class="col first">
<h6>Column 1</h6>
<p>Vivamus nunc tortor, consequat in porta nec, suscipit lacinia dui. Nulla viverra bibendum nisi,
sit amet ullamcorper nibh euismod at. Integer vehicula tempor metus eu dignissim.</p>
</article>
<article class="col">
<h6>Column 2</h6>
<p>Vivamus nunc tortor, consequat in porta nec, suscipit lacinia dui. Nulla viverra bibendum nisi,
sit amet ullamcorper nibh euismod at. Integer vehicula tempor metus eu dignissim.</p>
</article>
<article class="col">
<h6>Column 3</h6>
<p>Vivamus nunc tortor, consequat in porta nec, suscipit lacinia dui. Nulla viverra bibendum nisi,
sit amet ullamcorper nibh euismod at. Integer vehicula tempor metus eu dignissim.</p>
</article>
<article class="col">
<h6>Column 4</h6>
<p>Vivamus nunc tortor, consequat in porta nec, suscipit lacinia dui. Nulla viverra bibendum nisi,
sit amet ullamcorper nibh euismod at. </p>
</article>
<article class="col">
<h6>Column 5</h6>
<p>Vivamus nunc tortor, consequat in porta nec, suscipit lacinia dui. Nulla viverra bibendum nisi,
sit amet ullamcorper nibh euismod at. </p>
</article>
<article class="col">
<h6>Column 6</h6>
<p>Vivamus nunc tortor, consequat in porta nec, suscipit lacinia dui. Nulla viverra bibendum nisi,
sit amet ullamcorper nibh euismod at. </p>
</article>
</section><!--end .cols cols6-->
<div id="download-modal" class="reveal-modal xlarge">
<section class="vis-break brdr cntrtxt">
<h3 class="topspc btmspc">Free for personal & commercial use as long as <a href="humans.txt" target="_blank"><mark>humans.txt</mark></a><br />remains unchanged & in the index head.</h3>
<a href="http://framework.gregbabula.info/assets/g5framework.zip" class="button orange tooltip-fade btmspc" title="Download Zip"><img src="images/save_64.png" width="64" height="64" alt="Download Zip" /></a>
</section><!--end .cols-->
<a class="close-reveal-modal">×</a>
</div><!--end #download-modal-->
</section><!--end section.content-->
<footer id="bottom">
<nav>
<ul>
<li><a href="#top" class="button gray return-top up-arw">Return To Top</a></li>
<li><a href="http://gregbabula.info/framework.php" class="button rosy rgt-arw">Discussion & Support</a></li>
<li><a href="#" class="button orange dwn-arw" data-reveal-id="download-modal">Download</a></li>
</ul>
</nav>
<p><a href="http://g5framework.com"><strong>G5 Framework</strong></a> // Copyright © <?php echo date("Y"); ?> <a href="http://gregbabula.info">Greg Babula</a></p>
</footer><!--end #bottom-->
</div><!--end #wrapper-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script><!--Load jQuery-->
<script>!window.jQuery && document.write(unescape('%3Cscript src="js/libs/jquery-1.5.2.min.js"%3E%3C/script%3E'))</script>
<script src="js/script.js"></script>
<script src="js/jquery.tipsy.js"></script>
<script src="js/jquery.reveal.js"></script>
<script src="js/jquery.orbit.min.js"></script>
<script>
$(window).load(function() {
$('#featured').orbit({
animation: 'vertical-slide', // fade, horizontal-slide, vertical-slide, horizontal-push
animationSpeed: 1000,
timer: true,
advanceSpeed: 4000, // if timer is enabled, time between transitions
pauseOnHover: false, // if you hover pauses the slider
startClockOnMouseOut: false, // if clock should start on MouseOut
startClockOnMouseOutAfter: 1000, // how long after MouseOut should the timer start again
directionalNav: false, // manual advancing directional navs
captions: true, // do you want captions?
captionAnimation: 'fade', // fade, slideOpen, none
captionAnimationSpeed: 800, // if so how quickly should they animate in
bullets: false, // true or false to activate the bullet navigation
bulletThumbs: false, // thumbnails for the bullets
bulletThumbLocation: '', // location from this file where thumbs will be
afterSlideChange: function(){} // empty function
});
});
</script>
<!--[if lt IE 7 ]>
<script src="js/libs/dd_belatedpng.js"></script>
<script> DD_belatedPNG.fix('img, .png_bg');</script>
<![endif]-->
<!--[if IE 6]>
<script type="text/javascript">
/*Load jQuery if not already loaded*/ if(typeof jQuery == 'undefined'){ document.write("<script type=\"text/javascript\" src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js\"></"+"script>"); var __noconflict = true; }
var IE6UPDATE_OPTIONS = {
icons_path: "js/ie6update/images/"
}
</script>
<script type="text/javascript" src="js/ie6update/ie6update.js"></script>
<![endif]-->
<!--Google Analytics-->
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-11669243-11']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<!--Google Analytics-->
</body>
</html>