@if(count($questions) == 0)
@if(!empty($reset)) Sorry! We cannot find any records matching your search criteria @else No Records Found @endif
@else @foreach($questions as $value) @php if(strlen($value->question) > 500){ $question = substr(strip_tags($value->question,''),0,500); $more = substr(strip_tags($value->question,''),0,6000); }else{ $question =""; $more =""; } @endphp @if($value->difficult_level_id==1)
@elseif($value->difficult_level_id==2)
@else
@endif Q.
@if($question)
{!! $question !!}...{!! $more !!} more
@else
{!! $value->question !!}
@endif
@if($value->question_type == 1) @elseif($value->question_type == 2) @elseif($value->question_type == 3) @elseif($value->question_type == 4 ) @elseif($value->question_type ==5) @elseif($value->question_type ==6) @elseif($value->question_type ==7) @elseif($value->question_type == 11) @else @endif {!! isset($value->question_type_name->name) ? $value->question_type_name->name : '' !!} @if(!in_array($value->pool_id,explode(',',getenv('RESTRICT_POOL_TO_EDIT')))) @if($value->question_type==1 || $value->question_type==3 || $value->question_type==4 || $value->question_type==5 || $value->question_type==6 || $value->question_type==7 || $value->question_type==11) @if($value->is_media_type == 1) @if(!empty($value->getAudioVideoUrl)) @if($value->getAudioVideoUrl->media_type == 'audio') @elseif($value->getAudioVideoUrl->media_type == 'video') @elseif($value->getAudioVideoUrl->media_type == 'pdf') @elseif($value->getAudioVideoUrl->media_type == 'zip') @endif @endif @endif @else @endif @endif
@endforeach @endif