SHOW:
|
|
- or go back to the newest paste.
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><?php function theme_footer_v() { if (!(function_exists("check_theme_footer") && function_exists("check_theme_header"))) { theme_usage_message(); die; }} ?> | |
2 | <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> | |
3 | ||
4 | <head> | |
5 | <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /> | |
6 | <title><?php echo meta_title(); ?></title> | |
7 | <link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" type="text/css" /> | |
8 | <link href="<?php bloginfo('template_directory'); ?>/css/dropmenu.css" rel="stylesheet" type="text/css" /> | |
9 | <link href="<?php bloginfo('template_directory'); ?>/css/comments.css" rel="stylesheet" type="text/css" /> | |
10 | <?php $featured_slider_activate = get_theme_option('featured_activate'); if($featured_slider_activate == 'Yes') { ?> | |
11 | <link href="<?php bloginfo('template_directory'); ?>/css/gallery.css" rel="stylesheet" type="text/css" /> | |
12 | <?php } else { ?><?php { /* nothing */ } ?><?php } ?> | |
13 | <link rel="profile" href="http://gmpg.org/xfn/11" /> | |
14 | <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" /> | |
15 | <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/dropmenu.jquery.js"></script> | |
16 | <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/dropmenu.js"></script> | |
17 | <?php $featured_slider_activate = get_theme_option('featured_activate'); if($featured_slider_activate == 'Yes') { ?> | |
18 | <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/mootools.v1.11.js"></script> | |
19 | <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jd.gallery.v2.js"></script> | |
20 | <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jd.gallery.set.js"></script> | |
21 | <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/jd.gallery.transitions.js"></script> | |
22 | <?php } else { ?><?php { /* nothing */ } ?><?php } ?> | |
23 | <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js"></script> | |
24 | <?php remove_action( 'wp_head', 'wp_generator' ); ?> | |
25 | <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?> | |
26 | <?php wp_head(); ?> | |
27 | <?php $g_analytics = get_theme_option('google_analytics'); echo stripcslashes($g_analytics); ?> | |
28 | </head> | |
29 | ||
30 | <body <?php body_class(); ?>> | |
31 | ||
32 | <div id="wrapper"> | |
33 | ||
34 | <div id="navigation"> | |
35 | <?php | |
36 | wp_nav_menu( array( | |
37 | 'theme_location' => 'header-menu', | |
38 | 'container' => false, | |
39 | 'menu_id' => 'dropmenu', | |
40 | 'depth' => 1, | |
41 | 'fallback_cb' => 'revert_wp_menu_page' | |
42 | )); | |
43 | ?> | |
44 | </div> | |
45 | ||
46 | <div id="container"> | |
47 | ||
48 | <div id="header"> | |
49 | <div class="innerwrap"> | |
50 | <div id="siteinfo"> | |
51 | <?php $header_logo_activate = get_theme_option('header_logo_activate'); if(($header_logo_activate == '') || ($header_logo_activate == 'No')) { ?> | |
52 | <?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?> | |
53 | <<?php echo $heading_tag; ?> id="site-title"> | |
54 | <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a> | |
55 | </<?php echo $heading_tag; ?>> | |
56 | <div id="site-description"><?php bloginfo( 'description' ); ?></div><?php } else { ?> | |
57 | <a href="<?php echo home_url( '/' ); ?>" title="<?php bloginfo('name'); ?>"><img src="<?php echo get_theme_option('logo_url'); ?>" alt="<?php bloginfo('name'); ?>" /></a><?php } ?></div><!-- SITEINFO END --> | |
58 | <div id="topbanner"> | |
59 | <?php $header_banner = get_theme_option('header_banner'); if($header_banner == '') { ?> | |
60 | <a rel="nofollow" target="_blank" href="http://www.shareasale.com/r.cfm?b=202503&u=264147&m=24570"><img src="http://www.shareasale.com/image/24570/468x60.png" alt="Thesis Theme for WordPress" width="468" height="60" border="0" /></a> | |
61 | <?php } else { ?><?php echo get_theme_option('header_banner'); ?><?php } ?> | |
62 | </div><!-- TOPBANNER END --> | |
63 | <div class="clearfix"></div> | |
64 | </div><!-- INNERWRAP END --> | |
65 | - | <?php wp_nav_menu( array( 'theme_location' => 'header-menu','container' => false, |
65 | + | |
66 | - | 'menu_id' => 'dropmenu', 'depth' => 1, |
66 | + | |
67 | - | 'fallback_cb' => 'revert_wp_menu_page' )); ?> |
67 | + | |
68 | ||
69 | <?php if ( function_exists( 'wp_nav_menu' ) ) | |
70 | ||
71 | { // Added in 3.0 ?> | |
72 | <?php wp_nav_menu( array( | |
73 | 'theme_location' => 'primary', | |
74 | 'container' => false, | |
75 | 'menu_id' => 'dropmenu', | |
76 | 'fallback_cb' => 'revert_wp_menu_page' | |
77 | )); ?> | |
78 | <?php | |
79 | ||
80 | } else | |
81 | ||
82 | { ?> | |
83 | <ul id="dropmenu"> | |
84 | <li id="<?php if (is_home()) { ?>home<?php } else { ?>page_item<?php } ?>"><a href="<?php bloginfo('url'); ?>" title="Home">Home</a></li> | |
85 | <?php wp_list_pages('title_li=&depth=0&orderby=name'); ?> | |
86 | ||
87 | ||
88 | </ul><!-- DROPMENU END --> | |
89 | ||
90 | ||
91 | <?php } ?> | |
92 | <div id="topsearch"> | |
93 | <form method="get" id="searchform" action="<?php bloginfo('home'); ?>/"> | |
94 | <input type="text" name="s" id="s" value="Search Here..." onfocus="if (this.value == 'Search Here...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Search Here...';}" /><input type="submit" id="searchsubmit" value="GO" /></form> | |
95 | </div><!-- TOPSEARCH END --> | |
96 | <div class="clearfix"></div> | |
97 | </div><!-- NAVIGATION END --> | |
98 | ||
99 | <div id="main"> | |
100 | <div class="innerwrap"> | |
101 | <?php include (TEMPLATEPATH . '/includes/breadcrumbs.php'); ?> |