@extends('include.dashboard')

@section('content')
<script type="text/javascript">
    if (window.performance && window.performance.navigation.type == window.performance.navigation.TYPE_BACK_FORWARD) {
        location.reload();
    }
</script>
 <div class="nk-content">
                        <div class="container-fluid">                            <div class="nk-content-body">
                                <div class="buysell widse-xs m-aussto">
                                <br><br><br>

                                    <div class="buysell-block">
                                      
                                        <form method="post" class="buysell-form" action="{{ route('cabletvpost') }}">
                                        @csrf

                                            <div class="buysell-field form-group">
                                                <div class="form-label-group"><label class="form-label">Select Decoder</label></div>
                                                <div class="form-pm-group">
                                                    <ul class="buysell-pm-list">
                                                    @foreach($network as $data)
                                                        <li class="buysell-pm-item">
                                                            <input class="buysell-pm-control" type="radio" name="network" value="{{$data->code}}" id="pm-paypal{{$data->id}}" />
                                                            <label class="buysell-pm-label" for="pm-paypal{{$data->id}}">
                                                                <span class="pm-name">{{$data->name}}</span><span class="pm-icson"><div class="user-avadtar sm"><img src="{{asset($data->image)}} "
                             width="80" alt="Avatar"></div></span>
                                                            </label>
                                                        </li>
                                                    @endforeach
                                                                                                           </ul>
                                                </div>
                                            </div>

                                             <div class="buysell-field form-action"><button type="submit" class="btn btn-lg btn-block btn-primary">Continue</button></div>



<div class="alert alert-danger"> <div class="alert-cta flex-wrap flex-md-nowrap">
                                            <div class="alert-text"><p> {{Auth::User()->username}}!, Upgrade your <a href="/user/upgrade-downgrade" class="link link-primary">Bankly Account</a> to enjoy our percentage (%) discounts on all purchase!</p> </div>
                                            <ul class="alert-actions gx-3 mt-3 mb-1 my-md-0">
                                                <li class="order-md-last"><a href="#" class="btn btn-sm btn-warning" type="button" class="close" data-dismiss="alert" aria-label="Close">Later</a></li>
                                                <li class="order-md-last"><a href="/user/upgrade-downgrade" class="btn btn-sm btn-primary" type="button"   aria-label="Close">Upgrade Now</a></li>

                                            </ul>

                                        </div>
                                    </div>
                                            
 
                                           <div class="form-note text-base text-center">Note: our transaction fee included, <a href="#">see our fees</a>.</div>


                                    </div>
                                </div>
                            </div>
                        </div>

            </div>
 </form>
@endsection
