61 lines
1.9 KiB
PHP
61 lines
1.9 KiB
PHP
<!--<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="nutti">
|
|
<p>Please check out the overhauled <a href="https://w0bm.com/api/user/layout?layout=2">Njum</a> Layout and give me some feedback!</p>
|
|
</div> --}}
|
|
{{-- <div id="nutti">
|
|
<p>Next month w0bm turns 6 years old! Wouldn't be possible without all of you! Thanks</p>
|
|
</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
|