main
This commit is contained in:
26
resources/views/layout3/main.blade.php
Normal file
26
resources/views/layout3/main.blade.php
Normal file
@@ -0,0 +1,26 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<div class="items">
|
||||
@foreach($videos as $video)
|
||||
<?php
|
||||
$thumb = str_replace(".webm","",$video->file);
|
||||
?>
|
||||
<div class="main-item">
|
||||
<a href="/{{$video->id}}">
|
||||
@if(file_exists('/home/sirx/web/devw0bm/w0bm.com/public/thumbs/beta/'.$thumb.'.png'))
|
||||
|
||||
<img src="/thumbs/beta/{{$thumb}}.png">
|
||||
|
||||
@else
|
||||
<img src="/small_404.gif" class="nothumb" />
|
||||
{{$video->tesThumb()}}
|
||||
@endif
|
||||
</a>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
<div class="page">
|
||||
{!! $videos->render() !!}
|
||||
</div>
|
||||
@endsection
|
Reference in New Issue
Block a user