<div class="page-content-wrapper">
	<div class="page-content">
		<div class="page-bar">
			<div class="page-title-breadcrumb">
				<div class=" pull-left"><div class="page-title">Configuration</div></div>
				<ol class="breadcrumb page-breadcrumb pull-right">
					<li><i class="fa fa-home"></i>&nbsp;<a class="parent-item" href="index.html">Home</a>&nbsp;<i class="fa fa-angle-right"></i></li>
					<li>General <i class="fa fa-angle-right"></i></li>
					<li>Configuration</li>
				</ol>
			</div>
		</div>
		<div class="row">
			 <div class="col-md-12 col-sm-12">
				 <div class="card card-box">
					 <div class="card-head"><header>Configuration</header></div>
					 <div class="card-body" id="bar-parent1">
						 <?php if(isset($error) && $error!='') { ?>
						 <div class="alert alert-danger"><?php echo $error; ?></div>
						 <?php } else if(isset($success) && $success!=''){ ?>
						 <div class="alert alert-success"><?php echo $success; ?></div>
						 <?php } else if(isset($_REQUEST['success'])){ ?>
						 <div class="alert alert-success"><?php echo $_REQUEST['success']; ?></div>
						 <?php } ?>
                         <form action="" id="form_staff_add" class="form-horizontal" method="post" enctype="multipart/form-data">
							 <div class="form-body">
								 <div class="form-group row">
									 <label class="control-label col-md-3">App Type<span class="required"> * </span></label>
									 <div style="padding-top: 10px;" class="col-md-4">
										 <div class="radio radio-aqua" style="width: 155px; float: left;">
											 <input id="app_type_single" name="app_type" type="radio" value="single" <?php if(isset($_POST['app_type']) && $_POST['app_type']=='single'){ echo 'checked="checked"'; } else if(isset($setRec['app_type']) && $setRec['app_type']=='single'){ echo 'checked="checked"'; }?> >
											 <label for="app_type_single"> Single category </label>
										 </div>
	                                     <div class="radio radio-aqua">
											 <input id="app_type_multi" name="app_type" type="radio" value="multi" <?php if(isset($_POST['app_type']) && $_POST['app_type']=='multi'){ echo 'checked="checked"'; } else if(isset($setRec['app_type']) && $setRec['app_type']=='multi'){ echo 'checked="checked"'; }?> >
											 <label for="app_type_multi"> Multi category </label>
										 </div>
									 </div>
								 </div>
								 <div class="form-group row">
									 <label class="control-label col-md-3">SMS<span class="required"> * </span></label>
									 <div style="padding-top: 10px;" class="col-md-4">
										 <div class="radio radio-aqua" style="width: 100px; float: left;">
											 <input id="sms_yes" name="sms" type="radio" value="yes" <?php if(isset($_POST['sms']) && $_POST['sms']=='yes'){ echo 'checked="checked"'; } else if(isset($setRec['sms']) && $setRec['sms']=='yes'){ echo 'checked="checked"'; }?> >
											 <label for="sms_yes"> Yes </label>
										 </div>
										 <div class="radio radio-aqua">
											 <input id="sms_no" name="sms" type="radio" value="no" <?php if(isset($_POST['sms']) && $_POST['sms']=='no'){ echo 'checked="checked"'; } else if(isset($setRec['sms']) && $setRec['sms']=='no'){ echo 'checked="checked"'; }?> >
											 <label for="sms_no"> No </label>
										 </div>
									 </div>
								 </div>
								 <div class="form-group row">
									 <label class="control-label col-md-3">Currency<span class="required"> * </span></label>
									 <div style="padding-top: 10px;" class="col-md-6">
										 <input type="text" class="form-control" name="currency_name" id="currency_name" placeholder="Currency Name" style="float: left; width: 139px;" value="<?php if(isset($_POST['currency_name'])) { echo htmlentities(($_POST['currency_name']), ENT_QUOTES); } else if(isset($setRec['currency_name']) && $setRec['currency_name']!=''){ echo $setRec['currency_name'];} ?>" >
										 
										 <input type="text" class="form-control" name="currency_symbol" id="currency_symbol" placeholder="Symbol(optional)" style="float: left; margin-left: 10px; width: 151px;" value="<?php if(isset($_POST['currency_symbol'])) { echo htmlentities(($_POST['currency_symbol']), ENT_QUOTES); } else if(isset($setRec['currency_symbol']) && $setRec['currency_symbol']!=''){ echo $setRec['currency_symbol'];} ?>">
										
									 </div>
								 </div>
								 <div class="form-group row">
									 <label class="control-label col-md-3">Email Settings<span class="required"> * </span></label>
									 <div style="padding-top: 10px;" class="col-md-4">
										 <label for="smtp_server_name">SMTP Server Name</label>
										 <input type="text" class="form-control" name="smtp_server_name" id="smtp_server_name" placeholder="SMTP Server Name" value="<?php if(isset($_POST['smtp_server_name'])) { echo htmlentities(($_POST['smtp_server_name']), ENT_QUOTES); } else if(isset($setRec['smtp_server_name']) && $setRec['smtp_server_name']!=''){ echo $setRec['smtp_server_name'];} ?>" >
										 
										 <label for="smtp_port" class="mt-2">SMTP Port</label>
										 <input type="text" class="form-control" name="smtp_port" id="smtp_port" placeholder="SMTP Port"  value="<?php if(isset($_POST['smtp_port'])) { echo htmlentities(($_POST['smtp_port']), ENT_QUOTES); } else if(isset($setRec['smtp_port']) && $setRec['smtp_port']!=''){ echo $setRec['smtp_port'];} ?>">
										 
										 <label for="smtp_username" class="mt-2">SMTP Username</label>
										 <input type="text" class="form-control" name="smtp_username" id="smtp_username" placeholder="SMTP Username"  value="<?php if(isset($_POST['smtp_username'])) { echo htmlentities(($_POST['smtp_username']), ENT_QUOTES); } else if(isset($setRec['smtp_username']) && $setRec['smtp_username']!=''){ echo $setRec['smtp_username'];} ?>">
										 
										 <label for="smtp_password" class="mt-2">SMTP Password</label>
										 <input type="text" class="form-control" name="smtp_password" id="smtp_password" placeholder="SMTP Password"  value="<?php if(isset($_POST['smtp_password'])) { echo htmlentities(($_POST['smtp_password']), ENT_QUOTES); } else if(isset($setRec['smtp_password']) && $setRec['smtp_password']!=''){ echo $setRec['smtp_password'];} ?>">
										
									 </div>
								 </div>
							 </div>
							 <div class="form-group">
								 <div class="offset-md-3 col-md-9">
									 <button type="submit" name="update" class="btn btn-info">Update</button>
								 </div>
							 </div>
						 </form>
					 </div>
				 </div>
			</div>
		</div>		
		
	</div>
</div>