@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/ads/'.$prevnext['prev'].'?return='.$return ) : '#') }}" class="tips btn btn-sm"><i class="fa fa-arrow-left"></i>  </a>	
				<a href="{{ ($prevnext['next'] != '' ? url('/manage/ads/'.$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/ads/'.$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/ads?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('Label', (isset($fields['label']['language'])? $fields['label']['language'] : array())) }}</td>
						<td>{{ $row['label']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Position Id', (isset($fields['position_id']['language'])? $fields['position_id']['language'] : array())) }}</td>
						<td>{{ $row['position_id']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Store Id', (isset($fields['store_id']['language'])? $fields['store_id']['language'] : array())) }}</td>
						<td>{{ $row['store_id']}} </td>
						
					</tr>
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Store Id', (isset($fields['category_id']['language'])? $fields['category_id']['language'] : array())) }}</td>
						<td>{{ $row['category_id']}} </td>

					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Region Code', (isset($fields['region_code']['language'])? $fields['region_code']['language'] : array())) }}</td>
						<td>{{ $row['region_code']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Ord', (isset($fields['ord']['language'])? $fields['ord']['language'] : array())) }}</td>
						<td>{{ $row['ord']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Link Type', (isset($fields['link_type']['language'])? $fields['link_type']['language'] : array())) }}</td>
						<td>{{ $row['link_type']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Link', (isset($fields['link']['language'])? $fields['link']['language'] : array())) }}</td>
						<td>{{ $row['link']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('App Link', (isset($fields['app_link']['language'])? $fields['app_link']['language'] : array())) }}</td>
						<td>{{ $row['app_link']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('App Deep Link', (isset($fields['app_deep_link']['language'])? $fields['app_deep_link']['language'] : array())) }}</td>
						<td>{{ $row['app_deep_link']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Image', (isset($fields['image']['language'])? $fields['image']['language'] : array())) }}</td>
						<td>{{ $row['image']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Mob Image', (isset($fields['mob_image']['language'])? $fields['mob_image']['language'] : array())) }}</td>
						<td>{{ $row['mob_image']}} </td>
						
					</tr>

					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Is Featured', (isset($fields['is_featured']['language'])? $fields['is_featured']['language'] : array())) }}</td>
						<td>{{ $row['is_featured']}} </td>

					</tr>
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Status', (isset($fields['status']['language'])? $fields['status']['language'] : array())) }}</td>
						<td>{{ $row['status']}} </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('Coupon Code', (isset($fields['coupon_code']['language'])? $fields['coupon_code']['language'] : array())) }}</td>
						<td>{{ $row['coupon_code']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Promo Text', (isset($fields['promo_text']['language'])? $fields['promo_text']['language'] : array())) }}</td>
						<td>{{ $row['promo_text']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Start At', (isset($fields['start_at']['language'])? $fields['start_at']['language'] : array())) }}</td>
						<td>{{ $row['start_at']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('End At', (isset($fields['end_at']['language'])? $fields['end_at']['language'] : array())) }}</td>
						<td>{{ $row['end_at']}} </td>
						
					</tr>
				
					<tr>
						<td width='30%' class='label-view text-right'>{{ SiteHelpers::activeLang('Title', (isset($fields['title']['language'])? $fields['title']['language'] : array())) }}</td>
						<td>{{ $row['title']}} </td>
						
					</tr>
				
					</tbody>	
				</table>   

			 	

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