OwlCyberSecurity - MANAGER
Edit File: userinfo.blade.php
<div class="container-fluid"> <br> <div class="col-sm-6"> @if($user->passport!=NULL) <img src="{{$path1}}{{$user->passport}}" class="img-rounded" style="max-height: 120px;"> @elseif($user->avatar!=NULL) <img src="{{$user->avatar}}" class="img-rounded" style="max-height: 120px;"> @else <img src="{{$path}}user.png" class="img-rounded" style="max-height: 120px;"> @endif <table class="table table-striped table-hover"> <tr> <th>SUBSCRIPTION STATUS</th> <td> @if($user->sub_count=='0') <span class="text-danger">NEVER SUBSCRIBED</span> @elseif($user->subscription_status==NULL || $user->subscription_status=='0') <span class="text-danger">EXPIRED</span> @else <span class="text-success">ACTIVE</span> @endif </td> </tr> @if($user->subscription_status=='1') <tr> <th>SUBSCRIPTION TYPE</th> <td>{{$user->sub->category}} Tips ({{$user->sub->planName}})</td> </tr> @endif <tr> <th>LAST SUBSCRIPTION</th> <td>{{\Carbon\Carbon::parse($user->date_subscribed)->format('l j M, Y : h ia')}}</td> </tr> {{-- @if($user->subscription_status=='1')--}} <tr> <th>NEXT DUE DATE</th> <td>{{\Carbon\Carbon::parse($user->next_due_date)->format('l j M, Y : h ia')}}</td> </tr> {{--@endif--}} <tr> <th>SUBSCRIPTION COUNT</th> <td>{{$user->sub_count}}</td> </tr> </table> </div> <div class="col-sm-6"> <table class="table table-striped table-hover"> <tr> <th>FULL NAME</th> <td>{{$user->full_name}}</td> </tr> <tr> <th>USERNAME</th> <td>{{$user->username}}</td> </tr> <tr> <th>EMAIL ADDRESS</th> <td>{{$user->email}}</td> </tr> @if($user->phone!=NULL) <tr> <th>PHONE NUMBER</th> <td>{{$user->phone}}</td> </tr> @endif @if($user->state!=NULL) <tr> <th>STATE</th> <td>{{$user->state}}</td> </tr> @endif @if($user->country!=NULL) <tr> <th>COUNTRY</th> <td>{{$user->country}}</td> </tr> @endif </table> </div> </div>