blah server ver blah
This commit is contained in:
@@ -25,6 +25,8 @@ class VideoController extends Controller
|
||||
$videos = Video::filtered();
|
||||
if($request->has('q')) {
|
||||
$needle = trim($request->input('q'));
|
||||
if(count(explode(",", $needle)) > 10)
|
||||
return back()->with('error', 'too many search terms');
|
||||
$videos = $videos->withAnyTagsFuzzy($needle);
|
||||
return view('index', [
|
||||
'number_of_results' => $videos->get()->count(),
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 247 KiB After Width: | Height: | Size: 866 KiB |
@@ -149,7 +149,7 @@ Route::group(["middleware" => "theme"], function() {
|
||||
# ]);
|
||||
#});
|
||||
#Route::get('login', function() { return view('login'); });
|
||||
#Route::get('donations', function() { return view('donation'); })->middleware('auth');
|
||||
Route::get('donations', function() { return view('donation'); })->middleware('auth');
|
||||
Route::get('login', 'UserController@loggain');
|
||||
#Route::get('counter-strike', function() { return view('counter-strike'); });
|
||||
|
||||
|
@@ -12,16 +12,6 @@
|
||||
<a style="font-size: 14px;" class="reich" href="javascript:;" onclick="formatText ('reich');">[reich]</a>
|
||||
<a style="font-size: 14px;" class="anim" href="javascript:;" onclick="formatText ('krebs');">[krebs]</a>
|
||||
<a style="font-size: 14px; color: white;" class="spoiler" href="javascript:;" onclick="formatText ('spoiler');">[spoiler]</a>
|
||||
<div tabindex="0" class="onclick-menu">
|
||||
<ul class="onclick-menu-content">
|
||||
<li>Protips:</li>
|
||||
<li>Do not stack them like this <code>[rb][reich]I am funny ;)))[/reich][/rb]</code></li>
|
||||
<li>This will look like shit and also it wont work.</li>
|
||||
<li>Hit Enter 2x to make a normal paragraph. (Yes we are retarded)</li>
|
||||
<li>Link to a video on w0bm.com is easy but 99% of you do it wrong! <br> <code>Blah Blah Blah /1337</code> this will not resolve the full link, just paste the full link in there like this: <code>Blah Blah Blah https://w0bm.com/1337</code> and this will result in the following: <p>Blah Blah Blah <a href="https://w0bm.com/1337">/1337</a></li>
|
||||
<li>See <a href="/about#format">/about</a> for additional formatting options</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="emoji-shit">
|
||||
<div class="header"><span>😂</span></div>
|
||||
</div>
|
||||
|
@@ -22,8 +22,8 @@
|
||||
<div class=" collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
@if(Auth::check())
|
||||
<ul class="nav navbar-nav navbar-left">
|
||||
<li><a href="{{url('categories')}}"><i class="fa fa-clone"></i> Categories</a></li>
|
||||
<li><a href="{{url('index')}}"><i class="fa fa-list"></i> Index</a></li>
|
||||
<li><a href="{{url('categories')}}"><i class="fa fa-clone"></i><span class="hidden-sm"> Categories</span></a></li>
|
||||
<li><a href="{{url('index')}}"><i class="fa fa-list"></i><span class="hidden-sm"> Index</span></a></li>
|
||||
@include('partials.themechanger')
|
||||
@endif
|
||||
@if(Auth::check())
|
||||
@@ -33,11 +33,11 @@
|
||||
@if(Auth::check())
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li><a href="{{url('messages')}}"><i class="fa fa-envelope"></i> <span class="badge message-badge">{{Auth::user()->messagesRecv()->unread()->count()}}</span></a></li>
|
||||
<li><a href="#" data-toggle="modal" data-target="#filterselectmodal"><i class="fa fa-filter"></i> Filter</a></li>
|
||||
<li><a href="{{url('upload')}}"><i class="fa fa-cloud-upload"></i> Upload</a></li>
|
||||
<li><a href="#" data-toggle="modal" data-target="#filterselectmodal"><i class="fa fa-filter"></i><span class="hidden-sm"> Filter</span></a></li>
|
||||
<li><a href="{{url('upload')}}"><i class="fa fa-cloud-upload"></i><span class="hidden-sm"> Upload</span></a></li>
|
||||
<li><a href="{{url('user', Auth::user()->username)}}/favs"><i class="fa fa-heart"></i></a></li>
|
||||
<li><a href="{{url('user', Auth::user()->username)}}"><i class="fa fa-user"></i> {{Auth::user()->username}}</a></li>
|
||||
<li><a href="{{url('logout')}}"><i class="fa fa-sign-out"></i> Logout</a></li>
|
||||
<li><a href="{{url('logout')}}"><i class="fa fa-sign-out"></i><span class="hidden-sm"> Logout</span></a></li>
|
||||
</ul>
|
||||
@else
|
||||
<!-- Hier war mal der Login Kot -->
|
||||
|
@@ -41,7 +41,7 @@
|
||||
No tags yet ...
|
||||
@endif
|
||||
</div>
|
||||
<span id="w0bm_version">v.1.{{ filemtime("css/w0bmcustom.css") }} // 2020</span>
|
||||
<br>
|
||||
<span class="hidden-sm" id="w0bm_version">v.1.{{ filemtime("css/w0bmcustom.css") }} // 2021</span>
|
||||
<br class="hidden-sm">
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -16,12 +16,13 @@
|
||||
<li>Referrer URLs</li>
|
||||
<li>Referring Sites</li>
|
||||
</ul>
|
||||
<p>These logs are being checked out occasionally by myself to see whats happening on good old w0bm</p>
|
||||
<p>These logs are webserver access logs, there are no user specific logs, we do not associate ips to users, uploads or comments, we have good faith in our users, the access logs are for the sole purpose of debugging if something goes south, identifying unwanted bots etc</p>
|
||||
<h5>3<sup>rd</sup> party links</h5>
|
||||
<p>There are some 3rd party linkings on this website, be careful with clicking them we don't know whats inside the box blah blah blah, don't be stupid and don't trust the internet.</p>
|
||||
<p>If you encounter a malicious link shared here on w0bm.com please notify an admin in the IRC or Discord</p>
|
||||
<h5>Cookies</h5>
|
||||
<p>Yes, we use cookies if you don't like that don't come to our site! (or don't accept them in the first place) You can see the details of the cookies in your browser.</p>
|
||||
<p>It should be your remember token, this is used so you don't have to login all the time, the style cookie, it sets your prefered stylesheet in the default w0bm.com layout, w0bm_session, your session cookie, XSRF-TOKEN, the XSRF-TOKEN</p>
|
||||
</div>
|
||||
@if(auth()->check())
|
||||
@include('footer')
|
||||
|
@@ -4,7 +4,7 @@
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
|
||||
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
||||
<div class="" id="navbarSupportedContent">
|
||||
<ul class="navbar-nav mr-auto">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link video-id">{{$video->id}}</a>
|
||||
|
@@ -17,7 +17,7 @@
|
||||
w0bm.com NO-JS v1
|
||||
-->
|
||||
<div class="container-fluid row p-0" id="wrapper">
|
||||
<div class="container p-0">
|
||||
<div class="container-fluid p-0">
|
||||
@include('fuetli')
|
||||
<div class="col-md p-0">
|
||||
@yield('floatvid')
|
||||
@@ -26,13 +26,12 @@
|
||||
<div class="nojsleleks">
|
||||
@include('video-partials.video-metadata')
|
||||
@include('partials.tags-light')
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm p-0 sidebar">
|
||||
@include('partials.commentform')
|
||||
<br>
|
||||
@include('partials.comments')
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
@@ -18,8 +18,8 @@
|
||||
<div class="page">
|
||||
<div class="video-wrap embed-responsive embed-responsive-16by9">
|
||||
<div class="video">
|
||||
<video id="video" class="video rounded embed-responsive-item" loop preload="auto" crossorigin="anonymous">
|
||||
<source src="//b.w0bm.com/b{{ "/" . $video->file }}">
|
||||
<video onloadstart="this.volume=0.5" id="video" class="video rounded embed-responsive-item" loop preload="auto" crossorigin="anonymous">
|
||||
<source src="//w0bm.com/b{{ "/" . $video->file }}">
|
||||
</video>
|
||||
</div>
|
||||
</div>
|
||||
@@ -29,8 +29,8 @@
|
||||
|
||||
@section('floatvid')
|
||||
<div class="video-wrap embed-responsive embed-responsive-16by9 rounded" id="sticky-container">
|
||||
<video class="video scrollable" controls autoplay loop id="video">
|
||||
<source src="//b.w0bm.com/b{{ "/" . $video->file }}">
|
||||
<video onloadstart="this.volume=0.5" class="video scrollable" controls autoplay loop id="video">
|
||||
<source src="//w0bm.com/b{{ "/" . $video->file }}">
|
||||
</video>
|
||||
</div>
|
||||
@include('video-partials.legacy-videonav')
|
||||
|
Reference in New Issue
Block a user