w0bm.com v1.5z FULL.RETARD.BUILD.BUT.STILL.WORKS
This commit is contained in:
50
resources/views/layout1/partials/comments.blade.php
Normal file
50
resources/views/layout1/partials/comments.blade.php
Normal file
@@ -0,0 +1,50 @@
|
||||
<!--<div id="motd" class="panel panel-info hidden-xs">
|
||||
@if(null === $banner)
|
||||
<div class="panel-body motd">
|
||||
<!--<span style="color:red;">f0ck you!</span>-->
|
||||
<!--<iframe style="width: 342px; height: 50px; border: 0!important;display: flex;"src="/0x40"></iframe>
|
||||
</div>
|
||||
@else
|
||||
<a href="{{ $banner->url }}" target="_blank" rel="noopener">
|
||||
<div style="height: 50px; background-image:url('{{ $banner->image }}')" class="panel-body motd">
|
||||
</div>
|
||||
</a>
|
||||
@endif
|
||||
</div>-->
|
||||
@if(Auth::check())
|
||||
@include('partials.commentform')
|
||||
@endif
|
||||
|
||||
|
||||
@if(Auth::check())
|
||||
<div id="comment_container_scrollable" class="comments hidden-xs">
|
||||
<div class="commentwrapper">
|
||||
<?php
|
||||
if($mod = (Auth::check() && Auth::user()->can('delete_comment'))) $comments = $video->comments()->withTrashed()->get();
|
||||
else $comments = $video->comments;
|
||||
?>
|
||||
@if(count($comments) > 0)
|
||||
@foreach($comments as $comment)
|
||||
@include('partials.comment', ['comment' => $comment, 'mod' => $mod])
|
||||
@endforeach
|
||||
@else
|
||||
<div class="panel panel-default nocomments">
|
||||
<div class="panel-body">
|
||||
No comments yet …<br />
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
<div class="comments hidden-xs">
|
||||
<div class="commentwrapper">
|
||||
<div class="panel panel-default ">
|
||||
<div class="panel-body">
|
||||
<p class="comment"><i>Please log in to view comments</i></p>
|
||||
</div>
|
||||
<div class="panel-footer">by w0bm ∞</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
Reference in New Issue
Block a user