
<div class="row">
<?php include 'inc/leftsidebar.php'; ?>
<?php if(is_allow()==1): ?>
<form class="email_setting_form" action="<?= base_url('admin/dashboard/add_payment_settings') ?>" method="post" enctype= "multipart/form-data" autocomplete="off">
<input type="hidden" name="<?= $this->security->get_csrf_token_name(); ?>" value="<?= $this->security->get_csrf_hash(); ?>" autocomplete="off">
<div class="col-md-8">
	<div class="card">
		<div class="card-header">
			<h4><?= lang('payment_gateway'); ?></h4>
		</div>
		<div class="card-body">
			<div class="payemt_list">
				<div class="table-responsive">
					<table class="table table-striped table-bordered">
						<thead>
							<tr>
								<th>#</th>
								<th><?= lang('name'); ?></th>
								<th><?= lang('status'); ?></th>
								<th><?= lang('action'); ?></th>
							</tr>
						</thead>
						<tbody>
							<?php $i=1; foreach (payment_methods() as $key => $value): ?>
							<tr>
								<td><?= $i ;?></td>
								<td><?= $value['name'] ;?></td>
								<td>
									<?php if($settings[$value['active_slug']]==1): ?>
										<span class="label bg-success-soft"><i class="fa fa-check c_green"></i> &nbsp;<?= lang('installed') ;?></span>
									<?php else: ?>
										<span class="label bg-danger-soft"><i class="fa fa-ban c_red"></i> &nbsp;<?= lang('not_installed') ;?></span>
									<?php endif;?>
								</td>
								<td>
									<?php if($settings[$value['active_slug']]==1): ?>
										<a href="<?= base_url("admin/dashboard/install_payment/{$value['active_slug']}/0") ;?>" class="label label-danger action_btn" data-msg="click to uninstall"><i class="icofont-ban"></i> <?= lang('uninstall'); ?></a>
									<?php else: ?>
										<a href='<?= base_url("admin/dashboard/install_payment/{$value['active_slug']}/1") ;?>' class="label label-success action_btn" data-msg="click to install"><i class="icofont-hand-drag1"></i> <?= lang('install'); ?></a>
									<?php endif;?>	
								</td>
							</tr>
							<?php $i++; endforeach ?>
						</tbody>
					</table>
				</div>
			</div>
		</div>
	</div><!-- card -->
	<br><br>
<?php if(active('paypal_status')==1): ?>
	<div class="card mt-50">
		<div class="card-header">
			<h4><?= !empty(lang('paypal_payment'))?lang('paypal_payment'):"Paypal Payment";?></h4>
		</div>
		<div class="card-body">
			<div class="row">
				<div class="form-group  col-md-6 col-sm-6 col-xs-6">
					<label for=""><?= !empty(lang('status'))?lang('status'):"status";?></label>
					<div class="">
						<input type="checkbox" name="is_paypal" class="setting_option"  data-type="is_paypal" data-value="<?= check_setting_value('is_paypal'); ?>" value="1"  <?= isset($settings['is_paypal']) && $settings['is_paypal']==1?'checked':'';?> data-toggle="toggle" data-on="<i class='fa fa-check'></i> <?= !empty(lang('active'))?lang('active'):"Active";?>" data-off="<i class='fa fa-pause'></i><?= !empty(lang('off'))?lang('off'):"Off";?>">
					</div>
				</div>

				<div class="form-group  col-md-12 col-sm-12 col-xs-12">
					<label for=""><?= !empty(lang('paypal_environment'))?lang('paypal_environment'):"Paypal Environment";?></label>
					<div class="">
						<select name="is_paypal_live" class="form-control">
							<option value="0" <?= isset($settings['is_paypal_live']) && $settings['is_paypal_live']==0?"selected":"" ;?>><?= lang('sandbox'); ?></option>
							<option value="1" <?= isset($settings['is_paypal_live']) && $settings['is_paypal_live']==1?"selected":"" ;?>><?= lang('live'); ?></option>
						</select>
					</div>
				</div>
				<div class="col-md-12">
					<div class="form-group">
						<label class=""><?= !empty(lang('paypal_email'))?lang('paypal_email'):"Paypal Email";?></label>
						<div class="">
							<input type="text" name="paypal_email" placeholder="<?= !empty(lang('paypal_business_email'))?lang('paypal_business_email'):"Paypal Business Email";?>" class="form-control" value="<?= !empty($settings['paypal_email'])?html_escape($settings['paypal_email']):'';  ?>">
						</div>
					</div>
				</div>
			</div><!-- row -->

		</div><!-- card-body -->
	</div><!-- card -->
<?php endif;?>
	<?php if(active('stripe_status')==1): ?>
	<div class="card">
		<div class="card-header mt-1">
			<h4><?= !empty(lang('stripe_payment_gateway'))?lang('stripe_payment_gateway'):"Stripe paytment Gateway";?></h4>
		</div>
		<div class="card-body">
			<div class="row">
				<div class="form-group  col-md-6 col-sm-6 col-xs-12">
					<label for=""><?= !empty(lang('status'))?lang('status'):"Status";?></label>
					<div class="">
						<input type="checkbox" name="is_stripe" class="setting_option"  data-type="is_stripe" data-value="<?= check_setting_value('is_stripe'); ?>" value="1"  <?= isset($settings['is_stripe']) && $settings['is_stripe']==1?'checked':'';?> data-toggle="toggle" data-on="<i class='fa fa-check'></i> <?= !empty(lang('active'))?lang('active'):"Active";?>" data-off="<i class='fa fa-pause'></i><?= !empty(lang('off'))?lang('off'):"Off";?>">

					</div>
				</div>
			</div><!-- row -->
			<div class="row">
				<div class="col-md-12">
					<div class="form-group">
						<label class=""><?= !empty(lang('stripe_public_key'))?lang('stripe_public_key'):"Stripe Public key";?></label>
						<div class="">
							<input type="text" name="public_key" placeholder="<?= !empty(lang('stripe_public_key'))?lang('stripe_public_key'):"Stripe Public key";?>" class="form-control" value="<?= !empty($settings['public_key'])?html_escape($settings['public_key']):'';  ?>">
							<span class="error"><?= form_error('public_key'); ?></span>
						</div>
					</div>
				</div>
				<div class="col-md-12">
					<div class="form-group">
						<label class=""><?= !empty(lang('stripe_secret_key'))?lang('stripe_secret_key'):"Stripe Secret key";?></label>
						<div class="">
							<input type="text" name="secret_key" placeholder="<?= !empty(lang('stripe_secret_key'))?lang('stripe_secret_key'):"Stripe Secret key";?>" class="form-control" value="<?= !empty($settings['secret_key'])?html_escape($settings['secret_key']):'';  ?>">
							<span class="error"><?= form_error('secret_key'); ?></span>
						</div>
					</div>
				</div>
			</div>

		</div><!-- card-body -->
	</div><!-- card -->
<?php endif;?>
<?php if(active('razorpay_status')==1): ?>
	<div class="card">
		<div class="card-header mt-1">
			<h4><?= !empty(lang('razorpay_payment'))?lang('razorpay_payment'):"Razorpay paytment Gateway";?></h4>
		</div>
		<div class="card-body">
			<div class="row">
				<div class="form-group  col-md-6 col-sm-6 col-xs-12">
					<label for=""><?= !empty(lang('status'))?lang('status'):"Status";?></label>
					<div class="">
						<input type="checkbox" name="is_razorpay" class="setting_option"  data-type="is_razorpay" data-value="<?= check_setting_value('is_razorpay'); ?>" value="1"  <?= isset($settings['is_razorpay']) && $settings['is_razorpay']==1?'checked':'';?> data-toggle="toggle" data-on="<i class='fa fa-check'></i> <?= !empty(lang('active'))?lang('active'):"Active";?>" data-off="<i class='fa fa-pause'></i><?= !empty(lang('off'))?lang('off'):"Off";?>">

					</div>
				</div>

				<div class="col-md-12">
					<div class="form-group">
						<label class=""><?= !empty(lang('key_id'))?lang('key_id'):"Razorpay Key Id";?></label>
						<div class="">
							<input type="text" name="key_id" placeholder="<?= !empty(lang('key_id'))?lang('key_id'):"Razorpay key";?>" class="form-control" value="<?= !empty($settings['key_id'])?html_escape($settings['key_id']):'';  ?>">
							<span class="error"><?= form_error('key_id'); ?></span>
						</div>
					</div>
				</div>
				<div class="col-md-12">
					<div class="form-group">
						<label class=""><?= !empty(lang('secret_key'))?lang('secret_key'):"Secret Key";?></label>
						<div class="">
							<input type="text" name="razorpay_key" placeholder="<?= !empty(lang('razorpay_key'))?lang('razorpay_key'):"Razorpay Key";?>" class="form-control" value="<?= !empty($settings['razorpay_key'])?html_escape($settings['razorpay_key']):'';  ?>">
						</div>
					</div>
				</div>

			</div>

		</div><!-- card-body -->
	</div><!-- card -->
<?php endif;?>
			<?php if(active('mercado_status')==1): ?>
				<div class="card">
					<div class="card-header mt-1">
						<h4><?= !empty(lang('mercadopago'))?lang('mercadopago'):"Mercadopado";?></h4>
					</div>
					<div class="card-body">
						<div class="row">
							<?php $mercado = !empty($settings['mercado_config'])?json_decode($settings['mercado_config']):''; ?>
							<div class="form-group  col-md-6 col-sm-6 col-xs-12">
								<label for=""><?= !empty(lang('status'))?lang('status'):"Status";?></label>
								<div class="">
									<input type="checkbox" name="is_mercado" class="" value="1"  <?= isset($settings['is_mercado']) && $settings['is_mercado']==1?'checked':'';?> data-toggle="toggle" data-on="<i class='fa fa-check'></i> <?= lang('active'); ?>" data-off="<i class='fa fa-pause'></i> <?= lang('off'); ?>">

								</div>
							</div>
						</div><!-- row -->
						<div class="row">
							<div class="col-md-6 col-sm-6 col-xs-12">
								<div class="form-group">
									<label class=""><?= !empty(lang('public_key'))?lang('public_key'):"Public key";?></label>
									<div class="">
										<input type="text" name="mercado_public_key" placeholder="<?= !empty(lang('public_key'))?lang('public_key'):"Public key";?>" class="form-control" value="<?= !empty($mercado->mercado_public_key)?html_escape($mercado->mercado_public_key):'';  ?>">
									</div>
								</div>
							</div>
							<div class="col-md-6 col-sm-6 col-xs-12">
								<div class="form-group">
									<label class=""><?= !empty(lang('access_token'))?lang('access_token'):"Access Token";?></label>
									<div class="">
										<input type="text" name="access_token" placeholder="<?= !empty(lang('access_token'))?lang('access_token'):"Access Token";?>" class="form-control" value="<?= !empty($mercado->access_token)?html_escape($mercado->access_token):'';  ?>">
									</div>
								</div>
							</div>
						</div>

					</div><!-- card-body -->
				</div><!-- card -->
			<?php endif;?>
			<?php if(active('paytm_status')==1): ?>
				<div class="card">
					<div class="card-header mt-1">
						<h4><?= !empty(lang('paytm'))?lang('paytm'):"Paytm";?></h4>
					</div>
					<div class="card-body">
						<div class="row">
							<?php $paytm = !empty($settings['paytm_config'])?json_decode($settings['paytm_config']):''; ?>
							<div class="form-group  col-md-6 col-sm-6 col-xs-12">
								<label for=""><?= !empty(lang('status'))?lang('status'):"Status";?></label>
								<div class="">
									<input type="checkbox" name="is_paytm" class="" value="1"  <?= isset($settings['is_paytm']) && $settings['is_paytm']==1?'checked':'';?> data-toggle="toggle" data-on="<i class='fa fa-check'></i> <?= lang('active'); ?>" data-off="<i class='fa fa-pause'></i> <?= lang('off'); ?>">

								</div>
							</div>
						</div><!-- row -->
						<div class="row">
							<div class="form-group  col-md-12 col-sm-12 col-xs-12">
								<label for=""><?= !empty(lang('environment'))?lang('environment'):"Environment";?></label>
								<div class="">
									<select name="is_paytm_live" class="form-control">
										<option value="0" <?= isset($paytm->is_paytm_live) && $paytm->is_paytm_live==0?"selected":"" ;?>><?= lang('sandbox'); ?></option>
										<option value="1" <?= isset($paytm->is_paytm_live) && $paytm->is_paytm_live==1?"selected":"" ;?>><?= lang('live'); ?></option>
									</select>
								</div>
							</div>
							<div class="col-md-6 col-sm-6 col-xs-12">
								<div class="form-group">
									<label class=""><?= !empty(lang('merchand_id'))?lang('merchand_id'):"Merchand ID";?></label>
									<div class="">
										<input type="text" name="merchant_id" placeholder="<?= !empty(lang('merchant_id'))?lang('merchant_id'):"Merchant ID";?>" class="form-control" value="<?= !empty($paytm->merchant_id)?html_escape($paytm->merchant_id):'';  ?>">
									</div>
								</div>
							</div>
							<div class="col-md-6 col-sm-6 col-xs-12">
								<div class="form-group">
									<label class=""><?= !empty(lang('merchant_key'))?lang('merchant_key'):"Merchant Key";?></label>
									<div class="">
										<input type="text" name="merchant_key" placeholder="<?= !empty(lang('merchant_key'))?lang('merchant_key'):"Merchant Key";?>" class="form-control" value="<?= !empty($paytm->merchant_key)?html_escape($paytm->merchant_key):'';  ?>">
									</div>
								</div>
							</div>
						</div>

					</div><!-- card-body -->
				</div><!-- card -->
			<?php endif;?>
			<?php if(active('flutterwave_status')==1): ?>
				<div class="card">
					<div class="card-header mt-1">
						<h4><?= !empty(lang('flutterwave'))?lang('flutterwave'):"flutterwave";?></h4>
					</div>
					<div class="card-body">
						<div class="row">
							<?php $flutterwave = !empty($settings['flutterwave_config'])?json_decode($settings['flutterwave_config']):''; ?>
							<div class="form-group  col-md-6 col-sm-6 col-xs-12">
								<label for=""><?= !empty(lang('status'))?lang('status'):"Status";?></label>
								<div class="">
									<input type="checkbox" name="is_flutterwave" class="" value="1"  <?= isset($settings['is_flutterwave']) && $settings['is_flutterwave']==1?'checked':'';?> data-toggle="toggle" data-on="<i class='fa fa-check'></i> <?= lang('active'); ?>" data-off="<i class='fa fa-pause'></i> <?= lang('off'); ?>">

								</div>
							</div>
						</div><!-- row -->
						<div class="row">
							<div class="form-group  col-md-12 col-sm-12 col-xs-12">
								<label for=""><?= !empty(lang('environment'))?lang('environment'):"Environment";?></label>
								<div class="">
									<select name="is_flutterwave_live" class="form-control">
										<option value="0" <?= isset($flutterwave->is_flutterwave_live) && $flutterwave->is_flutterwave_live==0?"selected":"" ;?>><?= lang('sandbox'); ?></option>
										<option value="1" <?= isset($flutterwave->is_flutterwave_live) && $flutterwave->is_flutterwave_live==1?"selected":"" ;?>><?= lang('live'); ?></option>
									</select>
								</div>
							</div>
							<div class="col-md-6 col-sm-6 col-xs-12">
								<div class="form-group">
									<label class=""><?= !empty(lang('public_key'))?lang('public_key'):"Public Key";?></label>
									<div class="">
										<input type="text" name="fw_public_key" placeholder="<?= !empty(lang('public_key'))?lang('public_key'):"Merchant ID";?>" class="form-control" value="<?= !empty($flutterwave->fw_public_key)?html_escape($flutterwave->fw_public_key):'';  ?>">
									</div>
								</div>
							</div>
							<div class="col-md-6 col-sm-6 col-xs-12">
								<div class="form-group">
									<label class=""><?= !empty(lang('secret_key'))?lang('secret_key'):"Secret key";?></label>
									<div class="">
										<input type="text" name="fw_secret_key" placeholder="<?= !empty(lang('secret_key'))?lang('secret_key'):"Secret key";?>" class="form-control" value="<?= !empty($flutterwave->fw_secret_key)?html_escape($flutterwave->fw_secret_key):'';  ?>">
									</div>
								</div>
							</div>

							<div class="col-md-6 col-sm-6 col-xs-12">
								<div class="form-group">
									<label class=""><?= !empty(lang('encryption_key'))?lang('encryption_key'):"Encryption Key ";?></label>
									<div class="">
										<input type="text" name="encryption_key" placeholder="<?= !empty(lang('encryption_key'))?lang('encryption_key'):"Encryption Key ";?>" class="form-control" value="<?= !empty($flutterwave->encryption_key)?html_escape($flutterwave->encryption_key):'';  ?>">
									</div>
								</div>
							</div>
						</div>

					</div><!-- card-body -->
				</div><!-- card -->
			<?php endif;?>
	<div class="card-footer">
		<input type="hidden" name="id" value="<?= isset($settings['id'])?html_escape($settings['id']):0; ?>">
		<button type="submit" class="btn btn-primary btn-block"><i class="fa fa-save"></i> &nbsp;<?= !empty(lang('save_change'))?lang('save_change'):"Save Change";?></button>
	</div>
</form>
<?php else: ?>
	<?php if(isset($settings['purchase_date']) && $settings['purchase_date'] <= '2021-09-15 00:00:00'): ?>
	<div class="col-md-8">
		<form class="email_setting_form" action="<?= base_url('admin/dashboard/add_payment_settings') ?>" method="post" enctype= "multipart/form-data" autocomplete="off">
			<input type="hidden" name="<?= $this->security->get_csrf_token_name(); ?>" value="<?= $this->security->get_csrf_hash(); ?>" autocomplete="off">
			<div class="col-md-8">
				
				<div class="card">
					<div class="card-header">
						<h4><?= !empty(lang('paypal_payment'))?lang('paypal_payment'):"Paypal Payment";?></h4>
					</div>
					<div class="card-body">
						<div class="row">
							<div class="form-group  col-md-6 col-sm-6 col-xs-6">
								<label for=""><?= !empty(lang('status'))?lang('status'):"status";?></label>
								<div class="">
									<input type="checkbox" name="is_paypal" class="setting_option"  data-type="is_paypal" data-value="<?= check_setting_value('is_paypal'); ?>" value="1"  <?= isset($settings['is_paypal']) && $settings['is_paypal']==1?'checked':'';?> data-toggle="toggle" data-on="<i class='fa fa-check'></i> <?= !empty(lang('active'))?lang('active'):"Active";?>" data-off="<i class='fa fa-pause'></i><?= !empty(lang('off'))?lang('off'):"Off";?>">
								</div>
							</div>

							<div class="form-group  col-md-12 col-sm-12 col-xs-12">
								<label for=""><?= !empty(lang('paypal_environment'))?lang('paypal_environment'):"Paypal Environment";?></label>
								<div class="">
									<select name="is_paypal_live" class="form-control">
										<option value="0" <?= isset($settings['is_paypal_live']) && $settings['is_paypal_live']==0?"selected":"" ;?>><?= lang('sandbox'); ?></option>
										<option value="1" <?= isset($settings['is_paypal_live']) && $settings['is_paypal_live']==1?"selected":"" ;?>><?= lang('live'); ?></option>
									</select>
								</div>
							</div>
							<div class="col-md-12">
								<div class="form-group">
									<label class=""><?= !empty(lang('paypal_email'))?lang('paypal_email'):"Paypal Email";?></label>
									<div class="">
										<input type="text" name="paypal_email" placeholder="<?= !empty(lang('paypal_business_email'))?lang('paypal_business_email'):"Paypal Business Email";?>" class="form-control" value="<?= !empty($settings['paypal_email'])?html_escape($settings['paypal_email']):'';  ?>">
									</div>
								</div>
							</div>
						</div><!-- row -->

					</div><!-- card-body -->
				</div><!-- card -->
				<div class="card">
					<div class="card-header mt-1">
						<h4><?= !empty(lang('stripe_payment_gateway'))?lang('stripe_payment_gateway'):"Stripe paytment Gateway";?></h4>
					</div>
					<div class="card-body">
						<div class="row">
							<div class="form-group  col-md-6 col-sm-6 col-xs-12">
								<label for=""><?= !empty(lang('status'))?lang('status'):"Status";?></label>
								<div class="">
									<input type="checkbox" name="is_stripe" class="setting_option"  data-type="is_stripe" data-value="<?= check_setting_value('is_stripe'); ?>" value="1"  <?= isset($settings['is_stripe']) && $settings['is_stripe']==1?'checked':'';?> data-toggle="toggle" data-on="<i class='fa fa-check'></i> <?= !empty(lang('active'))?lang('active'):"Active";?>" data-off="<i class='fa fa-pause'></i><?= !empty(lang('off'))?lang('off'):"Off";?>">

								</div>
							</div>
						</div><!-- row -->
						<div class="row">
							<div class="col-md-12">
								<div class="form-group">
									<label class=""><?= !empty(lang('stripe_public_key'))?lang('stripe_public_key'):"Stripe Public key";?></label>
									<div class="">
										<input type="text" name="public_key" placeholder="<?= !empty(lang('stripe_public_key'))?lang('stripe_public_key'):"Stripe Public key";?>" class="form-control" value="<?= !empty($settings['public_key'])?html_escape($settings['public_key']):'';  ?>">
										<span class="error"><?= form_error('public_key'); ?></span>
									</div>
								</div>
							</div>
							<div class="col-md-12">
								<div class="form-group">
									<label class=""><?= !empty(lang('stripe_secret_key'))?lang('stripe_secret_key'):"Stripe Secret key";?></label>
									<div class="">
										<input type="text" name="secret_key" placeholder="<?= !empty(lang('stripe_secret_key'))?lang('stripe_secret_key'):"Stripe Secret key";?>" class="form-control" value="<?= !empty($settings['secret_key'])?html_escape($settings['secret_key']):'';  ?>">
										<span class="error"><?= form_error('secret_key'); ?></span>
									</div>
								</div>
							</div>
						</div>

					</div><!-- card-body -->
				</div><!-- card -->
				<div class="card">
					<div class="card-header mt-1">
						<h4><?= !empty(lang('razorpay_payment'))?lang('razorpay_payment'):"Razorpay paytment Gateway";?></h4>
					</div>
					<div class="card-body">
						<div class="row">
							<div class="form-group  col-md-6 col-sm-6 col-xs-12">
								<label for=""><?= !empty(lang('status'))?lang('status'):"Status";?></label>
								<div class="">
									<input type="checkbox" name="is_razorpay" class="setting_option"  data-type="is_razorpay" data-value="<?= check_setting_value('is_razorpay'); ?>" value="1"  <?= isset($settings['is_razorpay']) && $settings['is_razorpay']==1?'checked':'';?> data-toggle="toggle" data-on="<i class='fa fa-check'></i> <?= !empty(lang('active'))?lang('active'):"Active";?>" data-off="<i class='fa fa-pause'></i><?= !empty(lang('off'))?lang('off'):"Off";?>">

								</div>
							</div>

							<div class="col-md-12">
								<div class="form-group">
									<label class=""><?= !empty(lang('key_id'))?lang('key_id'):"Razorpay Key Id";?></label>
									<div class="">
										<input type="text" name="key_id" placeholder="<?= !empty(lang('key_id'))?lang('key_id'):"Razorpay key";?>" class="form-control" value="<?= !empty($settings['key_id'])?html_escape($settings['key_id']):'';  ?>">
										<span class="error"><?= form_error('key_id'); ?></span>
									</div>
								</div>
							</div>
							<div class="col-md-12">
								<div class="form-group">
									<label class=""><?= !empty(lang('secret_key'))?lang('secret_key'):"Secret Key";?></label>
									<div class="">
										<input type="text" name="razorpay_key" placeholder="<?= !empty(lang('razorpay_key'))?lang('razorpay_key'):"Razorpay Key";?>" class="form-control" value="<?= !empty($settings['razorpay_key'])?html_escape($settings['razorpay_key']):'';  ?>">
									</div>
								</div>
							</div>

						</div>

					</div><!-- card-body -->
					<div class="card-footer">
						<input type="hidden" name="id" value="<?= isset($settings['id'])?html_escape($settings['id']):0; ?>">
						<button type="submit" class="btn btn-primary btn-block"><i class="fa fa-save"></i> &nbsp;<?= !empty(lang('save_change'))?lang('save_change'):"Save Change";?></button>
					</div>
				</div><!-- card -->
			
				
			</div><!-- col-9 -->
		</form>
	<?php else: ?>
		<div class="callout callout-default">
			<h4 class="mb-3"><i class="icon fa fa-question-circle"></i> Info!</h4>

			<p>Payment Method is available only in the <b>Extended license</b>.</p>
			<p>Please read  about the envato license rules&nbsp; <u><a href="" class="c_black" target="blank">Click Here</a></u></p>

			<p class="font-italic">*[ Upgrade your item in the extended license ]</p>
		</div>
	<?php endif;?>
	</div>
<?php endif;?>
		</div>