-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheader.php
executable file
·104 lines (83 loc) · 4.5 KB
/
header.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
<!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" xmlns:v="urn:schemas-microsoft-com:vml">
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title><?php wp_title('«', true, 'right'); ?> <?php bloginfo('name'); ?></title>
<?php wp_head(); ?>
<!--[if lt IE 9]>
<script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>
<![endif]-->
<!-- <script src="<?php bloginfo('stylesheet_directory'); ?>/js/jquery.js" type="text/javascript"></script>-->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" title="no title" charset="utf-8"/>
<?php
locate_template( 'includes/Mobile_Detect.php', true );
$detect = new Mobile_Detect;
if($detect->isiphone()){ ?>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/iphone.css" type="text/css" media="screen" title="no title" charset="utf-8"/>
<?php }
if($detect->isiPad()){ ?>
<link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/ipad.css" type="text/css" media="screen" title="no title" charset="utf-8"/>
<?php } ?>
<script src="<?php bloginfo('stylesheet_directory'); ?>/js/scripts.js" type="text/javascript"></script>
</head>
<body>
<?php $shortname = "premium"; ?>
<?php if(get_option($shortname.'_custom_background_color','') != "") { ?>
<style type="text/css">
body { background-color: <?php echo get_option($shortname.'_custom_background_color',''); ?>; }
</style>
<?php } ?>
<div id="center_div">
<div id="main_container">
<div id="sidebar">
<?php if(get_option($shortname.'_custom_logo_url','') != "") { ?>
<a href="<?php bloginfo('url'); ?>"><img src="<?php echo stripslashes(stripslashes(get_option($shortname.'_custom_logo_url',''))); ?>" class="logo" alt="logo" style=""/></a>
<?php } else { ?>
<a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/logo.jpg" class="logo" alt="logo" /></a>
<?php } ?>
<ul class="" style="">
<li id="menu-item-744" class="menu-item menu-alone">
<a href="#" id="menu2">Menu</a></li></ul>
<!--
<ul>
<li><a href="#">HOME</a></li>
<li><a href="#">ABOUT</a></li>
<li><a href="#">BLOG</a></li>
<li><a href="#">CONTACT</a></li>
</ul>-->
<?php wp_nav_menu('menu=header_menu&container=false&menu_id=menu'); ?>
<!--
<ul>
<li><a href="#">GRAPHIC DESIGN</a></li>
<li><a href="#">ARCHITECTURE</a></li>
<li><a href="#">TYPOGRAPHY</a></li>
<li><a href="#">WEB DESIGN</a></li>
</ul>-->
<?php wp_nav_menu('menu=category_menu&container=false&menu_id=cat_menu'); ?>
<div class="clear"></div>
<div class="side_text_cont">
<?php echo stripslashes(stripslashes(get_option($shortname.'_side_text',''))); ?>
</div><!--//side_text_cont-->
<div class="side_social">
<?php if(get_option($shortname.'_twitter_link','') != "") { ?>
<a href="<?php echo get_option($shortname.'_twitter_link',''); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/twitter-icon.jpg" /></a>
<?php } ?>
<?php if(get_option($shortname.'_facebook_link','') != "") { ?>
<a href="<?php echo get_option($shortname.'_facebook_link',''); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/facebook-icon.jpg" /></a>
<?php } ?>
<?php if(get_option($shortname.'_google_plus_link','') != "") { ?>
<a href="<?php echo get_option($shortname.'_google_plus_link',''); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/google-plus-icon.jpg" /></a>
<?php } ?>
<?php if(get_option($shortname.'_dribbble_link','') != "") { ?>
<a href="<?php echo get_option($shortname.'_dribbble_link',''); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/dribbble-icon.jpg" /></a>
<?php } ?>
<?php if(get_option($shortname.'_pinterest_link','') != "") { ?>
<a href="<?php echo get_option($shortname.'_pinterest_link',''); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/pinterest-icon.jpg" /></a>
<?php } ?>
<div class="clear"></div>
</div><!--//side_social-->
</div><!--//sidebar-->
<div id="content_cont">