
					
				<?php if( $this->rowProduct['product_type'] == 1 ){ ?>
					<div class="configuratorMenuElement" data-field="typeBox"><?php if( $this->ProductFieldnameInfo['product_fieldname_type'] != '' ) echo $this->ProductFieldnameInfo['product_fieldname_type']; else echo @Lib_Lang::translate(front_configurator_type); ?><div class="configuratorMenuElementZR"><?php echo @Lib_Lang::translate(front_configurator_zr); ?></div></div>
					
					
				<div class="configuratorDiv">
				
				
				
				
				
				
				
				
				
					
				<?php if( $this->rowProduct['product_type'] == 1 ){ ?>
					<div class="configuratorDivElement" id="typeBox">					
						<h4><?php if( $this->ProductFieldnameInfo['product_fieldname_type'] != '' ) echo $this->ProductFieldnameInfo['product_fieldname_type']; else echo @Lib_Lang::translate(front_configurator_type); ?></h4>					
					
					
					<div class="row" style="margin:5px;">
					<script type="text/javascript" language="javascript">

						$(document).ready(function () {
						
							$(".elementProductSubType").hide();
							$("#elementProductSubType<?php echo$this->dataSelect['product_type_id']; ?>").show();
					
							$(".elementItemType").click(function(){
								$(".elementItemType").removeClass('activ');
								$(this).addClass('activ');	
								
								$(".elementProductSubType").hide();
								$("#elementProductSubType"+$(this).attr('data-value')).show();	

								$(".elementItemSubType .activ").click();
							});
					
							$(".elementItemSubType").click(function(){
								$(".elementItemSubType").removeClass('activ');
								$(this).addClass('activ');	
								
							});
					
							$(".elementItemType").hover(function(){	
								var kids = $(this).children('.elementItemTypeCloud');
								$(kids).show();
							},function(){
								var kids = $(this).children('.elementItemTypeCloud');
								$(kids).hide();
							});
					
							$(".elementItemSubType").hover(function(){	
								var kids = $(this).children('.elementItemSubTypeCloud');
								$(kids).show();
							},function(){
								var kids = $(this).children('.elementItemSubTypeCloud');
								$(kids).hide();
							});
						});

					</script>	
					
						<?php if( count($this->dataType) > 0 ){ ?>
						<?php foreach ($this->dataType as $key => $val): ?>
						
						
						
						<div class="elementItem elementItemType<?php if($val['product_type_id']==$this->dataSelect['product_type_id'])echo' activ';?>" data-field="product_type_id" data-value="<?php echo$val['product_type_id']; ?>">
							<?php if( $val['product_type_image'] ){ ?>
								<div style="background: url('<?php echo $this->escape($this->baseUrl); ?>/public/uploads/type/<?php echo$val['product_type_image']; ?>.jpeg');background-repeat: no-repeat;background-size:cover;background-position:center;width:100%;height: 95px;margin-bottom:3px;"></div>
							<?php }else{ ?>			
								<div style="width:100%;height: 95px;margin-bottom:3px;">
								</div>
							<?php } ?>
							<center><?php echo @Lib_Lang::consta(product_typename_.$val['product_type_id']); ?></center>
							<div class="elementItemTypeCloud" style="display:none;position:relative;top:-151px;left:145px;background-color:#fff;border:3px solid #464646;width:300px;z-index:9999;">
							
							<?php if( $val['product_type_image'] ){ ?>
								<div style="background: url('<?php echo $this->escape($this->baseUrl); ?>/public/uploads/type/<?php echo$val['product_type_image']; ?>.jpeg');background-repeat: no-repeat;background-size:cover;background-position:center;width:100%;height: 250px;margin-bottom:3px;"></div>
							<?php }else{ ?>			
								<div style="width:100%;height: 250px;margin-bottom:3px;">
								</div>
							<?php } ?>
							
							<div style="content: ''; position: absolute; width: 0; height: 0; border: 15px solid;border-color: transparent; border-right-color: #464646; top: 25px; right: 100%; margin-top: -15px;"></div>
							
							
							<div style="padding:5px;">								
								<center><h4><?php echo @Lib_Lang::consta(product_typename_.$val['product_type_id']); ?></h4></center>
								<?php echo @Lib_Lang::consta(product_typedescription_.$val['product_type_id']); ?>
							</div>
							
							</div>
						</div>
							
						
						<?php endforeach; ?>
						<?php }else{ ?>
						<center><?php echo @Lib_Lang::translate(front_element_list_0); ?></center>
						<?php } ?>	
					</div>
					
					
					
					
						<?php if( count($this->dataType) > 0 ){ ?>
					<hr />
					<div class="row" style="margin:5px;">
						<?php foreach ($this->dataType as $key => $val): ?>
					
						
						
						<div id="elementProductSubType<?php echo$val['product_type_id']; ?>" class="elementProductSubType">
							<?php foreach ($val['pod'] as $keyPod => $valPod): ?>
						
						
						<div class="elementItem elementItemSubType<?php if($valPod['product_type2_id']==$this->dataSelect['product_type2_id'])echo' activ';?>" data-field="product_type2_id" data-value="<?php echo$valPod['product_type2_id']; ?>">
							<?php if( $valPod['product_type2_image'] ){ ?>
								<div style="background: url('<?php echo $this->escape($this->baseUrl); ?>/public/uploads/type/<?php echo$valPod['product_type2_image']; ?>.jpeg');background-repeat: no-repeat;background-size:cover;background-position:center;width:100%;height: 95px;margin-bottom:3px;"></div>
							<?php }else{ ?>			
								<div style="width:100%;height: 95px;margin-bottom:3px;">
								</div>
							<?php } ?>
							<center><?php echo @Lib_Lang::consta(product_type2name_.$valPod['product_type2_id']); ?></center>
							<div class="elementItemSubTypeCloud" style="display:none;position:relative;top:-151px;left:145px;background-color:#fff;border:3px solid #464646;width:300px;z-index:9999;">
							
							<?php if( $valPod['product_type2_image'] ){ ?>
								<div style="background: url('<?php echo $this->escape($this->baseUrl); ?>/public/uploads/type/<?php echo$valPod['product_type2_image']; ?>.jpeg');background-repeat: no-repeat;background-size:cover;background-position:center;width:100%;height: 250px;margin-bottom:3px;"></div>
							<?php }else{ ?>			
								<div style="width:100%;height: 250px;margin-bottom:3px;">
								</div>
							<?php } ?>
							
							<div style="content: ''; position: absolute; width: 0; height: 0; border: 15px solid;border-color: transparent; border-right-color: #464646; top: 25px; right: 100%; margin-top: -15px;"></div>
							
							
							<div style="padding:5px;">								
								<center><h4><?php echo @Lib_Lang::consta(product_type2name_.$valPod['product_type2_id']); ?></h4></center>
								<?php echo @Lib_Lang::consta(product_type2description_.$valPod['product_type2_id']); ?>
							</div>
							
							</div>
						</div>
						
							<?php endforeach; ?>
						</div>	
					
					
						<?php endforeach; ?>
						</div>	
						<?php } ?>
					
					
					</div>
				<?php } ?>
				</div>




				
				<?php } ?>