<?php if(count($services) > 0): ?>
	<?php if(get_user_pricing_by_id($id,'services')==1 && is_active($id,'services')): ?>
		<?php $j=1; foreach ($services as $service): ?>
		<!-- Modal -->
			<div class="modal fade backdrop" data-backdrop="false" id="serviceModal_<?= $service['id'] ;?>" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
				<div class="modal-dialog" role="document">
					<div class="modal-content">
						<div class="modal-header">
							<h5 class="modal-title" id="exampleModalLabel"><?= $service['title'];?></h5>
							<button type="button" class="close" data-dismiss="modal" aria-label="Close">
								<span aria-hidden="true">&times;</span>
							</button>
						</div>
						<div class="modal-body">
							<p><?= $service['details'];?></p>
						</div>
						<div class="modal-footer">
							<div class="flex_btn">
								<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
								<?php if(isset($service['pay_button_status']) && $service['pay_button_status']==1): ?>
									<a href="<?= base_url('single-service/'.$slug.'/'.md5($service['id'])); ?>" class="btn btn-info"><i class="fa fa-shopping-cart"></i> <?= !empty(lang('order_now'))?lang('order_now'):"order now"; ?></a>
								<?php else: ?>
									<a href="<?= base_url('single-service/'.$slug.'/'.md5($service['id'])); ?>" class="btn btn-info"><i class="fa fa-eye"></i> <?= !empty(lang('see_more'))?lang('see_more'):"See More"; ?></a>
								<?php endif ?>
							</div>
						</div>
					</div>
				</div>
			</div>
		<?php endforeach; ?>
	<?php endif; ?><!-- check features in package list -->
<?php endif; ?>