<div class="row">
	<div class="col-md-9">
		<div class="box box-info">
			<div class="box-header with-border">
				<h3 class="box-title"> <?= !empty(lang('manage_features'))?lang('manage_features'):'Manage Features';?></h3>
				<div class="box-tools pull-right">
					<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
					<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-remove"></i></button>
				</div>
			</div>
			<!-- /.box-header -->
			<div class="box-body" >
				<div class="upcoming_events">
					<form action="<?= base_url('admin/profile/add_themes'); ?>" method="post"> 

						<input type="hidden" name="<?= $this->security->get_csrf_token_name(); ?>" value="<?= $this->security->get_csrf_hash(); ?>">

						<div class="row">
							<div class="">
								<?php foreach ($pricing as $key => $row): ?>
									<?php foreach ($features as $key => $feature): ?>
										<?php $feature_id = get_price_feature_id($feature['feature_id'],$row['id']); ?>
											<?php if(isset($feature_id['feature_id']) && $feature_id['feature_id']==$feature['feature_id']): ?>
												<div class="col-sm-6">
													<div class="form-group setting_op">
														<label for=""><?= $feature['name'];?></label> &nbsp; &nbsp; &nbsp;
														<input type="checkbox" data-id="<?= $feature['feature_id'] ;?>" data-value="<?= $feature['status'];?>" name="feature_id" class="toggle_feature" <?= $feature['status']==1?'checked':'';?> value="1"  data-toggle="toggle" data-on="<i class='fa fa-check'></i> <?= !empty(lang('on'))?lang('on'):'On';?>" data-off="<i class='fa fa-pause'></i> <?= !empty(lang('off'))?lang('off'):'Off';?>">
													</div>
												</div>
											<?php endif;?>
									<?php endforeach; ?>
								<?php endforeach; ?>
							</div>
						</div>
						
					</form>
				</div>	
			</div><!-- /.box-body -->
		</div>
	</div>
	
</div>