Loading...

font


<?php
if($registry->has('theme_options') == false) { 
header("location: themeinstall/index.php"); 
exit; 
 
$theme_options = $registry->get('theme_options');
$config = $registry->get('config');
$request = $registry->get('request');
$page_direction = $theme_options->get( 'page_direction' ); $language_id = $config->get( 'config_language_id' );
 
require_once( DIR_TEMPLATE.$config->get('theme_' . $config->get('config_theme') . '_directory')."/lib/module.php" );
$modules_old_opencart = new Modules($registry);
?>
<?php // For page specific css
if (isset($request->get['route'])) {
if (isset($request->get['product_id'])) {
$class = '-' . $request->get['product_id'];
} elseif (isset($request->get['path'])) {
$class = '-' . $request->get['path'];
} elseif (isset($request->get['manufacturer_id'])) {
$class = '-' . $request->get['manufacturer_id'];
} elseif (isset($request->get['information_id'])) {
$class = '-' . $request->get['information_id'];
} else {
$class = '';
}
 
$klasa = str_replace('/', '-', $request->get['route']) . $class;
} else {
$klasa = 'common-home';
} ?>
<?php if(!isset($page_direction[$language_id])) {
$page_direction[$language_id] = false;
} ?>
<!DOCTYPE html>
<!--[if IE 7]> <html lang="<?php echo $lang; ?>" class="ie7 <?php if($theme_options->get( 'responsive_design' ) == '0') { echo 'no-'; } ?>responsive<?php echo ($page_direction[$language_id] == 'RTL' ? ' rtl' : '' ) ?>" <?php echo ($page_direction[$language_id] == 'RTL' ? 'dir="rtl"' : '' ) ?>> <![endif]-->  
<!--[if IE 8]> <html lang="<?php echo $lang; ?>" class="ie8 <?php if($theme_options->get( 'responsive_design' ) == '0') { echo 'no-'; } ?>responsive<?php echo ($page_direction[$language_id] == 'RTL' ? ' rtl' : '' ) ?>" <?php echo ($page_direction[$language_id] == 'RTL' ? 'dir="rtl"' : '' ) ?>> <![endif]-->  
<!--[if IE 9]> <html lang="<?php echo $lang; ?>" class="ie9 <?php if($theme_options->get( 'responsive_design' ) == '0') { echo 'no-'; } ?>responsive<?php echo ($page_direction[$language_id] == 'RTL' ? ' rtl' : '' ) ?>" <?php echo ($page_direction[$language_id] == 'RTL' ? 'dir="rtl"' : '' ) ?>> <![endif]-->  
<!--[if !IE]><!--> <html lang="<?php echo $lang; ?>" class="<?php if($theme_options->get( 'responsive_design' ) == '0') { echo 'no-'; } ?>responsive<?php echo ($page_direction[$language_id] == 'RTL' ? ' rtl' : '' ) ?>" <?php echo ($page_direction[$language_id] == 'RTL' ? 'dir="rtl"' : '' ) ?>> <!--<![endif]-->  
<head>
<title><?php echo $title; ?></title>
<base href="<?php echo $base; ?>" />
 
<!-- Meta -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<?php if($theme_options->get( 'responsive_design' ) != '0') { ?>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<?php } ?>
<?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>" />
<?php } ?>
<?php if ($keywords) { ?>
<meta name="keywords" content="<?php echo $keywords; ?>" />
<?php } ?>
 
<link rel= "canonical" href = "https://www.mitelove.com/blog" />
<?php foreach ($links as $link) { ?>
<link href="<?php echo $link['href']; ?>" rel="<?php echo $link['rel']; ?>" />
<?php } ?>
<!-- Google Fonts -->
<link href="//fonts.googleapis.com/css?family=Poppins:300,400,500,600,700" rel="stylesheet" type="text/css">
<?php 
if( $theme_options->get( 'font_status' ) == '1' ) {
$lista_fontow = array();
if( $theme_options->get( 'body_font' ) != '' && $theme_options->get( 'body_font' ) != 'standard' && $theme_options->get( 'body_font' ) != 'Arial' && $theme_options->get( 'body_font' ) != 'Georgia' && $theme_options->get( 'body_font' ) != 'Times New Roman' ) {
$font = $theme_options->get( 'body_font' );
$lista_fontow[$font] = $font;
}
if( $theme_options->get( 'categories_bar' ) != '' && $theme_options->get( 'categories_bar' ) != 'standard' && $theme_options->get( 'categories_bar' ) != 'Arial' && $theme_options->get( 'categories_bar' ) != 'Georgia' && $theme_options->get( 'categories_bar' ) != 'Times New Roman' ) {
$font = $theme_options->get( 'categories_bar' );
if(!isset($lista_fontow[$font])) {
$lista_fontow[$font] = $font;
}
}
if( $theme_options->get( 'categories_submenu_heading' ) != '' && $theme_options->get( 'categories_submenu_heading' ) != 'standard' && $theme_options->get( 'categories_submenu_heading' ) != 'Arial' && $theme_options->get( 'categories_submenu_heading' ) != 'Georgia' && $theme_options->get( 'categories_submenu_heading' ) != 'Times New Roman' ) {
$font = $theme_options->get( 'categories_submenu_heading' );
if(!isset($lista_fontow[$font])) {
$lista_fontow[$font] = $font;
}
}
if( $theme_options->get( 'categories_box_heading' ) != '' && $theme_options->get( 'categories_box_heading' ) != 'standard' && $theme_options->get( 'categories_box_heading' ) != 'Arial' && $theme_options->get( 'categories_box_heading' ) != 'Georgia' && $theme_options->get( 'categories_box_heading' ) != 'Times New Roman' ) {
$font = $theme_options->get( 'categories_box_heading' );
if(!isset($lista_fontow[$font])) {
$lista_fontow[$font] = $font;
}
}
if( $theme_options->get( 'categories_box_links' ) != '' && $theme_options->get( 'categories_box_links' ) != 'standard' && $theme_options->get( 'categories_box_links' ) != 'Arial' && $theme_options->get( 'categories_box_links' ) != 'Georgia' && $theme_options->get( 'categories_box_links' ) != 'Times New Roman' ) {
$font = $theme_options->get( 'categories_box_links' );
if(!isset($lista_fontow[$font])) {
$lista_fontow[$font] = $font;
}
}
if( $theme_options->get( 'headlines' ) != '' && $theme_options->get( 'headlines' ) != 'standard' && $theme_options->get( 'headlines' ) != 'Arial' && $theme_options->get( 'headlines' ) != 'Georgia' && $theme_options->get( 'headlines' ) != 'Times New Roman' ) {
$font = $theme_options->get( 'headlines' );
if(!isset($lista_fontow[$font])) {
$lista_fontow[$font] = $font;
}
}
if( $theme_options->get( 'footer_headlines' ) != '' && $theme_options->get( 'footer_headlines' ) != 'standard'  && $theme_options->get( 'footer_headlines' ) != 'Arial' && $theme_options->get( 'footer_headlines' ) != 'Georgia' && $theme_options->get( 'footer_headlines' ) != 'Times New Roman' ) {
$font = $theme_options->get( 'footer_headlines' );
if(!isset($lista_fontow[$font])) {
$lista_fontow[$font] = $font;
}
}
if( $theme_options->get( 'page_name' ) != '' && $theme_options->get( 'page_name' ) != 'standard' && $theme_options->get( 'page_name' ) != 'Arial' && $theme_options->get( 'page_name' ) != 'Georgia' && $theme_options->get( 'page_name' ) != 'Times New Roman' ) {
$font = $theme_options->get( 'page_name' );
if(!isset($lista_fontow[$font])) {
$lista_fontow[$font] = $font;
}
}
if( $theme_options->get( 'button_font' ) != '' && $theme_options->get( 'button_font' ) != 'standard' && $theme_options->get( 'button_font' ) != 'Arial' && $theme_options->get( 'button_font' ) != 'Georgia' && $theme_options->get( 'button_font' ) != 'Times New Roman' ) {
$font = $theme_options->get( 'button_font' );
if(!isset($lista_fontow[$font])) {
$lista_fontow[$font] = $font;
}
}
if( $theme_options->get( 'custom_price' ) != '' && $theme_options->get( 'custom_price' ) != 'standard' && $theme_options->get( 'custom_price' ) != 'Arial' && $theme_options->get( 'custom_price' ) != 'Georgia' && $theme_options->get( 'custom_price' ) != 'Times New Roman' ) {
$font = $theme_options->get( 'custom_price' );
if(!isset($lista_fontow[$font])) {
$lista_fontow[$font] = $font;
}
}
if( $theme_options->get( 'sale_new_font' ) != '' && $theme_options->get( 'sale_new_font' ) != 'standard' && $theme_options->get( 'sale_new_font' ) != 'Arial' && $theme_options->get( 'sale_new_font' ) != 'Georgia' && $theme_options->get( 'sale_new_font' ) != 'Times New Roman' ) {
$font = $theme_options->get( 'sale_new_font' );
if(!isset($lista_fontow[$font])) {
$lista_fontow[$font] = $font;
}
}
foreach($lista_fontow as $font) {
echo '<link href="//fonts.googleapis.com/css?family=' . urlencode($font) . ':800,700,600,500,400,300,200,100" rel="stylesheet" type="text/css">';
echo "\n";
}
}
?>
<?php $lista_plikow = array(
'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/css/bootstrap.css',
'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/css/animate.css',
'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/css/stylesheet.css',
'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/css/responsive.css',
'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/css/menu.css',
'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/css/owl.carousel.css',
'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/css/font-awesome.min.css'
); 
//RTL
if($page_direction[$language_id] == 'RTL'){
    $lista_plikow[] = 'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/css/rtl.css';
    $lista_plikow[] = 'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/css/bootstrap_rtl.css';
}
// Full screen background slider
if($config->get( 'full_screen_background_slider_module' ) != '') $lista_plikow[] = 'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/css/jquery.vegas.css';
// Category wall
if($config->get( 'category_wall_module' ) != '') $lista_plikow[] = 'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/css/category_wall.css';
// Filter product
if($config->get( 'filter_product_module' ) != '') $lista_plikow[] = 'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/css/filter_product.css';
// Wide width
if($theme_options->get( 'page_width' ) == 1) $lista_plikow[] = 'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/css/wide-grid.css';
// Normal width
if($theme_options->get( 'page_width' ) == 3) $lista_plikow[] = 'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/css/standard-grid.css';
// Spacing 20px
if($theme_options->get( 'spacing_between_columns' ) == 2) $lista_plikow[] = 'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/css/spacing_20.css';
 
echo $theme_options->compressorCodeCss( $config->get('theme_' . $config->get('config_theme') . '_directory'), $lista_plikow, $theme_options->get( 'compressor_code_status' ), HTTP_SERVER ); 
// Custom colors, fonts and backgrounds
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/css/custom_colors.php'); ?>
<?php if($theme_options->get( 'custom_code_css_status' ) == 1) { ?>
<link rel="stylesheet" href="catalog/view/theme/<?php echo $config->get('theme_' . $config->get('config_theme') . '_directory'); ?>/skins/store_<?php echo $theme_options->get( 'store' ); ?>/<?php echo $theme_options->get( 'skin' ); ?>/css/custom_code.css">
<?php } ?>
<?php foreach ($styles as $style) { ?>
<?php if(strpos($style['href'], "mf/jquery-ui.min.css") == true) { ?>
<link rel="<?php echo $style['rel']; ?>" type="text/css" href="catalog/view/theme/<?php echo $config->get('theme_' . $config->get('config_theme') . '_directory'); ?>/css/jquery-ui.min.css" media="<?php echo $style['media']; ?>" />
<?php } elseif(strpos($style['href'], "mf/style.css") == true) { ?>
<link rel="<?php echo $style['rel']; ?>" type="text/css" href="catalog/view/theme/<?php echo $config->get('theme_' . $config->get('config_theme') . '_directory'); ?>/css/mega_filter.css" media="<?php echo $style['media']; ?>" />
<?php } elseif(strpos($style['href'], "blog-news") == true) { ?>
<link rel="<?php echo $style['rel']; ?>" type="text/css" href="catalog/view/theme/<?php echo $config->get('theme_' . $config->get('config_theme') . '_directory'); ?>/css/blog.css" media="<?php echo $style['media']; ?>" />
<?php } elseif($style['href'] != 'catalog/view/javascript/jquery/owl-carousel/owl.carousel.css') { ?>
<link rel="<?php echo $style['rel']; ?>" type="text/css" href="<?php echo $style['href']; ?>" media="<?php echo $style['media']; ?>" />
<?php } ?>
<?php } ?>
<link rel="stylesheet" type="text/css" href="catalog/view/javascript/jquery/magnific/magnific-popup.css" media="screen" />
<?php if($theme_options->get( 'page_width' ) == 2 && $theme_options->get( 'max_width' ) > 900) { ?>
<style type="text/css">
.standard-body .full-width .container {
max-width: <?php echo $theme_options->get( 'max_width' ); ?>px;
<?php if($theme_options->get( 'responsive_design' ) == '0') { ?>
width: <?php echo $theme_options->get( 'max_width' ); ?>px;
<?php } ?>
}
.main-fixed,
.fixed-body-2-2,
.standard-body .fixed2 .background {
max-width: <?php echo $theme_options->get( 'max_width' ); ?>px;
<?php if($theme_options->get( 'responsive_design' ) == '0') { ?>
width: <?php echo $theme_options->get( 'max_width' ); ?>px;
<?php } ?>
}
.standard-body .fixed .background {
     max-width: <?php echo $theme_options->get( 'max_width' )-90; ?>px;
     <?php if($theme_options->get( 'responsive_design' ) == '0') { ?>
     width: <?php echo $theme_options->get( 'max_width' )-90; ?>px;
     <?php } ?>
}
</style>
<?php } ?>
    
    <?php $lista_plikow = array(); 
    
    $lista_plikow[] = 'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/js/jquery-2.1.1.min.js';
    if(file_exists('catalog/view/javascript/mf/jquery-ui.min.js')) $lista_plikow[] = 'catalog/view/javascript/mf/jquery-ui.min.js';
    $lista_plikow[] = 'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/js/jquery-migrate-1.2.1.min.js';
    $lista_plikow[] = 'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/js/jquery.easing.1.3.js';
    $lista_plikow[] = 'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/js/bootstrap.min.js';
    $lista_plikow[] = 'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/js/twitter-bootstrap-hover-dropdown.js';
    if($theme_options->get( 'lazy_loading_images' ) != '0') $lista_plikow[] = 'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/js/echo.min.js';
    $lista_plikow[] = 'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/js/common.js';
    $lista_plikow[] = 'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/js/tweetfeed.min.js';
    $lista_plikow[] = 'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/js/bootstrap-notify.min.js';
    
    // Specials countdown
    if($theme_options->get( 'display_specials_countdown' ) == '1') {
         $lista_plikow[] = 'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/js/jquery.plugin.min.js';
         $countdown = $theme_options->get( 'jquery_countdown_translate' );
         $language_id = $config->get( 'config_language_id' );
         if(isset($countdown[$language_id])) {
          $lista_plikow[] = 'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/js/countdown/' . $countdown[$language_id];
         } else {
          $lista_plikow[] = 'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/js/countdown/jquery.countdown.min.js';
         }
    }
    
    // Banner module
    if($config->get( 'banner_module' ) != '') $lista_plikow[] = 'catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/js/jquery.cycle2.min.js';
    
    echo $theme_options->compressorCodeJs( $config->get('theme_' . $config->get('config_theme') . '_directory'), $lista_plikow, $theme_options->get( 'compressor_code_status' ), HTTPS_SERVER ); ?>
    
    <?php // Full screen background slider
    if($config->get( 'full_screen_background_slider_module' ) != '') { ?>
        <script type="text/javascript" src="catalog/view/theme/<?php echo $config->get('theme_' . $config->get('config_theme') . '_directory'); ?>/js/jquery.vegas.min.js"></script>
    <?php } ?>
    
    <script type="text/javascript" src="catalog/view/theme/<?php echo $config->get('theme_' . $config->get('config_theme') . '_directory'); ?>/js/owl.carousel.min.js"></script>
    
    <?php if(!isset($_GET['route'])) $_GET['route'] = false; ?>
    <?php if($theme_options->get( 'quick_search_autosuggest' ) != '0' && $_GET['route'] != 'account/tracking' && $klasa != 'account-tracking') { ?>
    <script type="text/javascript" src="catalog/view/theme/<?php echo $config->get('theme_' . $config->get('config_theme') . '_directory'); ?>/js/jquery-ui-1.10.4.custom.min.js"></script>
    <?php } ?>
    
    <script type="text/javascript" src="catalog/view/javascript/jquery/magnific/jquery.magnific-popup.min.js"></script>
<script type="text/javascript">
var responsive_design = '<?php if($theme_options->get( 'responsive_design' ) == '0') { echo 'no'; } else { echo 'yes'; } ?>';
</script>
<?php foreach ($scripts as $script) { ?>
<?php if($script != 'catalog/view/javascript/jquery/owl-carousel/owl.carousel.min.js') { ?>
<script type="text/javascript" src="<?php echo $script; ?>"></script>
<?php } ?>
<?php if(strpos($script, "mega_filter.js") == true) { ?>
<script type="text/javascript">
function display_MFP(view) {
     <?php if($theme_options->get( 'quick_view' ) == 1) { ?>
     $('.quickview a').magnificPopup({
          preloader: true,
          tLoading: '',
          type: 'iframe',
          mainClass: 'quickview',
          removalDelay: 200,
          gallery: {
           enabled: true
          }
     });
     <?php } ?>
     
if (localStorage.getItem('display') == 'list') {
display('list');
} else {
display('grid');
}
}
</script>
<?php } ?>
<?php } ?>
<?php if($theme_options->get( 'custom_code_javascript_status' ) == 1) { ?>
<script type="text/javascript" src="catalog/view/theme/<?php echo $config->get('theme_' . $config->get('config_theme') . '_directory'); ?>/skins/store_<?php echo $theme_options->get( 'store' ); ?>/<?php echo $theme_options->get( 'skin' ); ?>/js/custom_code.js"></script>
<?php } ?>
<?php foreach ($analytics as $analytic) { ?>
<?php echo $analytic; ?>
<?php } ?>  
<!--[if lt IE 9]>
<script src="https://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<script src="catalog/view/theme/<?php echo $config->get('theme_' . $config->get('config_theme') . '_directory'); ?>/js/respond.min.js"></script>
<![endif]-->
 
<?php if ($smca_status == 1) { ?>
        <!-- <?php echo $smca_form_data['front_module_name'].':'.$smca_form_data['front_module_version']; ?> -->
        <script src="catalog/view/javascript/ocdevwizard/smart_cart/jquery.magnific-popup.min.js?v=<?php echo $smca_form_data['front_module_version']; ?>" type="text/javascript"></script>
        <link href="catalog/view/javascript/ocdevwizard/smart_cart/magnific-popup.css?v=<?php echo $smca_form_data['front_module_version']; ?>" rel="stylesheet" media="screen" />
        <link rel="stylesheet" type="text/css" href="catalog/view/theme/default/stylesheet/ocdevwizard/smart_cart/stylesheet.css?v=<?php echo $smca_form_data['front_module_version']; ?>"/>
        <!-- <?php echo $smca_form_data['front_module_name'].':'.$smca_form_data['front_module_version']; ?> -->
        <?php } ?>
</head>
 
<body class="<?php echo $klasa; ?> <?php if($theme_options->get( 'page_width' ) == 2 && $theme_options->get( 'max_width' ) > 1400) { echo 'body-full-width'; } ?> <?php if($theme_options->get( 'product_list_type' ) > 0) { echo 'product-list-type-' . $theme_options->get( 'product_list_type' ); } ?> <?php if($theme_options->get( 'product_grid_type' ) > 0) { echo 'product-grid-type-' . $theme_options->get( 'product_grid_type' ); } ?> <?php if($theme_options->get( 'dropdown_menu_type' ) > 0) { echo 'dropdown-menu-type-' . $theme_options->get( 'dropdown_menu_type' ); } ?> <?php if($theme_options->get( 'products_buttons_action' ) > 0) { echo 'products-buttons-action-type-' . $theme_options->get( 'products_buttons_action' ); } ?> <?php if($theme_options->get( 'buttons_prev_next_in_slider' ) > 0) { echo 'buttons-prev-next-type-' . $theme_options->get( 'buttons_prev_next_in_slider' ); } ?> <?php if($theme_options->get( 'inputs_type' ) > 0) { echo 'inputs-type-' . $theme_options->get( 'inputs_type' ); } ?> <?php if($theme_options->get( 'cart_block_type' ) > 0) { echo 'cart-block-type-' . $theme_options->get( 'cart_block_type' ); } ?> <?php if($theme_options->get( 'my_account_type' ) > 0) { echo 'my-account-type-' . $theme_options->get( 'my_account_type' ); } ?> <?php if($theme_options->get( 'top_bar_type' ) > 0) { echo 'top-bar-type-' . $theme_options->get( 'top_bar_type' ); } ?> <?php if($theme_options->get( 'show_vertical_menu_category_page' ) > 0) { echo 'show-vertical-megamenu-category-page'; } ?> <?php if($theme_options->get( 'show_vertical_menu_product_page' ) > 0) { echo 'show-vertical-megamenu-product-page'; } ?> <?php if($theme_options->get( 'show_vertical_menu' ) > 0) { echo 'show-vertical-megamenu'; } ?> <?php if($theme_options->get( 'product_page_type' ) > 0) { echo 'product-page-type-' . $theme_options->get( 'product_page_type' ); } ?> <?php if($theme_options->get( 'megamenu_type' ) > 0) { echo 'megamenu-type-' . $theme_options->get( 'megamenu_type' ); } ?> <?php if($theme_options->get( 'search_type_in_header' ) > 0) { echo 'search-type-' . $theme_options->get( 'search_type_in_header' ); } ?> <?php if($theme_options->get( 'megamenu_label_type' ) > 0) { echo 'megamenu-label-type-' . $theme_options->get( 'megamenu_label_type' ); } ?> <?php if($theme_options->get( 'box_type' ) == 7) { echo 'box-type-4'; } else { echo 'no-box-type-7'; } ?> <?php if($theme_options->get( 'box_type' ) > 0) { echo 'box-type-' . $theme_options->get( 'box_type' ); } ?> <?php if($theme_options->get( 'header_margin_top' ) > 0) { echo 'header-margin-top-' . $theme_options->get( 'header_margin_top' ); } ?> <?php if($theme_options->get( 'sale_new_type' ) > 0) { echo 'sale-new-type-' . $theme_options->get( 'sale_new_type' ); } ?> <?php if($theme_options->get( 'button_type' ) > 0) { echo 'button-body-type-' . $theme_options->get( 'button_type' ); } ?> <?php if($theme_options->get( 'countdown_special' ) > 0) { echo 'countdown-special-type-' . $theme_options->get( 'countdown_special' ); } ?> <?php if($theme_options->get( 'footer_type' ) > 0) { echo 'footer-type-' . $theme_options->get( 'footer_type' ); } ?> <?php if($theme_options->get( 'breadcrumb_style' ) > 0) { echo 'breadcrumb-style-' . $theme_options->get( 'breadcrumb_style' ); } ?> <?php if($theme_options->get( 'border_width' ) == '1') { echo 'border-width-1'; } else { echo 'border-width-0'; } ?> <?php if(($theme_options->get( 'body_background_color' ) == '#ffffff' || ($theme_options->get( 'main_content_background_color' ) == $theme_options->get( 'body_background_color' ) && $theme_options->get( 'body_background_color' ) != '') || $theme_options->get( 'main_content_background_color' ) == 'none') && $theme_options->get( 'colors_status' ) == '1') { echo 'body-white'; } else { echo 'body-other'; } ?> <?php if($theme_options->get( 'main_content_background_color' ) == 'none' && $theme_options->get( 'colors_status' ) == '1') { echo 'body-white-type-2'; } ?> <?php if($theme_options->get( 'main_content_background_color' ) == 'none' && $theme_options->get( 'box_with_products_background_color' ) == '#ffffff' && $theme_options->get( 'colors_status' ) == '1') { echo 'body-white-type-3'; } ?> <?php if($theme_options->get( 'hover_effect' ) == '1') { echo 'banners-effect-' . $theme_options->get( 'hover_effect_type' ); } ?> body-header-type-<?php echo $theme_options->get( 'header_type' ); ?>">
<?php if($theme_options->get( 'widget_facebook_status' ) == 1) { ?>
<div class="facebook_<?php if($theme_options->get( 'widget_facebook_position' ) == 1) { echo 'left'; } else { echo 'right'; } ?> hidden-xs hidden-sm">
<div class="facebook-icon"></div>
<div class="facebook-content">
<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like-box fb_iframe_widget" profile_id="<?php echo $theme_options->get( 'widget_facebook_id' ); ?>" data-colorscheme="light" data-height="370" data-connections="16" fb-xfbml-state="rendered"></div>
</div>
<script type="text/javascript">    
$(function() {  
$(".facebook_right").hover(function() {            
$(".facebook_right").stop(true, false).animate({right: "0"}, 800, 'easeOutQuint');        
}, function() {            
$(".facebook_right").stop(true, false).animate({right: "-308"}, 800, 'easeInQuint');        
}, 1000);    
$(".facebook_left").hover(function() {            
$(".facebook_left").stop(true, false).animate({left: "0"}, 800, 'easeOutQuint');        
}, function() {            
$(".facebook_left").stop(true, false).animate({left: "-308"}, 800, 'easeInQuint');        
}, 1000);    
});  
</script>
</div>
<?php } ?>
 
<?php if($theme_options->get( 'widget_twitter_status' ) == 1) { ?>
<div class="twitter_<?php if($theme_options->get( 'widget_twitter_position' ) == 1) { echo 'left'; } else { echo 'right'; } ?> hidden-xs hidden-sm">
<div class="twitter-icon"></div>
<div class="twitter-content">
<a class="twitter-timeline" href="https://twitter.com/<?php echo $theme_options->get( 'widget_twitter_user_name' ); ?>" data-tweet-limit="<?php echo $theme_options->get( 'widget_twitter_limit' ); ?>">Tweets by <?php echo $theme_options->get( 'widget_twitter_user_name' ); ?></a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>
<script type="text/javascript">    
$(function() {  
$(".twitter_right").hover(function() {            
$(".twitter_right").stop(true, false).animate({right: "0"}, 800, 'easeOutQuint');        
}, function() {            
$(".twitter_right").stop(true, false).animate({right: "-308"}, 800, 'easeInQuint');        
}, 1000);    
$(".twitter_left").hover(function() {            
$(".twitter_left").stop(true, false).animate({left: "0"}, 800, 'easeOutQuint');        
}, function() {            
$(".twitter_left").stop(true, false).animate({left: "-308"}, 800, 'easeInQuint');        
}, 1000);    
});  
</script>
</div>
<?php } ?>
 
<?php if($theme_options->get( 'widget_custom_status' ) == 1) { ?>
<div class="custom_<?php if($theme_options->get( 'widget_custom_position' ) == 1) { echo 'left'; } else { echo 'right'; } ?> hidden-xs hidden-sm">
<div class="custom-icon"></div>
<div class="custom-content">
<?php $lang_id = $config->get( 'config_language_id' ); ?>
<?php $custom_content = $theme_options->get( 'widget_custom_content' ); ?>
<?php if(isset($custom_content[$lang_id])) echo html_entity_decode($custom_content[$lang_id]); ?>
</div>
<script type="text/javascript">    
$(function() {  
$(".custom_right").hover(function() {            
$(".custom_right").stop(true, false).animate({right: "0"}, 800, 'easeOutQuint');        
}, function() {            
$(".custom_right").stop(true, false).animate({right: "-308"}, 800, 'easeInQuint');        
}, 1000);    
$(".custom_left").hover(function() {            
$(".custom_left").stop(true, false).animate({left: "0"}, 800, 'easeOutQuint');        
}, function() {            
$(".custom_left").stop(true, false).animate({left: "-308"}, 800, 'easeInQuint');        
}, 1000);    
});  
</script>
</div>
<?php } ?>
 
<?php if($theme_options->get( 'quick_view' ) == 1) { ?>
<script type="text/javascript">
$(window).load(function(){
     $('.quickview a').magnificPopup({
          preloader: true,
          tLoading: '',
          type: 'iframe',
          mainClass: 'quickview',
          removalDelay: 200,
          gallery: {
           enabled: true
          }
     });
});
</script>
<?php } ?>
 
<?php 
$popup = $modules_old_opencart->getModules('popup');
if( count($popup) ) { 
foreach ($popup as $module) {
echo $module;
}
} ?>
 
<?php 
$header_notice = $modules_old_opencart->getModules('header_notice');
if( count($header_notice) ) { 
foreach ($header_notice as $module) {
echo $module;
}
} ?>
 
<?php 
$cookie = $modules_old_opencart->getModules('cookie');
if( count($cookie) ) { 
foreach ($cookie as $module) {
echo $module;
}
} ?>
 
<div class="<?php if($theme_options->get( 'main_layout' ) == 1 || $theme_options->get( 'main_layout' ) == 5) { echo 'standard-body'; } else { echo 'fixed-body'; } if($theme_options->get( 'main_layout' ) == 7) { echo ' fixed-body-shoes'; } if($theme_options->get( 'main_layout' ) == 4 || $theme_options->get( 'main_layout' ) == 6) { echo ' fixed-body-2'; } if($theme_options->get( 'main_layout' ) == 5) { echo ' fixed-body-2-2'; } if($theme_options->get( 'main_layout' ) == 3) { echo ' with-shadow'; } ?>">
<div id="main" class="<?php if($theme_options->get( 'main_layout' ) == 4) { echo 'main-fixed2 main-fixed'; } else if($theme_options->get( 'main_layout' ) == 6) { echo 'main-fixed2 main-fixed3 main-fixed'; } else if($theme_options->get( 'main_layout' ) != 1 && $theme_options->get( 'main_layout' ) != 5) { echo 'main-fixed'; } ?>">
<?php 
if($theme_options->get( 'header_type' ) == 2) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_02.tpl'); 
} elseif($theme_options->get( 'header_type' ) == 3) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_03.tpl');
} elseif($theme_options->get( 'header_type' ) == 4) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_04.tpl');
} elseif($theme_options->get( 'header_type' ) == 5) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_05.tpl');
} elseif($theme_options->get( 'header_type' ) == 6) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_06.tpl');
} elseif($theme_options->get( 'header_type' ) == 7) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_07.tpl');
} elseif($theme_options->get( 'header_type' ) == {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_08.tpl');
} elseif($theme_options->get( 'header_type' ) == 9) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_09.tpl');
} elseif($theme_options->get( 'header_type' ) == 10) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_10.tpl');
} elseif($theme_options->get( 'header_type' ) == 11) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_11.tpl');
} elseif($theme_options->get( 'header_type' ) == 12) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_12.tpl');
} elseif($theme_options->get( 'header_type' ) == 13) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_13.tpl');
} elseif($theme_options->get( 'header_type' ) == 14) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_14.tpl');
} elseif($theme_options->get( 'header_type' ) == 15) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_15.tpl');
} elseif($theme_options->get( 'header_type' ) == 16) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_16.tpl');
} elseif($theme_options->get( 'header_type' ) == 17) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_17.tpl');
} elseif($theme_options->get( 'header_type' ) == 18) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_18.tpl');
} elseif($theme_options->get( 'header_type' ) == 19) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_19.tpl');
} elseif($theme_options->get( 'header_type' ) == 20) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_20.tpl');
} elseif($theme_options->get( 'header_type' ) == 21) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_21.tpl');
} elseif($theme_options->get( 'header_type' ) == 22) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_22.tpl');
} elseif($theme_options->get( 'header_type' ) == 23) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_23.tpl');
} elseif($theme_options->get( 'header_type' ) == 24) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_24.tpl');
} elseif($theme_options->get( 'header_type' ) == 25) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_25.tpl');
} elseif($theme_options->get( 'header_type' ) == 26) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_26.tpl');
} elseif($theme_options->get( 'header_type' ) == 27) {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_27.tpl');
} else {
include('catalog/view/theme/'.$config->get('theme_' . $config->get('config_theme') . '_directory').'/template/common/header/header_01.tpl');
}
?>
 

Örnek Sokak 1a, 12345 Örnekşehir
+90 1234567890