
<?php
	$client = new Zend_Session_Namespace('client');
?>

<!DOCTYPE html>

<html lang="pl">

<head>

	<meta charset="utf-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
	
	<meta http-equiv="Cache-Control" content="no-cache" />
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Expires" content="0" />

	<title><?php echo $this->mt['title']; ?></title>
	<meta name="description" content="<?php echo $this->mt['description']; ?>">
	<meta name="keywords" content="<?php echo $this->mt['keywords']; ?>">
	
    <script src="https://code.jquery.com/jquery.min.js"></script>
	<link rel="stylesheet" href="https://cdn.jsdelivr.net/bxslider/4.2.12/jquery.bxslider.css">		
	<script src="https://cdn.jsdelivr.net/bxslider/4.2.12/jquery.bxslider.min.js"></script>
	
	<link rel="stylesheet" href="<?php echo $this->escape($this->baseUrl); ?>/public/scripts/jquery-ui/jquery-ui.css"> 
	<script src="<?php echo $this->escape($this->baseUrl); ?>/public/scripts/jquery-ui/jquery-ui.js"></script>


    <!-- Bootstrap -->
    <link href="<?php echo $this->escape($this->baseUrl); ?>/public/scripts/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="<?php echo $this->escape($this->baseUrl); ?>/public/scripts/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet">
	<script src="<?php echo $this->escape($this->baseUrl); ?>/public/scripts/bootstrap/js/bootstrap.min.js"></script>
	
	<script src="<?php echo $this->escape($this->baseUrl); ?>/public/scripts/html5lightbox/html5lightbox.js"></script>
	<script src="<?php echo $this->escape($this->baseUrl); ?>/public/scripts/lightbox/js/lightbox.min.js"></script>
	<link href="<?php echo $this->escape($this->baseUrl); ?>/public/scripts/lightbox/css/lightbox.css" rel="stylesheet" />
	
    <script src="<?php echo $this->escape($this->baseUrl); ?>/public/scripts/jquery.maskedinput.js"></script>
    <script src="<?php echo $this->escape($this->baseUrl); ?>/public/scripts/jquery.number.js"></script>
	
	<script type="text/javascript" src="<?php echo $this->escape($this->baseUrl); ?>/public/scripts/datetimepicker-master/jquery.datetimepicker.js" ></script>
	<link rel="stylesheet" href="<?php echo $this->escape($this->baseUrl); ?>/public/scripts/datetimepicker-master/jquery.datetimepicker.css" type="text/css" />
	
	<link rel="stylesheet" href="<?php echo $this->escape($this->baseUrl); ?>/public/scripts/font-awesome/css/font-awesome.min.css">

	<script src="<?php echo $this->escape($this->baseUrl); ?>/public/scripts/jquery-validation/dist/jquery.validate.js"></script>
	
	<link rel="stylesheet" type="text/css" href="<?php echo $this->escape($this->baseUrl); ?>/public/scripts/tooltipster-master/css/tooltipster.css" />
	<link rel="stylesheet" type="text/css" href="<?php echo $this->escape($this->baseUrl); ?>/public/scripts/tooltipster-master/css/themes/tooltipster-shadow.css" />
	<script type="text/javascript" src="<?php echo $this->escape($this->baseUrl); ?>/public/scripts/tooltipster-master/js/jquery.tooltipster.min.js"></script>
	
	<script src="<?php echo $this->escape($this->baseUrl); ?>/public/scripts/jQuery-Autocomplete-master/dist/jquery.autocomplete.min.js"></script>
	
	<script src="<?php echo $this->escape($this->baseUrl); ?>/public/scripts/alertify.js/lib/alertify.min.js"></script>
	<link rel="stylesheet" href="<?php echo $this->escape($this->baseUrl); ?>/public/scripts/alertify.js/themes/alertify.core.css" />
	<link rel="stylesheet" href="<?php echo $this->escape($this->baseUrl); ?>/public/scripts/alertify.js/themes/alertify.default.css" />
	
	<link href="<?php echo $this->escape($this->baseUrl); ?>/public/style/css.css?t=<?php echo time(); ?>" rel="stylesheet" />
	<link href="<?php echo $this->escape($this->baseUrl); ?>/public/css/style_v2.css?t=<?php echo time(); ?>" rel="stylesheet" />
	
</head>

<body>


<?php
	if( $client->login_in_admin == true ){
?>
<div class="container">
	<div class="row">
		<p class="text-danger">
		<b>UWAGA!</b> Zostałeś zalogowany na konto klienta <b><?php echo $client->client_firstname.' '.$client->client_secondname; ?></b> (<?php echo $client->client_login; ?>) z poziomu administratora.
		<a href="<?php echo @$this->url(array('controller' => 'admin', 'action' => 'logoutclient'), 'default', true); ?>">WYLOGUJ I WRÓĆ >></a>
		</p>
	</div>
</div>
<?php
	}
?>
	
	
	


<div style="background-color:#fff;padding-bottom:10px;padding-top:10px;">

<div class="container">
<div class="header">
	<div class="col-lg-4 col-sm-6 col-xs-12 menuLogo">
		<a href="#"><img data-src="https://emeble.eu/public/images/logo_top.png" class="img-responsive" src="https://emeble.eu/public/images/logo_top.png" data-holder-rendered="true" style="max-height:50px;"></a>
	</div>
	<div class="col-lg-4 col-sm-6 col-xs-12">
          <form class="navbar-form pull-right menuSearch" action="<?php echo @$this->url(array('controller' => 'search', 'action' => 'index'), 'default', true); ?>" method="get">
			<div class="form-group">
				<input name="search" type="text" class="form-control searchI" placeholder="Szukaj...">
				<button class="btn btn-warning"><i class='fa fa-search'></i></button>
            </div>
          </form>
	</div>
	<div class="col-lg-4 col-sm-12 col-xs-12">
          <div class="pull-right menuMain">
		  
<?php
	if( $client->client_auth != true ){
?>
<a href="<?php echo @$this->url(array('controller' => 'account', 'action' => 'login'), 'default', true); ?>"><?php echo @Lib_Lang::translate(front_menutop_log); ?></a> 
<a href="<?php echo @$this->url(array('controller' => 'account', 'action' => 'registration'), 'default', true); ?>"><?php echo @Lib_Lang::translate(front_menutop_reg); ?></a>
<?php
	}else{					
?>
<a href="<?php echo @$this->url(array('controller' => 'account', 'action' => 'info'), 'default', true); ?>"><?php echo @Lib_Lang::translate(front_menutop_info); ?></a>
<a href="<?php echo @$this->url(array('controller' => 'account', 'action' => 'logout'), 'default', true); ?>"><?php echo @Lib_Lang::translate(front_menutop_logout); ?></a>
<?php
	}
?>

	<script type="text/javascript" language="javascript">	
		$(document).ready(function () {
			$("#shopInfo").load("<?php echo $this->url(array('controller' => 'shop', 'action' => 'shopinfo'), 'default', true); ?>");
		});
	</script>
	
			<div class="kosz" id="shopInfo">Koszyk</div></li>
          </div>
	</div>
</div>
</div>

</div>
	
<?php echo $this->render('module/menu_mobi.phtml'); ?>
	