server ver

This commit is contained in:
2021-06-20 13:49:07 +00:00
parent 36a8c92dec
commit 8877c0bad0
975 changed files with 555 additions and 6596 deletions

View File

@@ -0,0 +1,30 @@
@extends('profilelayout')
@section('content')
<div class="page-header">
<form method="get">
<button type="submit" class="suchbutton"><i style="color:white;" class="fa fa-search"></i></button>
{!! Form::text('q', isset($q) ? $q : null, ['class' => 'suchleiste', 'placeholder' => 'Search w0bm.com']) !!}
</form>
</div>
<div class="items">
@foreach($videos as $video)
<?php
$thumb = str_replace(".webm","",$video->file);
?>
<div class="main-item">
<a href="/{{$video->id}}">
{{-- MUSS UNBEDINGT NOCH ANGEPASST WERDEN!!! --}}
@if(file_exists(public_path() . '/thumbs/beta/'.$thumb.'.png'))
<img src="/thumbs/beta/{{$thumb}}.png">
@else
<img src="/small_404.gif" class="nothumb">
@endif
</a>
</div>
@endforeach
</div>
<div class="page">
{!! $videos->render() !!}
</div>
@endsection