Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!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">
- <head>
- <?php
- // declare the new helper
- $helper = new Html();
- ?>
- <?php
- // print out the charset
- $helper->charset('utf-8');
- $helper->favicon();
- // print out the meta data
- the_meta_tags();
- ?>
- <title>
- <?php bloginfo('name'); wp_title('-', true);?>
- </title>
- <script type="text/javascript">
- var template_url = '<?php echo TEMPLATE_URL ?>';
- </script>
- <?php
- // css tag
- $helper->css('style.css');
- $helper->css('css/custom.css');
- // javascript tags
- $helper->js('jquery.js');
- $helper->js('validations.js');
- $helper->js('init.js');
- ?>
- <!--[if !IE]><!-->
- <?php $helper->css('css/corner.css');?>
- <!--<![endif]-->
- <!--[if IE 9]>
- <?php $helper->css('css/corner.css');?>
- <![endif]-->
- <!-- include fix corner border for ie -->
- <!--[if lt ie 9]>
- <?php $helper->js('jquery.curvycorners.js') ?>
- <?php $helper->js('curvycorners.js') ?>
- <?php $helper->js('ie.js')?>
- <?php $helper->css('css/ie.css'); ?>
- <![endif]-->
- <!--[if ie 7]>
- <script type="text/javascript">
- // <![CDATA[
- jQuery(document).ready(function(){
- jQuery('#top-search-butt').width(jQuery('#search-button').width() + 25);
- jQuery('#bottom-search-butt').width(jQuery('#bottom-search-button').width() + 50);
- });
- // ]]>
- </script>
- <![endif]-->
- <?php wp_head();?>
- </head>
- <?php
- $default_search = get_option('tgt_default_search');
- ?>
- <body>
- <div id="header">
- <div class="header_res">
- <div class="header_main">
- <div class="top">
- <div class="logo">
- <a href="<?php echo HOME_URL ?>">
- <?php
- echo $helper->image(get_option('tgt_logo'), 'logo');
- ?>
- </a>
- </div>
- <div class="main_menu">
- <div class="navi_list" id="navi_list">
- <ul>
- <?php
- the_auth_menu();
- ?>
- </ul>
- </div>
- <?php wp_nav_menu( array( 'container_class' => 'menu', 'theme_location' => 'header_location', 'menu' => 'header_menu' ) ); ?>
- </div>
- </div>
- <div class="search" id="search_panel" style="height:73px;margin-top:85px;">
- <div class="search_text">
- <p><?php _e('Welcome to', 'ad'); ?><span> <?php _e('Article Directory', 'ad')?></span></p>
- </div>
- <div class="search_box">
- <!-- Google Search -->
- <?php
- if ($default_search == GOOGLE_SEARCH) {
- /**
- * SHOW THE GOOGLE SEARCH
- **/
- ?>
- <form action="<?php echo HOME_URL . '/?action=g_search_result'?>" id="cse-search-box">
- <div id="advance_search">
- <?php echo $helper->link(__('Advance Search?', 'ad'), '?action=advanced_search');?>
- </div>
- <!-- -->
- <div class="box_input1"></div>
- <div class="box_input">
- <?php echo $helper->image('icon_google.gif', 'google_search')?>
- <input type="hidden" name="action" value="g_search_result"/>
- <input type="hidden" name="cx" value="<?php echo get_option(SETTING_SEARCH_GOOGLE_SEARCH_ID);?>" />
- <!-- <input type="hidden" name="cx" value="000883175454700452352:v9awvyefv-m" />-->
- <input type="hidden" name="cof" value="FORID:10" />
- <input type="hidden" name="ie" value="UTF-8" />
- <input id="search-content" type="text" name="q" size="40px" />
- </div>
- <div class="box_input2"></div>
- <div id="top-search-butt" class="butt">
- <input id="search-button" type="submit" value="<?php _e('Search', 'ad')?>" class="button" name="sa"/>
- </div>
- <script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&lang=en"></script>
- </form>
- <?php
- }else{
- /**
- * SHOW THE INNER SEARCH
- **/
- ?>
- <form action="<?php bloginfo('url');?>" id="inner-search=box">
- <div id="advance_search">
- <?php echo $helper->link('Advance Search?', '?action=advanced_search');?>
- </div>
- <!-- -->
- <div class="box_input1"></div>
- <div class="box_input">
- <input id="search-content" type="text" name="searchcontent" size="40px" style="width: 316px" value=""/>
- <input type="hidden" name="s" value="how" />
- </div>
- <div class="box_input2"></div>
- <div id="top-search-butt" class="butt">
- <input id="search-button" type="submit" value="<?php _e('Search', 'ad')?>" class="button" name="sa"/>
- </div>
- </form>
- <?php
- }
- ?>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- HEADER -->
- <script type="text/javascript">
- jQuery('.menu ul li:last').removeClass('menu-item').addClass("last_item");
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement