@extends('layouts.admin')
@section('title')
   @lang('System Purchase Activation')
@endsection

@section('breadcrumb')
 <section class="section">
    <div class="section-header">
        <h1>@lang('System Purchase Activation')</h1>
       
    </div>
</section>
@endsection

@section('content')
	<div class="row">
		<div class="col-lg-12">
			<div class="card">
				<div class="card-body">
					<div class="product-description">
						<div class="body-area">
		
							<div class="gocover" style="background: url({{asset('assets/images/'.$gs->admin_loader)}}) no-repeat scroll center center rgba(45, 45, 45, 0.5);"></div>
							@if($activation_data != "")
								<div class="row">
									<div class="col-lg-12 text-center">
		
										{!! $activation_data !!}
		
									</div>
								</div>
							@else
								<form action="{{ route('admin-activate-purchase') }}" method="POST">
									{{csrf_field()}}
		
									<div class="row">
										<div class="col-lg-4">
											<div class="left-area">
												<h4 class="heading">{{ __('Purchase Code') }} *</h4>
												<p class="sub-heading"><a href="https://help.market.envato.com/hc/en-us/articles/202822600-Where-Is-My-Purchase-Code-" target="_blank">{{ __('How to get purchase code?') }}</a></p>
											</div>
										</div>
										<div class="col-lg-7">
											<input class="form-control" name="pcode" id="admin_name" placeholder="{{ __('Enter Purchase Code') }}" required="" value="" type="text">
										</div>
									</div>
		
		
									<div class="row">
										<div class="col-lg-4">
											<div class="left-area">
		
											</div>
										</div>
										<div class="col-lg-7">
											<button class="addProductSubmit-btn btn btn-primary" type="submit">{{ __('Activate') }}</button>
										</div>
									</div>
		
								</form>
		
							@endif
		
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
		
@endsection