<input type="hidden" id="baseurl" value="<?php echo base_url(); ?>" > 
<div class="row">
    <div class="col-md-12">
        <div class="hs_heading medium">
            <h3>Email Setting</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="#basic_email_info">Basic Info</a></li>
				<li><a data-toggle="pill" href="#email_verification">Email-verification </a></li>
				<li><a data-toggle="pill" href="#table_booking_email">Table Booking</a></li>
				<li><a data-toggle="pill" href="#table_booking_confirmed">Table Booking Confirmed</a></li>
				<li><a data-toggle="pill" href="#table_booking_canceled">Table Booking Canceled</a></li>
				<li><a data-toggle="pill" href="#order_booking_email">Order Booking</a></li>
				<li><a data-toggle="pill" href="#order_booking_intransit">Order In Transit</a></li>
				<li><a data-toggle="pill" href="#order_booking_canceled">Order Canceled</a></li>
				<li><a data-toggle="pill" href="#order_booking_delivered">Order Delivered</a></li>
				<li><a data-toggle="pill" href="#forgot_password_email">Forgot Password</a></li>
				<!--<li><a data-toggle="pill" href="#invoice_email">Invoice</a></li>-->
				<li><a data-toggle="pill" href="#admin_mail_setting">Admin</a></li> 
			</ul>
			<div class="tab-content">
				<!-- email setting tab start -->
				 <!----update Email id start----------->
                <div id="basic_email_info" class="tab-pane fade in active">			
					<div class="row">
							<div class="col-md-6 margin-bottom-30">
								<div class="hs_heading medium">
									<h3>Update Mail Details</h3>
								</div>
								<form method="post" id="change_mail_form"> 
									 <input type="hidden" id="suniq_id" name="suniq_id" value="<?php echo $this->hs->getwebsettings('gdprbutton_title'); ?>" >
									<div class="hs_input">
											<label>Send mail From Name</label>
											<input type="text" class="form-control" placeholder="Name" id="sender_name" name="sender_name" value="<?php echo $this->hs->getwebsettings('sender_name'); ?>">
									</div>
										<div class="hs_input">
											<label>Send mail From This Email address</label>
											<input type="text" class="form-control" placeholder="Email" id="sender_mailid" name="sender_mailid" value="<?php echo $this->hs->getwebsettings('sender_mailid'); ?>">
										</div>
										<button type="submit" class="btn">Update</button>
								</form>
							</div>
					</div>
					<div class="row">
							<div class="col-md-6 margin-bottom-30">
								<div class="hs_heading medium">
									<h3>SMTP Setting</h3>
									<label>Send Mail Using SMTP</label>
									<label class="switch">
									<?php $smtp_status = $this->hs->getsetting_uniq_id('smtp_status'); ?>
										<input id="smtpstatus_<?php echo $smtp_status['uniq_id']; ?>" onclick="smtp_mail_status(<?php echo $smtp_status['uniq_id']; ?>);"   type="checkbox" value="" <?php if($smtp_status['value_text'] == 1){ echo "checked"; } ?> >
										<span class="slider"></span>
									</label>
								</div>
								<form method="post" id="change_smtp_setting"> 
									 <input type="hidden" id="suniq_id" name="suniq_id" value="<?php echo $this->hs->getwebsettings('gdprbutton_title'); ?>" >
									<div class="hs_input">
											<label>Smtp Host</label>
											<input type="text" class="form-control" placeholder="Host" id="smtp_host" name="smtp_host" value="<?php echo $this->hs->getwebsettings('smtp_host'); ?>">
									</div>
									<div class="hs_input">
											<label>Smtp port</label>
											<input type="text" class="form-control" placeholder="Port" id="smtp_port" name="smtp_port" value="<?php echo $this->hs->getwebsettings('smtp_port'); ?>">
									</div>
									<div class="hs_input">
											<label>Smtp Username</label>
											<input type="text" class="form-control" placeholder="Username" id="smtp_username" name="smtp_username" value="<?php echo $this->hs->getwebsettings('smtp_username'); ?>">
									</div>
									<div class="hs_input">
											<label>Smtp Password</label>
											<input type="text" class="form-control" placeholder="Password" id="smtp_password" name="smtp_password" value="<?php echo $this->hs->getwebsettings('smtp_password'); ?>">
									</div>
									<button type="submit" class="btn">Update</button>
								</form>
								
							</div>
						</div>
				</div>
			<!----update Email id end------------->
			<!------email verification mail setting start------->
				  <div id="email_verification" class="tab-pane fade">
						<div class="row">
							<div class="col-md-6 margin-bottom-30">
								<div class="hs_heading medium">
									<h3>Email Verification</h3>
								</div>
								<form method="post" id="email_verification_form"> 
									<input type="hidden" id="old_userid" name="old_userid" value=" " >
									<div class="hs_input">
										<label>Subject</label>
										<input type="text" class="form-control" placeholder="Subject" id="everifi_subject" name="everifi_subject" value="<?php echo $this->hs->getwebsettings('everifi_subject'); ?>" >
									</div>
									<div class="hs_input">
										<label>Template Text</label>
										<textarea class="form-control" rows="6" name="everifi_template" id="everifi_template"><?php echo $this->hs->getwebsettings('everifi_template'); ?></textarea> 
									</div>
									<div class="hs_input">
										<label>Verification Link Text</label>
										<input type="text" class="form-control" placeholder="Link Text" id="everifi_link" name="everifi_link" value="<?php echo $this->hs->getwebsettings('everifi_link'); ?>">
									</div>
									<button type="submit" class="btn">Update</button>
								</form>
							</div>
						</div>
					</div>
					<!----email verification mail setting end ----->
					
				<!------table booking mail setting start------->
				  <div id="table_booking_email" class="tab-pane fade">
						<div class="row">
							<div class="col-md-6 margin-bottom-30">
								<div class="hs_heading medium">
									<h3>Table Booking</h3>
								</div>
								<form method="post" id="tb_email_setting_form"> 
									 
									<div class="hs_input">
										<label>Subject</label>
										<input type="text" class="form-control" placeholder="Subject" id="tablebook_subject" name="tablebook_subject" value="<?php echo $this->hs->getwebsettings('tablebook_subject'); ?>" >
									</div>
									<div class="hs_input">
										<label>Template Text</label>
										<textarea class="form-control" rows="6" name="tablebook_template" id="tablebook_template"><?php echo $this->hs->getwebsettings('tablebook_template'); ?></textarea> 
									</div>
									 
									<button type="submit" class="btn">Update</button>
								</form>
							</div>
						</div>
					</div>
					<!----table booking mail setting end ----->
					
					<!------table booking confirmed mail setting start------->
				  <div id="table_booking_confirmed" class="tab-pane fade">
						<div class="row">
							<div class="col-md-6 margin-bottom-30">
								<div class="hs_heading medium">
									<h3>Table Booking Confirmed</h3>
								</div>
								<form method="post" id="tbconfirm_setting_form"> 
									 <div class="hs_input">
										<label>Subject</label>
										<input type="text" class="form-control" placeholder="Subject" id="tbconfirm_subject" name="tbconfirm_subject" value="<?php echo $this->hs->getwebsettings('tbconfirm_subject'); ?>" >
									</div>
									<div class="hs_input">
										<label>Template Text</label>
										<textarea class="form-control" rows="6" name="tbconfirm_tamplate" id="tbconfirm_tamplate"><?php echo $this->hs->getwebsettings('tbconfirm_tamplate'); ?></textarea> 
									</div>
									 
									<button type="submit" class="btn">Update</button>
								</form>
							</div>
						</div>
					</div>
					<!----table booking confirmed mail setting end ----->
					
				 <!------table booking canceled mail setting start------->
				  <div id="table_booking_canceled" class="tab-pane fade">
						<div class="row">
							<div class="col-md-6 margin-bottom-30">
								<div class="hs_heading medium">
									<h3>Table Booking Canceled</h3>
								</div>
								<form method="post" id="tbcancel_email_setting_form"> 
									 
									<div class="hs_input">
										<label>Subject</label>
										<input type="text" class="form-control" placeholder="Subject" id="tbcancel_subject" name="tbcancel_subject" value="<?php echo $this->hs->getwebsettings('tbcancel_subject'); ?>" >
									</div>
									<div class="hs_input">
										<label>Template Text</label>
										<textarea class="form-control" rows="6" name="tbcancel_template" id="tbcancel_template"><?php echo $this->hs->getwebsettings('tbcancel_template'); ?></textarea> 
									</div>
									 
									<button type="submit" class="btn">Update</button>
								</form>
							</div>
						</div>
					</div>
					<!----table booking canceled mail setting end ----->
					
					<!------order booking mail setting start------->
				  <div id="order_booking_email" class="tab-pane fade">
						<div class="row">
							<div class="col-md-6 margin-bottom-30">
								<div class="hs_heading medium">
									<h3>Order Booking</h3>
								</div>
								<form method="post" id="odrbook_email_setting_form"> 
									 
									<div class="hs_input">
										<label>Subject</label>
										<input type="text" class="form-control" placeholder="Subject" id="orderbook_subject" name="orderbook_subject" value="<?php echo $this->hs->getwebsettings('orderbook_subject'); ?>" >
									</div>
									<div class="hs_input">
										<label>Template Text</label>
										<textarea class="form-control" rows="6" name="orderbook_template" id="orderbook_template"><?php echo $this->hs->getwebsettings('orderbook_template'); ?></textarea> 
									</div>
									<button type="submit" class="btn">Update</button>
								</form>
							</div>
						</div>
					</div>
					<!------order booking mail setting end------->
					
					<!------order booking intransit mail setting start------->
				  <div id="order_booking_intransit" class="tab-pane fade">
						<div class="row">
							<div class="col-md-6 margin-bottom-30">
								<div class="hs_heading medium">
									<h3>Order Booking intransit</h3>
								</div>
								<form method="post" id="odrintransit_form"> 
									 
									<div class="hs_input">
										<label>Subject</label>
										<input type="text" class="form-control" placeholder="Subject" id="odr_intransit_subject" name="odr_intransit_subject" value="<?php echo $this->hs->getwebsettings('odr_intransit_subject'); ?>" >
									</div>
									<div class="hs_input">
										<label>Template Text</label>
										<textarea class="form-control" rows="6" name="odr_intransit_template" id="odr_intransit_template"><?php echo $this->hs->getwebsettings('odr_intransit_template'); ?></textarea> 
									</div>
									 
									<button type="submit" class="btn">Update</button>
								</form>
							</div>
						</div>
					</div>
						<!------order booking intransit mail setting end------->
						
						<!------order booking canceled mail setting start------->
				  <div id="order_booking_canceled" class="tab-pane fade">
						<div class="row">
							<div class="col-md-6 margin-bottom-30">
								<div class="hs_heading medium">
									<h3>Order Booking canceled</h3>
								</div>
								<form method="post" id="odrcanceled_form"> 
									 
									<div class="hs_input">
										<label>Subject</label>
										<input type="text" class="form-control" placeholder="Subject" id="odr_canceled_subject" name="odr_canceled_subject" value="<?php echo $this->hs->getwebsettings('odr_canceled_subject'); ?>" >
									</div>
									<div class="hs_input">
										<label>Template Text</label>
										<textarea class="form-control" rows="6" name="odr_canceled_template" id="odr_canceled_template"><?php echo $this->hs->getwebsettings('odr_canceled_template'); ?></textarea> 
									</div>
									 
									<button type="submit" class="btn">Update</button>
								</form>
							</div>
						</div>
					</div>
						<!------order booking canceled mail setting end------->
						
						
					<!------order booking delivered mail setting start------->
				  <div id="order_booking_delivered" class="tab-pane fade">
						<div class="row">
							<div class="col-md-6 margin-bottom-30">
								<div class="hs_heading medium">
									<h3>Order Booking delivered</h3>
								</div>
								<form method="post" id="odr_delivered_form"> 
									 
									<div class="hs_input">
										<label>Subject</label>
										<input type="text" class="form-control" placeholder="Subject" id="odr_delivered_subject" name="odr_delivered_subject" value="<?php echo $this->hs->getwebsettings('odr_delivered_subject'); ?>" >
									</div>
									<div class="hs_input">
										<label>Template Text</label>
										<textarea class="form-control" rows="6" name="odr_delivered_template" id="odr_delivered_template"><?php echo $this->hs->getwebsettings('odr_delivered_template'); ?></textarea> 
									</div>
									 
									<button type="submit" class="btn">Update</button>
								</form>
							</div>
						</div>
					</div>
						<!------order booking canceled mail setting end------->	
						
						
					
					<!------forgot password mail setting start------->
				  <div id="forgot_password_email" class="tab-pane fade">
						<div class="row">
							<div class="col-md-6 margin-bottom-30">
								<div class="hs_heading medium">
									<h3>Forgot Password</h3>
								</div>
								<form method="post" id="forgot_pass_emailsetting_form"> 
									 
									<div class="hs_input">
										<label>Subject</label>
										<input type="text" class="form-control" placeholder="Subject" id="forgotpwd_mailsubject" name="forgotpwd_mailsubject" value="<?php echo $this->hs->getwebsettings('forgotpwd_mailsubject'); ?>" >
									</div>
									<div class="hs_input">
										<label>Template Text</label>
										<textarea class="form-control" rows="6" name="forgotpwd_template" id="forgotpwd_template"><?php echo $this->hs->getwebsettings('forgotpwd_template'); ?></textarea> 
									</div>
									<div class="hs_input">
										<label>Verification Link Text</label>
										<input type="text" class="form-control" placeholder="Link Text" id="forgotpwd_link" name="forgotpwd_link" value="<?php echo $this->hs->getwebsettings('forgotpwd_link'); ?>">
									</div>
									<button type="submit" class="btn">Update</button>
								</form>
							</div>
						</div>
					</div>
					<!------forgot password mail setting end------->
					 
					<!------admin mail for order booking setting start------->
				  <div id="admin_mail_setting" class="tab-pane fade">
						<div class="row">
							<div class="col-md-6 margin-bottom-30">
								<div class="hs_heading medium">
									<h3>Admin Order booked</h3>
								</div>
								<form method="post" id="admin_odrbook"> 
									<div class="hs_input">
										<label>Subject</label>
										<input type="text" class="form-control" placeholder="Subject" id="adminodr_subject" name="adminodr_subject" value="<?php echo $this->hs->getwebsettings('adminodr_subject'); ?>" >
									</div>
									<div class="hs_input">
										<label>Template Text</label>
										<textarea class="form-control" rows="6" name="adminodr_template" id="adminodr_template"><?php echo $this->hs->getwebsettings('adminodr_template'); ?></textarea> 
									</div>
									<button type="submit" class="btn">Update</button>
								</form>
							</div>
						</div>
						<div class="row">
							<div class="col-md-6 margin-bottom-30">
								<div class="hs_heading medium">
									<h3>Admin Table booked</h3>
								</div>
								<form method="post" id="admin_tablebook_email"> 
									<div class="hs_input">
										<label>Subject</label>
										<input type="text" class="form-control" placeholder="Subject" id="admintbook_template" name="admintbook_subject" value="<?php echo $this->hs->getwebsettings('admintbook_subject'); ?>" >
									</div>
									<div class="hs_input">
										<label>Template Text</label>
										<textarea class="form-control" rows="6" name="admintbook_template" id="admintbook_template"><?php echo $this->hs->getwebsettings('admintbook_template'); ?></textarea> 
									</div>
									<button type="submit" class="btn">Update</button>
								</form>
							</div>
						</div>
						<div class="row">
							<div class="col-md-6 margin-bottom-30">
								<div class="hs_heading medium">
									<h3>User Register By Admin Email</h3>
								</div>
								<form method="post" id="user_regbyadmin_email"> 
									<div class="hs_input">
										<label>Subject</label>
										<input type="text" class="form-control" placeholder="Subject" id="register_subject" name="register_subject" value="<?php echo $this->hs->getwebsettings('register_subject'); ?>" >
									</div>
									<div class="hs_input">
										<label>Template Text</label>
										<textarea class="form-control" rows="6" name="register_template" id="register_template"><?php echo $this->hs->getwebsettings('register_template'); ?></textarea> 
									</div>
									 
									<button type="submit" class="btn">Update</button>
								</form>
							</div>
						</div>
					</div>
					<!------admin mail for order booking setting start------->
					
					
			</div>
		</div>
	</div>
</div>
 	<!-- email setting tab end -->
