<?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')): ?>
<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function() {
    swal("Failed", "something went wrong", "error");
}, false);
</script>
<?php endif; ?>

<?php if(Session::has('success')): ?>
<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function() {
    swal("Thank You", "Operation Succesful!", "success");
}, false);
</script>
<?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="#profiletab" aria-controls="profile" role="tab" data-toggle="tab">Profile</a></li>
								<li role="presentation"><a href="#messagestab" aria-controls="messages" role="tab" data-toggle="tab">Messages</a></li>
								<li role="presentation"><a href="#settingstab" aria-controls="settings" role="tab" data-toggle="tab">Social Media</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>
						            <!--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">
						                      <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="profiletab">

								</div>
								<div role="tabpanel" class="tab-pane" id="messagestab">Aliquam erat volutpat. Nullam sed dui nulla. Quisque a cursus lectus, id luctus lorem. Quisque in pharetra sem. Sed placerat nisi sit amet tincidunt fringilla. Cras leo erat, posuere eu nunc sit amet, egestas maximus diam. Cras eget libero lacinia, commodo turpis vel, maximus nunc. Nullam ac metus facilisis, efficitur libero ut, sollicitudin leo. Integer rhoncus scelerisque purus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nulla bibendum ex eget lorem porta placerat. Vestibulum eros mauris, congue quis leo sit amet, placerat molestie leo.</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>
						</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(); ?>