<div class="row">
	<?php
	if(isset($tpl['extra_arr']))
	{
		$STORE = $_SESSION[$controller->defaultStore];
		$extras = array();
		if(isset($STORE['extras']))
		{
			$extras = $STORE['extras'];
		}
		
		foreach($tpl['extra_arr'] as $k => $v)
		{
			$image_url = PJ_INSTALL_URL . PJ_IMG_PATH .'frontend/90x120.png';
			if(!empty($v['image']) && file_exists(PJ_INSTALL_PATH . $v['image']))
			{
				$image_url = PJ_INSTALL_URL . $v['image'];
			}
			?>
			<div class="col-md-4 col-sm-4 col-xs-6">
				<div class="pjNcb-drink">
					<div class="pjNcb-drink-title"><?php echo pjSanitize::html($v['title'])?></div><!-- /.pjNcb-title -->
		
					<div class="pjNcb-drink-content">
						<div class="pjNcb-drink-content-product">
							<div class="pjNcb-drink-image">
								<img src="<?php echo $image_url;?>" alt="">
							</div><!-- /.pjNcb-drink-image -->
		
						<div class="pjNcb-quantity">
							<p><?php __('front_price');?>: <strong><?php echo pjUtil::formatCurrencySign($v['price'], $tpl['option_arr']['o_currency']);?></strong></p>
		
							<div class="btn-group pjNcb-spinner" role="group" aria-label="...">
								<button type="button" class="btn pjNcbSpinner pjNcb-spinner-down" data-id="<?php echo $v['id'];?>" data-cid="<?php echo $tpl['category_id']?>">-</button>
		
								<input type="text" class="pjNcb-spinner-result" maxlength="3" value="<?php echo isset($extras[$tpl['category_id']][$v['id']]) ? $extras[$tpl['category_id']][$v['id']]['cnt'] : 0;?>">
		
								<button type="button" class="btn pjNcbSpinner pjNcb-spinner-up" data-id="<?php echo $v['id'];?>" data-cid="<?php echo $tpl['category_id']?>">+</button>
							</div>
						</div><!-- /.pjNcb-quantity -->
						</div><!-- /.pjNcb-drink-content-product -->
		
						<div class="pjNcb-drink-content-description">
							<p><?php echo nl2br(pjSanitize::html($v['description']));?></p>
						</div><!-- /.pjNcb-drink-content-product -->
					</div><!-- /.pjNcb-content -->
				</div><!-- /.pjNcb-drink -->
			</div><!-- /.col-md-4 -->
			<?php
		}
	} 
	?>
</div><!-- /.row-->