{{$pic->name}}
@if(Session::get('auth_selected_profile')==$pic->profile_id)
@if($pic->access=='PUB')
@else
@endif
@endif
{{--*/ $viewName = @end( @explode( '.', $pic->path ) ) /*--}}
@if($viewName=='txt')
{{--*/ $addfile='images/text.png' /*--}}
@endif
@if($viewName=='doc')
{{--*/ $addfile='images/doc.png' /*--}}
@endif
@if($viewName=='docx')
{{--*/ $addfile='images/docx.png' /*--}}
@endif
@if($viewName=='pdf')
{{--*/ $addfile='images/pdf.png' /*--}}
@endif
@if($viewName=='xls')
{{--*/ $addfile='images/xls.png' /*--}}
@endif
@if($viewName=='xlsx')
{{--*/ $addfile='images/xlsx.png' /*--}}
@endif
@if($viewName=='rtf')
{{--*/ $addfile='images/rtf.png' /*--}}
@endif
@if(Session::get('auth_selected_profile')!=$pic->profile_id)
@if(in_array($pic->id,$likes))
@else
@endif
@endif
@endforeach
@else