<div class="col-lg-3 col-md-3 col-sm-4 col-xs-12 pjJlSort">
	<?php
	if(!empty($tpl['type_arr']))
	{ 
		?>
		<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 pjJlSortSection">
			<p class="pjJlSortTitle"><?php __('front_label_type');?></p><!-- /.pjJlSortTitle -->
			<ul class="list-unstyled pjJlSortItems">
				<?php
				foreach($tpl['type_arr'] as $k => $v)
				{
					?>
					<li class="pjJlSortItem">
						<div class="pjJlCheckbox pjJlCustomCheckbox">
							<input type="checkbox"<?php echo isset($_GET['type_id']) ? (in_array($v['id'], $_GET['type_id']) ? ' checked="checked"' : NULL) : NULL;?> name="type_id[]" id="pjJlSortType_<?php echo $v['id'];?>" value="<?php echo $v['id'];?>"/>
			
							<label for="pjJlSortType_<?php echo $v['id'];?>">
								<span class="pjJlCustomCheckboxFake">
									<i class="fa fa-check"></i>
								</span>
			
								<?php echo pjSanitize::html($v['name']);?> (<span><?php echo $v['cnt_jobs'];?></span>)
							</label>
						</div><!-- /.pjJlCheckbox pjJlCustomCheckbox -->
					</li><!-- /.pjJlSortItem -->
					<?php
				} 
				?>
			</ul><!-- /.list-unstyled pjJlSortItems -->
			<div class="pjJlSortActions">
				<a href="#" class="btn btn-link pjJlBtn pjJlBtnLink pjJlSortItemsTrigger" data-more="<?php __('front_show_more');?>" data-less="<?php __('front_show_less');?>"><?php __('front_show_more');?></a>
			</div><!-- /.pjJlSortActions -->
		</div><!-- /.col-lg-12 col-md-12 col-sm-12 col-xs-12 pjJlSortSection -->
		<?php
	}
	if(!empty($tpl['category_arr']))
	{
		?>
		<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 pjJlSortSection">
			<p class="pjJlSortTitle"><?php __('front_label_category');?></p><!-- /.pjJlSortTitle -->
			<ul class="list-unstyled pjJlSortItems">
				<?php
				foreach($tpl['category_arr'] as $k => $v)
				{
					?>
					<li class="pjJlSortItem">
						<div class="pjJlCheckbox pjJlCustomCheckbox">
							<input type="checkbox"<?php echo isset($_GET['category_id']) ? (in_array($v['id'], $_GET['category_id']) ? ' checked="checked"' : NULL) : NULL;?> name="category_id[]" id="pjJlSortCategory_<?php echo $v['id'];?>" value="<?php echo $v['id'];?>"/>
			
							<label for="pjJlSortCategory_<?php echo $v['id'];?>">
								<span class="pjJlCustomCheckboxFake">
									<i class="fa fa-check"></i>
								</span>
			
								<?php echo stripslashes($v['name']);?> (<span><?php echo $v['cnt_jobs'];?></span>)
							</label>
						</div><!-- /.pjJlCheckbox pjJlCustomCheckbox -->
					</li><!-- /.pjJlSortItem -->
					<?php
				} 
				?>
			</ul><!-- /.list-unstyled pjJlSortItems -->
			<div class="pjJlSortActions">
				<a href="#" class="btn btn-link pjJlBtn pjJlBtnLink pjJlSortItemsTrigger" data-more="<?php __('front_show_more');?>" data-less="<?php __('front_show_less');?>"><?php __('front_show_more');?></a>
			</div><!-- /.pjJlSortActions -->
		</div><!-- /.col-lg-12 col-md-12 col-sm-12 col-xs-12 pjJlSortSection -->
		<?php
	}
	if(!empty($tpl['filter_arr']))
	{
		$filter_types = __('filter_types', true);
		foreach($filter_types as $key => $val)
		{
			if(isset($tpl['filter_arr'][$key]))
			{
				?>
				<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 pjJlSortSection">
					<p class="pjJlSortTitle"><?php echo $val;?></p><!-- /.pjJlSortTitle -->
					<ul class="list-unstyled pjJlSortItems">
						<?php
						foreach($tpl['filter_arr'][$key] as $k => $v)
						{
							?>
							<li class="pjJlSortItem">
								<div class="pjJlCheckbox pjJlCustomCheckbox">
									<input type="checkbox"<?php echo isset($_GET['filter_id']) ? (in_array($v['id'], $_GET['filter_id']) ? ' checked="checked"' : NULL) : NULL;?> name="filter_id[]" id="pjJlSortFilter_<?php echo $v['id'];?>" value="<?php echo $v['id'];?>"/>
					
									<label for="pjJlSortFilter_<?php echo $v['id'];?>">
										<span class="pjJlCustomCheckboxFake">
											<i class="fa fa-check"></i>
										</span>
					
										<?php echo stripslashes($v['name']);?> (<span><?php echo $v['cnt_jobs'];?></span>)
									</label>
								</div><!-- /.pjJlCheckbox pjJlCustomCheckbox -->
							</li><!-- /.pjJlSortItem -->
							<?php
						} 
						?>
					</ul><!-- /.list-unstyled pjJlSortItems -->
				</div><!-- /.col-lg-12 col-md-12 col-sm-12 col-xs-12 pjJlSortSection -->
				<?php
			}
		}
	} 
	?>
</div><!-- /.col-lg-3 col-md-3 col-sm-4 col-xs-12 pjJlSort -->