<input type="hidden" id="baseurl" value="<?php echo base_url(); ?>" > 
<div class="row">
    <div class="col-md-12">
        <div class="hs_heading medium">
            <h3>Compliance Pages</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="#term_condtion_page">Term & 	Conditions</a></li>
                <li><a data-toggle="pill" href="#privacy_policy_page">Privacy Policy</a></li>
			</ul>
			<div class="tab-content">
				<!-- Term & Condition page tab start -->
                 <div id="term_condtion_page" class="tab-pane fade in active">
						<div class="row">
							<div class="col-md-6 margin-bottom-30">
								<div class="hs_heading medium">
									<h3>Term and Conditions</h3>
								</div>
								<?php $tc_uniqe_id = $this->hs->getsetting_uniq_id('termcondition_page'); ?>
								<form method="post" id="term_condition_form"> 
								 
									<input type="hidden" id="tc_page_id" name="tc_page_id" value="<?php echo $tc_uniqe_id['uniq_id']; ?>">
									<div class="hs_input">
									<textarea rows="4" class="form-control" name="term_condition" id="term_condition"><?php echo $this->hs->getwebsettings('termcondition_page'); ?></textarea>
									</div>
									<button type="submit" class="btn">Update</button>
								</form>
							</div>
						</div>
					</div>
				<!-- Term & Condition page tab END -->
				
				<!-- privacy & policy page tab start -->
                 <div id="privacy_policy_page" class="tab-pane fade">
						<div class="row">
							<div class="col-md-6 margin-bottom-30">
								<div class="hs_heading medium">
									<h3>Privacy Policy</h3>
								</div>
								<?php $pp_uniqe_id = $this->hs->getsetting_uniq_id('privacy_page'); ?>
								<form method="post" id="privacy_policy_form"> 
									<input type="hidden" id="pp_page_id" name="pp_page_id" value="<?php echo $pp_uniqe_id['uniq_id']; ?>">
									<div class="hs_input">
									<textarea rows="4" class="form-control" name="pp_content" id="pp_content"><?php echo $this->hs->getwebsettings('privacy_page'); ?></textarea>
									</div>
									<button type="submit" class="btn">Update</button>
								</form>
							</div>
						</div>
				</div>
				<!-- privacy & policy page tab end -->
				
			</div>
		</div>
	</div>
</div>				