<!DOCTYPE html>
<html <?php language_attributes(); ?> dir="rtl">
<head>
<?php if (is_home()) { ?>
<title><?php bloginfo('name'); ?></title>
<?php } else { ?>
    <title><?php wp_title(''); ?> | <?php bloginfo('name'); ?></title>
<?php } global $qaleb; 
if($qaleb['favicon_uploader']['url'] != ''){
?>
<?php } ?>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="fa">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
<meta name="description" content="<?php bloginfo('description'); ?>"/>
<link rel="shortcut icon" href="<?php echo $qaleb['favicon_uploader']['url']; ?>" />
<link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" type="text/css" />
<?php if($qaleb['sidebar.co']=='1'){?><style>.sidebar.co-ads {display: none !important;}.sidebar.co-aside {width: 400px;}@media only screen and (max-width:800px){.sidebar.co-aside {width: 250px;}.ap_news {width: calc(100% - 250px);}}@media only screen and (max-width:768px){.sidebar.co-aside {width:100%;}.ap_news {width:100%;}}</style><?php } ?>
<?php wp_head(); ?> 
<script type='text/javascript' src='<?php bloginfo('template_url'); ?>/js/jquery.js'></script>
</head>						
 <body id="home">
<?php get_template_part('style'); ?>
<?php if($qaleb['blank']=='1'){?><base target="_blank"><?php } ?>
<?php
	global $qaleb;
	if($qaleb['header-temp']=='0'){
		 qaleb_folder_template("inc/header","header"); 
	}else if($qaleb['header-temp']=='1'){
		 qaleb_folder_template("inc/header","header-light"); 
	}else if($qaleb['header-temp']=='2'){
		 qaleb_folder_template("inc/header","header-big"); 
	}
?>