<input type="hidden" id="baseurl" value="<?php echo base_url(); ?>" > 
<div class="row">
    <div class="col-md-12">
        <div class="hs_heading medium">
            <h3>Payment Settings</h3>
        </div>
    </div>
</div>
  
<div class="row"> 
    <div class="col-md-12">
        <!-- tab start -->
        <div class="hs_tabs">
            <ul class="nav nav-pills">
                <li class="active"><a data-toggle="pill" href="#paypal_page">Paypal</a></li>
                <li><a data-toggle="pill" href="#payumoney_page">PayUmoney</a></li>
				<li><a data-toggle="pill" href="#cuurency_tab">Currency Setting</a></li>
				<li><a data-toggle="pill" href="#other_payment_opt_tab">Other Payment Options</a></li>
			</ul>
			<div class="tab-content">
				<!-- paypal tab start -->
                 <div id="paypal_page" class="tab-pane fade in active">
						<div class="row">
							<div class="col-md-6 margin-bottom-30">
								<div class="hs_heading medium">
									<h3>Paypal</h3>
									<label>Show Paypal Option</label>
									<label class="switch">
									<?php $paypal_status = $this->hs->getsetting_uniq_id('paypal_status'); ?>
										<input id="paystatus_<?php echo $paypal_status['uniq_id']; ?>" onclick="payment_option_status(<?php echo $paypal_status['uniq_id']; ?>);"   type="checkbox" value="" <?php if($paypal_status['value_text'] == 1){ echo "checked"; } ?> >
										<span class="slider"></span>
									</label>
								</div>
								 
								<form method="post" id="payapl_form"> 
								 <div class="hs_input"> 
									<label>Enter Paypal Email</label>
									<input type="text" class="form-control" placeholder="Paypal Email" id="paypal_email" name="paypal_email" value="<?php echo $this->hs->getwebsettings('paypal_email'); ?>">
								</div>
								<button type="submit" class="btn">Update</button>
								</form>
							</div>
						</div>
					</div>
				<!-- paypal tab end -->
				
				<!-- Payumoney tab start -->
                 <div id="payumoney_page" class="tab-pane fade">
						<div class="row">
							<div class="col-md-6 margin-bottom-30">
								<div class="hs_heading medium">
									<h3>PayUmoney</h3>
									<label>Show Payumoney Option</label>
									<label class="switch">
									<?php $payumoney_status = $this->hs->getsetting_uniq_id('payumoney_status'); ?>
										<input id="paystatus_<?php echo $payumoney_status['uniq_id']; ?>" onclick="payment_option_status(<?php echo $payumoney_status['uniq_id']; ?>);"   type="checkbox" value="" <?php if($payumoney_status['value_text'] == 1){ echo "checked"; } ?> >
										<span class="slider"></span>
									</label>
								</div>
								<form method="post" id="payumoney_form"> 
									<div class="hs_input"> 
										<label>Enter Payumoney Merchant Key</label>
										<input type="text" class="form-control" placeholder="Key" id="payumoney_key" name="payumoney_key" value="<?php echo $this->hs->getwebsettings('payumoney_key'); ?>">
									</div>
									<div class="hs_input"> 
										<label>Enter payumoney Merchant Salt</label>
										<input type="text" class="form-control" placeholder="Salt" id="payumoney_salt" name="payumoney_salt" value="<?php echo $this->hs->getwebsettings('payumoney_salt'); ?>">
									</div>
									<button type="submit" class="btn">Update</button>
								</form>
							</div>
						</div>
					</div>
				<!-- Payumoney tab end-->
				<!-- currency tab start -->
                 <div id="cuurency_tab" class="tab-pane fade">
						<div class="row">
							<div class="col-md-6 margin-bottom-30">
								<div class="hs_heading medium">
									<h3>Currency Setting</h3>
								</div>
								<?php $pp_uniqe_id = $this->hs->getsetting_uniq_id('privacy_page'); ?>
								<form method="post" id="currency_form"> 
									<div class="hs_input"> 
										<label>Enter Currency Convert Api Key</label>
										<input type="text" class="form-control" placeholder="Currency Convert API Key" id="currency_convert_api" name="currency_convert_api" value="<?php echo $this->hs->getwebsettings('currency_convert_api'); ?>">
										<p><a href="https://free.currencyconverterapi.com/" target="blank">Click here to get currency Convert API Key</a><p>
									</div>
									<div class="hs_input"> 
										<label>Enter Currency Code</label>
										<input type="text" class="form-control" placeholder="Currency" id="currency_code" name="currency_code" value="<?php echo $this->hs->getwebsettings('currency_code'); ?>">
										<p><a href="https://developer.paypal.com/docs/classic/mass-pay/integration-guide/currency_codes/" target="blank">Click here to get currency code</a><p>
									</div>
									<div class="hs_input"> 
										<label>Enter Currency Symbol</label>
										<input type="text" class="form-control" placeholder="Currency" id="currency_symbol" name="currency_symbol" value="<?php echo $this->hs->getwebsettings('currency_symbol'); ?>">
										<p>Note:- This will be displayed with product price.</p>
									</div>
									<button type="submit" class="btn">Update</button>
								</form>
							</div>
						</div>
				</div>
				<!-- currency tab end-->
				<!-- currency tab start -->
                 <div id="other_payment_opt_tab" class="tab-pane fade">
						<div class="row">
							<div class="col-md-6 margin-bottom-30">
								<div class="hs_heading medium">
									<h3>Other Payment Options</h3>
								</div>
									<div class="hs_input"> 
										<label>Show Wallet Option</label>
										<label class="switch">
										<?php $wallet_status = $this->hs->getsetting_uniq_id('wallet_status'); ?>
										<input id="paystatus_<?php echo $wallet_status['uniq_id']; ?>" onclick="payment_option_status(<?php echo $wallet_status['uniq_id']; ?>);" type="checkbox" value="" <?php if($wallet_status['value_text'] == 1){ echo "checked"; } ?> >
										<span class="slider"></span>
										</label> 
									</div>
									<div class="hs_input"> 
										<label>Show COD Option</label>
										<label class="switch">
											<?php $cod_status = $this->hs->getsetting_uniq_id('cod_status'); ?>
											<input id="paystatus_<?php echo $cod_status['uniq_id']; ?>" onclick="payment_option_status(<?php echo $cod_status['uniq_id']; ?>);" type="checkbox" value="" <?php if($cod_status['value_text'] == 1){ echo "checked"; } ?> >
											<span class="slider"></span>
										</label> 
								    </div>
							</div>
						</div>
					</div>
				<!-- currency tab end-->
			</div>
		</div>
	</div>
</div>	
			