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

@@ -1,51 +0,0 @@
@extends('layout')
@section('content')
<div class="page-header">
<h1>4ducky Registration</h1>
</div>
<div class="row">
<form class="form-horizontal" method="post" action="{{action('UserController@store')}}">
{!! csrf_field() !!}
<div class="form-group">
<label for="username" class="col-sm-2 control-label">Username</label>
<div class="col-sm-10">
{!! Form::text('username', null, ['class' => 'form-control', 'placeholder' => 'Username']) !!}
</div>
</div>
<div class="form-group">
<label for="email" class="col-sm-2 control-label">Email</label>
<div class="col-sm-10">
{!! Form::email('email', null, ['class' => 'form-control', 'placeholder' => 'Email']) !!}
</div>
</div>
<div class="form-group">
<label for="email_confirmation" class="col-sm-2 control-label">Email Confirmation</label>
<div class="col-sm-10">
{!! Form::email('email_confirmation', null, ['class' => 'form-control', 'placeholder' => 'Email Confirmation']) !!}
</div>
</div>
<div class="form-group">
<label for="password" class="col-sm-2 control-label">Password</label>
<div class="col-sm-10">
{!! Form::password('password', ['class' => 'form-control', 'placeholder' => 'Password']) !!}
</div>
</div>
<div class="form-group">
<label for="password_confirmation" class="col-sm-2 control-label">Password Confirmation</label>
<div class="col-sm-10">
{!! Form::password('password_confirmation', ['class' => 'form-control', 'placeholder' => 'Password Confirmation']) !!}
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
{!! Recaptcha::render() !!}
</div>
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<button type="submit" class="btn btn-primary">Register</button>
</div>
</div>
</form>
</div>
@endsection

0
resources/views/layout5/about.blade.php Normal file → Executable file
View File

0
resources/views/layout5/advertise.blade.php Normal file → Executable file
View File

0
resources/views/layout5/banned.blade.php Normal file → Executable file
View File

0
resources/views/layout5/categories.blade.php Normal file → Executable file
View File

0
resources/views/layout5/clippy.blade.php Normal file → Executable file
View File

0
resources/views/layout5/close.sh Normal file → Executable file
View File

0
resources/views/layout5/closedreg.php Normal file → Executable file
View File

0
resources/views/layout5/comments.blade.php Normal file → Executable file
View File

0
resources/views/layout5/community.blade.php Normal file → Executable file
View File

0
resources/views/layout5/contact.blade.php Normal file → Executable file
View File

0
resources/views/layout5/emails/activation.blade.php Normal file → Executable file
View File

0
resources/views/layout5/errors/404.blade.php Normal file → Executable file
View File

0
resources/views/layout5/errors/500.blade.php Normal file → Executable file
View File

0
resources/views/layout5/errors/503.blade.php Normal file → Executable file
View File

2
resources/views/layout5/footer.blade.php Normal file → Executable file
View File

@@ -1,6 +1,6 @@
<nav class="navbar-fixed-bottom">
<div class="container futter">
<a href="/about">About</a> | <a href="/rules">Rules</a> | <a href="/contact">Contact</a> | <a href="/privacy">Privacy</a> | <a href="/transparency">Transparency</a> | <a href="/list">List</a> | <a href="/stats">Stats</a>
<a href="/about">About</a> | <a href="/rules">Rules</a> | <a href="/contact">Contact</a> | <a href="/privacy">Privacy</a> | <a href="/stats">Stats</a>
<p>Inspired by <a href="http://z0r.de">z0r.de</a> | © 2015 {{ date('Y') }} w0bm.com</p>
</div>
</nav>

0
resources/views/layout5/help.blade.php Normal file → Executable file
View File

18
resources/views/layout5/index.blade.php Normal file → Executable file
View File

@@ -1,16 +1,20 @@
@extends('profilelayout')
@section('content')
<div class="page-header">
<h3 id="index">Index</h3>
<h3 id="index">Index <small>{{ $number_of_results }} results</small></h3>
<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="">
{!! $videos->render() !!}
</div>
<table class="table table-hover table-condensed">
<thead>
<tr>
<th>ID</th>
<th>ID</th>
<th>Video Title</th>
<th>Artist</th>
<th>Songtitle</th>
<th class="hidden-xs">Video Source</th>
@@ -31,6 +35,12 @@
@if($edit)
<input type="submit" class="btn btn-primary" value="Save" form="edit_{{$video->id}}">
@endif
</td>
<td>
<span class="vinfo vvideotitle">{{$video->videotitle or ''}}</span>
@if($edit)
<input class="form-control" type="text" name="videotitle" value="{{$video->videotitle or ''}}" form="edit_{{$video->id}}">
@endif
</td>
<td>
<span class="vinfo vinterpret">{{$video->interpret or ''}}</span>
@@ -64,8 +74,4 @@
@endforeach
</tbody>
</table>
<div class="">
{!! $videos->render() !!}
</div>
@endsection

28
resources/views/layout5/irc.blade.php Normal file → Executable file
View File

@@ -1,16 +1,32 @@
@extends('profilelayout')
@section('content')
<div class="page-header">
<h3>IRC</h3>
<h3>IRC/[matrix]</h3>
</div>
<div class="box">
<img src="/irccat.gif" alt="irc cat" style="float: right; width: 25%; height: 25%;">
<h5>IRC</h5>
<div class="irc-content">
{{--<div class="webchat">
@if(auth()->check())
<iframe src="https://webirc.n0xy.net?nick={{Auth::user()->username}}&join=%23w0bm&username={{Auth::user()->username}}"></iframe>
@else
<iframe src="https://webirc.n0xy.net?join=%23w0bm&"></iframe>
@endif
</div>--}}
<div class="irc-matrix-info">
<h5>IRC</h5>
<h6>irc.n0xy.net +6697 (ssl only) #w0bm</h6>
<p>Don't have a desktop client? Why not join our Network via webirc? <a href="https://webirc.n0xy.net/?join=%23w0bm" target="about_blank">>>webirc.n0xy.net</a></p>
<p><a href="https://webirc.n0xy.net/?join=%23w0bm" target="about_blank">webirc.n0xy.net</a></p>
<p>More information: <a href="https://n0xy.net">n0xy.net</a></p>
<h5>[matrix]</h5>
<h6>#w0bm on the [matrix] network</h6>
<p><a href="https://matrix.to/#/#!w0bm:f0ck.it?via=f0ck.it&via=matrix.org&via=f0.gg">#!w0bm:f0ck.it</a></p>
<p>Alternatively you can use the Element web client hosted at <a href="https://element.f0ck.it">f0ck.it</a> to connect to our channel, it has some modifications to make chatting more comfy: <br><small>Note: Registrations are disabled, you can still use this client with every homeserver you have an account on!</small></p>
<ul>
<li>w0bm.com Stylesheet</li>
<li>Greentexting</li>
</ul>
<a href="https://spyware.neocities.org/articles/discord.html" target="_blank"><img src="/images/shitcord.gif" alt="discord-no-way"></a><br><a href="/matrix">Additional Redpill</a>
</div>
</div>
@include('footer')
@endsection

0
resources/views/layout5/kek.blade.php Normal file → Executable file
View File

0
resources/views/layout5/layout.blade.php Normal file → Executable file
View File

0
resources/views/layout5/list.blade.php Normal file → Executable file
View File

0
resources/views/layout5/login.blade.php Normal file → Executable file
View File

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

0
resources/views/layout5/map.blade.php Normal file → Executable file
View File

View File

@@ -0,0 +1,100 @@
<style type="text/css">
* {margin: 0; padding: 0}
body {background: #000;overflow:hidden;}
canvas {display: block;}
.matrix {
position: absolute;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
text-align: center;
font-family: monospace;
}
.matrix > .inner {
position: absolute;
color: white;
top: 40%;
}
.inner {
background: #000000b5;
padding: 5px;
}
#bluepill a {
width: 26px;
height: 10px;
display: inline-block;
color: blue;
background: blue;
border-radius: 5px;
}
#redpill a {
width: 26px;
height: 10px;
display: inline-block;
color: red;
background: red;
border-radius: 5px;
}
</style>
<div class="matrix">
<div class="inner">
<h3><p><b><i>You are a slave {{Auth::user()->username}}</i></b></p></h3>
<br>
<p>Take control over your chats, leave Discord for good!</p>
<p>Join [matrix] today!</p>
<p>Why should you consider either running a [matrix] synapse yourself or start using someone elses:</p>
<p>Discord is evil, it took away the freedom you and I deserve, it makes you a slave to their services,<br> makes you obey their rules, includes you in a unwanted botnet where you have no freedom at all!</p>
<p>It's time to break free {{Auth::user()->username}}</p>
<p>Choose your fate</p>
<span id="bluepill"><a href="https://discordapp.com/app"></a></span> <span id="redpill"><a href="https://github.com/matrix-org/synapse" target="_blank"></a></span>
<p><code>#!w0bm:f0ck.it</code></p>
<br>
<p><small>We are happy to help if you have any trouble setting up your synapse</small></p>
</div>
</div>
<canvas></canvas>
<audio src="/clubbed.mp3" autoplay loop></audio>
<script type="text/javascript">
// Initialising the canvas
var canvas = document.querySelector('canvas'),
ctx = canvas.getContext('2d');
// Setting the width and height of the canvas
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
// Setting up the letters
var letters = 'ABCDEFGHIJKLMNOPQRSTUVXYZABCDEFGHIJKLMNOPQRSTUVXYZABCDEFGHIJKLMNOPQRSTUVXYZABCDEFGHIJKLMNOPQRSTUVXYZABCDEFGHIJKLMNOPQRSTUVXYZABCDEFGHIJKLMNOPQRSTUVXYZ';
letters = letters.split('');
// Setting up the columns
var fontSize = 10,
columns = canvas.width / fontSize;
// Setting up the drops
var drops = [];
for (var i = 0; i < columns; i++) {
drops[i] = 1;
}
// Setting up the draw function
function draw() {
ctx.fillStyle = 'rgba(0, 0, 0, .1)';
ctx.fillRect(0, 0, canvas.width, canvas.height);
for (var i = 0; i < drops.length; i++) {
var text = letters[Math.floor(Math.random() * letters.length)];
ctx.fillStyle = '#0f0';
ctx.fillText(text, i * fontSize, drops[i] * fontSize);
drops[i]++;
if (drops[i] * fontSize > canvas.height && Math.random() > .95) {
drops[i] = 0;
}
}
}
// Loop the animation
setInterval(draw, 33);
</script>

0
resources/views/layout5/messages.blade.php Normal file → Executable file
View File

View File

View File

View File

View File

View File

View File

View File

0
resources/views/layout5/open.sh Normal file → Executable file
View File

0
resources/views/layout5/partials/banmenu.blade.php Normal file → Executable file
View File

0
resources/views/layout5/partials/comlist.php Normal file → Executable file
View File

0
resources/views/layout5/partials/comment.blade.php Normal file → Executable file
View File

0
resources/views/layout5/partials/commentform.blade.php Normal file → Executable file
View File

0
resources/views/layout5/partials/comments.blade.php Normal file → Executable file
View File

View File

0
resources/views/layout5/partials/flash.blade.php Normal file → Executable file
View File

View File

0
resources/views/layout5/partials/handlebars.php Normal file → Executable file
View File

0
resources/views/layout5/partials/header.blade.php Normal file → Executable file
View File

View File

0
resources/views/layout5/partials/loginmodal.blade.php Normal file → Executable file
View File

0
resources/views/layout5/partials/msglist.php Normal file → Executable file
View File

3
resources/views/layout5/partials/navigation.blade.php Normal file → Executable file
View File

@@ -7,7 +7,7 @@
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">
<a class="navbar-brand" href="/main">
<img src="{{ asset('logo.svg') }}" alt="w0bm.com">
</a>
</div>
@@ -16,7 +16,6 @@
<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>
@include('partials.layoutchanger')
</ul>
@if(Auth::check())
<ul class="nav navbar-nav navbar-right">

View File

View File

2
resources/views/layout5/partials/tags.blade.php Normal file → Executable file
View File

@@ -34,7 +34,7 @@
<div id="tag-display" class="tag-panel-body">
@if(count($video->tags))
@foreach($video->tags as $tag)
<span class="label label-default"><a href="/index?q={{$tag->normalized}}" class="default-link">{{$tag->name}}</a>@if(Auth::check() && Auth::user()->can('edit_video')) <a class="delete-tag default-link" href="#"><i class="fa fa-times"></i></a>@endif</span>
<span class="label label-default"><a href="/main?q={{$tag->normalized}}" class="default-link">{{$tag->name}}</a>@if(Auth::check() && Auth::user()->can('edit_video')) <a class="delete-tag default-link" href="#"><i class="fa fa-times"></i></a>@endif</span>
@endforeach
@else
No tags yet ...

View File

0
resources/views/layout5/partials/thread_closed.php Normal file → Executable file
View File

19
resources/views/layout5/privacy.blade.php Normal file → Executable file
View File

@@ -6,13 +6,24 @@
<div class="box">
<h5>What do we log?</h5>
<p>We ourself don't log anything, cloudflare does log all the request that are being made to our site, we can however only access very little of it, no ips and only basic stats.</p>
<p>Our webserver does not log access log requests, we may log error logs from time to time if something breaks.</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.</p>
<p>We also use a webfont from google fonts, if you don't like that go fuck yourself or block it with umatrix.</p>
<p>If you encounter a malicious link shared here on w0bm.com please notify an admin in the <a href="/irc">IRC</a></p>
<p>If you find a bug or a vulnerability, please notify an admin in the <a href="/irc">IRC</a></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)</p>
<p>Yes, we use cookies and 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>Spoiler: They are all relevant for the website to function properly!</p>
<ul>
<p>The following cookies are being set by the website:</p>
<li><code>remember_&lt;token&gt;</code> Well, it's used to remember you and so you don't have to re-login after like 5 minutes</li>
<li><code>style</code> This one is used to store your style preference</li>
<li><code>w0bm_session</code> Your session id</li>
<li><code>XSRF-TOKEN</code> The XSRF Token</li>
</ul>
</div>
@if(auth()->check())
@include('footer')
@else
@endif
@endsection

0
resources/views/layout5/profile.blade.php Normal file → Executable file
View File

8
resources/views/layout5/profilelayout.blade.php Normal file → Executable file
View File

@@ -61,12 +61,6 @@
<script src="/js/imagesloaded.pkgd.min.js"></script>
<script src="/js/handlebars.min.js"></script>
<script src="/js/jquery.timeago.js"></script>
<script src="/js/raven.min.js"></script>
@if(env('SENTRY_PUBLIC'))
<script>
Raven.config('{{ env("SENTRY_PUBLIC") }}').install()
</script>
@endif
<script src="/js/w0bmscript.js?v={{ filemtime("js/w0bmscript.js") }}"></script>
<script src="/js/mobile/w0bmscript.js?v={{ filemtime("js/w0bmscript.js") }}"></script>
</body>
</html>

0
resources/views/layout5/register.blade.php Normal file → Executable file
View File

0
resources/views/layout5/registerclosed.blade.php Normal file → Executable file
View File

0
resources/views/layout5/registeropen.blade.php Normal file → Executable file
View File

0
resources/views/layout5/rules.blade.php Normal file → Executable file
View File

0
resources/views/layout5/rulez.blade.php Normal file → Executable file
View File

0
resources/views/layout5/settings.blade.php Normal file → Executable file
View File

0
resources/views/layout5/stats.blade.php Normal file → Executable file
View File

0
resources/views/layout5/teamspeak.blade.php Normal file → Executable file
View File

0
resources/views/layout5/tip.blade.php Normal file → Executable file
View File

0
resources/views/layout5/transparency.blade.php Normal file → Executable file
View File

2
resources/views/layout5/upload.blade.php Normal file → Executable file
View File

@@ -1,7 +1,7 @@
@extends('profilelayout')
@section('content')
<div class="uploadheader">
<h3 id="upheader">Upload</h3>
<h3 id="upheader">Upload m0bile</h3>
</div>
<div class="wrapper">
<div class="ulcontainer" style="white-space: nowrap; padding: 0px; height: 100%;">

0
resources/views/layout5/uploading.blade.php Normal file → Executable file
View File

0
resources/views/layout5/vendor/.gitkeep vendored Normal file → Executable file
View File

0
resources/views/layout5/video.blade.php Normal file → Executable file
View File

0
resources/views/layout5/webm.blade.php Normal file → Executable file
View File