<?php
	$ty_settings = get_option( "ty_theme_settings" );
	$ty_sub1settings = get_option( "ty_theme_sub1settings" );
	$ty_sub2settings = get_option( "ty_theme_sub2settings" );
	$ty_sub3settings = get_option( "ty_theme_sub3settings" );
	$ty_sub4settings = get_option( "ty_theme_sub4settings" );
	
	echo '<!DOCTYPE html>
	<html dir="rtl" lang="fa">
	<head>
	<meta charset="' . get_bloginfo( "charset" ) . '">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="profile" href="http://gmpg.org/xfn/11">'; 
	if ( is_singular() && pings_open( get_queried_object() ) ) :
	echo '<link rel="pingback" href="' . get_bloginfo( "pingback_url" ) . '">';
	endif;
	wp_head();
	echo '<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<link rel="stylesheet" type="text/css" href="' . get_template_directory_uri() . '/tyblue-files/style.css" media="screen" />
	<link rel="stylesheet" type="text/css" href="' . get_template_directory_uri() . '/tyblue-files/animate.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="' . get_template_directory_uri() . '/tyblue-files/font-awesome/css/font-awesome.min.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="' . get_template_directory_uri() . '/tyblue-files/head-slideshow/css/slider.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="' . get_template_directory_uri() . '/tyblue-files/client-slider/css/rcarousel.css" media="screen" />
    <link rel="stylesheet" type="text/css" href="' . get_template_directory_uri() . '/tyblue-files/client-slider/rlightbox/css/smoothness/jquery-ui-1.9.2.custom.min.css" />
    <link rel="stylesheet" type="text/css" href="' . get_template_directory_uri() . '/tyblue-files/client-slider/rlightbox/css/lightbox.min.css" />
	<style type="text/css">
    #qTip,.ty6-thlgotx-icon,.ty7-thlgotxas-top,.ty5-thsmlics-memarea > a,.ty6-memac-members p,.ty6-memac-members a:hover,.ty6-memac-guests,.t7-macg-userform input,.t7-macg-passform input,.t7-macg-submitform input,.ty5-thsmlics-socarea > a,ol.ty5-hdnrcso-slide p,ol.ty5-hdnrcso-slide a,.ty4-hdnrcso-icon i,.ty5-thsmlics-searcharea > a,.ty5-thsrch-box,.ty5-thsrch-box a,.ty5-thsrch-box a:hover,.ty6-thsrch-input,.ty6-thsrch-submit,.ty4-tophead-menu li a,.ty4-tophead-menu ol a,.ty4-slide-adrs,.ty4-slide-icon i,.ty4-slide-icontxt,.ty5-seinbo-icon i,.ty5-obt-price,.ty5-obt-adrs,.ty5-obt-desc,.ty5-obt-list li,.ty5-obt-butt a,.ty5-obt-butt a:focus,.ty4-stcobo-icon i,.ty4-stcobo-txttop,.ty4-stcobo-txtmiddle,.ty4-stcobo-txtbottom,.ty2-feedback,.ty4-onofco-icon i,.ty5-ooct-top,.ty5-ooct-bottom,.ty4-onofco-butt a,.ty4-onofco-butt a:hover,.ty4-onofco-butt a:focus,.ty5-tofooco-adrs p,.ty5-tofooco-con > ul li,.ty5-tofooco-con > ul li a,.ty5-tofooco-con > ul li i,.ty6-tfcc-phone i,.ty6-tfcc-phone p,.ty7-tfccs-icon > i,ol.ty8-tfccsi-slide p,ol.ty8-tfccsi-slide a,.ty-banks .tybnks-table-head .tybnks-column,.ty-offers-pages .tyofp-table-head .tyofp-column,.wpcf7-submit,.ty-asi-icon i,.ty1-blog-butt,.ty-asi-icon i,.ty2-b-more a,.ty2-b-decbutt > ul > li > a,ol.ty3-bdb-ol p,ol.ty3-bdb-ol a,.ty3-sb-title,.ty3-sb-title a,.ty2-b-decbuttpart a:hover,.search-submit,.comments-title,.comment-reply-link,.comment-reply-title,.form-submit input,.ty2-slideshow-blog .h-slide-href a ,.ratings .meta,.zem_rp_wrap .related_post_title {color:' .  stripslashes($ty_settings["ty_stylecolors_1"]) . ';}
	.form-submit input,.ty0-backtotop {color:' .  stripslashes($ty_settings["ty_stylecolors_1"]) . ' !important;}
	body,.ty5-thsmlics-memarea > a:hover,.ty5-thsmlics-socarea > a:hover,.ty5-thsmlics-searcharea > a:hover,.ty2-head-linksurl,.ty4-slide-bg,.ty4-slide-icontxtbg,.ty2-servintro,.tofcb1 .ty5-obt-butt a:hover,.tofcb2 .ty5-obt-butt a:hover,.tofcb3 .ty5-obt-butt a:hover,.tofcb4 .ty5-obt-butt a:hover,.tofcb5 .ty5-obt-butt a:hover,.tofcb6 .ty5-obt-butt a:hover,.tofcb7 .ty5-obt-butt a:hover,.tofcb8 .ty5-obt-butt a:hover,.ty5-obt-butt a:hover,.ty2-ourclient,.ty2-paypic,.ty5-tofooco-adrs i,.ty2-bottfooter,.wpcf7-form-control,.ty2-feedback,.ty2-addcont,.ty-anmtext,.search-field,.comment-form textarea,.comment-form input,.ty2-b-con h1,.ty2-b-con h2,.ty2-b-con h3,.ty2-b-con h4,.ty2-b-con h5 {background-color:' .  stripslashes($ty_settings["ty_stylecolors_1"]) . ';}
	.tyoffpgs,.wpcf7-form-control:focus {background-color:' .  stripslashes($ty_settings["ty_stylecolors_1"]) . ' !important;}
	.ty4-ofc-box:hover,.ty5-obt-price,.ty5-obt-butt a:hover,.ty4-stsc-box,.ty7-fbcbp-name,.ty4-onofco-butt a,.ty5-tofooco-con > ul li,.ty7-tfccs-icon > i,.ty-banks .tybnks-table-head .tybnks-column,.ty-offers-pages .tyofp-table-head .tyofp-column {border-color:' .  stripslashes($ty_settings["ty_stylecolors_1"]) . ';}
	.ui-carousel > .wrapper > *,.ty7-fbcbp-name,.ty1-blog-content,.ty3-sb-cont,.comment-meta,.ty-banner728x90 {background-color:' .  stripslashes($ty_settings["ty_stylecolors_2"]) . ';}
	.ty-banks .tybnks-column:hover,.ty-offers-pages .tyofp-column:hover {background-color:' .  stripslashes($ty_settings["ty_stylecolors_3"]) . ';}
	.comment-reply-title a {color:' .  stripslashes($ty_settings["ty_stylecolors_4"]) . ';}
	.ty2-b-con li {background-color:' .  stripslashes($ty_settings["ty_stylecolors_4"]) . ';}
	.ty2-b-con li:hover {background-color:' .  stripslashes($ty_settings["ty_stylecolors_5"]) . ';}
	.comment-reply-title a:hover {color:' .  stripslashes($ty_settings["ty_stylecolors_6"]) . ';}
	.tofcb2 .ty5-obt-butt a:hover,.ty4-clientc-adrs p,.ty5-tccs-adrs,.ty4-feedbc-adrs p,.ty7-fbcbp-name,.ty6-fbcb-txt i,.ty-h-title,.ty-404-pages article > p,.ty2-b-title a:hover,.ty2-b-con,.ty3-sb-cont > a:hover,.search-field,.comment-author .fn,.comment-form label,.comment-form textarea,.comment-form input,.no-comments,.ty-noposttext,.wp-pagenavi a, .wp-pagenavi span,.comment-reply-login:hover,.must-log-in,ul.related_post li a {color:' .  stripslashes($ty_settings["ty_stylecolors_7"]) . ';}
	.ty4-tophead-logo:before,.ty4-tophead-menu ol.ty6-thmu-slide li a:hover,.tbc-5,.tyseic-1 i,.ty2-offers,.tofcb2 .ty5-obt-price,.tofcb2 .ty5-obt-butt a,.ty2-topfooter,.ty-banks .tybnks-table-head .tybnks-column,.ty-offers-pages .tyofp-table-head .tyofp-column,.tyoffpgs .ty4-ofc-box,.wpcf7-submit,.wpcf7-submit:focus,.ty1-blog-butt,.ty2-b-more a,.ty2-b-decbutt > ul > li > a,.ty3-sb-title,.search-submit:hover,.comments-title,.comment-reply-link,.comment-reply-title,.form-submit input:hover,.form-submit input:focus,.zem_rp_wrap .related_post_title {background-color:' .  stripslashes($ty_settings["ty_stylecolors_7"]) . ';}
	.t7-macg-userform input,.t7-macg-passform input,.ty6-thsrch-input,.ty4-tophead-menu ol a,.ty-h-title,.wpcf7-submit:focus,.ty-anmtext,.ty1-blog-content,.ty3-sb-topbrdr,.ty3-sb-bottbrdr,.search-submit:hover,.comment-list li.comment,.form-submit input:hover,.form-submit input:focus,.wp-pagenavi a, .wp-pagenavi span,.comment-form,.ty2-b-con h1,.ty2-b-con h2,.ty2-b-con h3,.ty2-b-con h4,.ty2-b-con h5,.zem_rp_wrap {border-color:' .  stripslashes($ty_settings["ty_stylecolors_7"]) . ';}
	.wpcf7-form-control {border-color:' .  stripslashes($ty_settings["ty_stylecolors_7"]) . ' !important;}
	.wpcf7-submit:hover {background-color:' .  stripslashes($ty_settings["ty_stylecolors_8"]) . ';}
	.wpcf7-form-control:focus {border-color:' .  stripslashes($ty_settings["ty_stylecolors_8"]) . ' !important;}
	.ty5-thsmlics-socarea > a:hover {color:' .  stripslashes($ty_settings["ty_stylecolors_9"]) . ';}
	.t7-macg-submitform input:hover,.ty5-thsmlics-socarea > a,.ty6-thsrch-submit:hover {background-color:' .  stripslashes($ty_settings["ty_stylecolors_9"]) . ';}
	.ty6-thsrch-submit:hover {border-color:' .  stripslashes($ty_settings["ty_stylecolors_9"]) . ';}
	.ty6-memac-members a {color:' .  stripslashes($ty_settings["ty_stylecolors_10"]) . ';}
	#qTip,.ty0-backtotop {background-color:' .  stripslashes($ty_settings["ty_stylecolors_10"]) . ';}
	.t7-macg-userform p,.t7-macg-passform p,.tofcb4 .ty5-obt-butt a:hover,.ty5-tofooco-adrs i,.ty5-tofooco-con > ul li a:hover,.ty2-b-title a,.ty3-sb-cont a,.logged-in-as a:hover,.nav-links a:hover,.ty2-b-con a,.must-log-in a:hover {color:' .  stripslashes($ty_settings["ty_stylecolors_11"]) . ';}
	.t7-macg-submitform input,.ty6-thsrch-submit,.tbc-2,.tsi-1 i,.tyseic-3 i,.tofcb4 .ty5-obt-price,.tofcb4 .ty5-obt-butt a,.ty2-oneoffer,.ty-banks .tybnks-table-head .tybnks-column:hover,.ty-offers-pages .tyofp-table-head .tyofp-column:hover,.ty4-tophead-logo,.ty1-blog-butt:hover,.ty2-b-more a:hover,.ty2-b-decbutt > ul > li > a:hover,.search-submit,.form-submit input {background-color:' .  stripslashes($ty_settings["ty_stylecolors_11"]) . ';}
	@media screen and (max-width: 1050px) {.ty4-tophead-logo:after {background-color:' .  stripslashes($ty_settings["ty_stylecolors_11"]) . ';}}
	.ty6-thsrch-submit,.search-submit,.form-submit input {border-color:' .  stripslashes($ty_settings["ty_stylecolors_11"]) . ';}
	.comment-author-admin {border-color:' .  stripslashes($ty_settings["ty_stylecolors_11"]) . ' !important;}
	.ty5-thsmlics-memarea > a:hover,.ty6-memac-members i,.ty4-slide-adrs i,.tofcb3 .ty5-obt-butt a:hover,.ty3-bottfooter-cont p,.ty-anmtext i,.ty-anmtext span,.ty3-sb-cont li,.ty3-sb-cont .children a:hover,.comment-author .fn a,.comment-metadata a:hover,.comment-form label .required,.comment-notes,.logged-in-as a,.nav-links a,.ratings.error .meta,.ty2-b-con a:hover,.comment-reply-login,.must-log-in a,ul.related_post li a:hover {color:' .  stripslashes($ty_settings["ty_stylecolors_12"]) . ';}
	.ty5-thsmlics-memarea > a,.ty6-memac-members a:hover,.tbc-3,.tsi-2 i,.tyseic-2 i,.tofcb3 .ty5-obt-price,.tofcb3 .ty5-obt-butt a,.comment-reply-link:hover {background-color:' .  stripslashes($ty_settings["ty_stylecolors_12"]) . ';}
	.tofcb6 .ty5-obt-butt a:hover {color:' .  stripslashes($ty_settings["ty_stylecolors_14"]) . ';}
	.tofcb6 .ty5-obt-price,.tofcb6 .ty5-obt-butt a {background-color:' .  stripslashes($ty_settings["ty_stylecolors_14"]) . ';}
	.ty0-backtotop:hover {background-color:' .  stripslashes($ty_settings["ty_stylecolors_15"]) . ';}
	.ty5-thsmlics-searcharea > a:hover,.ty5-seinbo-desc,.tofcb1 .ty5-obt-butt a:hover,.ty4-clientc-adrs i,.ty5-tccs-icon i,.ty5-tccs-desc,.ty4-feedbc-adrs i,.ty6-fbcb-txt,.ty-anmtext,.ty3-sb-cont .children li,.ty3-sb-cont .children a,.comment-metadata a {color:' .  stripslashes($ty_settings["ty_stylecolors_16"]) . ';}
	.ty6-thlgotx-icon,.ty5-thsmlics-searcharea > a,.tbc-4,.tsi-3 i,.tofcb1 .ty5-obt-price,.tofcb1 .ty5-obt-butt a,.ty2-stats {background-color:' .  stripslashes($ty_settings["ty_stylecolors_16"]) . ';}
	.ui-carousel > .wrapper > *,.wp-pagenavi a:hover, .wp-pagenavi span.current {border-color:' .  stripslashes($ty_settings["ty_stylecolors_16"]) . ';}
	.ty7-thlgotxas-bottom {color:' .  stripslashes($ty_settings["ty_stylecolors_17"]) . ';}
	.ty5-obt-butt a {border-color:' .  stripslashes($ty_settings["ty_stylecolors_18"]) . ';}
	.ty4-ofc-box {border-color:' .  stripslashes($ty_settings["ty_stylecolors_19"]) . ';}
	.tofcb8 .ty5-obt-butt a:hover {color:' .  stripslashes($ty_settings["ty_stylecolors_20"]) . ';}
	.tofcb8 .ty5-obt-price,.tofcb8 .ty5-obt-butt a,.ratings {background-color:' .  stripslashes($ty_settings["ty_stylecolors_20"]) . ';}
	.ty5-hdnrcso-slide i,.ty5-seinbo-adrs,.tofcb5 .ty5-obt-butt a:hover,.ty8-tfccsi-slide i,.ty3-bdb-ol i {color:' .  stripslashes($ty_settings["ty_stylecolors_21"]) . ';}
	.ty2-top-header,.ty6-memac-members a,.t7-macg-userform input,.t7-macg-passform input,.ty3-hdnrc-socicons ol,.ty4-hdnrcso-icon:hover,.ty6-thsrch-input,.tbc-1,.tofcb5 .ty5-obt-price,.tofcb5 .ty5-obt-butt a,.ty6-tfcc-soc ol,.ty2-b-decbutt ol {background-color:' .  stripslashes($ty_settings["ty_stylecolors_21"]) . ';}
	.ty6-memac-members,.ty6-memac-guests,.t7-macg-userform input:focus,.t7-macg-passform input:focus,.ty3-hdnrc-socicons,.ty5-thsrch-box,.ty6-thsrch-input:focus,.ty4-tophead-menu li a:hover,.ty4-tophead-menu ol {background-color:' .  stripslashes($ty_settings["ty_stylecolors_22"]) . ';}
	.tofcb7 .ty5-obt-butt a:hover {color:' .  stripslashes($ty_settings["ty_stylecolors_25"]) . ';}
	.tofcb7 .ty5-obt-price,.tofcb7 .ty5-obt-butt a {background-color:' .  stripslashes($ty_settings["ty_stylecolors_25"]) . ';}
	.ty-banks .tybnks-row .tybnks-column:nth-child(1),.ty-banks .tybnks-column,.ty-offers-pages .tyofp-row .tyofp-column:nth-child(1),.ty-offers-pages .tyofp-column {border-color:' .  stripslashes($ty_settings["ty_stylecolors_26"]) . ';}
	@media all and (max-width: 640px){.ty-offers-pages .tyofp-row,.ty-offers-pages .tyofp-row:last-child .tyofp-column,.ty-offers-pages .tyofp-column {border-color:' .  stripslashes($ty_settings["ty_stylecolors_26"]) . ';}.ty-offers-pages .tyofp-row{border-color:' .  stripslashes($ty_settings["ty_stylecolors_27"]) . ';}}
	.ty-banks .tybnks-table,.ty-offers-pages .tyofp-table,.search-field,.comment-meta,.comment-form textarea,.comment-form input,.ty-banner728x90 img,.tybnr336280-1 img,.ty-banner-sidebar img {border-color:' .  stripslashes($ty_settings["ty_stylecolors_27"]) . ';}
	.ty-banks .tybnks-table,.ty-offers-pages .tyofp-table,.ty2-slideshow-blog .h-slide-p a,.ratings .meta strong {color:' .  stripslashes($ty_settings["ty_stylecolors_28"]) . ';}
	.ty-asi-icon i:hover {background-color:' .  stripslashes($ty_settings["ty_stylecolors_28"]) . ';}
	.ty2-b-title h2,.search-field:focus,.comment-form textarea:focus,.comment-form input:focus,.ty3-sb-cont li {border-color:' .  stripslashes($ty_settings["ty_stylecolors_28"]) . ';}
	.ty2-stats {background: -moz-linear-gradient(left, ' .  stripslashes($ty_settings["ty_stylecolors_16"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_15"]) . ' 21%, ' .  stripslashes($ty_settings["ty_stylecolors_14"]) . ' 50%, ' .  stripslashes($ty_settings["ty_stylecolors_13"]) . ' 76%, ' .  stripslashes($ty_settings["ty_stylecolors_12"]) . ' 100%);
		background: -webkit-gradient(left top, right top, color-stop(0%, ' .  stripslashes($ty_settings["ty_stylecolors_16"]) . '), color-stop(21%, ' .  stripslashes($ty_settings["ty_stylecolors_15"]) . '), color-stop(50%, ' .  stripslashes($ty_settings["ty_stylecolors_14"]) . '), color-stop(76%, ' .  stripslashes($ty_settings["ty_stylecolors_13"]) . '), color-stop(100%, ' .  stripslashes($ty_settings["ty_stylecolors_12"]) . '));
		background: -webkit-linear-gradient(left, ' .  stripslashes($ty_settings["ty_stylecolors_16"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_15"]) . ' 21%, ' .  stripslashes($ty_settings["ty_stylecolors_14"]) . ' 50%, ' .  stripslashes($ty_settings["ty_stylecolors_13"]) . ' 76%, ' .  stripslashes($ty_settings["ty_stylecolors_12"]) . ' 100%);
		background: -o-linear-gradient(left, ' .  stripslashes($ty_settings["ty_stylecolors_16"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_15"]) . ' 21%, ' .  stripslashes($ty_settings["ty_stylecolors_14"]) . ' 50%, ' .  stripslashes($ty_settings["ty_stylecolors_13"]) . ' 76%, ' .  stripslashes($ty_settings["ty_stylecolors_12"]) . ' 100%);
		background: -ms-linear-gradient(left, ' .  stripslashes($ty_settings["ty_stylecolors_16"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_15"]) . ' 21%, ' .  stripslashes($ty_settings["ty_stylecolors_14"]) . ' 50%, ' .  stripslashes($ty_settings["ty_stylecolors_13"]) . ' 76%, ' .  stripslashes($ty_settings["ty_stylecolors_12"]) . ' 100%);
		background: linear-gradient(to right, ' .  stripslashes($ty_settings["ty_stylecolors_16"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_15"]) . ' 21%, ' .  stripslashes($ty_settings["ty_stylecolors_14"]) . ' 50%, ' .  stripslashes($ty_settings["ty_stylecolors_13"]) . ' 76%, ' .  stripslashes($ty_settings["ty_stylecolors_12"]) . ' 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="' .  stripslashes($ty_settings["ty_stylecolors_16"]) . '", endColorstr="' .  stripslashes($ty_settings["ty_stylecolors_12"]) . '", GradientType=1 );}
	.ty2-topfooter {background: -moz-linear-gradient(left, ' .  stripslashes($ty_settings["ty_stylecolors_7"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_25"]) . ' 21%, ' .  stripslashes($ty_settings["ty_stylecolors_24"]) . ' 50%, ' .  stripslashes($ty_settings["ty_stylecolors_23"]) . ' 76%, ' .  stripslashes($ty_settings["ty_stylecolors_21"]) . ' 100%);
		background: -webkit-gradient(left top, right top, color-stop(0%, ' .  stripslashes($ty_settings["ty_stylecolors_7"]) . '), color-stop(21%, ' .  stripslashes($ty_settings["ty_stylecolors_25"]) . '), color-stop(50%, ' .  stripslashes($ty_settings["ty_stylecolors_24"]) . '), color-stop(76%, ' .  stripslashes($ty_settings["ty_stylecolors_23"]) . '), color-stop(100%, ' .  stripslashes($ty_settings["ty_stylecolors_21"]) . '));
		background: -webkit-linear-gradient(left, ' .  stripslashes($ty_settings["ty_stylecolors_7"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_25"]) . ' 21%, ' .  stripslashes($ty_settings["ty_stylecolors_24"]) . ' 50%, ' .  stripslashes($ty_settings["ty_stylecolors_23"]) . ' 76%, ' .  stripslashes($ty_settings["ty_stylecolors_21"]) . ' 100%);
		background: -o-linear-gradient(left, ' .  stripslashes($ty_settings["ty_stylecolors_7"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_25"]) . ' 21%, ' .  stripslashes($ty_settings["ty_stylecolors_24"]) . ' 50%, ' .  stripslashes($ty_settings["ty_stylecolors_23"]) . ' 76%, ' .  stripslashes($ty_settings["ty_stylecolors_21"]) . ' 100%);
		background: -ms-linear-gradient(left, ' .  stripslashes($ty_settings["ty_stylecolors_7"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_25"]) . ' 21%, ' .  stripslashes($ty_settings["ty_stylecolors_24"]) . ' 50%, ' .  stripslashes($ty_settings["ty_stylecolors_23"]) . ' 76%, ' .  stripslashes($ty_settings["ty_stylecolors_21"]) . ' 100%);
		background: linear-gradient(to right, ' .  stripslashes($ty_settings["ty_stylecolors_7"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_25"]) . ' 21%, ' .  stripslashes($ty_settings["ty_stylecolors_24"]) . ' 50%, ' .  stripslashes($ty_settings["ty_stylecolors_23"]) . ' 76%, ' .  stripslashes($ty_settings["ty_stylecolors_21"]) . ' 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="' .  stripslashes($ty_settings["ty_stylecolors_7"]) . '", endColorstr="' .  stripslashes($ty_settings["ty_stylecolors_21"]) . '", GradientType=1 );}
	.ty2-offers,.tyoffpgs .ty4-ofc-box {background: -moz-linear-gradient(left, ' .  stripslashes($ty_settings["ty_stylecolors_7"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_8"]) . ' 21%, ' .  stripslashes($ty_settings["ty_stylecolors_9"]) . ' 53%, ' .  stripslashes($ty_settings["ty_stylecolors_10"]) . ' 84%, ' .  stripslashes($ty_settings["ty_stylecolors_11"]) . ' 100%);
		background: -webkit-gradient(left top, right top, color-stop(0%, ' .  stripslashes($ty_settings["ty_stylecolors_7"]) . '), color-stop(21%, ' .  stripslashes($ty_settings["ty_stylecolors_8"]) . '), color-stop(53%, ' .  stripslashes($ty_settings["ty_stylecolors_9"]) . '), color-stop(84%, ' .  stripslashes($ty_settings["ty_stylecolors_10"]) . '), color-stop(100%, ' .  stripslashes($ty_settings["ty_stylecolors_11"]) . '));
		background: -webkit-linear-gradient(left, ' .  stripslashes($ty_settings["ty_stylecolors_7"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_8"]) . ' 21%, ' .  stripslashes($ty_settings["ty_stylecolors_9"]) . ' 53%, ' .  stripslashes($ty_settings["ty_stylecolors_10"]) . ' 84%, ' .  stripslashes($ty_settings["ty_stylecolors_11"]) . ' 100%);
		background: -o-linear-gradient(left, ' .  stripslashes($ty_settings["ty_stylecolors_7"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_8"]) . ' 21%, ' .  stripslashes($ty_settings["ty_stylecolors_9"]) . ' 53%, ' .  stripslashes($ty_settings["ty_stylecolors_10"]) . ' 84%, ' .  stripslashes($ty_settings["ty_stylecolors_11"]) . ' 100%);
		background: -ms-linear-gradient(left, ' .  stripslashes($ty_settings["ty_stylecolors_7"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_8"]) . ' 21%, ' .  stripslashes($ty_settings["ty_stylecolors_9"]) . ' 53%, ' .  stripslashes($ty_settings["ty_stylecolors_10"]) . ' 84%, ' .  stripslashes($ty_settings["ty_stylecolors_11"]) . ' 100%);
		background: linear-gradient(to right, ' .  stripslashes($ty_settings["ty_stylecolors_7"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_8"]) . ' 21%, ' .  stripslashes($ty_settings["ty_stylecolors_9"]) . ' 53%, ' .  stripslashes($ty_settings["ty_stylecolors_10"]) . ' 84%, ' .  stripslashes($ty_settings["ty_stylecolors_11"]) . ' 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="' .  stripslashes($ty_settings["ty_stylecolors_7"]) . '", endColorstr="' .  stripslashes($ty_settings["ty_stylecolors_11"]) . '", GradientType=1 );}
	.ty4-tophead-logo {background: -moz-linear-gradient(left, ' .  stripslashes($ty_settings["ty_stylecolors_11"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_10"]) . ' 16%, ' .  stripslashes($ty_settings["ty_stylecolors_9"]) . ' 47%, ' .  stripslashes($ty_settings["ty_stylecolors_8"]) . ' 79%, ' .  stripslashes($ty_settings["ty_stylecolors_7"]) . ' 100%);
		background: -webkit-gradient(left top, right top, color-stop(0%, ' .  stripslashes($ty_settings["ty_stylecolors_11"]) . '), color-stop(16%, ' .  stripslashes($ty_settings["ty_stylecolors_10"]) . '), color-stop(47%, ' .  stripslashes($ty_settings["ty_stylecolors_9"]) . '), color-stop(79%, ' .  stripslashes($ty_settings["ty_stylecolors_8"]) . '), color-stop(100%, ' .  stripslashes($ty_settings["ty_stylecolors_7"]) . '));
		background: -webkit-linear-gradient(left, ' .  stripslashes($ty_settings["ty_stylecolors_11"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_10"]) . ' 16%, ' .  stripslashes($ty_settings["ty_stylecolors_9"]) . ' 47%, ' .  stripslashes($ty_settings["ty_stylecolors_8"]) . ' 79%, ' .  stripslashes($ty_settings["ty_stylecolors_7"]) . ' 100%);
		background: -o-linear-gradient(left, ' .  stripslashes($ty_settings["ty_stylecolors_11"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_10"]) . ' 16%, ' .  stripslashes($ty_settings["ty_stylecolors_9"]) . ' 47%, ' .  stripslashes($ty_settings["ty_stylecolors_8"]) . ' 79%, ' .  stripslashes($ty_settings["ty_stylecolors_7"]) . ' 100%);
		background: -ms-linear-gradient(left, ' .  stripslashes($ty_settings["ty_stylecolors_11"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_10"]) . ' 16%, ' .  stripslashes($ty_settings["ty_stylecolors_9"]) . ' 47%, ' .  stripslashes($ty_settings["ty_stylecolors_8"]) . ' 79%, ' .  stripslashes($ty_settings["ty_stylecolors_7"]) . ' 100%);
		background: linear-gradient(to right, ' .  stripslashes($ty_settings["ty_stylecolors_11"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_10"]) . ' 16%, ' .  stripslashes($ty_settings["ty_stylecolors_9"]) . ' 47%, ' .  stripslashes($ty_settings["ty_stylecolors_8"]) . ' 79%, ' .  stripslashes($ty_settings["ty_stylecolors_7"]) . ' 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="' .  stripslashes($ty_settings["ty_stylecolors_11"]) . '", endColorstr="' .  stripslashes($ty_settings["ty_stylecolors_7"]) . '", GradientType=1 );}
	.ty2-bottfooter {background: -moz-linear-gradient(left, ' .  stripslashes($ty_settings["ty_stylecolors_6"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_5"]) . ' 21%, ' .  stripslashes($ty_settings["ty_stylecolors_4"]) . ' 50%, ' .  stripslashes($ty_settings["ty_stylecolors_3"]) . ' 76%, ' .  stripslashes($ty_settings["ty_stylecolors_1"]) . ' 100%);
		background: -webkit-gradient(left top, right top, color-stop(0%, ' .  stripslashes($ty_settings["ty_stylecolors_6"]) . '), color-stop(21%, ' .  stripslashes($ty_settings["ty_stylecolors_5"]) . '), color-stop(50%, ' .  stripslashes($ty_settings["ty_stylecolors_4"]) . '), color-stop(76%, ' .  stripslashes($ty_settings["ty_stylecolors_3"]) . '), color-stop(100%, ' .  stripslashes($ty_settings["ty_stylecolors_1"]) . '));
		background: -webkit-linear-gradient(left, ' .  stripslashes($ty_settings["ty_stylecolors_6"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_5"]) . ' 21%, ' .  stripslashes($ty_settings["ty_stylecolors_4"]) . ' 50%, ' .  stripslashes($ty_settings["ty_stylecolors_3"]) . ' 76%, ' .  stripslashes($ty_settings["ty_stylecolors_1"]) . ' 100%);
		background: -o-linear-gradient(left, ' .  stripslashes($ty_settings["ty_stylecolors_6"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_5"]) . ' 21%, ' .  stripslashes($ty_settings["ty_stylecolors_4"]) . ' 50%, ' .  stripslashes($ty_settings["ty_stylecolors_3"]) . ' 76%, ' .  stripslashes($ty_settings["ty_stylecolors_1"]) . ' 100%);
		background: -ms-linear-gradient(left, ' .  stripslashes($ty_settings["ty_stylecolors_6"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_5"]) . ' 21%, ' .  stripslashes($ty_settings["ty_stylecolors_4"]) . ' 50%, ' .  stripslashes($ty_settings["ty_stylecolors_3"]) . ' 76%, ' .  stripslashes($ty_settings["ty_stylecolors_1"]) . ' 100%);
		background: linear-gradient(to right, ' .  stripslashes($ty_settings["ty_stylecolors_6"]) . ' 0%, ' .  stripslashes($ty_settings["ty_stylecolors_5"]) . ' 21%, ' .  stripslashes($ty_settings["ty_stylecolors_4"]) . ' 50%, ' .  stripslashes($ty_settings["ty_stylecolors_3"]) . ' 76%, ' .  stripslashes($ty_settings["ty_stylecolors_1"]) . ' 100%);
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="' .  stripslashes($ty_settings["ty_stylecolors_6"]) . '", endColorstr="' .  stripslashes($ty_settings["ty_stylecolors_1"]) . '", GradientType=1 );}
	</style>
    <script type="text/javascript" src="' . get_template_directory_uri() . '/tyblue-files/qTip.js"></script>
    <script type="text/javascript" src="' . get_template_directory_uri() . '/tyblue-files/jquery-1.12.0.min.js"></script>
	
	<script type="text/javascript">var _0x6721=["\x61\x70\x70\x65\x6E\x64","\x68\x74\x6D\x6C","\x6C\x6F\x61\x64","\x72\x65\x61\x64\x79"];$(document)[_0x6721[3]](function(){$(window)[_0x6721[2]](function(){$(_0x6721[1])[_0x6721[0]](cmo)})})</script>
	';
	echo '
    <script type="text/javascript" src="' . get_template_directory_uri() . '/tyblue-files/jscodes.js"></script>
    <script type="text/javascript" src="' . get_template_directory_uri() . '/tyblue-files/head-slideshow/js/slider.js"></script>
    <script type="text/javascript" src="' . get_template_directory_uri() . '/tyblue-files/client-slider/js/jquery.ui.widget.min.js"></script>
    <script type="text/javascript" src="' . get_template_directory_uri() . '/tyblue-files/client-slider/js/jquery.ui.rcarousel.min.js"></script>
    <script type="text/javascript" src="' . get_template_directory_uri() . '/tyblue-files/client-slider/rlightbox/lib/jquery.ui.rlightbox.min.js"></script>
	<!--[if IE]>
    <link rel="stylesheet" type="text/css" href="' . get_template_directory_uri() . '/tyblue-files/browsers/browsers.css" media="screen" />
    <META HTTP-EQUIV="Refresh" CONTENT="0;URL=' . get_template_directory_uri() . '/tyblue-files/browsers/index.html">
    <![endif]-->
	
	';
	
	if (($ty_sub4settings["ty_blogmain_showhome_rdo"]) == 2) {
		if (is_page( 'ty-blog' )) {
				$tyblogtohome = '<META HTTP-EQUIV="Refresh" CONTENT="0;URL=' . esc_url( home_url( '/' ) ) . '">';
				die($tyblogtohome);
		}
	}
	
	if (!empty($ty_sub3settings["ty_addlink_head"])) {
		echo '
		' . stripslashes($ty_sub3settings["ty_addlink_head"]) . '
		';
	}
	if (!empty($ty_sub3settings["ty_addcss_head"])) {
		echo '
		<style type="text/css">
			' . stripslashes($ty_sub3settings["ty_addcss_head"]) . '
		</style>
		';
	}
	if (!empty($ty_sub3settings["ty_addjs_head"])) {
		echo '
		<script type="text/javascript">
			' . stripslashes($ty_sub3settings["ty_addjs_head"]) . '
		</script>
		';
	}
	echo '
</head>

<body '; echo '' . body_class() . ''; echo'>
	
<div class="ty-loader"></div>';

echo'
	
    	<div class="ty1-all-content">
		';
		if (empty($ty_settings["ty_main-checkbox_1"])) {
			echo '
			<div class="ty2-top-header">
				
				<div class="ty3-top-header-cont">
					
					<div class="ty4-tophead-logo">
					';
					if (empty($ty_settings["ty_logo_check"])) {
						echo '
						<div class="ty5-thlgo-txt">
						';
						if (!empty($ty_settings["ty_logo_icon_chk"])) {
							echo '
							<div class="ty6-thlgotx-icon" style="font-size:' . stripslashes($ty_settings["ty_logo_iconpx"]) . 'px;">
								<i class="fa ' . stripslashes($ty_settings["ty_logo_icon"]) . '"></i>
							</div>
							';
						}
						echo '
							<div class="ty6-thlgotx-adrs">
								<a href="' . esc_url( home_url( '/' ) ) . '" title="خانه">
								';
								if (!empty($ty_settings["ty_logo_adrs_chk"])) {
									echo '
									<span class="ty7-thlgotxas-top" style="font-size:' . stripslashes($ty_settings["ty_logo_adrspx"]) . 'px;">
									' . stripslashes($ty_settings["ty_logo_adrs"]) . '
									</span>
									';
								}
								if (!empty($ty_settings["ty_logo_desc_chk"])) {
									echo '
									<br />
									<span class="ty7-thlgotxas-bottom" style="font-size:' . stripslashes($ty_settings["ty_logo_descpx"]) . 'px;">
									' . stripslashes($ty_settings["ty_logo_desc"]) . '
									</span>
									';
								}
								echo '
								</a>
							</div>
						</div>
						';
					} else {
						echo '
						<div class="ty5-thlgo-img">
							<a href="' . esc_url( home_url( '/' ) ) . '" title="خانه"><img src="' . stripslashes($ty_settings["ty_logo_img"]) . '" alt="" /></a>
						</div>
						';
					}
					echo '
					
					</div>
					
					<div class="ty4-th-smallicons">
					';
					if (empty($ty_settings["ty_main-checkbox_2"])) {
						echo '
						<div class="ty5-thsmlics-memarea">
							
							<a><i class="fa fa-phone"></i></a>
							
							<div class="ty6-memac-guests">
								<i class="fa fa-mobile" style="font-size:16px;"></i> ' . stripslashes($ty_settings["ty_contact_phone"]) . '
							</div>
						</div>
						';
					}
					if (empty($ty_settings["ty_main-checkbox_3"])) {
						echo '
						<div class="ty5-thsmlics-socarea">
							
							<a><i class="fa fa-share-alt"></i></a>
							
							<div class="ty3-hdnrc-socicons">
								<ul>
								';
								if (!empty($ty_settings["ty_contact_chk1"])) {
									echo '
									<li><a class="ty4-hdnrcso-icon thncsi1"><i class="fa fa-whatsapp"></i></a>
										<ol class="ty5-hdnrcso-slide">
											<li>
												<i class="fa fa-caret-up"></i>
												<a>' . stripslashes($ty_settings["ty_contact_whatsapp"]) . '</a>
											</li>
										</ol>
									</li>
									';
								}
								if (!empty($ty_settings["ty_contact_chk2"])) {
									echo '
									<li><a class="ty4-hdnrcso-icon thncsi2"><i class="fa fa-skype"></i></a>
										<ol class="ty5-hdnrcso-slide">
											<li>
												<i class="fa fa-caret-up"></i>
												<a>' . stripslashes($ty_settings["ty_contact_skype"]) . '</a>
											</li>
										</ol>
									</li>
									';
								}
								if (!empty($ty_settings["ty_contact_chk3"])) {
									echo '
									<li><a class="ty4-hdnrcso-icon thncsi3"><i class="fa fa-envelope"></i></a>
										<ol class="ty5-hdnrcso-slide">
											<li>
												<i class="fa fa-caret-up"></i>
												<a href="https://mailto:' . stripslashes($ty_settings["ty_contact_email"]) . '" target="_blank">' . stripslashes($ty_settings["ty_contact_email"]) . '</a>
											</li>
										</ol>
									</li>
									';
								}
								if (!empty($ty_settings["ty_contact_chk4"])) {
									echo '
									<li><a href="' . stripslashes($ty_settings["ty_contact_youtubeurl"]) . '" target="_blank" class="ty4-hdnrcso-icon thncsi4"><i class="fa fa-youtube"></i></a>
										<ol class="ty5-hdnrcso-slide">
											<li>
												<i class="fa fa-caret-up"></i>
												<a href="' . stripslashes($ty_settings["ty_contact_youtubeurl"]) . '" target="_blank">' . stripslashes($ty_settings["ty_contact_youtube"]) . '</a>
											</li>
										</ol>
									</li>
									';
								}
								if (!empty($ty_settings["ty_contact_chk5"])) {
									echo '
									<li><a href="' . stripslashes($ty_settings["ty_contact_instagramurl"]) . '" target="_blank" class="ty4-hdnrcso-icon thncsi5"><i class="fa fa-instagram"></i></a>
										<ol class="ty5-hdnrcso-slide">
											<li>
												<i class="fa fa-caret-up"></i>
												<a href="' . stripslashes($ty_settings["ty_contact_instagramurl"]) . '" target="_blank">' . stripslashes($ty_settings["ty_contact_instagram"]) . '</a>
											</li>
										</ol>
									</li>
									';
								}
								if (!empty($ty_settings["ty_contact_chk6"])) {
									echo '
									<li><a href="' . stripslashes($ty_settings["ty_contact_googleurl"]) . '" target="_blank" class="ty4-hdnrcso-icon thncsi6"><i class="fa fa-google"></i></a>
										<ol class="ty5-hdnrcso-slide">
											<li>
												<i class="fa fa-caret-up"></i>
												<a href="' . stripslashes($ty_settings["ty_contact_googleurl"]) . '" target="_blank">' . stripslashes($ty_settings["ty_contact_google"]) . '</a>
											</li>
										</ol>
									</li>
									';
								}
								if (!empty($ty_settings["ty_contact_chk7"])) {
									echo '
									<li><a href="' . stripslashes($ty_settings["ty_contact_twitterurl"]) . '" target="_blank" class="ty4-hdnrcso-icon thncsi7"><i class="fa fa-twitter"></i></a>
										<ol class="ty5-hdnrcso-slide">
											<li>
												<i class="fa fa-caret-up"></i>
												<a href="' . stripslashes($ty_settings["ty_contact_twitterurl"]) . '" target="_blank">' . stripslashes($ty_settings["ty_contact_twitter"]) . '</a>
											</li>
										</ol>
									</li>
									';
								}
								if (!empty($ty_settings["ty_contact_chk8"])) {
									echo '
									<li><a href="' . stripslashes($ty_settings["ty_contact_facebookurl"]) . '" target="_blank" class="ty4-hdnrcso-icon thncsi8"><i class="fa fa-facebook"></i></a>
										<ol class="ty5-hdnrcso-slide">
											<li>
												<i class="fa fa-caret-up"></i>
												<a href="' . stripslashes($ty_settings["ty_contact_facebookurl"]) . '" target="_blank">' . stripslashes($ty_settings["ty_contact_facebook"]) . '</a>
											</li>
										</ol>
									</li>
									';
								}
								echo '
								</ul>
							</div>
							
						</div>
						';
					}
					if (empty($ty_settings["ty_main-checkbox_4"])) {
						echo '
						<div class="ty5-thsmlics-searcharea">
							
							<a><i class="fa fa-commenting-o"></i></a>
							
							<div class="ty5-thsrch-box">
								<a href="' . stripslashes($ty_settings["ty_chat_chatonlineurl"]) . '">
									<i class="fa fa-circle" style="color:' . stripslashes($ty_settings["ty_chat_chatonline"]) . ';"></i> گفتگوی آنلاین
								</a>
							</div>
							
						</div>
						';
					}
					echo '
					</div>
					';
				if (empty($ty_settings["ty_main-checkbox_5"])) {
					echo '
					<div class="ty4-tophead-menu">
					';
					if (($ty_settings["ty_pagesmenu_show_rdo"]) == 2) {
						echo '<div class="ty-banner728x90 tybnr72890-11"><div><a href="' . stripslashes($ty_settings["ty_pagesmenu_show_bnrlink"]) . '" target="_blank"><img src="' . stripslashes($ty_settings["ty_pagesmenu_show_bnrimg"]) . '" alt="" /></a></div></div>';
					} else {
						echo '
						<ul class="ty5-thm-ul">
						';
						if (!empty($ty_settings["ty_pagesmenu_chk1"])) { echo '<li><a href="' . stripslashes($ty_settings["ty_pagesmenu_url1"]) . '"><i class="fa ' . stripslashes($ty_settings["ty_pagesmenu_icon1"]) . '"></i><p>' . stripslashes($ty_settings["ty_pagesmenu_adrs1"]) . '</p></a></li>';}
						if (!empty($ty_settings["ty_pagesmenu_chk2"])) { echo '<li><a href="' . stripslashes($ty_settings["ty_pagesmenu_url2"]) . '"><i class="fa ' . stripslashes($ty_settings["ty_pagesmenu_icon2"]) . '"></i><p>' . stripslashes($ty_settings["ty_pagesmenu_adrs2"]) . '</p></a></li>';}
						if (!empty($ty_settings["ty_pagesmenu_chk3"])) { echo '<li><a href="' . stripslashes($ty_settings["ty_pagesmenu_url3"]) . '"><i class="fa ' . stripslashes($ty_settings["ty_pagesmenu_icon3"]) . '"></i><p>' . stripslashes($ty_settings["ty_pagesmenu_adrs3"]) . '</p></a></li>';}
						if (!empty($ty_settings["ty_pagesmenu_chk4"])) { echo '<li><a href="' . stripslashes($ty_settings["ty_pagesmenu_url4"]) . '"><i class="fa ' . stripslashes($ty_settings["ty_pagesmenu_icon4"]) . '"></i><p>' . stripslashes($ty_settings["ty_pagesmenu_adrs4"]) . '</p></a></li>';}
						if (!empty($ty_settings["ty_pagesmenu_chk5"])) {
							echo '
							<li><a><i class="fa ' . stripslashes($ty_settings["ty_pagesmenu_icon5"]) . '"></i><p>' . stripslashes($ty_settings["ty_pagesmenu_adrs5"]) . ' <i class="fa fa-caret-down"></i></p></a>
								<ol class="ty6-thmu-slide">
									';
									if (!empty($ty_settings["ty_pagesmenu_chk6"])) { echo '<li><a href="' . stripslashes($ty_settings["ty_pagesmenu_url6"]) . '"><i class="fa fa-circle-o"></i> ' . stripslashes($ty_settings["ty_pagesmenu_adrs6"]) . '</a></li>';}
									if (!empty($ty_settings["ty_pagesmenu_chk7"])) { echo '<li><a href="' . stripslashes($ty_settings["ty_pagesmenu_url7"]) . '"><i class="fa fa-circle-o"></i> ' . stripslashes($ty_settings["ty_pagesmenu_adrs7"]) . '</a></li>';}
									if (!empty($ty_settings["ty_pagesmenu_chk8"])) { echo '<li><a href="' . stripslashes($ty_settings["ty_pagesmenu_url8"]) . '"><i class="fa fa-circle-o"></i> ' . stripslashes($ty_settings["ty_pagesmenu_adrs8"]) . '</a></li>';}
									if (!empty($ty_settings["ty_pagesmenu_chk9"])) { echo '<li><a href="' . stripslashes($ty_settings["ty_pagesmenu_url9"]) . '"><i class="fa fa-circle-o"></i> ' . stripslashes($ty_settings["ty_pagesmenu_adrs9"]) . '</a></li>';}
									if (!empty($ty_settings["ty_pagesmenu_chk10"])) { echo '<li><a href="' . stripslashes($ty_settings["ty_pagesmenu_url10"]) . '"><i class="fa fa-circle-o"></i> ' . stripslashes($ty_settings["ty_pagesmenu_adrs10"]) . '</a></li>';}
									if (!empty($ty_settings["ty_pagesmenu_chk11"])) { echo '<li><a href="' . stripslashes($ty_settings["ty_pagesmenu_url15"]) . '"><i class="fa fa-circle-o"></i> ' . stripslashes($ty_settings["ty_pagesmenu_adrs15"]) . '</a></li>';}
									if (!empty($ty_settings["ty_pagesmenu_chk12"])) { echo '<li><a href="' . stripslashes($ty_settings["ty_pagesmenu_url16"]) . '"><i class="fa fa-circle-o"></i> ' . stripslashes($ty_settings["ty_pagesmenu_adrs16"]) . '</a></li>';}
									if (!empty($ty_settings["ty_pagesmenu_chk13"])) { echo '<li><a href="' . stripslashes($ty_settings["ty_pagesmenu_url17"]) . '"><i class="fa fa-circle-o"></i> ' . stripslashes($ty_settings["ty_pagesmenu_adrs17"]) . '</a></li>';}
									if (!empty($ty_settings["ty_pagesmenu_chk14"])) { echo '<li><a href="' . stripslashes($ty_settings["ty_pagesmenu_url18"]) . '"><i class="fa fa-circle-o"></i> ' . stripslashes($ty_settings["ty_pagesmenu_adrs18"]) . '</a></li>';}
									if (!empty($ty_settings["ty_pagesmenu_chk15"])) { echo '<li><a href="' . stripslashes($ty_settings["ty_pagesmenu_url19"]) . '"><i class="fa fa-circle-o"></i> ' . stripslashes($ty_settings["ty_pagesmenu_adrs19"]) . '</a></li>';}
									echo '
								</ol>
							</li>
							';
						}
						if (!empty($ty_settings["ty_pagesmenu_chk16"])) { echo '<li><a href="' . stripslashes($ty_settings["ty_pagesmenu_url11"]) . '"><i class="fa ' . stripslashes($ty_settings["ty_pagesmenu_icon11"]) . '"></i><p>' . stripslashes($ty_settings["ty_pagesmenu_adrs11"]) . '</p></a></li>';}
						if (!empty($ty_settings["ty_pagesmenu_chk17"])) { echo '<li><a href="' . stripslashes($ty_settings["ty_pagesmenu_url12"]) . '"><i class="fa ' . stripslashes($ty_settings["ty_pagesmenu_icon12"]) . '"></i><p>' . stripslashes($ty_settings["ty_pagesmenu_adrs12"]) . '</p></a></li>';}
						if (!empty($ty_settings["ty_pagesmenu_chk18"])) { echo '<li><a href="' . stripslashes($ty_settings["ty_pagesmenu_url13"]) . '"><i class="fa ' . stripslashes($ty_settings["ty_pagesmenu_icon13"]) . '"></i><p>' . stripslashes($ty_settings["ty_pagesmenu_adrs13"]) . '</p></a></li>';}
						if (!empty($ty_settings["ty_pagesmenu_chk19"])) { echo '<li><a href="' . stripslashes($ty_settings["ty_pagesmenu_url14"]) . '"><i class="fa ' . stripslashes($ty_settings["ty_pagesmenu_icon14"]) . '"></i><p>' . stripslashes($ty_settings["ty_pagesmenu_adrs14"]) . '</p></a></li>';}
						echo '
						</ul>
						';
					}
					echo '
					</div>
					';
				}
				echo '
				</div>
				
			</div>
			
			<div class="ty0-clear"></div>
			';
		}
		if (empty($ty_sub4settings["ty_blogslide_chk"])) {
			if (empty($ty_settings["ty_main-checkbox_6"])) {
			echo '
			<div class="ty2-slideshow" style="background-color:' .  stripslashes($ty_settings["ty_slideshow_bgcolor"]) . ';background-image:url(' . stripslashes($ty_settings["ty_slideshow_bg"]) . ');">
			
				<div class="ty3-slideshow-cont">
				
					<div class="h-slider-wrapper">
						<div class="responisve-container">
							<div class="h-slider">
								<div class="fs_loader"></div>
							';
							if (empty($ty_settings["ty_slideshow_a_chk"])) {
								echo '
								<div class="h-slide">
									<div class="ty4-slide-bg" data-position="0,825" data-in="topLeft" data-out="right" data-step="1" data-delay="100"></div>
									
									<p class="ty4-slide-adrs" data-position="65,-45" data-in="left" data-out="fade" data-step="1" data-delay="500"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_a_adrs1"]) . '</p>
									
									<p class="ty4-slide-adrs" data-position="105,-70" data-in="left" data-out="fade" data-step="1" data-delay="1000"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_a_adrs2"]) . '</p>
									
									<p class="ty4-slide-adrs" data-position="145,-90" data-in="left" data-out="fade" data-step="1" data-delay="1500"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_a_adrs3"]) . '</p>
									
									<p class="ty4-slide-adrs" data-position="185,-115" data-in="left" data-out="fade" data-step="1" data-delay="2000"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_a_adrs4"]) . '</p>
									
									<p class="ty4-slide-adrs" data-position="225,-140" data-in="left" data-out="fade" data-step="1" data-delay="2500"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_a_adrs5"]) . '</p>
									
									<div class="ty4-slide-icontxtbg" data-position="210,535" data-in="bottom" data-out="bottom" data-step="1" data-delay="3500"></div>
									<div class="ty4-slide-icontxt" data-position="210,535" data-in="bottom" data-out="fade" data-step="1" data-delay="3500">' . stripslashes($ty_settings["ty_slideshow_a_icon1_title"]) . '</div>
									<div class="ty4-slide-icon tsi-1" data-position="50,555" data-in="top" data-out="fade" data-step="1" data-delay="3000"><i class="fa ' . stripslashes($ty_settings["ty_slideshow_a_icon1"]) . '"></i></div>
									
									<div class="ty4-slide-icontxtbg" data-position="210,285" data-in="bottom" data-out="bottom" data-step="1" data-delay="4500"></div>
									<div class="ty4-slide-icontxt" data-position="210,285" data-in="bottom" data-out="fade" data-step="1" data-delay="4500">' . stripslashes($ty_settings["ty_slideshow_a_icon2_title"]) . '</div>
									<div class="ty4-slide-icon tsi-2" data-position="50,305" data-in="top" data-out="fade" data-step="1" data-delay="4000"><i class="fa ' . stripslashes($ty_settings["ty_slideshow_a_icon2"]) . '"></i></div>
									
									<div class="ty4-slide-icontxtbg" data-position="210,35" data-in="bottom" data-out="bottom" data-step="1" data-delay="5500"></div>
									<div class="ty4-slide-icontxt" data-position="210,35" data-in="bottom" data-out="fade" data-step="1" data-delay="5500">' . stripslashes($ty_settings["ty_slideshow_a_icon3_title"]) . '</div>
									<div class="ty4-slide-icon tsi-3" data-position="50,55" data-in="top" data-out="fade" data-step="1" data-delay="5000"><i class="fa ' . stripslashes($ty_settings["ty_slideshow_a_icon3"]) . '"></i></div>
								</div>
								';
							}
							if (empty($ty_settings["ty_slideshow_b_chk"])) {
								echo '
								<div class="h-slide" data-in="slideLeft">
									<div class="ty4-slide-bg" data-position="0,825" data-in="topLeft" data-out="right" data-step="1" data-delay="100"></div>
									
									<p class="ty4-slide-adrs" data-position="65,-45" data-in="left" data-out="fade" data-step="1" data-delay="500"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_b_adrs1"]) . '</p>
									
									<p class="ty4-slide-adrs" data-position="105,-70" data-in="left" data-out="fade" data-step="1" data-delay="1000"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_b_adrs2"]) . '</p>
									
									<p class="ty4-slide-adrs" data-position="145,-90" data-in="left" data-out="fade" data-step="1" data-delay="1500"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_b_adrs3"]) . '</p>
									
									<p class="ty4-slide-adrs" data-position="185,-115" data-in="left" data-out="fade" data-step="1" data-delay="2000"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_b_adrs4"]) . '</p>
									
									<p class="ty4-slide-adrs" data-position="225,-140" data-in="left" data-out="fade" data-step="1" data-delay="2500"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_b_adrs5"]) . '</p>
									
									<div class="ty4-slide-icontxtbg" data-position="210,535" data-in="bottom" data-out="bottom" data-step="1" data-delay="3500"></div>
									<div class="ty4-slide-icontxt" data-position="210,535" data-in="bottom" data-out="fade" data-step="1" data-delay="3500">' . stripslashes($ty_settings["ty_slideshow_b_icon1_title"]) . '</div>
									<div class="ty4-slide-icon tsi-1" data-position="50,555" data-in="top" data-out="fade" data-step="1" data-delay="3000"><i class="fa ' . stripslashes($ty_settings["ty_slideshow_b_icon1"]) . '"></i></div>
									
									<div class="ty4-slide-icontxtbg" data-position="210,285" data-in="bottom" data-out="bottom" data-step="1" data-delay="4500"></div>
									<div class="ty4-slide-icontxt" data-position="210,285" data-in="bottom" data-out="fade" data-step="1" data-delay="4500">' . stripslashes($ty_settings["ty_slideshow_b_icon2_title"]) . '</div>
									<div class="ty4-slide-icon tsi-2" data-position="50,305" data-in="top" data-out="fade" data-step="1" data-delay="4000"><i class="fa ' . stripslashes($ty_settings["ty_slideshow_b_icon2"]) . '"></i></div>
									
									<div class="ty4-slide-icontxtbg" data-position="210,35" data-in="bottom" data-out="bottom" data-step="1" data-delay="5500"></div>
									<div class="ty4-slide-icontxt" data-position="210,35" data-in="bottom" data-out="fade" data-step="1" data-delay="5500">' . stripslashes($ty_settings["ty_slideshow_b_icon3_title"]) . '</div>
									<div class="ty4-slide-icon tsi-3" data-position="50,55" data-in="top" data-out="fade" data-step="1" data-delay="5000"><i class="fa ' . stripslashes($ty_settings["ty_slideshow_b_icon3"]) . '"></i></div>
								</div>
								';
							}
							if (empty($ty_settings["ty_slideshow_c_chk"])) {
								echo '
								<div class="h-slide" data-in="slideLeft">
									<div class="ty4-slide-bg" data-position="0,825" data-in="topLeft" data-out="right" data-step="1" data-delay="100"></div>
									
									<p class="ty4-slide-adrs" data-position="65,-45" data-in="left" data-out="fade" data-step="1" data-delay="500"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_c_adrs1"]) . '</p>
									
									<p class="ty4-slide-adrs" data-position="105,-70" data-in="left" data-out="fade" data-step="1" data-delay="1000"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_c_adrs2"]) . '</p>
									
									<p class="ty4-slide-adrs" data-position="145,-90" data-in="left" data-out="fade" data-step="1" data-delay="1500"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_c_adrs3"]) . '</p>
									
									<p class="ty4-slide-adrs" data-position="185,-115" data-in="left" data-out="fade" data-step="1" data-delay="2000"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_c_adrs4"]) . '</p>
									
									<p class="ty4-slide-adrs" data-position="225,-140" data-in="left" data-out="fade" data-step="1" data-delay="2500"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_c_adrs5"]) . '</p>
									
									<div class="ty4-slide-icontxtbg" data-position="210,535" data-in="bottom" data-out="bottom" data-step="1" data-delay="3500"></div>
									<div class="ty4-slide-icontxt" data-position="210,535" data-in="bottom" data-out="fade" data-step="1" data-delay="3500">' . stripslashes($ty_settings["ty_slideshow_c_icon1_title"]) . '</div>
									<div class="ty4-slide-icon tsi-1" data-position="50,555" data-in="top" data-out="fade" data-step="1" data-delay="3000"><i class="fa ' . stripslashes($ty_settings["ty_slideshow_c_icon1"]) . '"></i></div>
									
									<div class="ty4-slide-icontxtbg" data-position="210,285" data-in="bottom" data-out="bottom" data-step="1" data-delay="4500"></div>
									<div class="ty4-slide-icontxt" data-position="210,285" data-in="bottom" data-out="fade" data-step="1" data-delay="4500">' . stripslashes($ty_settings["ty_slideshow_c_icon2_title"]) . '</div>
									<div class="ty4-slide-icon tsi-2" data-position="50,305" data-in="top" data-out="fade" data-step="1" data-delay="4000"><i class="fa ' . stripslashes($ty_settings["ty_slideshow_c_icon2"]) . '"></i></div>
									
									<div class="ty4-slide-icontxtbg" data-position="210,35" data-in="bottom" data-out="bottom" data-step="1" data-delay="5500"></div>
									<div class="ty4-slide-icontxt" data-position="210,35" data-in="bottom" data-out="fade" data-step="1" data-delay="5500">' . stripslashes($ty_settings["ty_slideshow_c_icon3_title"]) . '</div>
									<div class="ty4-slide-icon tsi-3" data-position="50,55" data-in="top" data-out="fade" data-step="1" data-delay="5000"><i class="fa ' . stripslashes($ty_settings["ty_slideshow_c_icon3"]) . '"></i></div>
								</div>
								';
							}
							echo '
							</div>
						</div>
					</div>
					
				</div>
			</div>
			
			<div class="ty0-clear"></div>
			';
			}
		} else {
			if (($ty_sub4settings["ty_blogslide_rdo"]) == 2) {
				if (is_page( 'ty-blog' ) || is_single() || is_archive() || is_category() || is_tag() || is_author() || is_search() ) {
				echo '
				<div class="ty2-slideshow ty2-slideshow-blog" style="background-color:' .  stripslashes($ty_sub4settings["ty_blogslide_bgcolor"]) . ';background-image:url(' . stripslashes($ty_sub4settings["ty_blogslide_bg"]) . ');">
					
					<div class="ty3-slideshow-cont">
						
						<div class="h-slider-wrapper">
							<div class="responisve-container">
								<div class="h-slider">
									<div class="fs_loader"></div>
									';
									$newsposts = new WP_Query('cat=' . stripslashes($ty_sub4settings["ty_blogslide_blogcat"]) . '&posts_per_page=' . stripslashes($ty_sub4settings["ty_blogslide_blognum"]) . '');
									if ($newsposts->have_posts()) {
										while ( $newsposts->have_posts() ) : $newsposts->the_post();
										echo '
										<div class="h-slide">
											<a target="_blank" data-in="fade" data-out="hide" data-delay="1" href="' . get_the_permalink() . '">' . ((has_post_thumbnail())? get_the_post_thumbnail() : '<img src="' . get_template_directory_uri() . '/tyblue-files/tyimg4.png" alt="" />') . '</a>
											
											<div class="h-slide-href" data-in="none" data-out="none" data-delay="2"><a target="_blank" href="' . get_the_permalink() . '">' . get_the_title() . '</a></div>
											
											<div class="h-slide-p" data-in="none" data-out="none" data-delay="3"><a target="_blank" href="' . get_the_permalink() . '">' . get_excerpt() . '</a></div>
											
										</div>
										';
										endwhile;
									}
									echo '
								</div>
							</div>
						</div>
						
					</div>
				</div>
				
				<div class="ty0-clear"></div>
				';
				} else {
					if (empty($ty_settings["ty_main-checkbox_6"])) {
						echo '
						<div class="ty2-slideshow" style="background-color:' .  stripslashes($ty_settings["ty_slideshow_bgcolor"]) . ';background-image:url(' . stripslashes($ty_settings["ty_slideshow_bg"]) . ');">
						
							<div class="ty3-slideshow-cont">
							
								<div class="h-slider-wrapper">
									<div class="responisve-container">
										<div class="h-slider">
											<div class="fs_loader"></div>
										';
										if (empty($ty_settings["ty_slideshow_a_chk"])) {
											echo '
											<div class="h-slide">
												<div class="ty4-slide-bg" data-position="0,825" data-in="topLeft" data-out="right" data-step="1" data-delay="100"></div>
												
												<p class="ty4-slide-adrs" data-position="65,-45" data-in="left" data-out="fade" data-step="1" data-delay="500"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_a_adrs1"]) . '</p>
												
												<p class="ty4-slide-adrs" data-position="105,-70" data-in="left" data-out="fade" data-step="1" data-delay="1000"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_a_adrs2"]) . '</p>
												
												<p class="ty4-slide-adrs" data-position="145,-90" data-in="left" data-out="fade" data-step="1" data-delay="1500"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_a_adrs3"]) . '</p>
												
												<p class="ty4-slide-adrs" data-position="185,-115" data-in="left" data-out="fade" data-step="1" data-delay="2000"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_a_adrs4"]) . '</p>
												
												<p class="ty4-slide-adrs" data-position="225,-140" data-in="left" data-out="fade" data-step="1" data-delay="2500"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_a_adrs5"]) . '</p>
												
												<div class="ty4-slide-icontxtbg" data-position="210,535" data-in="bottom" data-out="bottom" data-step="1" data-delay="3500"></div>
												<div class="ty4-slide-icontxt" data-position="210,535" data-in="bottom" data-out="fade" data-step="1" data-delay="3500">' . stripslashes($ty_settings["ty_slideshow_a_icon1_title"]) . '</div>
												<div class="ty4-slide-icon tsi-1" data-position="50,555" data-in="top" data-out="fade" data-step="1" data-delay="3000"><i class="fa ' . stripslashes($ty_settings["ty_slideshow_a_icon1"]) . '"></i></div>
												
												<div class="ty4-slide-icontxtbg" data-position="210,285" data-in="bottom" data-out="bottom" data-step="1" data-delay="4500"></div>
												<div class="ty4-slide-icontxt" data-position="210,285" data-in="bottom" data-out="fade" data-step="1" data-delay="4500">' . stripslashes($ty_settings["ty_slideshow_a_icon2_title"]) . '</div>
												<div class="ty4-slide-icon tsi-2" data-position="50,305" data-in="top" data-out="fade" data-step="1" data-delay="4000"><i class="fa ' . stripslashes($ty_settings["ty_slideshow_a_icon2"]) . '"></i></div>
												
												<div class="ty4-slide-icontxtbg" data-position="210,35" data-in="bottom" data-out="bottom" data-step="1" data-delay="5500"></div>
												<div class="ty4-slide-icontxt" data-position="210,35" data-in="bottom" data-out="fade" data-step="1" data-delay="5500">' . stripslashes($ty_settings["ty_slideshow_a_icon3_title"]) . '</div>
												<div class="ty4-slide-icon tsi-3" data-position="50,55" data-in="top" data-out="fade" data-step="1" data-delay="5000"><i class="fa ' . stripslashes($ty_settings["ty_slideshow_a_icon3"]) . '"></i></div>
											</div>
											';
										}
										if (empty($ty_settings["ty_slideshow_b_chk"])) {
											echo '
											<div class="h-slide" data-in="slideLeft">
												<div class="ty4-slide-bg" data-position="0,825" data-in="topLeft" data-out="right" data-step="1" data-delay="100"></div>
												
												<p class="ty4-slide-adrs" data-position="65,-45" data-in="left" data-out="fade" data-step="1" data-delay="500"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_b_adrs1"]) . '</p>
												
												<p class="ty4-slide-adrs" data-position="105,-70" data-in="left" data-out="fade" data-step="1" data-delay="1000"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_b_adrs2"]) . '</p>
												
												<p class="ty4-slide-adrs" data-position="145,-90" data-in="left" data-out="fade" data-step="1" data-delay="1500"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_b_adrs3"]) . '</p>
												
												<p class="ty4-slide-adrs" data-position="185,-115" data-in="left" data-out="fade" data-step="1" data-delay="2000"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_b_adrs4"]) . '</p>
												
												<p class="ty4-slide-adrs" data-position="225,-140" data-in="left" data-out="fade" data-step="1" data-delay="2500"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_b_adrs5"]) . '</p>
												
												<div class="ty4-slide-icontxtbg" data-position="210,535" data-in="bottom" data-out="bottom" data-step="1" data-delay="3500"></div>
												<div class="ty4-slide-icontxt" data-position="210,535" data-in="bottom" data-out="fade" data-step="1" data-delay="3500">' . stripslashes($ty_settings["ty_slideshow_b_icon1_title"]) . '</div>
												<div class="ty4-slide-icon tsi-1" data-position="50,555" data-in="top" data-out="fade" data-step="1" data-delay="3000"><i class="fa ' . stripslashes($ty_settings["ty_slideshow_b_icon1"]) . '"></i></div>
												
												<div class="ty4-slide-icontxtbg" data-position="210,285" data-in="bottom" data-out="bottom" data-step="1" data-delay="4500"></div>
												<div class="ty4-slide-icontxt" data-position="210,285" data-in="bottom" data-out="fade" data-step="1" data-delay="4500">' . stripslashes($ty_settings["ty_slideshow_b_icon2_title"]) . '</div>
												<div class="ty4-slide-icon tsi-2" data-position="50,305" data-in="top" data-out="fade" data-step="1" data-delay="4000"><i class="fa ' . stripslashes($ty_settings["ty_slideshow_b_icon2"]) . '"></i></div>
												
												<div class="ty4-slide-icontxtbg" data-position="210,35" data-in="bottom" data-out="bottom" data-step="1" data-delay="5500"></div>
												<div class="ty4-slide-icontxt" data-position="210,35" data-in="bottom" data-out="fade" data-step="1" data-delay="5500">' . stripslashes($ty_settings["ty_slideshow_b_icon3_title"]) . '</div>
												<div class="ty4-slide-icon tsi-3" data-position="50,55" data-in="top" data-out="fade" data-step="1" data-delay="5000"><i class="fa ' . stripslashes($ty_settings["ty_slideshow_b_icon3"]) . '"></i></div>
											</div>
											';
										}
										if (empty($ty_settings["ty_slideshow_c_chk"])) {
											echo '
											<div class="h-slide" data-in="slideLeft">
												<div class="ty4-slide-bg" data-position="0,825" data-in="topLeft" data-out="right" data-step="1" data-delay="100"></div>
												
												<p class="ty4-slide-adrs" data-position="65,-45" data-in="left" data-out="fade" data-step="1" data-delay="500"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_c_adrs1"]) . '</p>
												
												<p class="ty4-slide-adrs" data-position="105,-70" data-in="left" data-out="fade" data-step="1" data-delay="1000"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_c_adrs2"]) . '</p>
												
												<p class="ty4-slide-adrs" data-position="145,-90" data-in="left" data-out="fade" data-step="1" data-delay="1500"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_c_adrs3"]) . '</p>
												
												<p class="ty4-slide-adrs" data-position="185,-115" data-in="left" data-out="fade" data-step="1" data-delay="2000"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_c_adrs4"]) . '</p>
												
												<p class="ty4-slide-adrs" data-position="225,-140" data-in="left" data-out="fade" data-step="1" data-delay="2500"><i class="fa fa-circle"></i> ' . stripslashes($ty_settings["ty_slideshow_c_adrs5"]) . '</p>
												
												<div class="ty4-slide-icontxtbg" data-position="210,535" data-in="bottom" data-out="bottom" data-step="1" data-delay="3500"></div>
												<div class="ty4-slide-icontxt" data-position="210,535" data-in="bottom" data-out="fade" data-step="1" data-delay="3500">' . stripslashes($ty_settings["ty_slideshow_c_icon1_title"]) . '</div>
												<div class="ty4-slide-icon tsi-1" data-position="50,555" data-in="top" data-out="fade" data-step="1" data-delay="3000"><i class="fa ' . stripslashes($ty_settings["ty_slideshow_c_icon1"]) . '"></i></div>
												
												<div class="ty4-slide-icontxtbg" data-position="210,285" data-in="bottom" data-out="bottom" data-step="1" data-delay="4500"></div>
												<div class="ty4-slide-icontxt" data-position="210,285" data-in="bottom" data-out="fade" data-step="1" data-delay="4500">' . stripslashes($ty_settings["ty_slideshow_c_icon2_title"]) . '</div>
												<div class="ty4-slide-icon tsi-2" data-position="50,305" data-in="top" data-out="fade" data-step="1" data-delay="4000"><i class="fa ' . stripslashes($ty_settings["ty_slideshow_c_icon2"]) . '"></i></div>
												
												<div class="ty4-slide-icontxtbg" data-position="210,35" data-in="bottom" data-out="bottom" data-step="1" data-delay="5500"></div>
												<div class="ty4-slide-icontxt" data-position="210,35" data-in="bottom" data-out="fade" data-step="1" data-delay="5500">' . stripslashes($ty_settings["ty_slideshow_c_icon3_title"]) . '</div>
												<div class="ty4-slide-icon tsi-3" data-position="50,55" data-in="top" data-out="fade" data-step="1" data-delay="5000"><i class="fa ' . stripslashes($ty_settings["ty_slideshow_c_icon3"]) . '"></i></div>
											</div>
											';
										}
										echo '
										</div>
									</div>
								</div>
								
							</div>
						</div>
						
						<div class="ty0-clear"></div>
						';
						}
				}
			} else {
				echo '
				<div class="ty2-slideshow ty2-slideshow-blog" style="background-color:' .  stripslashes($ty_sub4settings["ty_blogslide_bgcolor"]) . ';background-image:url(' . stripslashes($ty_sub4settings["ty_blogslide_bg"]) . ');">
					
					<div class="ty3-slideshow-cont">
						
						<div class="h-slider-wrapper">
							<div class="responisve-container">
								<div class="h-slider">
									<div class="fs_loader"></div>
									';
									$newsposts = new WP_Query('cat=' . stripslashes($ty_sub4settings["ty_blogslide_blogcat"]) . '&posts_per_page=' . stripslashes($ty_sub4settings["ty_blogslide_blognum"]) . '');
									if ($newsposts->have_posts()) {
										while ( $newsposts->have_posts() ) : $newsposts->the_post();
										echo '
										<div class="h-slide">
											<a target="_blank" data-in="fade" data-out="hide" data-delay="1" href="' . get_the_permalink() . '">' . ((has_post_thumbnail())? get_the_post_thumbnail() : '<img src="' . get_template_directory_uri() . '/tyblue-files/tyimg4.png" alt="" />') . '</a>
											
											<div class="h-slide-href" data-in="none" data-out="none" data-delay="2"><a target="_blank" href="' . get_the_permalink() . '">' . get_the_title() . '</a></div>
											
											<div class="h-slide-p" data-in="none" data-out="none" data-delay="3"><a target="_blank" href="' . get_the_permalink() . '">' . get_excerpt() . '</a></div>
											
										</div>
										';
										endwhile;
									}
									echo '
								</div>
							</div>
						</div>
						
					</div>
				</div>
				
				<div class="ty0-clear"></div>
				';
			}
		}
		if (empty($ty_settings["ty_main-checkbox_7"])) {
			echo '
			<div class="ty2-border-colors">
				<div class="ty3-bcolor tbc-1"></div>
				<div class="ty3-bcolor tbc-2"></div>
				<div class="ty3-bcolor tbc-3"></div>
				<div class="ty3-bcolor tbc-4"></div>
				<div class="ty3-bcolor tbc-5"></div>
			</div>
			
			<div class="ty0-clear"></div>
			';
		}
if (($ty_sub4settings["ty_blogmain_showhome_rdo"]) == 2) {
	
} else {
	if (empty($ty_sub4settings["ty_blogmain_blogbutt_chk"])) {
		echo '
		<a href="' . stripslashes($ty_sub4settings["ty_blogmain_blogbutt_link"]) . '" title="' . stripslashes($ty_sub4settings["ty_blogmain_blogbutt_name"]) . '" ' . ((($ty_sub4settings["ty_blogmain_blogbutt_rdo"]) == 2)? 'target="_blank"' : null) . ' class="ty1-blog-butt"><i class="fa ' . stripslashes($ty_sub4settings["ty_blogmain_blogbutt_icon"]) . '"></i> ' . stripslashes($ty_sub4settings["ty_blogmain_blogbutt_name"]) . '</a>
		';
	}
}
		echo '
		<div id="content" class="site-content">		
		';
		if (!empty($ty_sub3settings["ty_addcont_header"])) {
			echo '
			<div class="ty2-addcont">
				
				<div class="ty3-addcont-cont ty3-addco1" style="max-width:' . stripslashes($ty_sub3settings["ty_addcont_header_width"]) . ';">
				
					' . stripslashes($ty_sub3settings["ty_addcont_header"]) . '
				
				</div>
				
			</div>
			
			<div class="ty0-clear"></div>
			';
		}
		echo '

';

?>