<?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">
							Footer 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">Discover</a></li>
								<li role="presentation"><a href="#profiletab" aria-controls="profile" role="tab" data-toggle="tab">Partners</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' => 'insertdiscoverlinks', 'id' => 'form-a', 'class' => 'form')); ?>
						          <div class="col-md-12">
						           <!--Default Form-->
						            <div class="form-group">
						              <label class="control-label">Title:</label>
						             <input type="text" class="form-control" name="discover_title" value="" required="required" />
						            </div>
						            <div class="form-group">
						              <label class="control-label">Link:</label>
						             <input type="text" class="form-control" name="discover_link" value="" 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 class="row">
			<div class="col-md-12">
				<!-- panel -->
				<div class="panel panel-piluku panel-users">
					<div class="panel-heading">
						<h3 class="panel-title">
							Discover Management
							<span class="panel-options">
								<a href="#" class="panel-refresh">
									<i class="icon ti-reload"></i> 
								</a>
								<a href="#" class="panel-minimize">
									<i class="icon ti-angle-up"></i> 
								</a>
								<a href="#" class="panel-close">
									<i class="icon ti-close"></i> 
								</a>
							</span>
						</h3>
					</div>
					<div class="panel-body nopadding">
						<div class="table-responsive">
							<table class="table table-hover">
								<thead>
									<tr>
								
						                <th>Title</th>
						                <th>Link</th>
						          
										<th>&nbsp;</th>
									
									</tr>
								</thead>
								<tbody>
								     <?php foreach($data as $link): ?>
									<tr class="table-row">
										
						                <td><?php echo $link->option_title; ?></td>
						                <td><?php echo $link->option_value; ?></td>

										
										<td>
										<a href="#" class="btn btn-green"><i class="ion ion-edit"></i></a>
											<a href="<?php echo URL('/admin/settings/footer/discoverlinks/delete/'.$link->id.''); ?>" class="btn btn-red"><i class="ion ion-ios-trash-outline"></i></a>
										</td>
											
									</tr>
									<?php endforeach; ?>
									
								</tbody>
							</table>
						</div>
					</div>
				</div>
				<!-- /panel -->
			</div>
		</div>
 
    <!--theme panel-->

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

								  <!--form-heading-->
						        <?php echo Form::open(array('route' => 'insertbrand', 'files'=>true, 'id' => 'form-a', 'class' => 'form')); ?>
						          <div class="col-md-12">
						           <!--Default Form-->
						            <div class="form-group">
						              <label class="control-label">Brand Name:</label>
						             <input type="text" class="form-control" name="brandname" value="" required="required" />
						            </div>
						             <div class="form-group">
							            <label class="col-sm-2 control-label" for="inline-suggestions">(63x63):</label>
							            <div class="col-sm-8">
							                                 <span class="btn btn-default btn-file"><span class="fileupload-new">Select Thumbnail</span><span class="fileupload-exists">Change</span><input name="file" id="file" type="file"></span>
							            </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 class="row">


			<div class="col-md-12">


				<!-- panel -->
				<div class="panel panel-piluku panel-users">
					<div class="panel-heading">
						<h3 class="panel-title">
							Partner Management
							<span class="panel-options">
								<a href="#" class="panel-refresh">
									<i class="icon ti-reload"></i> 
								</a>
								<a href="#" class="panel-minimize">
									<i class="icon ti-angle-up"></i> 
								</a>
								<a href="#" class="panel-close">
									<i class="icon ti-close"></i> 
								</a>
							</span>
						</h3>
					</div>
					<div class="panel-body nopadding">
						<div class="table-responsive">
							<table class="table table-hover">
								<thead>
									<tr>
										<th>&nbsp;</th>	
						                <th>Name</th>
						             
									
										<th>&nbsp;</th>
									
									</tr>
								</thead>
								<tbody>
								     <?php foreach($brands as $logo): ?>
									<tr class="table-row">
										<td>
											<img src="<?php echo URL('/images/brands/63x63/'.$logo->logo.''); ?>" alt="user">
										</td>
						                <td><?php echo $logo->name; ?></td>
						                
										<td>
										<a href="<?php echo URL('admin/hotels'); ?>" class="btn btn-green"><i class="ion ion-edit"></i></a>
											<a href="<?php echo URL('/admin/settings/footer/brands/delete/'.$logo->id.''); ?>" class="btn btn-red"><i class="ion ion-ios-trash-outline"></i></a>
										</td>
											
									</tr>
									<?php endforeach; ?>
									
								</tbody>
							</table>
						</div>
					</div>
				</div>
				<!-- /panel -->
			</div>
		</div>

								</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(); ?>