58 lines
1.8 KiB
PHP
Executable File
58 lines
1.8 KiB
PHP
Executable File
<!--<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>-->
|
|
{{--<div id="matrix">
|
|
<span id="bluepill"></span> <a href="/matrix">[matrix] It's time for your redpill honey</a> <span id="redpill"></span>
|
|
</div>--}}
|
|
@if(Auth::check())
|
|
@if($video->id == '30186')
|
|
@include('partials.thread_closed')
|
|
@else
|
|
@include('partials.commentform')
|
|
@endif
|
|
@else
|
|
@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
|