<?php $__env->startSection('content'); ?>


<div class="content" id="content">			
	<div class="overlay"></div>			
	
<?php echo $__env->make('admin.includes.topbar', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
	
	<!-- main content -->
	<div class="main-content">

<?php if(Session::has('error')): ?>
<div class="alert bg-danger text-white">
              <?php echo Session::get('success'); ?>

            </div>

<?php endif; ?>

<?php if(Session::has('success')): ?>
<div class="alert bg-success text-white">
              <?php echo Session::get('success'); ?>

            </div>

<?php endif; ?>


		<!--row-->
		<div class="row">
			<!--                   col-md-12-->
			<div class="col-md-12">
				<!--                        *** Tabs Justified With Border ***-->
				<div class="panel panel-piluku">
					<div class="panel-heading">
						<h3 class="panel-title">
							Settings Management
						</h3>
					</div>
					<div class="panel-body">
						<div role="tabpanel">
							<!-- Nav tabs -->
							<ul class="nav nav-tabs nav-justified piluku-tabs" role="tablist">
								<li role="presentation" class="active"><a href="#hometab" aria-controls="home" role="tab" data-toggle="tab">General</a></li>
								<li role="presentation"><a href="#messagestab" aria-controls="messages" role="tab" data-toggle="tab">SMS</a></li>
								<li role="presentation"><a href="#settingstab" aria-controls="settings" role="tab" data-toggle="tab">Social Media</a></li>

								<li role="presentation"><a href="#youtube" aria-controls="youtube" role="tab" data-toggle="tab">Youtube</a></li>


							</ul>
							<!-- Tab panes -->
							<div class="tab-content piluku-tab-content">
								<div role="tabpanel" class="tab-pane active" id="hometab">
								<!--theme panel-->

						        <!--form-heading-->
						        <?php echo Form::open(array('route' => 'sitesettings', 'files'=>true, 'id' => 'form-a', 'class' => 'form')); ?>
						          <div class="col-md-12">
						           <!--Default Form-->
						            <div class="form-group">
						              <label class="control-label">Company Name:</label>
						             <input type="text" class="form-control" name="site_name" value="<?php echo AppHelper::config('site_name'); ?>" required="required" />
						            </div>
						            <div class="form-group">
						              <label class="control-label">Company Description(255):</label>
						             <input type="text" class="form-control" name="company_sdesc" value="<?php echo AppHelper::config('company_sdesc'); ?>" required="required" />
						            </div>

						            <div class="form-group">
						              <label class="control-label">Address:</label>
						              <input type="text" class="form-control" name="site_address" value="<?php echo AppHelper::config('site_address'); ?>" required="required" />
						            </div>


						            <!--Default Form-->
						            <div class="form-group">
						              <label class="control-label">Email:</label>
						              <input type="text" class="form-control" name="site_email" value="<?php echo AppHelper::config('site_email'); ?>" required="required" />
						            </div>
						            <div class="form-group">
						              <label class="control-label">Hotline:</label>
						              <input type="text" class="form-control" name="site_hotline" value="<?php echo AppHelper::config('site_hotline'); ?>" required="required" />
						            </div>
						            <img src="<?php echo URL('images/logo.png'); ?>">

						           <div class="form-group">
							             <span class="btn btn-default btn-file"><span class="fileupload-new">Select Logo(156x30):</span><span class="fileupload-exists"></span><input name="file" id="file" type="file"></span>
							          
							        </div>

							     
							       <img src="<?php echo URL('favicon'); ?>">
						           <div class="form-group">
						          
							             <span class="btn btn-default btn-file"><span class="fileupload-new">Select Favicon(48x48):</span><span class="fileupload-exists"></span><input name="favfile" id="favfile" type="file"></span>
							          
							        </div>



							        <div class="form-group">
			            			<label class="control-label">Confirmation Footer Template:</label>
			          
						          <textarea id="hotelcontent" name="site_confirmation_footer">
								<?php echo AppHelper::config('site_confirmation_footer'); ?>

								</textarea>
								
								          
									</div>


									<div class="form-group">
			            			<label class="control-label">Booking Voucher Footer Template:</label>
			          
						          <textarea id="hotelcontent" name="site_voucher_footer">
								<?php echo AppHelper::config('site_voucher_footer'); ?>

								</textarea>
								
								          
									</div>

						            <div class="form-group">
						              <label class="control-label">Checked By:</label>
						             <input type="text" class="form-control" name="voucher_checked_by" value="<?php echo AppHelper::config('voucher_checked_by'); ?>" required="required" />
						            </div>
						            <div class="form-group">
						              <label class="control-label">Approved By:</label>
						             <input type="text" class="form-control" name="voucher_approved_by" value="<?php echo AppHelper::config('voucher_approved_by'); ?>" required="required" />
						            </div>







						            <div class="form-group">
						                      <div class="col-sm-8">
						                        <input type="submit" class="btn btn-success">
						                        <input type="reset" class="btn btn-danger">
						                      </div>
						            </div>



						          </div>

						         
						        </form>
 
    <!--theme panel-->

								</div>

								<div role="tabpanel" class="tab-pane" id="messagestab">

								<?php echo Form::open(array('route' => 'smssettings', 'id' => 'form-a', 'class' => 'form')); ?>
							          <div class="col-md-12">
							           <!--Default Form-->
							            <div class="form-group">
							              <label class="control-label">Username:</label>
							             <input type="text" class="form-control" name="sms_username" value="<?php echo AppHelper::config('sms_username'); ?>" required="required" />
							            </div>
							            <!--Default Form-->
							            <div class="form-group">
							              <label class="control-label">Password:</label>
							              <input type="text" class="form-control" name="sms_password" value="<?php echo AppHelper::config('sms_password'); ?>" required="required" />
							            </div>
							            <div class="form-group">
							              <label class="control-label">From:</label>
							              <input type="text" class="form-control" name="sms_from" value="<?php echo AppHelper::config('sms_from'); ?>" required="required" />
							            </div>
							            <div class="form-group">
							              <label class="control-label">To:</label>
							              <input type="text" class="form-control" name="sms_to" value="<?php echo AppHelper::config('sms_to'); ?>" required="required" />
							            </div>
							            <div class="form-group">
							              <label class="control-label">API Key:</label>
							              <input type="text" class="form-control" name="sms_apikey" value="<?php echo AppHelper::config('sms_apikey'); ?>" required="required" />
							            </div>

							            <div class="form-group">
								            <div class="toggle-switch">
								              <label class="col-sm-2 control-label">Status:</label>
								              <div class="col-sm-8">
								              <?php
								              $sms_module = AppHelper::config('sms_module');
								              ?>

								              <?php if($sms_module == 1): ?>
								                <input type="checkbox" id="toggle-switcha" name="sms_module" checked >
								              <?php else: ?>
								              <input type="checkbox" id="toggle-switcha" name="sms_module" >
								              <?php endif; ?>
								                <div class="toggle">
								                  <label for="toggle-switcha"><i></i>
								                  </label>
								                </div>
								              </div>
								            </div>
								          </div>


							           
							            <div class="form-group">
							                      <div class="col-sm-8">
							                        <input type="submit" class="btn btn-success">
							                        <input type="reset" class="btn btn-danger">
							                      </div>
							            </div>



							          </div>

							         
							        </form>


								
								</div>
								<div role="tabpanel" class="tab-pane" id="settingstab">
													        <!--form-heading-->
							        <?php echo Form::open(array('route' => 'socialmedia', 'id' => 'form-a', 'class' => 'form')); ?>
							          <div class="col-md-12">
							           <!--Default Form-->
							            <div class="form-group">
							              <label class="control-label">Facebook:</label>
							             <input type="text" class="form-control" name="social_facebook" value="<?php echo AppHelper::config('social_facebook'); ?>" required="required" />
							            </div>
							            <!--Default Form-->
							            <div class="form-group">
							              <label class="control-label">Twitter:</label>
							              <input type="text" class="form-control" name="social_twitter" value="<?php echo AppHelper::config('social_twitter'); ?>" required="required" />
							            </div>
							            <div class="form-group">
							              <label class="control-label">Pinterest:</label>
							              <input type="text" class="form-control" name="social_pinterest" value="<?php echo AppHelper::config('social_pinterest'); ?>" required="required" />
							            </div>
							            <div class="form-group">
							              <label class="control-label">Instagram:</label>
							              <input type="text" class="form-control" name="social_instagram" value="<?php echo AppHelper::config('social_instagram'); ?>" required="required" />
							            </div>
							            <div class="form-group">
							              <label class="control-label">Youtube:</label>
							              <input type="text" class="form-control" name="social_youtube" value="<?php echo AppHelper::config('social_youtube'); ?>" required="required" />
							            </div>
							            <div class="form-group">
							              <label class="control-label">Google+:</label>
							              <input type="text" class="form-control" name="social_googleplus" value="<?php echo AppHelper::config('social_googleplus'); ?>" required="required" />
							            </div>
							            <div class="form-group">
							              <label class="control-label">Linkedin:</label>
							              <input type="text" class="form-control" name="social_linkedin" value="<?php echo AppHelper::config('social_linkedin'); ?>" required="required" />
							            </div>
							            <div class="form-group">
							                      <div class="col-sm-8">
							                        <input type="submit" class="btn btn-success">
							                        <input type="reset" class="btn btn-danger">
							                      </div>
							            </div>



							          </div>

							         
							        </form>

							    </div>


							    <div role="tabpanel" class="tab-pane" id="youtube">
													        <!--form-heading-->
							        <?php echo Form::open(array('route' => 'youtube', 'id' => 'form-a', 'class' => 'form')); ?>
							          <div class="col-md-12">
							           <!--Default Form-->
							            <div class="form-group">
							              <label class="control-label">Video1:</label>
							             <input type="text" class="form-control" name="video1" value="<?php echo AppHelper::config('video1'); ?>" required="required" />
							            </div>
							            <!--Default Form-->
							            <div class="form-group">
							              <label class="control-label">Video2:</label>
							              <input type="text" class="form-control" name="video2" value="<?php echo AppHelper::config('video2'); ?>" required="required" />
							            </div>
							            <div class="form-group">
							              <label class="control-label">Video3:</label>
							              <input type="text" class="form-control" name="video3" value="<?php echo AppHelper::config('video3'); ?>" required="required" />
							            </div>
							            
							            <div class="form-group">
							                      <div class="col-sm-8">
							                        <input type="submit" class="btn btn-success">
							                        <input type="reset" class="btn btn-danger">
							                      </div>
							            </div>



							          </div>

							         
							        </form>

							    </div>

							</div>
						</div>
					</div>
				</div>
				<!--                        *** /Tabs Justified With Border ***-->
				<!-- /panel -->
			</div>
			<!--                    /col-md-12-->
		</div>
		<!-- /row -->
		<div class="row">
			<div class="col-md-12">
				<ul class="pagination small-pagination pull-right">
					
				</ul>
			</div>
		</div>
	</div>
	<!-- /main content -->		

</div>  
<?php $__env->stopSection(); ?>
<?php echo $__env->make('admin.master', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>