|
Server : Apache System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64 User : njnconst ( 1116) PHP Version : 8.4.18 Disable Function : NONE Directory : /home/njnconst/public_html/cd/wp-content/themes/building/ |
Upload File : |
<?php
global $SMTheme;
if ( isset($_POST['ajaxpage'])&&$_POST['ajaxpage']=='1' ) {
ob_start();
get_template_part('theloop');
get_template_part('navigation');
$return['content']=ob_get_contents();
ob_end_clean();
header('Content-type: application/json');
echo json_encode($return);
die();
}
$SMTheme->get_layout();
echo '<!DOCTYPE html>'."\r\n";
?>
<html <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width" />
<title><?php wp_title( false ); ?></title>
<?php $SMTheme->seo(); ?>
<?php wp_head(); ?>
<style type="text/css"><?php echo $SMTheme->get( 'integration','css' )?></style>
<?php echo $SMTheme->get( 'integration','headcode' ); ?>
</head>
<body <?php $class=$SMTheme->block_slider_css(); $class.=' '.$SMTheme->sidebars_type; body_class( $class ); ?> layout='<?php echo $SMTheme->layout; ?>'>
<div id='scrollUp'><img src='<?php echo get_template_directory_uri().'/images/smt/arrow-up.png';?>' alt='Up' title='Scroll window up' /></div>
<div id='all'>
<div id='header'>
<div class='container clearfix'>
<div id='secondarymenu-container'>
<div id="logo">
<?php $SMTheme->block_logo();?>
</div>
<div id='menu-box'>
<div id='secondarymenu'>
<?php $nav_menu_params=array(
'depth'=>0,
'theme_location'=>'main-menu',
'menu_class'=>'menus menu-primary',
'fallback_cb'=>'block_main_menu'
);
wp_nav_menu($nav_menu_params); ?>
</div>
</div>
</div>
<?php smt_mobile_menu('sec-menu'); ?>
<?php smt_mobile_menu('main-menu'); ?>
<div id='header-block'>
<div id='mainmenu-container'>
<div class="menusearch" title="">
<?php get_search_form(); ?>
</div>
<div id='mainmenu'>
<?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'); ?>
</div>
</div>
<?php
if ((is_front_page()&&$SMTheme->get( 'slider', 'homepage'))||(!is_front_page()&&$SMTheme->get( 'slider', 'innerpage'))) {?>
<div class='slider-container'>
<div class='slider-bgr'></div>
<?php $SMTheme->block_slider(); ?>
</div><?php
}?>
</div>
</div>
</div>
<div id='content-top' class='container'></div>
<div id='content'>
<div class='container clearfix'>
<?php get_sidebar(); ?>
<div id="main_content">