Sindbad~EG File Manager
@extends('poll.layout')
@section('title')
<title>Polls Results</title>
@stop
@section('scriptTop')
{{ HTML::script('/js/ajaxloader.js') }}
{{ HTML::script('/js/jquery.validate.js') }}
{{ HTML::script('/js/jquery.common.js') }}
{{ HTML::script('/js/custom.js') }}
@stop
@section('css')
{{-- HTML::style('/css/polls.css') --}}
@stop
@section('scriptBottom')
<script type="text/javascript">
</script>
@stop
@section('content')
@section('ContentTitle')
{{ CustomClass::$Title }}
@stop
<div class="container">
<div class="row">
<div class="col-md-6 form-group text-left">
<h3>Polls Votes Results</h3>
</div>
<div class="col-md-6 form-group text-right">
<br/>
<a href="{{ url('pollresults').'/'. $user_id }}" class="btn button btn-danger"><span class="glyphicon glyphicon-refresh" aria-hidden="true"></span> Refresh</a>
<a href="{{ url('/polls') .'/'. $user_id }}" class="btn button btn-danger"><span class="glyphicon glyphicon-arrow-left" aria-hidden="true"></span> Back</a>
</div>
</div>
<div class="list-group">
@foreach ($polls as $value)
<div class="list-group-item">
<h4> {{ $value->title }}</h4>
<p>{{$value->description }} </p>
{{-- <p>
Start : {{ Helper::fromDBDateTime($value->start_at) }} - End : {{ Helper::fromDBDateTime($value->end_at) }} </p> --}}
@if(isset($options[$value->poll_id]))
<h4>Options</h4>
<table class="table table-striped">
@foreach ($options[$value->poll_id] as $key => $option)
<tr>
<td>
{{ $option->option_text }}
</td>
<td>
{{ isset($respons[$option->poll_option_id])? $respons[$option->poll_option_id] : 0 }} votes
</td>
</tr>
@endforeach
</table>
@endif
</div>
@endforeach
</div>
{{-- <div class="row">
<div class="col-sm-12">
<!-- Category -->
<div class="single category">
<ul class="list-unstyled">
<li>
</li>
</ul>
</div>
</div>
</div> --}}
</div>
@stop
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists