-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.php
65 lines (55 loc) · 2.79 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
<?php header('X-UA-Compatible: chrome=1');?>
<!doctype html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js ie6 oldie"<?php language_attributes(); ?>> <![endif]-->
<!--[if IE 7]> <html class="no-js ie7 oldie"<?php language_attributes(); ?>> <![endif]-->
<!--[if IE 8]> <html class="no-js ie8 oldie"<?php language_attributes(); ?>> <![endif]-->
<!--[if gt IE 8]><!--><html <?php language_attributes(); ?> ><!--<![endif]-->
<?php
// checks if the index has been modified by a template file.
$layout ='';
global $elementtemplate;
if (isset($elementtemplate)) {$layout = $elementtemplate;}
// checks for demo mode
if (of_get_option('demo',false ) == true){include "includes/demo.php";}
// retrieves the header <head> tag.
get_header();
// Top halve of the page.?>
<div id='topofscreen'>
<?php
// Logo or Alternate text Logo
include "includes/top-header.php";
// Navigation
?>
<div id='navigationpadding'><!-- Navigation padding for the scrolling effect --></div>
</div>
<?php include "includes/navigation.php"; ?>
<section class='slate <?php
if (of_get_option('contentwidth',true)== true) {echo "contentwidthwide";
}
else {echo "contentwidththin";}
?>'>
<div class='container' style='position:relative;'>
<div id='ajaxloader'><!-- Ajax loader image--></div>
</div>
<section id='container' >
<?php //Everything within this section element
if ($layout == 'landing')
{include "includes/landing-loop.php";}
else {include "includes/the-loop.php";}?>
</section>
</section><!-- end of slate -->
<div id='artscreen'><!-- This is the art screen --></div>
<?php
// loads scripts set to load in the footer.
get_footer();
wp_footer();
?>
<!-- Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6. chromium.org/developers/how-tos/chrome-frame-getting-started -->
<!--[if lt IE 7 ]>
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
<script>window.attachEvent("onload",function(){CFInstall.check({mode:"overlay"})})</script>
<![endif]-->
<!-- WP REQUIRES <?php posts_nav_link(); comment_form(); wp_link_pages( ); ?>-->
</body>
</html>