@extends('layouts.app')

@section('content')
<section class="page-header row">
	<h2> {{ $pageTitle }} <small> {{ $pageNote }} </small></h2>
	<ol class="breadcrumb">
		<li><a href="{{ url('') }}"> Dashboard </a></li>
		<li><a href="{{ url('/manage/'.$pageModule) }}"> {{ $pageTitle }} </a></li>
		<li class="active"> View  </li>		
	</ol>
</section>
<div class="page-content row">
	<div class="page-content-wrapper no-margin">
	
	<div class="sbox">
		<div class="sbox-title clearfix">
			<div class="sbox-tools pull-left" >
		   		<a href="{{ ($prevnext['prev'] != '' ? url('/manage/events/'.$prevnext['prev'].'?return='.$return ) : '#') }}" class="tips btn btn-sm"><i class="fa fa-arrow-left"></i>  </a>	
				<a href="{{ ($prevnext['next'] != '' ? url('/manage/events/'.$prevnext['next'].'?return='.$return ) : '#') }}" class="tips btn btn-sm "> <i class="fa fa-arrow-right"></i>  </a>					
			</div>	

			<div class="sbox-tools" >
				@if($access['is_add'] ==1)
		   		<a href="{{ url('/manage/events/'.$id.'/edit?return='.$return) }}" class="tips btn btn-sm  " title="{{ __('core.btn_edit') }}"><i class="fa  fa-pencil"></i></a>
				@endif
				<a href="{{ url('/manage/events?return='.$return) }}" class="tips btn btn-sm  " title="{{ __('core.btn_back') }}"><i class="fa  fa-times"></i></a>		
			</div>
		</div>
		<div class="sbox-content">
			<div class="table-responsive">
				<table class="table table-striped " >
					<tbody>	
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Id', (isset($fields['id']['language'])? $fields['id']['language'] : array())) }}</td>
						<td>{{ $row['id']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Slug', (isset($fields['slug']['language'])? $fields['slug']['language'] : array())) }}</td>
						<td>{{ $row['slug']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Name', (isset($fields['name']['language'])? $fields['name']['language'] : array())) }}</td>
						<td>{{ $row['name']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Start', (isset($fields['start']['language'])? $fields['start']['language'] : array())) }}</td>
						<td>{{ $row['start']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('End', (isset($fields['end']['language'])? $fields['end']['language'] : array())) }}</td>
						<td>{{ $row['end']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Web Logo', (isset($fields['web_logo']['language'])? $fields['web_logo']['language'] : array())) }}</td>
						<td>{{ $row['web_logo']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('App Logo', (isset($fields['app_logo']['language'])? $fields['app_logo']['language'] : array())) }}</td>
						<td>{{ $row['app_logo']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Web Status', (isset($fields['web_status']['language'])? $fields['web_status']['language'] : array())) }}</td>
						<td>{{ $row['web_status']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('App Status', (isset($fields['app_status']['language'])? $fields['app_status']['language'] : array())) }}</td>
						<td>{{ $row['app_status']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Background Type', (isset($fields['background_type']['language'])? $fields['background_type']['language'] : array())) }}</td>
						<td>{{ $row['background_type']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Background Value', (isset($fields['background_value']['language'])? $fields['background_value']['language'] : array())) }}</td>
						<td>{{ $row['background_value']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('App Background Value', (isset($fields['app_background_value']['language'])? $fields['app_background_value']['language'] : array())) }}</td>
						<td>{{ $row['app_background_value']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Temp Background', (isset($fields['temp_background']['language'])? $fields['temp_background']['language'] : array())) }}</td>
						<td>{{ $row['temp_background']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Font Color', (isset($fields['font_color']['language'])? $fields['font_color']['language'] : array())) }}</td>
						<td>{{ $row['font_color']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Flash Sale Days', (isset($fields['flash_sale_days']['language'])? $fields['flash_sale_days']['language'] : array())) }}</td>
						<td>{{ $row['flash_sale_days']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Has Homepage Countdown', (isset($fields['has_homepage_countdown']['language'])? $fields['has_homepage_countdown']['language'] : array())) }}</td>
						<td>{{ $row['has_homepage_countdown']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Has Menu Item', (isset($fields['has_menu_item']['language'])? $fields['has_menu_item']['language'] : array())) }}</td>
						<td>{{ $row['has_menu_item']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Has Teaser', (isset($fields['has_teaser']['language'])? $fields['has_teaser']['language'] : array())) }}</td>
						<td>{{ $row['has_teaser']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Views Count', (isset($fields['views_count']['language'])? $fields['views_count']['language'] : array())) }}</td>
						<td>{{ $row['views_count']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Created At', (isset($fields['created_at']['language'])? $fields['created_at']['language'] : array())) }}</td>
						<td>{{ $row['created_at']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Updated At', (isset($fields['updated_at']['language'])? $fields['updated_at']['language'] : array())) }}</td>
						<td>{{ $row['updated_at']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Competition End', (isset($fields['competition_end']['language'])? $fields['competition_end']['language'] : array())) }}</td>
						<td>{{ $row['competition_end']}} </td>
						
					</tr>
				
					</tbody>	
				</table>   

			 	

			</div>
		</div>
	</div>
	</div>
</div>
@stop
