Guest User

Untitled

a guest
Feb 12th, 2013
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php global $SMTheme;
  2. if (preg_match('/mobi/i', $_SERVER['HTTP_USER_AGENT'])) echo '<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">'."\r\n";
  3. else echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-transitional.dtd">'."\r\n";
  4. ?>
  5. <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
  6. <head profile="http://gmpg.org/xfn/11">
  7.  
  8.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  9.    
  10.     <?php $SMTheme->show_title(); ?>
  11.  
  12.     <?php  wp_head(); ?>
  13.    
  14.     <style type="text/css"><?php echo $SMTheme->get( 'integration','css' )?></style>
  15.    
  16.     <?php echo $SMTheme->get( 'integration','headcode' ); ?>
  17.    
  18.    
  19. </head>
  20.  
  21. <body
  22.  
  23. <?php $class=$SMTheme->block_slider_css(); $class.=' '.$SMTheme->sidebars_type; body_class( $class ); ?> layout='<?php echo $SMTheme->layout; ?>'>
  24.  
  25. <div id='scrollUp'><img src='<?php echo get_template_directory_uri().'/images/smt/arrow-up.png';?>' alt='Up' title='Scroll window up' /></div>
  26.  
  27. <div id='all'>
  28. <div id='header'>
  29.  
  30. <?php
  31. global $seopilot;
  32. define('SEOPILOT_USER', 'xxxxxxxxxxxxxxxxxxxxxxxxxxx');
  33. require_once($_SERVER['DOCUMENT_ROOT'].'/'.SEOPILOT_USER.'/SeoPilotClient.php');
  34. $seopilot = new SeoPilotClient();
  35. ?> 
  36.  
  37.     <div class='container clearfix'>
  38.    
  39.         <div id='secondarymenu-container'>
  40.  
  41.             <div id="logo">
  42.                 <?php $SMTheme->block_logo();?>
  43.             </div>
  44.            
  45.             <div class="menusearch" title="">
  46.                 <?php get_search_form(); ?>
  47.             </div>
  48.            
  49.             <div id='menu-box'>
  50.             <div id='secondarymenu'>
  51.                 <?php wp_nav_menu('depth=0&theme_location=sec-menu&container_class=menu-topmenu-container&menu_class=menus menu-topmenu&fallback_cb=block_sec_menu');   ?>
  52.             </div>
  53.             </div>
  54.            
  55.         </div>
  56.        
  57.         <div id='header-block'>
  58.             <?php smt_mobile_menu('sec-menu'); ?>
  59.         <?php smt_mobile_menu('main-menu'); ?>
  60.        
  61.         <div id='mainmenu-container'>
  62.                 <div id='mainmenu'>
  63.                     <?php $nav_menu_params=array(
  64.                         'depth'=>0,
  65.                         'theme_location'=>'main-menu',
  66.                         'menu_class'=>'menus menu-primary',
  67.                         'fallback_cb'=>'block_main_menu'
  68.                     );
  69.                     wp_nav_menu($nav_menu_params); ?>
  70.                 </div>
  71.             </div>
  72.             <?php
  73.             if ((is_front_page()&&$SMTheme->get( 'slider', 'homepage'))||(!is_front_page()&&$SMTheme->get( 'slider', 'innerpage'))) {?>
  74.                 <div class='slider-container'>
  75.                     <div class='slider-bgr'></div>
  76.                     <?php $SMTheme->block_slider(); ?>
  77.                 </div><?php
  78.             }?>
  79.        
  80.         </div>
  81.        
  82.        
  83.     </div>
  84. </div>
  85.  
  86. <div id='content-top' class='container'></div>
  87. <div id='content'>
  88.     <div class='container clearfix'>
Advertisement
Add Comment
Please, Sign In to add comment