<!-- bradcam_area_start  -->
<div class="bradcam_area breadcam_bg_2 bradcam_overlay">
	<div class="container">
		<div class="row">
			<div class="col-xl-12">
				<div class="bradcam_text">
					<h3><?=$br_title?></h3>
					<p><a href="<?=base_url()?>">Home /</a> <?=$br_sub_title?></p>
				</div>
			</div>
		</div>
	</div>
</div>
<!-- bradcam_area_end  -->
<!-- product_start -->
<div class="expert_doctors_area doctor_page">
	<div class="container">
		<div class="row">
			<div class="col-md-4">
				<form action="<?=base_url('product')?>" method="post">
					<?php
					$csrf = array(
							'name' => $this->security->get_csrf_token_name(),
							'hash' => $this->security->get_csrf_hash()
					);
					?>
					<input type="hidden" name="<?= $csrf['name']; ?>" id="token_key" value="<?= $csrf['hash']; ?>" class="form-control login_style" readonly>

					<div class="form-group">
						<div class="input-group mb-3">
							<input type="text" class="form-control" name="search_keyword" placeholder='Search Keyword'
								   onfocus="this.placeholder = ''" onblur="this.placeholder = 'Search Keyword'" value="<?php if(!empty($_POST)){echo $_POST['search_keyword'];}?>">
							<div class="input-group-append">
								<button class="btn btn-info" type="submit"><i class="ti-search"></i></button>
							</div>
						</div>
					</div>
				</form>
			</div>
		</div>
		<div class="row">

			<?php
			foreach ($product as $data) {
				$picture = $data['picture'];
				?>
				<div class="col-xl-3 col-md-3 col-lg-3 col-6">
					<a href="<?=base_url('product/'.$data['sub_url'].'/'.$data['url'])?>">
						<div class="single_expert mb-40">
							<span class="pr_badge"><?php echo $data['sub_category_name']; ?></span>
							<div class="expert_thumb">
								<img src="<?=base_url()?>/assets/img/products/<?=$picture?>" alt="">
							</div>
							<div class="experts_name text-center">
								<h3><a href="<?=base_url('product/'.$data['sub_url'].'/'.$data['url'])?>"><?php echo $data['product_name']; ?></a></h3>
							</div>
						</div>
					</a>

				</div>
				<?php
			}
			?>
		</div>
	</div>
</div>
<!-- product_end -->
