| Server IP : 208.122.213.31 / Your IP : 216.73.216.45 Web Server : Apache System : Linux msd6191.mjhst.com 4.18.0-553.137.1.el8_10.x86_64 #1 SMP Wed Jun 24 11:40:24 UTC 2026 x86_64 User : WHMCS_MIA_382 ( 1001) PHP Version : 7.4.33 Disable Function : NONE MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/httpd/html/lcmsmodels.com/public_html/resources/views/posts/ |
Upload File : |
<div class="card mb-4" data-post-id="{{ $post->id }}">
<div class="row p-4">
<div class="col-3 col-sm-3 col-md-3 col-lg-2">
<div class="profilePicSmall mt-0 ml-0 mr-2 mb-2 ml-md-3 shadow">
<a href="{{ $post->profile->url }}">
<img src="{{ secure_image($post->profile->profilePic, 75, 75) }}" alt="" class="img-fluid">
</a>
</div>
</div>
<div class="col-9 col-sm-9 col-md-9 col-lg-10">
<div class="mt-1 clearfix">
<div class="float-left">
<span class="text-secondary">{{ $post->profile->name }}</span>
<br>
<a href="{{ $post->profile->url }}">
{{ $post->profile->handle }}
</a>
<br>
<span class="text-muted">
<small>
<i class="fas fa-calendar-alt mr-1"></i> {{ $post->created_at->diffForHumans( ) }}
</small>
</span>
</div>
<div class="float-right">
<div class="dropdown dropleft">
<a href="" class="btn text-secondary dropdown-toggle postActionsDropdown" data-toggle="dropdown" id="dropdown-{{ $post->id }}" aria-haspopup="true" aria-expanded="false">
<i class="fas fa-angle-double-down"></i>
</a>
<div class="dropdown-menu" aria-labelledby="dropdown-{{ $post->id }}">
@if( $post->isCreator() )
<a class="dropdown-item" href="{{ route('editPost', ['post' => $post->id]) }}">@lang('post.editPost')</a>
<a class="dropdown-item delete-post" href="{{ route('deletePost', ['post' => $post]) }}" data-id="{{ $post->id }}">@lang('post.deletePost')</a>
@endif
<a class="dropdown-item copyLink" href="javascript:void(0);" data-clipboard-text="{{ $post->slug }}">
@lang( 'post.copyLink' )
</a>
<a class="dropdown-item" href="{{ $post->slug }}">
@lang( 'post.postLink' )
</a>
</div>
</div>
</div>
</div>
</div>
</div>
@if( $post->userHasAccess() )
<div class="pl-4 pr-4 pt-0 pb-0">
{!! clean(turnLinksIntoAtags(nl2br($post->text_content)), 'youtube') !!}
</div>
@include('posts.post-media', ['post' => $post])
<div class="border-top px-3 py-3">
<h4 class="d-inline">
<a href="@if(auth()->check()) javascript:void(0); @else {{ route( 'login' ) }} @endif" class="text-danger noHover @if(auth()->check()) lovePost @endif @if( auth()->check() && auth()->user()->hasLiked( $post )) d-none @endif" data-id="{{ $post->id }}">
<i class="far fa-heart"></i> <span class="post-likes-count" data-id="{{ $post->id }}">{{ $post->likes->count() }}</span>
</a>
<a href="javascript:void(0);" class="text-danger noHover unlovePost @if( (auth()->check() && !auth()->user()->hasLiked( $post )) OR !auth()->check() ) d-none @endif" data-id="{{ $post->id }}">
<i class="fas fa-heart"></i> <span class="post-likes-count" data-id="{{ $post->id }}">{{ $post->likes->count() }}</span>
</a>
</h4>
<h4 class="d-inline">
<a href="@if(auth()->check()) javascript:void(0); @else {{ route( 'login' ) }} @endif" class="text-secondary noHover @if(auth()->check()) loadComments @endif" data-id="{{ $post->id }}">
<i class="far fa-comments"></i> <span class="post-comments-count" data-id="{{ $post->id }}">{{ $post->comments->count() }}</span>
</a>
</h4>
@include('tips.tip-form')
<div class="leave-comment mt-3 mb-2 d-none" data-id="{{ $post->id }}">
<input type="text" name="new-comment-{{ $post->id }}" class="form-control leave-comment-inp" placeholder="@lang('post.writeCommentAndPressEnter')" required="required" data-id="{{ $post->id }}">
</div>
<div class="post-{{ $post->id }}-lastId d-none"></div>
<div class="appendComments d-none" data-id="{{ $post->id }}"></div>
@if( $post->comments->count() > opt( 'commentsPerPost', 5 ) )
<a class="loadMoreComments d-none" href="javascript:void(0);" data-id="{{ $post->id }}">
@lang( 'post.loadMoreComments' )
</a>
<div class="noMoreComments d-none text-secondary" data-id="{{ $post->id }}">
<i class="fas fa-exclamation-triangle"></i> @lang( 'post.noMoreComments' )
</div>
@endif
</div>
@else
{{-- if Post is Paid but current auth() user is not subscribed --}}
<div class="pt-1 pb-2 pl-3">
@if($post->media_type != 'None')
{!! clean($post->text_content) !!}
@endif
</div>
<div class="locked-post p-5 text-center text-secondary">
<br><br>
<h1 class="display-2">
@if($post->media_type == 'None')
<i class="fas fa-align-left"></i>
@elseif($post->media_type == 'Image')
<i class="fas fa-image"></i>
@elseif($post->media_type == 'Video')
<i class="fas fa-video"></i>
@elseif($post->media_type == 'Audio')
<i class="fas fa-music"></i>
@elseif($post->media_type == 'ZIP')
<i class="fas fa-file-archive"></i>
@endif
</h1>
<i class="fa fa-lock"></i> @lang('post.locked')
<br><br><br>
</div>
@if($post->profile->monthlyFee && $post->profile->minTip)
<div class="ml-2 p-2">
@include('tips.tip-form')
</div>
@endif
@endif
</div>
<style>
.embed-container {
--video--width: 1296;
--video--height: 540;
position: relative;
padding-bottom: calc(var(--video--height) / var(--video--width) * 100%); /* 41.66666667% */
overflow: hidden;
max-width: 100%;
background: black;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>