<?php
$_GET = $controller->_get->raw();
 // print_r($tpl['locale_arr']);
if($_GET['action'] == 'pjActionLoadCars' || $_GET['action'] == 'pjActionLoadExtras' || $_GET['action'] == 'pjActionLoadCheckout' || $_GET['action'] == 'pjActionLoadFinal' ) {
if(isset($_SESSION[$controller->defaultMethod]) && $_SESSION[$controller->defaultMethod] == 'all')
{
	
}
if (!isset($_GET['locale']) || (int) $_GET['locale'] <= 0)
	{
		if (isset($tpl['locale_arr']) && is_array($tpl['locale_arr']) && !empty($tpl['locale_arr']))
		{
			?>
			<div class="crLocale">
				<ul class="crLocaleMenu"><?php
				foreach ($tpl['locale_arr'] as $locale)
				{
					?><li><a href="#" class="crLocaleEl<?php echo $controller->getLocaleId() == $locale['id'] ? ' crLocaleFocus' : NULL; ?>" rel="<?php echo $locale['id']; ?>" data-id="<?php echo $locale['id']; ?>" title="<?php echo htmlspecialchars($locale['title']); ?>"><img src="<?php echo PJ_INSTALL_URL . 'core/framework/libs/pj/img/flags/' . $locale['file'] ?>" alt="<?php echo htmlspecialchars($locale['title']); ?>" /></a></li><?php
				}
				?>
				</ul>
			</div>
			<?php
		}
	}
?>

<div class="crBreadcrumbs">
	<div class="crBreadcrumbsTitle">
			<div><a style="text-align:center" href="javascript:void(0);" rel="1" class=".<?php echo $_GET['action'] == 'pjActionLoadSearch' ? ' focus MenuSearch' : NULL; ?>"><?php  __('front_menu_1'); ?></a></div>
			<div><a style="text-align:center" href="javascript:void(0);" rel="2" class="crBreadcrumbsEl<?php echo $_GET['action'] == 'pjActionLoadCars' ? ' focus MenuCars' : NULL; ?>"><?php  __('front_menu_2'); ?></a></div>
			<div><a style="text-align:center" href="javascript:void(0);" rel="3" class="crBreadcrumbsEl<?php echo $_GET['action'] == 'pjActionLoadExtras' ? ' focus MenuExtras' : NULL; ?>"><?php  __('front_menu_3'); ?></a></div>
			<div><a style="text-align:center" href="javascript:void(0);" rel="4" class="crBreadcrumbsEl<?php echo $_GET['action'] == 'pjActionLoadCheckout' ? ' focus MenuCheckout' : NULL; ?>"><?php  __('front_menu_4'); ?></a></div>
			<div><a style="text-align:center" href="javascript:void(0);" rel="5" class="crBreadcrumbsEl crBreadcrumbsFinal<?php echo $_GET['action'] == 'pjActionLoadFinal' ? ' focus MenuFinal' : NULL; ?>"><?php  __('front_menu_5'); ?></a></div>
	</div>

	<div class="progress-wrap">
		<div rel="1" class="_ps _ps1 <?php echo $_GET['action'] == 'pjActionLoadSearch' ? ' focus' : NULL; ?> <?php echo isset($_SESSION[$controller->default_product][$controller->default_order]['1_passed']) && $_SESSION[$controller->default_product][$controller->default_order]['1_passed'] && $_GET['action'] != 'pjActionLoadSearch' ?  ' passed' : NULL; ?> "></div>
		<div rel="2" class="_ps _ps2 <?php echo $_GET['action'] == 'pjActionLoadCars' ? ' focus' : NULL; ?>   <?php echo isset($_SESSION[$controller->default_product][$controller->default_order]['2_passed']) && $_SESSION[$controller->default_product][$controller->default_order]['2_passed'] && $_GET['action'] != 'pjActionLoadCars' ?  ' passed' : NULL; ?> "></div>
		<div rel="3" class="_ps _ps3 <?php echo $_GET['action'] == 'pjActionLoadExtras' ? ' focus' : NULL; ?> <?php echo isset($_SESSION[$controller->default_product][$controller->default_order]['3_passed']) && $_SESSION[$controller->default_product][$controller->default_order]['3_passed'] && $_GET['action'] != 'pjActionLoadExtras' ?  ' passed' : NULL; ?>"></div>
		<div rel="4" class="_ps _ps4 <?php echo $_GET['action'] == 'pjActionLoadCheckout' ? ' focus' : NULL; ?> <?php echo isset($_SESSION[$controller->default_product][$controller->default_order]['4_passed']) && $_SESSION[$controller->default_product][$controller->default_order]['4_passed'] && $_GET['action'] != 'pjActionLoadCheckout' ?  ' passed' : NULL; ?>"></div>
		<div rel="5" class="_ps _ps5 <?php echo $_GET['action'] == 'pjActionLoadFinal' ? ' focus' : NULL; ?>"></div>
		<div class="progress-bar" ></div>
	</div>
</div>

<!-- <div class="crBreadcrumbs">
	<div class="crBreadcrumbsTitle">
			<div><a style="text-align:center" href="javascript:void(0);" rel="1" class=".<?php // echo $_GET['action'] == 'pjActionLoadSearch' ? ' focus MenuSearch' : NULL; ?>"><?php //  __('front_menu_1'); ?></a></div>
			<div><a style="text-align:center" href="javascript:void(0);" rel="2" class="crBreadcrumbsEl<?php // echo $_GET['action'] == 'pjActionLoadCars' ? ' focus MenuCars' : NULL; ?>"><?php //  __('front_menu_2'); ?></a></div>
			<div><a style="text-align:center" href="javascript:void(0);" rel="3" class="crBreadcrumbsEl<?php // echo $_GET['action'] == 'pjActionLoadExtras' ? ' focus MenuExtras' : NULL; ?>"><?php //  __('front_menu_3'); ?></a></div>
			<div><a style="text-align:center" href="javascript:void(0);" rel="4" class="crBreadcrumbsEl<?php // echo $_GET['action'] == 'pjActionLoadCheckout' ? ' focus MenuCheckout' : NULL; ?>"><?php //  __('front_menu_4'); ?></a></div>
			<div><a style="text-align:center" href="javascript:void(0);" rel="5" class="crBreadcrumbsEl crBreadcrumbsFinal<?php // echo $_GET['action'] == 'pjActionLoadFinal' ? ' focus MenuFinal' : NULL; ?>"><?php //  __('front_menu_5'); ?></a></div>
	</div>

	<div class="progress-wrap">
		<div rel="1" class="_ps _ps1 <?php // echo $_GET['action'] == 'pjActionLoadSearch' ? ' focus' : NULL; ?> <?php // echo isset($_SESSION[$controller->default_product][$controller->default_order]['1_passed']) && $_SESSION[$controller->default_product][$controller->default_order]['1_passed'] && $_GET['action'] != 'pjActionLoadSearch' ?  ' passed' : NULL; ?> "></div>
		<div rel="2" class="_ps _ps2 <?php // echo $_GET['action'] == 'pjActionLoadCars' ? ' focus' : NULL; ?>   <?php // echo isset($_SESSION[$controller->default_product][$controller->default_order]['2_passed']) && $_SESSION[$controller->default_product][$controller->default_order]['2_passed'] && $_GET['action'] != 'pjActionLoadCars' ?  ' passed' : NULL; ?> "></div>
		<div rel="3" class="_ps _ps3 <?php // echo $_GET['action'] == 'pjActionLoadExtras' ? ' focus' : NULL; ?> <?php // echo isset($_SESSION[$controller->default_product][$controller->default_order]['3_passed']) && $_SESSION[$controller->default_product][$controller->default_order]['3_passed'] && $_GET['action'] != 'pjActionLoadExtras' ?  ' passed' : NULL; ?>"></div>
		<div rel="4" class="_ps _ps4 <?php // echo $_GET['action'] == 'pjActionLoadCheckout' ? ' focus' : NULL; ?> <?php // echo isset($_SESSION[$controller->default_product][$controller->default_order]['4_passed']) && $_SESSION[$controller->default_product][$controller->default_order]['4_passed'] && $_GET['action'] != 'pjActionLoadCheckout' ?  ' passed' : NULL; ?>"></div>
		<div rel="5" class="_ps _ps5 <?php // echo $_GET['action'] == 'pjActionLoadFinal' ? ' focus' : NULL; ?>"></div>
		<div class="progress-bar" ></div>
	</div>
</div> -->

<?php } ?>