|
1 <?php global $scrn; ?> |
|
2 |
|
3 <!DOCTYPE html> |
|
4 |
|
5 <!--[if lt IE 7 ]><html style="margin-top: 0 !important" class="ie ie6" lang="en"> <![endif]--> |
|
6 |
|
7 <!--[if IE 7 ]><html style="margin-top: 0 !important" class="ie ie7" lang="en"> <![endif]--> |
|
8 |
|
9 <!--[if IE 8 ]><html style="margin-top: 0 !important" class="ie ie8" lang="en"> <![endif]--> |
|
10 |
|
11 <!--[if (gte IE 9)|!(IE)]><!--> <!--<![endif]--> |
|
12 |
|
13 <html style="margin-top: 0 !important" <?php language_attributes(); ?>> <!--<![endif]--> |
|
14 |
|
15 <head> |
|
16 |
|
17 <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> |
|
18 |
|
19 <title><?php wp_title('-');?></title> |
|
20 |
|
21 <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" /> |
|
22 |
|
23 <!-- Mobile Specific Metas |
|
24 |
|
25 ================================================== --> |
|
26 |
|
27 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> |
|
28 |
|
29 <!--[if lt IE 9]> |
|
30 |
|
31 <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> |
|
32 |
|
33 <![endif]--> |
|
34 |
|
35 |
|
36 |
|
37 <!--[if IE]> |
|
38 |
|
39 <link href="<?php echo get_stylesheet_directory_uri() . '/css/ie.css';?>" rel='stylesheet' type='text/css'> |
|
40 |
|
41 <![endif]--> |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 <?php wp_head(); global $scrn; |
|
48 |
|
49 if(isset($scrn['integration_header'])) echo $scrn['integration_header'] . PHP_EOL; ?> |
|
50 |
|
51 </head> |
|
52 |
|
53 <body <?php body_class();?>> |
|
54 |
|
55 |
|
56 |
|
57 <!-- Primary Page Layout |
|
58 |
|
59 ================================================== --> |
|
60 |
|
61 |
|
62 |
|
63 <div id="intro"> |
|
64 |
|
65 |
|
66 |
|
67 <div class="bg1"></div> |
|
68 |
|
69 |
|
70 |
|
71 <div class="title"> |
|
72 |
|
73 <div class="intro-line"></div> |
|
74 |
|
75 <?php if(isset($scrn['topheader_text']) && $scrn['topheader_text']) { ?> |
|
76 |
|
77 <h1><?php echo $scrn['topheader_text'];?></h1> |
|
78 |
|
79 <?php } ?> |
|
80 |
|
81 <?php if(isset($scrn['topheader_smalltext']) && $scrn['topheader_smalltext']) { ?> |
|
82 |
|
83 <h1 class="small"><?php echo $scrn['topheader_smalltext'];?></h1> |
|
84 |
|
85 <?php } ?> |
|
86 |
|
87 <div class="intro-line"></div> |
|
88 |
|
89 <?php if(isset($scrn['topheader_smallertext']) && $scrn['topheader_smallertext']) { ?> |
|
90 |
|
91 <p><?php echo $scrn['topheader_smallertext'];?></p> |
|
92 |
|
93 <?php } ?> |
|
94 |
|
95 <div class="social-intro"> |
|
96 |
|
97 <ul> |
|
98 |
|
99 <?php if(isset($scrn['twitter_username']) && $scrn['twitter_username'] != '') { ?><li><a href="http://twitter.com/<?php echo $scrn['twitter_username'];?>"><img src="<?php echo get_stylesheet_directory_uri();?>/images/icn-twitter-intro.png" alt="" /></a></li><?php } ?> |
|
100 |
|
101 <?php if(isset($scrn['facebook_url']) && $scrn['facebook_url'] != '') { ?><li><a href="<?php echo $scrn['facebook_url'];?>"><img src="<?php echo get_stylesheet_directory_uri();?>/images/icn-facebook-intro.png" alt="" /></a></li><?php } ?> |
|
102 |
|
103 <?php if(isset($scrn['gplus_url']) && $scrn['gplus_url'] != '') { ?><li><a href="<?php echo $scrn['gplus_url'];?>"><img src="<?php echo get_stylesheet_directory_uri();?>/images/icn-gplus-intro.png" alt="" /></a></li><?php } ?> |
|
104 |
|
105 <?php if(isset($scrn['linkedin_url']) && $scrn['linkedin_url'] != '') { ?><li><a href="<?php echo $scrn['linkedin_url'];?>"><img src="<?php echo get_stylesheet_directory_uri();?>/images/icn-linkedin-intro.png" alt="" /></a></li><?php } ?> |
|
106 |
|
107 <?php if(isset($scrn['dribble_url']) && $scrn['dribble_url'] != '') { ?><li><a href="<?php echo $scrn['dribble_url'];?>"><img src="<?php echo get_stylesheet_directory_uri();?>/images/icn-dribbble-intro.png" alt="" /></a></li><?php } ?> |
|
108 |
|
109 <?php if(isset($scrn['vimeo_url']) && $scrn['vimeo_url'] != '') { ?><li><a href="<?php echo $scrn['vimeo_url'];?>"><img src="<?php echo get_stylesheet_directory_uri();?>/images/icn-vimeo-intro.png" alt="" /></a></li><?php } ?> |
|
110 |
|
111 <?php if(isset($scrn['pinterest_url']) && $scrn['pinterest_url'] != '') { ?><li><a href="<?php echo $scrn['pinterest_url'];?>"><img src="<?php echo get_stylesheet_directory_uri();?>/images/icn-pinterest-intro.png" alt="" /></a></li><?php } ?> |
|
112 |
|
113 </ul> |
|
114 |
|
115 </div> |
|
116 |
|
117 </div> <!-- end title --> |
|
118 |
|
119 </div> <!-- end intro --> |
|
120 |
|
121 |
|
122 |
|
123 <nav> |
|
124 |
|
125 <?php wp_nav_menu(array( |
|
126 |
|
127 'theme_location' => 'top-menu', |
|
128 |
|
129 'container' => '', |
|
130 |
|
131 'fallback_cb' => 'show_top_menu', |
|
132 |
|
133 'echo' => true, |
|
134 |
|
135 'walker' => new description_walker(), |
|
136 |
|
137 'depth' => 1 ) ); ?> |
|
138 |
|
139 </nav> |