@extends('user.master')
@section('content')
<div class="col-md-12">
    <!-- Poll Page  -->
    <div class="clearfix">&nbsp;</div>
    <div class="clearfix">&nbsp;</div>
    <div class="clearfix">&nbsp;</div>
    <div class="clearfix">&nbsp;</div>

    <div class="clearfix">&nbsp;</div>
    <div class="clearfix">&nbsp;</div>
    <div class="row">
        <div class="col-md-1"></div>
        <div class="col-md-10">
            <div class="col-md-9">
                <center class="animated bounceInDown panel panel-body panel-default">
                    <h2 class="text-danger"> Hey ! there is nothing here , try another thing  <br>   <a href="/">Back</a> </h2>
                </center>
            </div>
            <div class="col-md-3 bg-default">
                <b>Ads: </b>
                <p></p>
                <a href="{{$settings->footer_image_link}}">
                    <img class="img-responsive portfolio-item" src="{{asset('public/images')}}/{{$settings->footer_image}}" alt="Quiz Viral marketing ">
                </a>
                <div class="clearfix">&nbsp;</div>
                <H4> Quiz Top Score : </h4>
                <p></p>
                @if(!empty($top_scrorer))
                @foreach($top_scrorer as $top)
                <div class="row">
                    <div class="col-md-3">
                        <div class="clearfix">&nbsp;</div>
                        <img class="img-thumbnail" src="https://graph.facebook.com/{{$top->fbid}}/picture">
                    </div>
                    <div class="col-md-9">
                        <b class="vr-text-color"><a class="vr-text-color" href="http://facebook.com/{{$top->fbid}}">{{$top->name}}</a></b>
                        <br><b> Quiz group </b>: {{$top->group_name}}
                        <br><b>Score </b>: {{$top->avg_grade}}%
                        <br><b>Date  </b>: {{Util::getdate($top->quiz_date,'d M y H:i a')}}
                    </div>
                </div>
                <hr>
                @endforeach
                @endif
            </div>
        </div>
        <div class="col-md-1"></div>
    </div>
    <!------- // Poll Page  ---------->
</div>


@stop
