@extends('master')

@section('content')


<!-- page content -->
<div class="right_col" role="main">
  <div class="row x_panel">
    <div class="col-md-12 col-sm-12 col-xs-12">
    <h1>Credit Offer</h1>
<?php if(isset($data)){ ?>
<form action="controller/pages_submit.php" id="" class="form-horizontal " method="post" enctype="multipart/form-data">
  <div class="table-responsive">
    <table class="table table-striped table-bordered table-hover" >
      
<table class='table table-bordered' style='width:70%;' align='center'>
	<tr>
	 <td>
	   <label for="title" class="col-sm-3 control-label"> Title </label>
	 </td>
	 <td> 
	   {{{ $data->title }}}
	 </td>
	</tr>
	

    <!-- Card_image Start -->
	<tr>
	 <td>
	  <label for="address" class="col-sm-3 control-label"> Card Image </label>
	 </td>
     <td>
      <?php if($data->card_image!='')  echo '<img src="'.url('/').'/uploads/'.$data->card_image.'" style="width:100px">'; ?></td>
	 </td>
	</tr>
    <!-- Card_image End -->

	
	<tr>
	 <td>
	   <label for="odds" class="col-sm-3 control-label"> Odds </label>
	 </td>
	 <td> 
	   {{{ $data->odds }}}
	 </td>
	</tr>
	
	<tr>
	 <td>
	   <label for="annual_fee" class="col-sm-3 control-label"> Annual Fee </label>
	 </td>
	 <td> 
	   {{{ $data->annual_fee }}}
	 </td>
	</tr>
	
	<tr>
	 <td>
	   <label for="security_deposit" class="col-sm-3 control-label"> Security Deposit </label>
	 </td>
	 <td> 
	   {{{ $data->security_deposit }}}
	 </td>
	</tr>
	
	<tr>
	 <td>
	   <label for="url" class="col-sm-3 control-label"> Url </label>
	 </td>
	 <td> 
	   {{{ $data->url }}}
	 </td>
	</tr>
	

    <!-- Status Start -->
	<tr>
	 <td>
	  <label class="control-label col-md-3">status</label>
	 </td>
	 <td> 
	   <?php if($data->status == 1){echo "Active";}else{ echo "Inactive";}?>
	 </td>
	</tr>
    <!-- Status End -->

	<tr><td colspan="2"><a type="reset" class="btn btn-info pull-right" onclick="history.back()">Back</a></td></tr></table>
    </table>
  </div>

  
</form>
<?php } else{
    echo '<h2 align="center" class="text-danger">No record found!</h2>';
  } ?>


    </div>
  </div>
</div>
<!-- /page content -->


@endsection
