w0bm.com v1.5z FULL.RETARD.BUILD.BUT.STILL.WORKS
This commit is contained in:
1
resources/assets/sass/app.scss
Normal file
1
resources/assets/sass/app.scss
Normal file
@@ -0,0 +1 @@
|
||||
// @import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap";
|
19
resources/lang/en/auth.php
Normal file
19
resources/lang/en/auth.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Authentication Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used during authentication for various
|
||||
| messages that we need to display to the user. You are free to modify
|
||||
| these language lines according to your application's requirements.
|
||||
|
|
||||
*/
|
||||
|
||||
'failed' => 'These credentials do not match our records.',
|
||||
'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
|
||||
|
||||
];
|
19
resources/lang/en/pagination.php
Normal file
19
resources/lang/en/pagination.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Pagination Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used by the paginator library to build
|
||||
| the simple pagination links. You are free to change them to anything
|
||||
| you want to customize your views to better match your application.
|
||||
|
|
||||
*/
|
||||
|
||||
'previous' => '« Previous',
|
||||
'next' => 'Next »',
|
||||
|
||||
];
|
22
resources/lang/en/passwords.php
Normal file
22
resources/lang/en/passwords.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Password Reminder Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are the default lines which match reasons
|
||||
| that are given by the password broker for a password update attempt
|
||||
| has failed, such as for an invalid token or invalid new password.
|
||||
|
|
||||
*/
|
||||
|
||||
'password' => 'Passwords must be at least six characters and match the confirmation.',
|
||||
'reset' => 'Your password has been reset!',
|
||||
'sent' => 'We have e-mailed your password reset link!',
|
||||
'token' => 'This password reset token is invalid.',
|
||||
'user' => "We can't find a user with that e-mail address.",
|
||||
|
||||
];
|
109
resources/lang/en/validation.php
Normal file
109
resources/lang/en/validation.php
Normal file
@@ -0,0 +1,109 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines contain the default error messages used by
|
||||
| the validator class. Some of these rules have multiple versions such
|
||||
| as the size rules. Feel free to tweak each of these messages here.
|
||||
|
|
||||
*/
|
||||
|
||||
'accepted' => 'The :attribute must be accepted.',
|
||||
'active_url' => 'The :attribute is not a valid URL.',
|
||||
'after' => 'The :attribute must be a date after :date.',
|
||||
'alpha' => 'The :attribute may only contain letters.',
|
||||
'alpha_dash' => 'The :attribute may only contain letters, numbers, and dashes.',
|
||||
'alpha_num' => 'The :attribute may only contain letters and numbers.',
|
||||
'array' => 'The :attribute must be an array.',
|
||||
'before' => 'The :attribute must be a date before :date.',
|
||||
'between' => [
|
||||
'numeric' => 'The :attribute must be between :min and :max.',
|
||||
'file' => 'The :attribute must be between :min and :max kilobytes.',
|
||||
'string' => 'The :attribute must be between :min and :max characters.',
|
||||
'array' => 'The :attribute must have between :min and :max items.',
|
||||
],
|
||||
'boolean' => 'The :attribute field must be true or false.',
|
||||
'confirmed' => 'The :attribute confirmation does not match.',
|
||||
'date' => 'The :attribute is not a valid date.',
|
||||
'date_format' => 'The :attribute does not match the format :format.',
|
||||
'different' => 'The :attribute and :other must be different.',
|
||||
'digits' => 'The :attribute must be :digits digits.',
|
||||
'digits_between' => 'The :attribute must be between :min and :max digits.',
|
||||
'email' => 'The :attribute must be a valid email address.',
|
||||
'exists' => 'The selected :attribute is invalid.',
|
||||
'filled' => 'The :attribute field is required.',
|
||||
'image' => 'The :attribute must be an image.',
|
||||
'in' => 'The selected :attribute is invalid.',
|
||||
'integer' => 'The :attribute must be an integer.',
|
||||
'ip' => 'The :attribute must be a valid IP address.',
|
||||
'json' => 'The :attribute must be a valid JSON string.',
|
||||
'max' => [
|
||||
'numeric' => 'The :attribute may not be greater than :max.',
|
||||
'file' => 'The :attribute may not be greater than :max kilobytes.',
|
||||
'string' => 'The :attribute may not be greater than :max characters.',
|
||||
'array' => 'The :attribute may not have more than :max items.',
|
||||
],
|
||||
'mimes' => 'The :attribute must be a file of type: :values.',
|
||||
'min' => [
|
||||
'numeric' => 'The :attribute must be at least :min.',
|
||||
'file' => 'The :attribute must be at least :min kilobytes.',
|
||||
'string' => 'The :attribute must be at least :min characters.',
|
||||
'array' => 'The :attribute must have at least :min items.',
|
||||
],
|
||||
'not_in' => 'The selected :attribute is invalid.',
|
||||
'numeric' => 'The :attribute must be a number.',
|
||||
'regex' => 'The :attribute format is invalid.',
|
||||
'required' => 'The :attribute field is required.',
|
||||
'required_if' => 'The :attribute field is required when :other is :value.',
|
||||
'required_with' => 'The :attribute field is required when :values is present.',
|
||||
'required_with_all' => 'The :attribute field is required when :values is present.',
|
||||
'required_without' => 'The :attribute field is required when :values is not present.',
|
||||
'required_without_all' => 'The :attribute field is required when none of :values are present.',
|
||||
'same' => 'The :attribute and :other must match.',
|
||||
'size' => [
|
||||
'numeric' => 'The :attribute must be :size.',
|
||||
'file' => 'The :attribute must be :size kilobytes.',
|
||||
'string' => 'The :attribute must be :size characters.',
|
||||
'array' => 'The :attribute must contain :size items.',
|
||||
],
|
||||
'string' => 'The :attribute must be a string.',
|
||||
'timezone' => 'The :attribute must be a valid zone.',
|
||||
'unique' => 'The :attribute has already been taken.',
|
||||
'url' => 'The :attribute format is invalid.',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Language Lines
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may specify custom validation messages for attributes using the
|
||||
| convention "attribute.rule" to name the lines. This makes it quick to
|
||||
| specify a specific custom language line for a given attribute rule.
|
||||
|
|
||||
*/
|
||||
|
||||
'custom' => [
|
||||
'attribute-name' => [
|
||||
'rule-name' => 'custom-message',
|
||||
],
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Custom Validation Attributes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| The following language lines are used to swap attribute place-holders
|
||||
| with something more reader friendly such as E-Mail Address instead
|
||||
| of "email". This simply helps us make messages a little cleaner.
|
||||
|
|
||||
*/
|
||||
|
||||
'attributes' => [],
|
||||
|
||||
];
|
12
resources/views/errors/404.blade.php
Normal file
12
resources/views/errors/404.blade.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<style type="text/css">
|
||||
body {
|
||||
background: black;
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="notfound">
|
||||
<h1>404 - NOT FOUND</h1>
|
||||
<a href="/"><img id="notfound-img" src="/404.gif"></a>
|
||||
</div>
|
26
resources/views/errors/500.blade.php
Normal file
26
resources/views/errors/500.blade.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<style type="text/css">
|
||||
body {
|
||||
background: black;
|
||||
color: white;
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
|
||||
<h5>Oh shit! Something went wrong!</h5>
|
||||
<div id="sf-resetcontent" class="sf-reset box">
|
||||
<h6>Please don't send this fucking text to an admin, we have other problems.</h6>
|
||||
<?php
|
||||
$iv = openssl_random_pseudo_bytes(16);
|
||||
?>
|
||||
@if(!env('APP_DEBUG'))
|
||||
<div class="block">
|
||||
{{bin2hex($iv)}}<br>
|
||||
{{openssl_encrypt($exception, 'aes128', env('APP_KEY'), 0, $iv)}}
|
||||
</div>
|
||||
@else
|
||||
<div class="block">
|
||||
<pre>{{$exception}}</pre>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
</div>
|
51
resources/views/layout1/4ducky.blade.php
Normal file
51
resources/views/layout1/4ducky.blade.php
Normal file
@@ -0,0 +1,51 @@
|
||||
@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
|
108
resources/views/layout1/about.blade.php
Normal file
108
resources/views/layout1/about.blade.php
Normal file
@@ -0,0 +1,108 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<?php $comment = config('comments'); ?>
|
||||
<div class="page-header">
|
||||
<h3>About</h3>
|
||||
</div>
|
||||
<div class="box">
|
||||
<h4>What is w0bm.com?</h4>
|
||||
<ul>
|
||||
<li>w0bm.com is a collaborative, non-profit, modern WebM Archive</li>
|
||||
<li>We collect random videos from the internet.</li>
|
||||
<li>It's also about having fun and sharing nice videos</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h4>Following shortcuts are available:</h4>
|
||||
<ul class="strong-colored">
|
||||
<li>Press: <strong>R</strong> for random</li>
|
||||
<li>Press: <strong>→</strong>, <strong>D</strong> or <strong>L</strong> for next</li>
|
||||
<li>Press: <strong>←</strong>, <strong>A</strong> or <strong>H</strong> for prev</li>
|
||||
<li>Press: <strong>↑</strong> or <strong>W</strong> for volume up</li>
|
||||
<li>Press: <strong>↓</strong> or <strong>S</strong> for volume down</li>
|
||||
<li>Press: <strong>F</strong> for fav</li>
|
||||
<li>Scroll with your mouse up and down to trigger next or prev</li>
|
||||
<li>Press: <strong>C</strong> to toggle the comment section</li>
|
||||
<li>Press: <strong>SPACE</strong> to pause/unpause the video</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h4 class="filtersettings">Filter settings</h4>
|
||||
<p style="color:red;">Filter is now global and not logged in users will only see sfw videos</p>
|
||||
<p>You can also set your own custom filters by clicking on Filter and then inserting the tags you don't want to see while browsing.</p>
|
||||
<p>Example:</p>
|
||||
<div class="about-tags">
|
||||
<span class="tag label label-info">anime</span> <span class="tag label label-info">asians</span> <span class="tag label label-info">Crayon Pop</span> <span class="tag label label-info">gay</span>
|
||||
</div>
|
||||
<p>You will see that our videos are tagged with either <span class="label label-default" style="color:#23ff00">sfw</span> or <span class="label label-default" style="color:red">nsfw</span> these labels mean in nearly 99% of the case at least for uploads tagged with nsfw that they are nsfw, but the sfw tag isn't always sfw and you shouldn't think that we really care about this, there is probably a lot of content which is not tagged as nsfw but still is nsfw.</p>
|
||||
<p>Always take care and when you are not sure if you can browse w0bm at work, don't do it, we don't guarantee that everything is properly tagged and you will encounter something that can get you in trouble.</p>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h4 class="mods">Need one of our professionals?</h4>
|
||||
<p>Our Mods work 24/7/365 for free and are basically just here to delete your reposts</p>
|
||||
<p>Contact them if you need them:</p>
|
||||
<ul class="mötter">
|
||||
<li><a href="/user/belst">belst</a></li>
|
||||
<li><a href="/user/gz">gz</a></li>
|
||||
<li><a href="/user/Flummi">Flummi</a></li>
|
||||
<li><a href="/user/jkhsjdhjs">jkhsjdhjs</a></li>
|
||||
<li><a href="/user/Alucard">Alucard</a></li>
|
||||
<li><a href="/user/flinny">flinny</a></li>
|
||||
<li><a href="/user/milste">milste</a></li>
|
||||
</ul>
|
||||
<p>Mods can be contacted either via <code>@$modname</code> in the comments or via <a href="/irc">IRC</a></p>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h4 id="format">Comment formatting</h4>
|
||||
<ul>
|
||||
<li>>mfw w0bm is nice :3 will become: <span style="color:#80FF00;">>mfw w0bm is nice :3</span></li>
|
||||
<li>[reich]Pantsu Pantsu Pantsu[/reich] will become: <span class="reich">Pantsu Pantsu Pantsu</span></li>
|
||||
<li>[krebs]KREBS KREBS KREBS KREBS[/krebs] will become: <span class="anim">KREBS KREBS KREBS KREBS</span></li>
|
||||
<li>[rb]JA GEIL SCHNITZEL MHM JA!!!![/rb] will become: <span class="rainbow">JA GEIL SCHNITZEL MHM JA!!!!</span></li>
|
||||
<li>[spoiler]f0ck you![/spoiler] will become: <span class="spoiler">f0ck you!</span></li>
|
||||
<li>*gg* or _gg_ will become: <em>gg</em></li>
|
||||
<li>**gg** or __gg__ will become: <strong>gg</strong></li>
|
||||
<li>~~nope~~ will become: <del>nope</del></li>
|
||||
<li>`code` will become: <code>code</code></li>
|
||||
<li>--- will insert a line<hr>to seperate</li>
|
||||
</ul>
|
||||
<p>This cannot be stacked, don't do it.</p>
|
||||
<p>If you want to answer someone, simply use <code>^</code> as often as you need to point to the comment you want to answer to.</p>
|
||||
<p>If you want to ping someone directly in a comment use <code>@$user</code></p>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h4>Allowed sources for image parsing in the comment section</h4>
|
||||
<p>Filetypes: {{ join(',', $comment['allowedImageFileExtensions']) }} - only secure https links will work!</p>
|
||||
<ul>
|
||||
@foreach(array_keys($comment['allowedHosters']) as $hoster)
|
||||
@if($hoster != '')
|
||||
<li><a href="https://{{$hoster}}">{{$hoster}}</a></li>
|
||||
@endif
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h4>FAQ</h4>
|
||||
<p>Q: w0bm is laggy for me and I don't know why.</p>
|
||||
<p>A: It's mostly because of the background. It's very resource heavy and can cause lag on some computers, if you experience this, you should click the yellow circle on the video page to turn it off <i style="color:#fff200;" class="fa fa-adjust"></i></p>
|
||||
<p>Q: I don't know how to create WebMs</p>
|
||||
<p>A: Check out our <a href="/webm">WebM support</a> page and pick the solution you like the most!</p>
|
||||
<p>Q: Can you allow mp4s to be uploaded?</p>
|
||||
<p>A: Why do you think this website is called w0bm?</p>
|
||||
<p>Q: I want to give you guys some feedback and maybe some suggestions, where should I go?</p>
|
||||
<p>A: The best way to suggest something is by contacting us directly via <a href="/irc">IRC</a></p>
|
||||
</div>
|
||||
<div class="box">
|
||||
<h5>Disclaimer:</h5>
|
||||
<p>Content on this page must not necessarily reflect the actual views of the administration.</p>
|
||||
<p>Please note this, we try to be very open to any content, also content that is disturbing or otherwise unliked by most people, we do this for the sake of the freedom to shitpost even critical stuff, please check the filter settings if you get upset easily and filter out unwanted videos, thanks!</p>
|
||||
</div>
|
||||
@include('footer')
|
||||
@endsection
|
||||
|
30
resources/views/layout1/advertise.blade.php
Normal file
30
resources/views/layout1/advertise.blade.php
Normal file
@@ -0,0 +1,30 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h4>Advertise anything!</h4>
|
||||
</div>
|
||||
<h5>How to advertise?</h5>
|
||||
<h6>Deutsch</h6>
|
||||
<ul>
|
||||
<li>Wenn du bei uns werben möchtest musst du lediglich einen Werbebanner per Mail einsenden, Beispiele unten auf der Seite. Bitte beachte, dass wir kommerzielle Werbung nur gegen Geld akzeptieren! Mail: admin@w0bm.com</li>
|
||||
<li>Wenn du etwas bewerben möchtest, solltest du darauf achten, dass dein beworbener Inhalt mit unserer Zielgruppe die aus deutsch und englischsprachigen Leuten besteht übereinstimmt, andere Sprachen werden für die Werberotation nicht akzeptiert.</li>
|
||||
<li>Des weiteren ist das werben auf w0bm.com erst einmal kostenlos, dies gilt jedoch nur für Non Profit orientierte Werbung und im allgemeinen für ehrliche Werbung, bei Werbung die Gewinn für den werbenden verspricht nehmen wir 15€ für 3 Wochen Werberotation.</li>
|
||||
<li>Der Inhalt der Werbung ist erst einmal egal solange es nichts illegales ist.</li>
|
||||
<li>Ja, wir akzeptieren Porno Werbung!</li>
|
||||
</ul>
|
||||
<h6>English</h6>
|
||||
<ul>
|
||||
<li>If you want to advertise with us you only have to send in a banner via mail, examples are at the bottom of this site. Please note that we only accept commercial ads in exchange for money! Mail: admin@w0bm.com</li>
|
||||
<li>If you want to advertise something, please note that your content needs to match with our target group (germand and english people). Any other language related ads will not be accepted for the banner rotation!</li>
|
||||
<li>Furthermore is the advertising on w0bm.com free as in gratis if your ad is non profit and honorable, for ads with commercial profits in mind we take 15€ for 3 Weeks in our rotation.</li>
|
||||
<li>The content of you ad is unimportant as long as it is nothing illegal.</li>
|
||||
<li>Yes, we accept porn advertising!</li>
|
||||
</ul>
|
||||
|
||||
<h6>Example:</h6>
|
||||
<p>Exact banner size is: 342x50</p>
|
||||
<img src="https://files.nogf.club/images/bannerexample.png">
|
||||
<img src="https://files.nogf.club/images/9gagarmy.png">
|
||||
|
||||
@include('footer')
|
||||
@endsection
|
24
resources/views/layout1/banned.blade.php
Normal file
24
resources/views/layout1/banned.blade.php
Normal file
@@ -0,0 +1,24 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">YOU ARE BANNED!</h3>
|
||||
</div>
|
||||
|
||||
<div class="panel-body">
|
||||
<div style="border:0;" class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
@if($perm)
|
||||
<p>Your ban is permanent fool and will <b>NOT</b> expire!</p>
|
||||
<video class="banwidth" autoplay loop src="https://b.w0bm.com/1515965864.webm">You are banned</video>
|
||||
@else
|
||||
<p class="banned">Reason: {{ $user->banreason }}</p>
|
||||
<p class="banned">Your ban will expire in {{ $user->banend->diffForHumans(null, true) }}</p>
|
||||
<img class="banwidth" src="otter-ban.png">
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<p>If you think you were banned by accident or dindu nuffin to deserve the ban contact an administrator in the <a href="/irc">IRC</a></p>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
20
resources/views/layout1/categories.blade.php
Normal file
20
resources/views/layout1/categories.blade.php
Normal file
@@ -0,0 +1,20 @@
|
||||
@extends('layout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h3>Categories</h3>
|
||||
</div>
|
||||
<div class="" id="categories">
|
||||
@foreach($categories as $category)
|
||||
<div id="category_box_{{$category->shortname}}" class="col-sm-6 col-md-4 category">
|
||||
<div class="thumbnail">
|
||||
<img src="{{ asset('/images/cat/' . $category->shortname . '.png') }}" alt="{{$category->name}}">
|
||||
<div class="caption">
|
||||
<h3>{{$category->name}} <small>{{$category->videos()->count()}}</small></h3>
|
||||
<p>{{$category->description}}</p>
|
||||
<p><a href="{{$category->shortname}}" class="btn btn-primary" role="button">View</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
@endsection
|
2
resources/views/layout1/clippy.blade.php
Normal file
2
resources/views/layout1/clippy.blade.php
Normal file
@@ -0,0 +1,2 @@
|
||||
<script src="/js/jquery-1.7.js"></script>
|
||||
<script src="/js/clippy.js"></script>
|
4
resources/views/layout1/close.sh
Executable file
4
resources/views/layout1/close.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
cd /home/sirx/web/w0bm.com/resources/views/
|
||||
ln -sf registerclosed.blade.php register.blade.php
|
||||
php ../../artisan view:clear
|
5
resources/views/layout1/closedreg.php
Normal file
5
resources/views/layout1/closedreg.php
Normal file
@@ -0,0 +1,5 @@
|
||||
@extends('layout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h1>Registration closed - check back later</h1>
|
||||
@endsection
|
23
resources/views/layout1/comments.blade.php
Normal file
23
resources/views/layout1/comments.blade.php
Normal file
@@ -0,0 +1,23 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
@include('partials.profileheader')
|
||||
@include('partials.comlist')
|
||||
<h3>Comments</h3>
|
||||
@if(Auth::check())
|
||||
<div class="row jkh">
|
||||
<div class="col-md" id="list">
|
||||
<div class="spinner">
|
||||
<div class="cube1"></div>
|
||||
<div class="cube2"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!--<div class="col-md-6" id="message"><h4>Select a comment to display content</h4></div>-->
|
||||
</div>
|
||||
|
||||
@else
|
||||
<div class="row jkh">
|
||||
<i>Not logged in. Please log in to view comments!</i>
|
||||
</div>
|
||||
@endif
|
||||
@endsection
|
||||
|
21
resources/views/layout1/community.blade.php
Normal file
21
resources/views/layout1/community.blade.php
Normal file
@@ -0,0 +1,21 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h3>w0bm.com Community</h3>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<img src="/irccat.gif" alt="irc cat" style="float: right; width: 25%; height: 25%;">
|
||||
<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>More information: <a href="https://n0xy.net">n0xy.net</a></p>
|
||||
|
||||
<div style="font-size: 9px;">
|
||||
<h6>Discord</h6>
|
||||
<p>It's dead lol <a href="https://discord.gg/SuF66vb">https://discord.gg/SuF66vb</a></p>
|
||||
</div>
|
||||
</div>
|
||||
@include('footer')
|
||||
@endsection
|
||||
|
29
resources/views/layout1/contact.blade.php
Normal file
29
resources/views/layout1/contact.blade.php
Normal file
@@ -0,0 +1,29 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h3>Professional Support</h3>
|
||||
</div>
|
||||
<div class="box">
|
||||
<img src="/images/cockfag.png" style="margin-left: 10px; width: 15%; height: 15%; float:right;">
|
||||
<h4>Contact</h4>
|
||||
<ul>
|
||||
<li>Contact via IRC: <a href="https://webirc.n0xy.net/?join=%23w0bm">#w0bm on n0xy.net</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<div class="wrap-collabsible">
|
||||
<input id="collapsible" class="toggle" type="checkbox">
|
||||
<label for="collapsible" class="lbl-toggle">More Info & Email Contact</label>
|
||||
<div class="collapsible-content">
|
||||
<div class="content-inner">
|
||||
<p>
|
||||
<span>Need something? Let's talk then!</span>
|
||||
</p>
|
||||
<p>Email: <a href="mailto:admin@w0bm.com">admin [ät] w0bm [dotto] com</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@include('footer')
|
||||
@endsection
|
9
resources/views/layout1/deleted.blade.php
Normal file
9
resources/views/layout1/deleted.blade.php
Normal file
@@ -0,0 +1,9 @@
|
||||
@extends('layout')
|
||||
@section('content')
|
||||
<h5>Sorry, this video is unavailable at the moment!</h5>
|
||||
<img src="/images/404-video.png">
|
||||
<p>Possible reasons: Your video was shit, broke a rule or the ID you tried to watch does not even exist (yet)</p>
|
||||
<p>Go <a href="/">back</a> to the normal rotation or...</p>
|
||||
<h5>Watch some 0x40!</h5>
|
||||
<iframe src="/0x40"></iframe>
|
||||
@endsection
|
3
resources/views/layout1/emails/activation.blade.php
Normal file
3
resources/views/layout1/emails/activation.blade.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<h3>Hello {{$username}}</h3>
|
||||
<p>Welcome to <a href="https://w0bm.com">w0bm.com</a>.</p>
|
||||
<p>To activate your account please click this <a href="https://w0bm.com/activate/{{$activation_token}}">link</a>.</p>
|
87
resources/views/layout1/emails/report.blade.php
Normal file
87
resources/views/layout1/emails/report.blade.php
Normal file
@@ -0,0 +1,87 @@
|
||||
<html>
|
||||
|
||||
<div style="width:100%;font-family:verdana;">
|
||||
|
||||
<h1>webm got reported!</h1>
|
||||
|
||||
<div>
|
||||
<b>Link:</b>
|
||||
<a href="{{$videoURL}}">{{$videoURL}}</a>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div>
|
||||
<table style="width:100%;border:1px solid black;border-collapse:collapse;">
|
||||
<thead>
|
||||
<tr style="border:1px solid black; padding:5px;">
|
||||
<th style="background-color:#bbbbbb;border-right:1px solid black;">Report Reasons</th>
|
||||
<th style="background-color:#bbbbbb;">Report Text</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding:10px;border-right:1px solid #bbbbbb;">
|
||||
<ul>
|
||||
{!! $reportReasons !!}
|
||||
</ul>
|
||||
</td>
|
||||
<td style="padding:10px;">
|
||||
{{$reportText}}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div>
|
||||
<table style="width:100%; border-collapse:collapse;border:1px solid black;">
|
||||
<tr style="border-bottom:1px solid black;">
|
||||
<th style="border-right:1px solid black;padding:5px;width:200px;">Username</th>
|
||||
<td>{!! $username !!}</td>
|
||||
</tr>
|
||||
<!--
|
||||
<tr style="border-bottom:1px solid black;">
|
||||
<th style="border-right:1px solid black;padding:5px;">Time reported</th>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr style="border-bottom:1px solid black;">
|
||||
<th style="border-right:1px solid black;padding:5px;">IP:</th>
|
||||
<td></td>
|
||||
</tr>-->
|
||||
<tr style="border-bottom:1px solid black;">
|
||||
<th style="border-right:1px solid black;padding:5px;">Video ID</th>
|
||||
<td>{{$videoID}}</td>
|
||||
</tr>
|
||||
<!--
|
||||
<tr style="border-bottom:1px solid black;">
|
||||
<th style="border-right:1px solid black;padding:5px;">Video Title</th>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr style="border-bottom:1px solid black;">
|
||||
<th style="border-right:1px solid black;padding:5px;">Video Tags</th>
|
||||
<td></td>
|
||||
</tr>-->
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
<hr>
|
||||
|
||||
<!--
|
||||
<div>
|
||||
<h3>Debug Output:</h3>
|
||||
<div style="color:green;font-family:consolas;background-color:black;">
|
||||
<pre>
|
||||
{{$debugOutput}}
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</html>
|
7
resources/views/layout1/errors/404.blade.php
Normal file
7
resources/views/layout1/errors/404.blade.php
Normal file
@@ -0,0 +1,7 @@
|
||||
@extends('layout')
|
||||
@section('content')
|
||||
<div class="notfound">
|
||||
<h1>404 - NOT FOUND</h1>
|
||||
<img id="notfound-img" src="/404.gif">
|
||||
</div>
|
||||
@endsection
|
42
resources/views/layout1/errors/500.blade.php
Normal file
42
resources/views/layout1/errors/500.blade.php
Normal file
@@ -0,0 +1,42 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<style>
|
||||
.sf-reset .block > pre {
|
||||
background-color: #000000;
|
||||
padding: 10px 28px;
|
||||
margin-bottom: 20px;
|
||||
-webkit-border-bottom-right-radius: 0;
|
||||
-webkit-border-bottom-left-radius: 0;
|
||||
-moz-border-radius-bottomright: 0;
|
||||
-moz-border-radius-bottomleft: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom: 1px solid #1faeac;
|
||||
border-right: 1px solid #1faeac;
|
||||
border-left: 1px solid #1faeac;
|
||||
border-top: 1px solid #1faeac;
|
||||
word-wrap: break-word;
|
||||
color: green;
|
||||
}
|
||||
</style>
|
||||
|
||||
<h5>Oh shit! Something went wrong!</h5>
|
||||
<div id="sf-resetcontent" class="sf-reset box">
|
||||
<h6>Please don't send this fucking text to an admin, we have other problems.</h6>
|
||||
<?php
|
||||
$iv = openssl_random_pseudo_bytes(16);
|
||||
?>
|
||||
@if(!env('APP_DEBUG'))
|
||||
<div class="block">
|
||||
{{bin2hex($iv)}}<br>
|
||||
{{openssl_encrypt($exception, 'aes128', env('APP_KEY'), 0, $iv)}}
|
||||
</div>
|
||||
@else
|
||||
<div class="block">
|
||||
<pre>{{$exception}}</pre>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
@include('footer')
|
||||
@endsection
|
47
resources/views/layout1/errors/503.blade.php
Normal file
47
resources/views/layout1/errors/503.blade.php
Normal file
@@ -0,0 +1,47 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Please Stand By we are just fucking this up</title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Lato:100" rel="stylesheet" type="text/css">
|
||||
|
||||
<style>
|
||||
html, body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
color: #B0BEC5;
|
||||
display: table;
|
||||
font-weight: 100;
|
||||
font-family: 'Lato';
|
||||
background-color: #161618;
|
||||
}
|
||||
|
||||
.container {
|
||||
text-align: center;
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.content {
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 72px;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
<div class="title">Short maintenance, brb!</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
6
resources/views/layout1/footer.blade.php
Normal file
6
resources/views/layout1/footer.blade.php
Normal file
@@ -0,0 +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="/stats">Stats</a>
|
||||
<p>Inspired by <a href="http://z0r.de">z0r.de</a> | © 2015 – {{ date('Y') }} w0bm.com</p>
|
||||
</div>
|
||||
</nav>
|
7
resources/views/layout1/help.blade.php
Normal file
7
resources/views/layout1/help.blade.php
Normal file
@@ -0,0 +1,7 @@
|
||||
@extends('layout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h2></h2>
|
||||
</div>
|
||||
@endsection
|
||||
|
79
resources/views/layout1/index.blade.php
Normal file
79
resources/views/layout1/index.blade.php
Normal file
@@ -0,0 +1,79 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h3 id="index">Index</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>
|
||||
<table class="table table-hover table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Video Title</th>
|
||||
<th>Artist</th>
|
||||
<th>Songtitle</th>
|
||||
<th class="hidden-xs">Video Source</th>
|
||||
<th>Category</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($videos as $video)
|
||||
<?php
|
||||
$thumb = str_replace(".webm","",$video->file);
|
||||
?>
|
||||
<tr data-thumb="{{$thumb}}" class="indexedit" data-vid="{{$video->id}}">
|
||||
<td>
|
||||
@if($edit = auth()->check() && auth()->user()->can('edit_video'))
|
||||
<form action="/index/{{$video->id}}" method="post" id="edit_{{$video->id}}" class="indexform"></form>
|
||||
@endif
|
||||
<span class="vinfo vid"><a href="{{url($video->id)}}">{{$video->id}}</a></span>
|
||||
@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>
|
||||
@if($edit)
|
||||
<input class="form-control" type="text" name="interpret" value="{{$video->interpret or ''}}" form="edit_{{$video->id}}">
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
<span class="vinfo vsongtitle">{{$video->songtitle or ''}}</span>
|
||||
@if($edit)
|
||||
<input class="form-control" type="text" name="songtitle" value="{{$video->songtitle or ''}}" form="edit_{{$video->id}}">
|
||||
@endif
|
||||
</td>
|
||||
<td class="hidden-xs">
|
||||
<span class="vinfo vimgsource">{{$video->imgsource or ''}}</span>
|
||||
@if($edit)
|
||||
<input class="form-control" type="text" name="imgsource" value="{{$video->imgsource or ''}}" form="edit_{{$video->id}}">
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
<span class="vinfo vcategory"><a href="{{url($video->category->shortname)}}">{{$video->category->name}}</a></span>
|
||||
@if($edit)
|
||||
<select class="form-control" name="category" form="edit_{{$video->id}}">
|
||||
@foreach($categories as $cat)
|
||||
<option value="{{$cat->id}}" @if($cat->shortname === $video->category->shortname) selected @endif>{{$cat->name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="">
|
||||
{!! $videos->render() !!}
|
||||
</div>
|
||||
@endsection
|
17
resources/views/layout1/irc.blade.php
Normal file
17
resources/views/layout1/irc.blade.php
Normal file
@@ -0,0 +1,17 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h3>IRC</h3>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<img src="/irccat.gif" alt="irc cat" style="float: right; width: 25%; height: 25%;">
|
||||
<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>More information: <a href="https://n0xy.net">n0xy.net</a></p>
|
||||
|
||||
</div>
|
||||
@include('footer')
|
||||
@endsection
|
||||
|
51
resources/views/layout1/kek.blade.php
Normal file
51
resources/views/layout1/kek.blade.php
Normal file
@@ -0,0 +1,51 @@
|
||||
@extends('layout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h1>Register</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
|
96
resources/views/layout1/layout.blade.php
Normal file
96
resources/views/layout1/layout.blade.php
Normal file
@@ -0,0 +1,96 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="theme-color" content="#161618">
|
||||
<meta name="viewport"
|
||||
content="width=device-width,initial-scale=1">
|
||||
<meta charset="UTF-8">
|
||||
<meta name="_token" content="{{csrf_token()}}">
|
||||
<meta name="keywords" content="Random WebMs, WebMs, Internet Videos">
|
||||
<meta name="Description" content="Tags:@if(isset($video)) {{ $video->getTagListAttribute() }} @endif">
|
||||
<meta property="og:site_name" content="w0bm.com" />
|
||||
<meta property="og:title" content="@if(isset($video)){{$video->videotitle}}@endif">
|
||||
<meta property="og:description" content="Tags:@if(isset($video)) {{ $video->getTagListAttribute() }} @endif">
|
||||
<meta property="og:image" content="@if(isset($video))/thumbs/{{str_replace(".webm","",$video->file)}}.gif"@endif/>
|
||||
<meta property="og:video" content="@if(isset($video))/b/{{ $video->file }} @endif">
|
||||
<meta property="og:url" content="@if(isset($video))/{{ $video->id }}@endif">
|
||||
<meta property="og:video:secure_url" content="@if(isset($video))/b/{{ $video->file }} @endif">
|
||||
<meta property="og:video:type" content="video/webm">
|
||||
<link rel="icon" href="/favicon.png">
|
||||
<title>@if(isset($video)){{ $video->id }} -@endif w0bm.com</title>
|
||||
<link rel="favicon" href="favicon.ico" type="image/ico">
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
<link rel="stylesheet" href="/css/w0bmfonts.css">
|
||||
<link rel="stylesheet" href="/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" href="/css/bootstrap-tagsinput.css">
|
||||
<link rel="stylesheet" href="/css/video-js.min.css">
|
||||
<link rel="stylesheet" href="/css/simplebar.css" />
|
||||
<link rel="stylesheet" href="/css/vjsnew.css?v=1.3.3.7">
|
||||
<link rel="stylesheet" href="/css/w0bmcustom.css?v={{ filemtime("css/w0bmcustom.css") }}">
|
||||
<link rel="alternate stylesheet" href="/css/chilledblue.css?v={{ filemtime("css/chilledblue.css") }}" title="Chilledblue">
|
||||
<link rel="alternate stylesheet" href="/css/xayd.css?v={{ filemtime("css/xayd.css") }}" title="Xayd">
|
||||
<link rel="alternate stylesheet" href="/css/glitch.css?v={{ filemtime("css/glitch.css") }}" title="Glitch">
|
||||
<link rel="alternate stylesheet" href="/css/epilepsie.css?v={{ filemtime("css/epilepsie.css") }}" title="Epilepsie">
|
||||
<script src="/js/styleswitcher.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
@if(auth()->check())
|
||||
@include('partials.report')
|
||||
@include('partials.filterselect')
|
||||
@if(isset($video) && (auth()->user()->can('edit_video') || auth()->user()->id == $video->user_id))
|
||||
@include('partials.frontendedit')
|
||||
@endif
|
||||
@endif
|
||||
<canvas class="hidden-xs" id="bg"></canvas>
|
||||
|
||||
@include('partials.navigation')
|
||||
|
||||
<div class="wrapper">
|
||||
@yield('aside')
|
||||
<div style="width: auto; overflow: hidden; position: relative;">
|
||||
<noscript><div class="no-js">Javascript is disabled, enable to use all of w0bms features!</div></noscript>
|
||||
<div class=" container">
|
||||
@yield('content')
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<script src="/js/jquery.min.js"></script>
|
||||
<script src="/js/bootstrap.min.js"></script>
|
||||
<script src="/js/bootstrap-tagsinput.min.js"></script>
|
||||
<script src="/js/isotope.pkgd.min.js"></script>
|
||||
<script src="/js/imagesloaded.pkgd.min.js"></script>
|
||||
<script src="/js/jquery.timeago.js"></script>
|
||||
<script src="/js/jquery.detectmobilebrowser.js"></script>
|
||||
<script src="/js/video.min.js"></script>
|
||||
<script src="/js/raven.min.js"></script>
|
||||
<script src="/js/simplebar.js"></script>
|
||||
<script src="/js/clipboard.min.js"></script>
|
||||
<script>
|
||||
var clipboard = new ClipboardJS('.copylink');
|
||||
|
||||
clipboard.on('success', function(e) {
|
||||
console.info('Action:', e.action);
|
||||
console.info('Text:', e.text);
|
||||
console.info('Trigger:', e.trigger);
|
||||
|
||||
e.clearSelection();
|
||||
});
|
||||
|
||||
clipboard.on('error', function(e) {
|
||||
console.error('Action:', e.action);
|
||||
console.error('Trigger:', e.trigger);
|
||||
});
|
||||
</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>
|
||||
@if(isset($video))
|
||||
@else
|
||||
@endif
|
||||
</body>
|
||||
</html>
|
29
resources/views/layout1/list.blade.php
Normal file
29
resources/views/layout1/list.blade.php
Normal file
@@ -0,0 +1,29 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h3>w0bm's friends</h3>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<ul>
|
||||
<li>
|
||||
<p>Do you remember the glorious days of IRC-shitposting? YES?!?!?!?! Then move your fucking ass over to f0ck!</p>
|
||||
<a href="https://f0ck.me">f0ck.me</a> Classic shitposting via IRC!
|
||||
<ul>
|
||||
<li><a href="https://x.f0ck.it">x.f0ck.it</a> Slightly more modern shitposting by webf0cking!</li>
|
||||
</ul>
|
||||
</li>
|
||||
<hr>
|
||||
<li>
|
||||
<p>There is no friendlist without marderchen! A close friend of w0bm and one of our most loved contributors! Keep wuseling :3</p>
|
||||
<li>
|
||||
<a href="https://marderchen.lima-city.de">marderchens Homepage</a>
|
||||
<ul>
|
||||
<li><a href="/user/marderchen">marderchen on w0bm</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@include('footer')
|
||||
@endsection
|
19
resources/views/layout1/login.blade.php
Normal file
19
resources/views/layout1/login.blade.php
Normal file
@@ -0,0 +1,19 @@
|
||||
@extends('layout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h5>Legacy Login</h5>
|
||||
<p>This login form works without Javascript</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div style="width:20%;" class="">
|
||||
<form action="{{action('UserController@login')}}" method="post" class="form-signin">
|
||||
{!! csrf_field() !!}
|
||||
<input type="text" name="identifier" placeholder="Username" class="form-control">
|
||||
<input type="password" name="password" placeholder="Password" class="form-control">
|
||||
<input type="checkbox" name="remember"> Remember me<br>
|
||||
<button type="submit" class="btn btn-primary">Login</button>
|
||||
<a href="{{url('register')}}" class="btn btn-success">Register</a>
|
||||
</div>
|
||||
</form>
|
||||
@endsection
|
8
resources/views/layout1/map.blade.php
Normal file
8
resources/views/layout1/map.blade.php
Normal file
@@ -0,0 +1,8 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h4>w0bm.com Worldmap <i style="color:#1FB2B0" class="fa fa-globe"></i></h4>
|
||||
</div>
|
||||
<iframe id="map" marginwidth="0" marginheight="0" width="100%" height="100%" scrolling=no allowtransparency=true frameborder="0" framespacing="0" name="map" src="https://www.zeemaps.com/pub?group=2187306&simpleadd=1" style="overflow:hidden; height:50em; width:100%"></iframe>
|
||||
@endsection
|
||||
|
16
resources/views/layout1/messages.blade.php
Normal file
16
resources/views/layout1/messages.blade.php
Normal file
@@ -0,0 +1,16 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
@include('partials.msglist')
|
||||
<div class="page-header">
|
||||
<h3>Messages</h3>
|
||||
</div>
|
||||
<div class="">
|
||||
<div class="col-md-6" id="list">
|
||||
<div class="spinner">
|
||||
<div class="cube1"></div>
|
||||
<div class="cube2"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6" id="message"><h4>Select a message to display content</h4></div>
|
||||
</div>
|
||||
@endsection
|
3
resources/views/layout1/messages/commentanswer.blade.php
Normal file
3
resources/views/layout1/messages/commentanswer.blade.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<h3><a href="{{url('user/' . $user->username)}}">{{$user->username}}</a> answered on your comment.</h3>
|
||||
<p><a href="{{url('user/' . $user->username)}}">{{$user->username}}</a> answered on your comment on the following video: <a href="{{url($video->id)}}">/{{$video->id}}</a></p>
|
||||
@include('messages.commentpreview')
|
@@ -0,0 +1,3 @@
|
||||
<h3><a href="{{url('user/' . $user->username)}}">{{$user->username}}</a> mentioned you in a comment.</h3>
|
||||
<p><a href="{{url('user/' . $user->username)}}">{{$user->username}}</a> mentioned you in a comment on the following video: <a href="{{url($video->id)}}">/{{$video->id}}</a></p>
|
||||
@include('messages.commentpreview')
|
@@ -0,0 +1,6 @@
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
@simplemd($comment->content)
|
||||
</div>
|
||||
<div class="panel-footer">by <a href="/user/{{$comment->user->username}}">{!! $comment->user->displayName() !!}</a> <small><time class="timeago" data-toggle="tooltip" data-placement="right" datetime="{{$comment->created_at}}+0000" title="{{$comment->created_at}}+0000"></time></small></div>
|
||||
</div>
|
@@ -0,0 +1,4 @@
|
||||
<h3>A moderator deleted your comment.</h3>
|
||||
<p>A moderator deleted your comment on the following video: <a href="{{url($video->id)}}">/{{$video->id}}</a></p>
|
||||
<p><span style="font-weight:bold;">Reason:</span> {{$reason}}</p>
|
||||
@include('messages.commentpreview')
|
@@ -0,0 +1,4 @@
|
||||
<h3>A moderator restored your comment.</h3>
|
||||
<p>A moderator restored your comment on the following video: <a href="{{url($video->id)}}">/{{$video->id}}</a></p>
|
||||
<p><span style="font-weight:bold;">Reason:</span> {{$reason}}</p>
|
||||
@include('messages.commentpreview')
|
@@ -0,0 +1,10 @@
|
||||
<h3>A moderator deleted your video.</h3>
|
||||
<p>A moderator deleted your video with the ID {{$video->id}}</p>
|
||||
<span style="font-weight:bold;">Video Info:</span>
|
||||
<ul>
|
||||
@if(isset($videoinfo['artist'])) <li><span style="font-weight:bold;">Artist:</span> {{ $videoinfo['artist'] }}</li> @endif
|
||||
@if(isset($videoinfo['songtitle'])) <li><span style="font-weight:bold;">Songtitle:</span> {{ $videoinfo['songtitle'] }}</li> @endif
|
||||
@if(isset($videoinfo['video_source'])) <li><span style="font-weight:bold;">Video Source:</span> {{ $videoinfo['video_source'] }}</li> @endif
|
||||
<li><span style="font-weight:bold;">Category:</span> {{ $videoinfo['category'] }}</li>
|
||||
</ul>
|
||||
<p><span style="font-weight:bold;">Reason:</span> {{$reason}}</p>
|
3
resources/views/layout1/messages/videocomment.blade.php
Normal file
3
resources/views/layout1/messages/videocomment.blade.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<h3>New comment on your video <a href="{{url($video->id)}}">/{{$video->id}}</a></h3>
|
||||
<p><a href="{{url('user/' . $user->username)}}">{{$user->username}}</a> made a comment on your video.</p>
|
||||
@include('messages.commentpreview')
|
4
resources/views/layout1/open.sh
Executable file
4
resources/views/layout1/open.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
cd /home/sirx/web/devw0bm.com/resources/views/
|
||||
ln -sf registeropen.blade.php register.blade.php
|
||||
php ../../artisan view:clear
|
27
resources/views/layout1/partials/banmenu.blade.php
Normal file
27
resources/views/layout1/partials/banmenu.blade.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<form id="banmenu" method="POST" action="/api/user/{{$user->username}}/ban">
|
||||
{!! csrf_field() !!}
|
||||
<div class="modal fade" id="banmenumodal" tabindex="-1" role="dialog" aria-labelledby="Ban user">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title" id="filterModalTitle">Ban user</h4>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="form-group">
|
||||
<label for="reason">Reason</label>
|
||||
<input class="form-control" type="text" name="reason" id="reason" placeholder="Reason">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="duration">Duration</label>
|
||||
<input class="form-control" type="text" name="duration" id="duration" placeholder="Duration (-1 = permanent)">
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
|
||||
<input type="submit" class="btn btn-danger" value="BAN!">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
14
resources/views/layout1/partials/comlist.php
Normal file
14
resources/views/layout1/partials/comlist.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<script id="comlist" type="text/x-handlebars-template">
|
||||
{{#each data as |value key|}}
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-body" style="word-wrap: break-word;" data-index="{{key}}" data-id="{{id}}">{{{rendered_view}}}</div>
|
||||
<div class="panel-footer">Video: <a href="/{{video_id}}">/{{video_id}}</a> | <time class="timeago" data-toggle="tooltip" datetime="{{created_at}}+0000" title="{{created_at}}+0000"></time></div>
|
||||
</div>
|
||||
{{else}}
|
||||
<div class="list-group-item">No comments</div>
|
||||
{{/each}}
|
||||
{{#if total}}
|
||||
<div class="panel-footer" id="pagination">
|
||||
</div>
|
||||
{{/if}}
|
||||
</script>
|
15
resources/views/layout1/partials/comment.blade.php
Normal file
15
resources/views/layout1/partials/comment.blade.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<div class="panel @if($del = !is_null($comment->deleted_at)) panel-danger @else panel-default @endif" data-id="{{$comment->id}}" author="{{$comment->user->username}}">
|
||||
<div class="panel-body" author="{{$comment->user->username}}">
|
||||
@simplemd($comment->content)
|
||||
</div>
|
||||
<div class="panel-footer">by <a class="{{$comment->user->username}}" href="/user/{{$comment->user->username}}">{!! $comment->user->displayName() !!}</a> <small><time class="timeago" data-toggle="tooltip" data-placement="top" datetime="{{$comment->created_at}}+0000" title="{{$comment->created_at}}+0000"></time></small>
|
||||
@if($mod)
|
||||
@if($del)
|
||||
<a href="#" onclick="restoreComment($(this))"><i style="color:green"; class="fa fa-refresh" aria-hidden="true"></i></a>
|
||||
@else
|
||||
<a class="delete_comment" href="#" onclick="deleteComment($(this))">[del]</a>
|
||||
<a class="edit_comment" href="#" onclick="editComment($(this))">[edit]</a>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
45
resources/views/layout1/partials/commentform.blade.php
Normal file
45
resources/views/layout1/partials/commentform.blade.php
Normal file
@@ -0,0 +1,45 @@
|
||||
<div id="commentForm" class="hidden-xs">
|
||||
<form action="{{action('CommentController@store', ['id' => $video->id])}}" method="post">
|
||||
{!! csrf_field() !!}
|
||||
<div class="sees panel panel-default">
|
||||
<div class="fickfackfoo panel-body">
|
||||
{!! Form::textarea('comment', null, ['placeholder' => 'Write something', 'id' => 'cinput', 'class' => 'form-control', 'required' => 'required']) !!}
|
||||
</div>
|
||||
<div class="commbordersoos">
|
||||
<div id="comment_tools" class="commentform-panel-footer"><button type="submit" class="btn btn-primary btn-sm">Post</button>
|
||||
<div class="textmodifierss">
|
||||
<a style="font-size: 14px;" class="rainbow" href="javascript:;" onclick="formatText ('rb');">[rb]</a>
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="display: none;" id="parent" class="emojis-box">
|
||||
<div data-simplebar data-simplebar-auto-hide="false" id="child" class="emojis">
|
||||
<?php
|
||||
$files = glob(public_path() . DIRECTORY_SEPARATOR . 'images/comments/*.{gif,png}', GLOB_BRACE);
|
||||
$files = array_map(function ($f) { return pathinfo($f); }, $files);
|
||||
?>
|
||||
|
||||
@foreach ($files as $file)
|
||||
<a title=":{{$file['filename']}}:" href="javascript:;" onclick="formatTextEmoji ('{{$file['filename']}}');"><img class="comment_emoji_small" src="//s.w0bm.com/images/comments/{{$file['basename']}}"></a>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
50
resources/views/layout1/partials/comments.blade.php
Normal file
50
resources/views/layout1/partials/comments.blade.php
Normal file
@@ -0,0 +1,50 @@
|
||||
<!--<div id="motd" class="panel panel-info hidden-xs">
|
||||
@if(null === $banner)
|
||||
<div class="panel-body motd">
|
||||
<!--<span style="color:red;">f0ck you!</span>-->
|
||||
<!--<iframe style="width: 342px; height: 50px; border: 0!important;display: flex;"src="/0x40"></iframe>
|
||||
</div>
|
||||
@else
|
||||
<a href="{{ $banner->url }}" target="_blank" rel="noopener">
|
||||
<div style="height: 50px; background-image:url('{{ $banner->image }}')" class="panel-body motd">
|
||||
</div>
|
||||
</a>
|
||||
@endif
|
||||
</div>-->
|
||||
@if(Auth::check())
|
||||
@include('partials.commentform')
|
||||
@endif
|
||||
|
||||
|
||||
@if(Auth::check())
|
||||
<div id="comment_container_scrollable" class="comments hidden-xs">
|
||||
<div class="commentwrapper">
|
||||
<?php
|
||||
if($mod = (Auth::check() && Auth::user()->can('delete_comment'))) $comments = $video->comments()->withTrashed()->get();
|
||||
else $comments = $video->comments;
|
||||
?>
|
||||
@if(count($comments) > 0)
|
||||
@foreach($comments as $comment)
|
||||
@include('partials.comment', ['comment' => $comment, 'mod' => $mod])
|
||||
@endforeach
|
||||
@else
|
||||
<div class="panel panel-default nocomments">
|
||||
<div class="panel-body">
|
||||
No comments yet …<br />
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
<div class="comments hidden-xs">
|
||||
<div class="commentwrapper">
|
||||
<div class="panel panel-default ">
|
||||
<div class="panel-body">
|
||||
<p class="comment"><i>Please log in to view comments</i></p>
|
||||
</div>
|
||||
<div class="panel-footer">by w0bm ∞</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
19
resources/views/layout1/partials/filterselect.blade.php
Normal file
19
resources/views/layout1/partials/filterselect.blade.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<div class="modal fade" id="filterselectmodal" tabindex="-1" role="dialog" aria-labelledby="Select filter">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title" id="filterModalTitle">Add Tags to filter out</h4>
|
||||
<p>When entering a tag you will no longer see videos with that tag.</p>
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<input id="filter" type="text" class="form-control" placeholder="Input tags…" name="filter" data-role="tagsinput" value="{{ implode(',', auth()->user()->categories) }}">
|
||||
{{--<input type="text" id="filter" data-role="tagsinput" value="{{ implode(',', auth()->user()->categories) }}">--}}
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
|
||||
<button href="/filter" type="submit" id="submitfilter" class="btn btn-primary" value="Save">Save</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
36
resources/views/layout1/partials/flash.blade.php
Normal file
36
resources/views/layout1/partials/flash.blade.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<div class="flashcontainer">
|
||||
<div class="flash-inner">
|
||||
@if($errors->count() > 0)
|
||||
@foreach($errors->all() as $error)
|
||||
<div class="alert alert-danger alert-dismissable" role="alert">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
{{ $error }}
|
||||
</div>
|
||||
@endforeach
|
||||
@endif
|
||||
@if(Session::has('error'))
|
||||
<div class="alert alert-danger alert-dismissable" role="alert">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
{{ session('error') }}
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable" role="alert">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
{{ session('success') }}
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('info'))
|
||||
<div class="alert alert-info alert-dismissable" role="alert">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
{{ session('info') }}
|
||||
</div>
|
||||
@endif
|
||||
@if(Session::has('warning'))
|
||||
<div class="alert alert-warning alert-dismissable" role="alert">
|
||||
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
{{ session('warning') }}
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
46
resources/views/layout1/partials/frontendedit.blade.php
Normal file
46
resources/views/layout1/partials/frontendedit.blade.php
Normal file
@@ -0,0 +1,46 @@
|
||||
@if(isset($video))
|
||||
<form id="webmedit" method="POST" action="/index/{{$video->id}}">
|
||||
{!! csrf_field() !!}
|
||||
<div class="modal fade" id="webmeditmodal" tabindex="-1" role="dialog" aria-labelledby="Edit webm">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title" id="filterModalTitle">Edit webm</h4>
|
||||
</div>
|
||||
<div class="modal-body frontendeditmodal">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<label for="imgsourceedit">Video Title</label>
|
||||
<input class="form-control" type="text" name="videotitle" id="videotitleedit" value="{{ $video->videotitle or ''}}" placeholder="Video Title">
|
||||
</div>
|
||||
<label for="interpretedit">Artist</label>
|
||||
<input class="form-control" type="text" name="interpret" id="interpretedit" value="{{ $video->interpret or ''}}" placeholder="Artist">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="songtitleedit">Songtitle</label>
|
||||
<input class="form-control" type="text" name="songtitle" id="songtitleedit" value="{{ $video->songtitle or ''}}" placeholder="Songtitle">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="imgsourceedit">Video Source</label>
|
||||
<input class="form-control" type="text" name="imgsource" id="imgsourceedit" value="{{ $video->imgsource or ''}}" placeholder="Video Source">
|
||||
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="categoryselect">Category</label>
|
||||
<select class="form-control" name="category" id="categoryselect">
|
||||
@foreach(\App\Models\Category::all() as $category)
|
||||
<option value="{{$category->id}}" @if($video->category->id == $category->id) selected @endif>{{$category->name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
|
||||
<input type="submit" class="btn btn-primary" value="Save">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@endif
|
22
resources/views/layout1/partials/handlebars.php
Normal file
22
resources/views/layout1/partials/handlebars.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<script id="paginationtmpl" type="text/x-handlebars-template">
|
||||
<nav class="mitte">
|
||||
<ul class="pagination">
|
||||
{{#paginate pagination type="first"}}
|
||||
<li {{#if disabled}}class="disabled"{{/if}}><a href="#" data-page="{{n}}">First</a></li>
|
||||
{{/paginate}}
|
||||
{{#paginate pagination type="previous"}}
|
||||
<li {{#if disabled}}class="disabled"{{/if}}><a href="#" data-page="{{n}}">«</a></li>
|
||||
{{/paginate}}
|
||||
{{#paginate pagination type="middle" limit="7"}}
|
||||
<li {{#if active}}class="active"{{/if}}><a href="#" data-page="{{n}}">{{n}}</a></li>
|
||||
{{/paginate}}
|
||||
{{#paginate pagination type="next"}}
|
||||
<li {{#if disabled}}class="disabled"{{/if}}><a href="#" data-page="{{n}}">»</a></li>
|
||||
{{/paginate}}
|
||||
{{#paginate pagination type="last"}}
|
||||
<li {{#if disabled}}class="disabled"{{/if}}><a href="#" data-page="{{n}}">Last</a></li>
|
||||
{{/paginate}}
|
||||
</ul>
|
||||
</nav>
|
||||
<div class="clearfix"></div>
|
||||
</script>
|
0
resources/views/layout1/partials/header.blade.php
Normal file
0
resources/views/layout1/partials/header.blade.php
Normal file
14
resources/views/layout1/partials/layoutchanger.blade.php
Normal file
14
resources/views/layout1/partials/layoutchanger.blade.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<li role="presentation" class="layoutChanger" id="layoutSwitcher">
|
||||
<a data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
<span class="caret"></span> Layout
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<div class="layoutblah">
|
||||
<button id="layout1">Standard</button>
|
||||
<br>
|
||||
<button id="layout2">Njum</button>
|
||||
<br>
|
||||
<button id="layout3">z0mb</button>
|
||||
</div>
|
||||
</ul>
|
||||
</li>
|
25
resources/views/layout1/partials/loginmodal.blade.php
Normal file
25
resources/views/layout1/partials/loginmodal.blade.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<div class="modal fade" id="loginmodal" tabindex="-1" role="dialog" aria-labelledby="Login">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title" id="filterModalTitle">Login</h4>
|
||||
</div>
|
||||
|
||||
<div class="login_wrapper">
|
||||
<div class="col-md-9">
|
||||
<form action="{{action('UserController@login')}}" method="post" class="navbar-form">
|
||||
{!! csrf_field() !!}
|
||||
<input type="text" name="identifier" placeholder="Username" class="form-control usernamelogin"><br>
|
||||
<input type="password" name="password" placeholder="Password" class="form-control passwordlogin"><br>
|
||||
<button type="submit" class="btn btn-primary">Login</button> <input id="rememberme" checked type="checkbox" name="remember"> <span id="rember">Remember me?</span>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<p>Registration has been disabled and will stay closed until further notice.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
31
resources/views/layout1/partials/msglist.php
Normal file
31
resources/views/layout1/partials/msglist.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<script id="msglist" type="text/x-handlebars-template">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Messages</h3> <button class="btn btn-primary pull-right readall" onclick="readAll()">Read all</button>
|
||||
</div>
|
||||
|
||||
<div class="list-group" id="listitems">
|
||||
{{#each data as |value key|}}
|
||||
<a href="#" data-index="{{key}}" data-id="{{id}}" class="list-group-item {{#unless read}}list-group-item-info{{/unless}}">{{subject}}</a>
|
||||
{{else}}
|
||||
<div class="list-group-item">No messages</div>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{#if total}}
|
||||
<div class="panel-footer" id="pagination">
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script id="msgtmpl" type="text/x-handlebars-template">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">{{subject}}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
{{{content}}}
|
||||
</div>
|
||||
<div class="panel-footer"><time class="timeago" data-toggle="tooltip" datetime="{{created_at}}+0000" title="{{created_at}}+0000"></time></div>
|
||||
</div>
|
||||
</script>
|
41
resources/views/layout1/partials/navigation.blade.php
Normal file
41
resources/views/layout1/partials/navigation.blade.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<nav class="navbar navbar-inverse navbar-static-top">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="/">
|
||||
<img src="{{ asset('logo.svg') }}" alt="w0bm.com">
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class=" collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
<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.themechanger')
|
||||
@if(Auth::check())
|
||||
@include('partials.layoutchanger')
|
||||
@endif
|
||||
</ul>
|
||||
@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="{{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>
|
||||
</ul>
|
||||
@else
|
||||
<!-- Hier war mal der Login Kot -->
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li><a href="#" data-toggle="modal" data-target="#loginmodal"><i class="fa fa-sign-in"></i> Login</a></li>
|
||||
@include('partials.loginmodal')
|
||||
</ul>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
15
resources/views/layout1/partials/profileheader.blade.php
Normal file
15
resources/views/layout1/partials/profileheader.blade.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<div class="page-header">
|
||||
<h3 class="{{ $user->username }}">{!! rtrim(e($user->username) . ' ' . $user->activeIcon()) !!} @if($user->disabled && isset($user->banend) && (Carbon\Carbon::now() <= $user->banend || 1 >= $user->banend->timestamp))<span style="color: grey; font-size: 15px;">(@if(Carbon\Carbon::now() <= $user->banend)Ban expires in <time class="timeago" data-toggle="tooltip" title="{{ $user->banend }}+0000" datetime="{{ $user->banend }}+0000"></time>@else permanently banned @endif)</span>@endif</h3>
|
||||
<div class="admin-settings">
|
||||
@if(auth()->check() && auth()->user()->can('edit_user'))<span id="pannade"><a href="#" data-toggle="modal" data-target="#banmenumodal"><i style="color:red;" class=""></i>[ban user]</a></span>
|
||||
@endif
|
||||
</div>
|
||||
<span id="jointime">Joined: <time class="timeago" datetime="{{ $user->created_at }}+0000" title="{{ $user->created_at }}+0000" data-toggle="tooltip"></time></span>
|
||||
<div class="profile-info">
|
||||
<span id="count-upload"> <a href="/user/{{$user->username}}"> <i class="fa fa-cloud-upload"></i> {{ $user->uploads()->countScoped()->count() }} Uploads</a></span>
|
||||
|
||||
<span id="comments-user"> <a href="/user/{{$user->username}}/comments"><i class="fa fa-commenting"></i> {{ $user->comments()->count() }} Comments</a></span>
|
||||
|
||||
<span id="favs-user"><a href="/user/{{$user->username}}/favs/index"><i class="fa fa-heart"></i> {{ $user->favs()->countScoped()->count() }} Favorites</a></span>
|
||||
</div>
|
||||
</div>
|
62
resources/views/layout1/partials/registermodal.blade.php
Normal file
62
resources/views/layout1/partials/registermodal.blade.php
Normal file
@@ -0,0 +1,62 @@
|
||||
<div class="modal fade" id="registermodal" tabindex="-1" role="dialog" aria-labelledby="Register">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
||||
<h4 class="modal-title" id="filterModalTitle">Register</h4>
|
||||
</div>
|
||||
|
||||
<div class="advantages">
|
||||
<p>Registering on w0bm has some advantages...</p>
|
||||
<p>With a account you can comment on WebMs, favor WebMs, upload WebMs, tag videos, filter out unwanted tags and watch NSFW WebMs!</p>
|
||||
</div>
|
||||
|
||||
<div class="reg_wrapper">
|
||||
<div class="register">
|
||||
<div class="col-md-10">
|
||||
<form class="form-horizontal" method="post" action="{{action('UserController@store')}}">
|
||||
{!! csrf_field() !!}
|
||||
<div class="form-group">
|
||||
<div class="reg_username">
|
||||
{!! Form::text('username', null, ['class' => 'form-control', 'placeholder' => 'Username']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="reg_password">
|
||||
{!! Form::password('password', ['class' => 'form-control', 'placeholder' => 'Password']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="reg_password">
|
||||
{!! Form::password('password_confirmation', ['class' => 'form-control', 'placeholder' => 'Password Confirmation']) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="recaptcha">
|
||||
{!! Recaptcha::render() !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group terms">
|
||||
<div class="verify_rules">
|
||||
<p><input type="checkbox" required name="terms"> I am at least 18 years or older and I have read and understand the <a href="/rules">Rules</a></p>
|
||||
</div>
|
||||
|
||||
<div class="submit_registration">
|
||||
<button type="submit" class="btn btn-primary">Register</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<p>Back to <a href="#" data-toggle="modal" data-target="#loginmodal" data-dismiss="modal">Login?</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
40
resources/views/layout1/partials/report.blade.php
Normal file
40
resources/views/layout1/partials/report.blade.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<!-- created by klee -->
|
||||
@if(isset($video))
|
||||
<form id="webmreport" method="POST" action="/report/{{$video->id}}">
|
||||
{!! csrf_field() !!}
|
||||
<div class="modal fade" id="webmreportmodal" tabindex="-1" role="dialog" aria-labelledby="Report webm">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title" id="filterModalTitle">Report WebM</h4>
|
||||
</div>
|
||||
<div class="modal-body-report webmreportmodal">
|
||||
So you want to report this webm? Tell us why:<br>
|
||||
<br>
|
||||
<div class="form-group">
|
||||
<label for="reportReasons">
|
||||
Reason(s)<br>
|
||||
<em>(hold ctrl to select multiple)</em>
|
||||
</label>
|
||||
<select multiple class="form-control" id="reportReasons" name="reportReasons[]">
|
||||
<option>Wrong rating (sfw/nsfw)</option>
|
||||
<option>Shitpost</option>
|
||||
<option>Low quality/effort video</option>
|
||||
<option>Breaks a rule</option>
|
||||
<option>Other</option>
|
||||
<!-- breaks a rule, Wrong safe for rating -->
|
||||
</select>
|
||||
</div>
|
||||
<label for="reportReasonText">Please explain a bit more detailed why you want to report this webm</label>
|
||||
<textarea class="form-control" id="reportText" name="reportText" rows="3" required></textarea>
|
||||
<p>Abuse of this form will be awarded with a permanent ban!</p>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-primary" data-dismiss="modal">Close</button>
|
||||
<button type="submit" class="btn btn-primary">Send Report</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@endif
|
46
resources/views/layout1/partials/tags.blade.php
Normal file
46
resources/views/layout1/partials/tags.blade.php
Normal file
@@ -0,0 +1,46 @@
|
||||
<div class="tags hidden-xs">
|
||||
<div class="tagtest">
|
||||
@if(Auth::check())
|
||||
<ul class="nav navbar-nav info-nav">
|
||||
<label for="tag-add-toggle">
|
||||
<li id="tagadder" class="addtagsy">+ Add Tag <i class="fa fa-tag" aria-hidden="true"></i> </li>
|
||||
</label>
|
||||
<li class="addtagsy"><a href="/irc">IRC </a></li>
|
||||
<li class="addtagsy"><a href="/about">About </a></li>
|
||||
<li class="addtagsy"><a href="/contact">Contact </a></li>
|
||||
<li class="addtagsy"><a href="/rules">Rules </a></li>
|
||||
<li class="addtagsy"><a href="http://blog.w0bm.com" target="_blank">Blog</a></li>
|
||||
</ul>
|
||||
<input type="checkbox" id="tag-add-toggle">
|
||||
<div id="tag-add">
|
||||
<div class="input-group" style="margin-top: 4px;">
|
||||
{{--<select multiple name="tags[]" data-role="tagsinput" class="form-control"></select>--}}
|
||||
<input id="tags" type="text" class="form-control" placeholder="Input tags…" name="tags" data-role="tagsinput">
|
||||
<span class="input-group-btn">
|
||||
<button href="/{{$video->id}}/tag" id="submittags" type="submit" class="form-control btn-primary">Submit</button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
<ul class="nav navbar-nav info-nav">
|
||||
<li class="addtagsy"><a href="/irc">IRC </a></li>
|
||||
<li class="addtagsy"><a href="/about">About </a></li>
|
||||
<li class="addtagsy"><a href="/contact">Contact </a></li>
|
||||
<li class="addtagsy"><a href="/rules">Rules </a></li>
|
||||
<li class="addtagsy"><a href="http://blog.w0bm.com" target="_blank">Blog</a></li>
|
||||
</ul>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
<div class="toggo tag-panel-body" style="">
|
||||
<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>
|
||||
@endforeach
|
||||
@else
|
||||
No tags yet ...
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
18
resources/views/layout1/partials/themechanger.blade.php
Normal file
18
resources/views/layout1/partials/themechanger.blade.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<li role="presentation" class="">
|
||||
<a data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
|
||||
<span class="caret"></span> Theme
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<div id="switcher">
|
||||
<button class="w0bmcustom-css" onclick="setActiveStyleSheet('w0bmcustom'); return false;">Default</button>
|
||||
<br>
|
||||
<button class="chilledblue-css" onclick="setActiveStyleSheet('Chilledblue'); return false;">Chilledblue</button>
|
||||
<br>
|
||||
<button class="xayd-css" onclick="setActiveStyleSheet('Xayd'); return false;">Xayd</button>
|
||||
<br>
|
||||
<button class="glitch-css" onclick="setActiveStyleSheet('Glitch'); return false;">Glitch</button>
|
||||
<br>
|
||||
<button class="epilepsie-css" onclick="alert('This theme can cause seizures and headaches, use with care!'); setActiveStyleSheet('Epilepsie'); return false;">Epilepsie</button>
|
||||
</div>
|
||||
</ul>
|
||||
</li>
|
18
resources/views/layout1/privacy.blade.php
Normal file
18
resources/views/layout1/privacy.blade.php
Normal file
@@ -0,0 +1,18 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h3>Privacy</h3>
|
||||
</div>
|
||||
|
||||
<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>
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
@include('footer')
|
||||
@endsection
|
35
resources/views/layout1/profile.blade.php
Normal file
35
resources/views/layout1/profile.blade.php
Normal file
@@ -0,0 +1,35 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
@include('partials.profileheader')
|
||||
<div class="profilheader">
|
||||
<a href="/{{$user->baseurl()}}/">View {{ $title }}</a>
|
||||
</div>
|
||||
<table class="table table-hover table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Video Title</th>
|
||||
<th>Artist</th>
|
||||
<th>Songtitle</th>
|
||||
<th class="hidden-xs">Video Source</th>
|
||||
<th>Category</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($videos as $video)
|
||||
<?php
|
||||
$thumb = str_replace(".webm","",$video->file);
|
||||
?>
|
||||
<tr data-thumb="{{$thumb}}">
|
||||
<td><a href="/{{$user->baseurl()}}/{{$video->id}}">{{$video->id}}</a></td>
|
||||
<td>{{$video->videotitle or ''}}</td>
|
||||
<td>{{$video->interpret or ''}}</td>
|
||||
<td>{{$video->songtitle or ''}}</td>
|
||||
<td class="hidden-xs">{{$video->imgsource or ''}}</td>
|
||||
<td><a href="{{url($video->category->shortname)}}">{{$video->category->name}}</a></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
{!! $videos->render() !!}
|
||||
@endsection
|
69
resources/views/layout1/profilelayout.blade.php
Normal file
69
resources/views/layout1/profilelayout.blade.php
Normal file
@@ -0,0 +1,69 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="theme-color" content="#161618">
|
||||
<meta name="viewport"
|
||||
content="width=device-width,initial-scale=1">
|
||||
<meta charset="UTF-8">
|
||||
<meta name="_token" content="{{csrf_token()}}">
|
||||
<meta name="keywords" content="Random WebMs, WebMs, Internet Videos">
|
||||
<link rel="icon" href="/favicon.png">
|
||||
<title>w0bm.com - WebMs with sound!</title>
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
<link rel="favicon"
|
||||
type="image/ico"
|
||||
href="favicon.ico" />
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
<link rel="stylesheet" href="/css/w0bmfonts.css">
|
||||
<link rel="stylesheet" href="/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" href="/css/bootstrap-tagsinput.css">
|
||||
<link rel="stylesheet" href="/css/video-js.min.css">
|
||||
<link rel="stylesheet" href="/css/simplebar.css" />
|
||||
<link rel="stylesheet" href="/css/vjsnew.css?v=1.1.1">
|
||||
<link rel="stylesheet" href="/css/w0bmcustom.css?v={{ filemtime("css/w0bmcustom.css") }}">
|
||||
<link rel="stylesheet" type="text/css" href="/css/perfect-scrollbar.css">
|
||||
<link rel="alternate stylesheet" href="/css/chilledblue.css?v={{ filemtime("css/chilledblue.css") }}" title="Chilledblue">
|
||||
<link rel="alternate stylesheet" href="/css/xayd.css?v={{ filemtime("css/xayd.css") }}" title="Xayd">
|
||||
<link rel="alternate stylesheet" href="/css/glitch.css?v={{ filemtime("css/glitch.css") }}" title="Glitch">
|
||||
<link rel="alternate stylesheet" href="/css/epilepsie.css?v={{ filemtime("css/epilepsie.css") }}" title="Epilepsie">
|
||||
<script src="/js/styleswitcher.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
@include('partials.handlebars')
|
||||
@if(auth()->check())
|
||||
@include('partials.filterselect')
|
||||
@if(isset($user) && auth()->user()->can('edit_user'))
|
||||
@include('partials.banmenu')
|
||||
@endif
|
||||
@endif
|
||||
<canvas id="bg" @if(!Session::get('background', true)) style="display: none;"@endif></canvas>
|
||||
|
||||
@include('partials.navigation')
|
||||
|
||||
<div class="wrapper">
|
||||
@yield('aside')
|
||||
<div style="width: auto; overflow: hidden; position: relative;">
|
||||
<div class="fucklaravel">
|
||||
<noscript><div class="no-js-profile">Javascript is disabled, enable to use all of w0bms features!</div></noscript>
|
||||
@yield('content')
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<script src="/js/jquery.min.js"></script>
|
||||
<script src="/js/bootstrap.min.js"></script>
|
||||
<script src="/js/bootstrap-tagsinput.min.js"></script>
|
||||
<script src="/js/isotope.pkgd.min.js"></script>
|
||||
<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>
|
||||
</body>
|
||||
</html>
|
1
resources/views/layout1/register.blade.php
Symbolic link
1
resources/views/layout1/register.blade.php
Symbolic link
@@ -0,0 +1 @@
|
||||
registeropen.blade.php
|
34
resources/views/layout1/registerclosed.blade.php
Normal file
34
resources/views/layout1/registerclosed.blade.php
Normal file
@@ -0,0 +1,34 @@
|
||||
@extends('layout')
|
||||
@section('content')
|
||||
<style>
|
||||
html body {
|
||||
animation: anfall 0.2s;
|
||||
-webkit-animation: anfall 0.2s;
|
||||
animation-iteration-count: infinite;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@keyframes anfall {
|
||||
0% {background: red;}
|
||||
25% {background: yellow;}
|
||||
50% {background: blue;}
|
||||
75% {background: pink;}
|
||||
100% {background: red;}
|
||||
}
|
||||
|
||||
@-webkit-keyframes anfall {
|
||||
0% {background: black;}
|
||||
25% {background: white;}
|
||||
50% {background: black;}
|
||||
75% {background: white;}
|
||||
100% {background: black;}
|
||||
}
|
||||
|
||||
div.a {
|
||||
width: 50px;
|
||||
height:50px;
|
||||
}
|
||||
@endsection
|
60
resources/views/layout1/registeropen.blade.php
Normal file
60
resources/views/layout1/registeropen.blade.php
Normal file
@@ -0,0 +1,60 @@
|
||||
@extends('layout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h5>Register your w0bm.com Account</h5>
|
||||
<p style="color:red;">Note: We do not reset passwords, make sure to write down your password on paper, otherwise you need create a new account or start to circlejerk in the IRC!</p>
|
||||
</div>
|
||||
<div class="register">
|
||||
<form class="form-horizontal" method="post" action="{{action('UserController@store')}}">
|
||||
{!! csrf_field() !!}
|
||||
<div class="form-group">
|
||||
<div class="">
|
||||
{!! Form::text('username', null, ['class' => 'form-control', 'placeholder' => 'Username']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<!--<div class="form-group">
|
||||
<div class="">
|
||||
{!! Form::email('email', null, ['class' => 'form-control', 'placeholder' => 'Email']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="">
|
||||
{!! Form::email('email_confirmation', null, ['class' => 'form-control', 'placeholder' => 'Email Confirmation']) !!}
|
||||
</div>
|
||||
</div>-->
|
||||
<div class="form-group">
|
||||
<div class="">
|
||||
{!! Form::password('password', ['class' => 'form-control', 'placeholder' => 'Password']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="">
|
||||
{!! Form::password('password_confirmation', ['class' => 'form-control', 'placeholder' => 'Password Confirmation']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group terms">
|
||||
<div style="text-align: center;">
|
||||
<p><input type="checkbox" required name="terms"> I am at least 18 years or older and I have read and understand the <a href="/rules">Rules</a></p>
|
||||
</div>
|
||||
<div class="">
|
||||
<button type="submit" class="btn btn-primary">Register</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
<!-- <div class="form-group" style="
|
||||
text-align: center;
|
||||
background: rgba(0, 0, 0, 0.75);
|
||||
margin-left: 5px;
|
||||
margin-right: 5px;
|
||||
">
|
||||
<p>By clicking on "Register" you accept our <a href="/rules">Rules</a></p>
|
||||
<p>Note: we do NOT reset passwords for now, make sure to save your password correctly</p>
|
||||
</div>
|
||||
-->
|
||||
@endsection
|
||||
|
58
resources/views/layout1/rules.blade.php
Normal file
58
resources/views/layout1/rules.blade.php
Normal file
@@ -0,0 +1,58 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h4>Rules for w0bm.com</h4>
|
||||
</div>
|
||||
<p>These are more or less guidelines for a friendly and peaceful together, please don't try to abuse this or push it to the limits.</p>
|
||||
<div class="box">
|
||||
<h5>General</h5>
|
||||
<ol>
|
||||
<li>Content on this website is intended for adults (18+), we can't check your age and don't want to, but keep this in mind, this is a website by adults for adults.</li>
|
||||
<li>No Comment or Tag spamming</li>
|
||||
<li>No Child porn and/or underage modeling videos/links to websites</li>
|
||||
<li>No racism, I know this can be defined however someone wants, but deep inside most of us know when it's going into the racism direction and I don't want to see that here.</li>
|
||||
<li>Be friendly to each other!</li>
|
||||
<li>No Terrorist Propaganda and Content!</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h5>Uploading</h5>
|
||||
<ol>
|
||||
<li>The focus is on videos that are catchy and fun to watch, for example <a href="/index?q=loop">loops</a> this does not mean these are the only videos we welcome, it's just our main focus, we have plenty of videos that are completely unrelated to loops or catchy stuff and are still fitting, ask yourself "does my upload fit on w0bm.com?" and if yes, you're good to go!</li>
|
||||
<li>The Artist and Songtitle field is only for the Artist and Song information respectively, anything else in there probably doesn't belong in there, use the Tags.</li>
|
||||
<li>I reserve the right to remove uploads that I consider not worth being on w0bm.com without comment, discussions about deleted videos will be ignored and can lead in extreme cases to a ban.</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h5>Tagging</h5>
|
||||
<ol>
|
||||
<li><b>You have to add at least 3 tags describing the video, not doing so can lead to a ban.</b></li>
|
||||
<li>Tags should always describe what you see in the video and maybe some additional informations</li>
|
||||
<li>No links in the Tags, use the comment section for that!</li>
|
||||
<li>Always give your video a rating like "sfw" or "nsfw" so people can filter.</li>
|
||||
<li>Comments are not welcome in the Tag section</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h5>Commenting</h5>
|
||||
<ol>
|
||||
<li>You don't have to be polite, but you also don't have to be an asshole.</li>
|
||||
<li>NSFW images should only be posted on NSFW videos.</li>
|
||||
<li>Live with different opinions, and deal with it.</li>
|
||||
<li>No scam links or links to paywall sites, no unauthorized advertisment</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h5>Reposts</h5>
|
||||
<ul style="text-align:left;">
|
||||
<li>Tag reposts with the tag: repost also link the original and the repost in the comments, maybe some admin or moderator is going to care about it and deletes the repost.</li>
|
||||
</ul>
|
||||
</div>
|
||||
<p>These rules can change at any time!</p>
|
||||
|
||||
@include('footer')
|
||||
@endsection
|
15
resources/views/layout1/stats.blade.php
Normal file
15
resources/views/layout1/stats.blade.php
Normal file
@@ -0,0 +1,15 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h3>Stats</h3>
|
||||
</div>
|
||||
<div class="box">
|
||||
<p class="user_count">Total amount of registered users: <amount>{{$user_count}}</amount></p>
|
||||
<p class="upload_count">Total amount of uploads: <amount>{{$upload_count}}</amount></p>
|
||||
<p class="comment_count">Total amount of comments: <amount>{{$comment_count}}</amount></p>
|
||||
<p class="latest-video">Latest video <a href="/{{$latest_video}}">/{{$latest_video}}</a></p>
|
||||
<p class="newest_user">Newest user <a href="/user/{{$newest_user}}">/user/{{$newest_user}}</a></p>
|
||||
<p class="dirsize">Total size of w0bm: <amount>{{$dirsize}}</amount></p>
|
||||
</div>
|
||||
@include('footer')
|
||||
@endsection
|
19
resources/views/layout1/teamspeak.blade.php
Normal file
19
resources/views/layout1/teamspeak.blade.php
Normal file
@@ -0,0 +1,19 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="ts3">
|
||||
<h3>w0bm Teamspeak 3 Server</h3>
|
||||
<p>Join the motherfucking Teamspeak Server!</p>
|
||||
<p>IP: <i><a href="ts3server://ts.w0bm.com">ts.w0bm.com</a></i></p>
|
||||
<p>There are 32 premium slots available for 32 retarded faggots!</p>
|
||||
<h6>What can you expect?</h6>
|
||||
<ol>
|
||||
<li>Full autism</li>
|
||||
<li>Full retardation</li>
|
||||
<li>Bullshit</li>
|
||||
<li>WebMs</li>
|
||||
<li>More autism</li>
|
||||
</ol>
|
||||
<p><b>ATTENTION MAIN LANGUAGE IS </b><span style="padding-left:5px;padding-right:5px;" class="deutsch">GERMAN</span></p>
|
||||
</div>
|
||||
@include('footer')
|
||||
@endsection
|
29
resources/views/layout1/tip.blade.php
Normal file
29
resources/views/layout1/tip.blade.php
Normal file
@@ -0,0 +1,29 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h3>Donate</h3>
|
||||
</div>
|
||||
<div class="box">
|
||||
<h4>Do you like this website?</h4>
|
||||
<p>If you do show your love with a small tip in the w0bm tip jar!</p>
|
||||
<p>Don't know how to get Bitcoins? You can buy Bitcoins very easily <a href="https://www.bitpanda.com/en">here</a></p>
|
||||
<p>Our Wallet is: <code>1HbDdiQWAVs1zpjuAhrmBvdTjyrV84hdQ1</code></p>
|
||||
<p>We appreciate every donation! <3</p>
|
||||
<p>w0bm costs money... <img height="24" src="/images/fetishotter.png"></p>
|
||||
<ul>
|
||||
<li>15€/y for the domain</li>
|
||||
<li>24€/m for the main server</li>
|
||||
<li>14€/m for the video cdn servers</li>
|
||||
<li>________________________________</li>
|
||||
<li>38€ per month</li>
|
||||
</ul>
|
||||
<p>If you want to help make w0bm greater please consider buying a server for yourself on vultr.com with my ref link, it will help to finance the project and make it faster all around the world, the more servers I can deploy the faster and greater it will be and best is that you have yourself a server too and can do stuff with it! Basically win/win!</p>
|
||||
<p>My vultr.com Ref Link: <a href="https://www.vultr.com/?ref=7762075">https://www.vultr.com/?ref=7762075</a></p>
|
||||
<p>Everyone who donates 24€ (the server rent) gets a custom css + an icon, examples: <br>
|
||||
<img src="https://nogf.club/uploads/bb06900a.png"><br>
|
||||
<img src="https://nogf.club/uploads/cf7b2ece.png"><br>
|
||||
<img src="https://nogf.club/uploads/e2c32b9e.png">
|
||||
<p>Everyone who donates at least 5€ gets an icon behind their name (icon can be any graphic you like!)</p>
|
||||
</div>
|
||||
@include('footer')
|
||||
@endsection
|
15
resources/views/layout1/transparency.blade.php
Normal file
15
resources/views/layout1/transparency.blade.php
Normal file
@@ -0,0 +1,15 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h4>Transparency</h4>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h5>Takedown notices and other shit</h5>
|
||||
<ul>
|
||||
<li><a href="/07072016-FSM.txt">07.07.2016 FSM Takedown Notice</a></li>
|
||||
<li><a href="/30012019-CTIRU.txt">30.01.2019 Metropolitan Police Service Terrorist Content Takedown Notice</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
@include('footer')
|
||||
@endsection
|
76
resources/views/layout1/upload.blade.php
Normal file
76
resources/views/layout1/upload.blade.php
Normal file
@@ -0,0 +1,76 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="uploadheader">
|
||||
<h3 id="upheader">Upload</h3>
|
||||
</div>
|
||||
<div class="wrapper">
|
||||
<div class="ulcontainer" style="white-space: nowrap; padding: 0px; height: 100%;">
|
||||
<div class="form-group">
|
||||
<div class="form-group">
|
||||
<div class="">
|
||||
{!! Form::text('videotitle', null, ['id' => 'videotitle', 'class' => 'form-control', 'placeholder' => 'Video Title']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="">
|
||||
{!! Form::text('interpret', null, ['id' => 'interpret', 'class' => 'form-control', 'placeholder' => 'Artist']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="">
|
||||
{!! Form::text('songtitle', null, ['id' => 'songtitle', 'class' => 'form-control', 'placeholder' => 'Songtitle']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="">
|
||||
{!! Form::text('imgsource', null, ['id' => 'imgsource', 'class' => 'form-control', 'placeholder' => 'Video Source']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="">
|
||||
<?php
|
||||
$categories = [];
|
||||
foreach(App\Models\Category::all() as $cat)
|
||||
$categories[$cat->id] = $cat->name;
|
||||
?>
|
||||
{!! Form::select('category', $categories, 8, ['id' => 'category', 'class' => 'form-control']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="blah">
|
||||
{!! Form::checkbox('nsfw', 'true', false, ['id' => 'nsfw']) !!} <label id="nsfw" for="nsfw">NSFW?</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="ultags">
|
||||
{!! Form::text('tags', null, ['id' => 'tags_upload', 'class' => 'form-control', 'placeholder' => 'Input tags...', 'name' => 'tags', 'data-role' => 'tagsinput']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
@include('partials.flash')
|
||||
<br>
|
||||
<div id="dragndrop" class="form-group col-md-3" data-uploadlimit="{{ isset($user) ? ($user->can('break_max_filesize') ? 'false' : 'true') : 'true' }}">
|
||||
<a id="dragndrop-link" href="#">
|
||||
<span style="display: table; width: 100%; height: 100%;">
|
||||
<span id="dragndrop-text">
|
||||
<i class="fa fa-cloud-upload"></i><br>
|
||||
Drop or select WebM!
|
||||
</span>
|
||||
</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-md-12">
|
||||
<button id="btn-upload" type="button" style="width: 100%; height: 40px;" class="btn btn-primary btn-sm"><span class="laz0r">Fire the laz0r</span>
|
||||
<span class="" id="laz0r-fire"></span>
|
||||
<span class="hidden-xs" id="shoop-laz0r"></span>
|
||||
</button>
|
||||
<p style="text-align:center; padding-top: 5px; white-space: normal;">Before you click upload make sure you have read the <a href="/rules">Rules</a></p>
|
||||
<p style="text-align:center; padding-top: 5px; white-space: normal;"><span id="big">10</span> uploads <span id="big">every 12 hours.</span> – Maximum filesize: <span id="big">40MB.</span> – Only <span id="big">.webm (vp8/vp9) with sound</span> allowed. Need <a href="/webm">help?</a></p>
|
||||
</div>
|
||||
</div>
|
||||
<input name="file" type="file" class="hidden" accept=".webm"></input>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
0
resources/views/layout1/vendor/.gitkeep
vendored
Normal file
0
resources/views/layout1/vendor/.gitkeep
vendored
Normal file
129
resources/views/layout1/video.blade.php
Normal file
129
resources/views/layout1/video.blade.php
Normal file
@@ -0,0 +1,129 @@
|
||||
@extends('layout')
|
||||
@section('content')
|
||||
<?php $related = $related ?? null; ?>
|
||||
<div class="vertical-align">
|
||||
<div class="wrapper">
|
||||
@if($video->videotitle)
|
||||
<div class="videotitle-div">
|
||||
<h5 class="videotitle">{{$video->videotitle}}</h5>
|
||||
</div>
|
||||
@endif
|
||||
<div class="embed-responsive embed-responsive-16by9">
|
||||
<video id="video" loop controls preload="auto" crossorigin="anonymous">
|
||||
<source src="/b{{ "/" . $video->file }}">
|
||||
<!-- rip fapple! <source src="//fapple.w0bm.com/{{str_replace(".webm","",$video->file)}}.mp4"> -->
|
||||
</video>
|
||||
@if($video->category->name === 'Anime' || $video->category->name === 'Otomad')
|
||||
<div class="anime-thumb-opener hidden-xs"><i title="Generate Anime Thumbnail!" class="fa fa-file-image-o"></i></div>
|
||||
<div style="display: none;" class="anime-thumb">
|
||||
<span>Anime Thumbnail Generator v1.0 Alpha</span><br>
|
||||
<img id="thumbnail_img" alt="Pause video to create thumb!"/><br>
|
||||
<span>Right click <code>Copy Image</code> and paste it on <a href="https://trace.moe">trace.moe</a></span>
|
||||
<canvas height="540" width="960" style="display: none;" id="thecanvas"></canvas>
|
||||
<script src="/js/animethumbnailer.js"></script>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<?php
|
||||
//$shortfile = str_replace(".webm", "" ,$video->file);
|
||||
//$mp4 = shell_exec("curl https://fapple.w0bm.com/api/v1/{{$shortfile}} | jq -r .size");
|
||||
?>
|
||||
<div class="text-center" style="position: unset;">
|
||||
@if($related)
|
||||
@if(($prev = $video->getPrev($related)) === null)
|
||||
<a class="first" href="#" style="visibility: hidden;">← first</a>
|
||||
<a id="prev" href="#" style="visibility: hidden;">← prev</a> |
|
||||
@else
|
||||
<a class="first" href="{{url($related->baseurl(), $video->getFirstId($related))}}">← first</a>
|
||||
<a id="prev" href="{{url($related->baseurl(), [$prev->id])}}">← prev</a> |
|
||||
@endif
|
||||
<a href="{{url($related->baseurl())}}">{!!$related->displayName()!!}</a>
|
||||
@if(($next = $video->getNext($related)) === null)
|
||||
| <a id="next" href="#" style="visibility: hidden;">next →</a>
|
||||
<a class="last" href="#" style="visibility: hidden;">last →</a>
|
||||
@else
|
||||
| <a id="next" href="{{url($related->baseurl(), [$next->id])}}">next →</a>
|
||||
<a class="last" href="{{url($related->baseurl(), $video->getLastId($related))}}">last →</a>
|
||||
@endif
|
||||
@else
|
||||
@if(($prev = $video->getPrev()) === null)
|
||||
<a class="first" href="#" style="visibility: hidden;">← first</a>
|
||||
<a id="prev" href="#" style="visibility: hidden;">← prev</a> |
|
||||
@else
|
||||
<a class="first" href="{{url($video->getFirstId())}}">← first</a>
|
||||
<a id="prev" href="{{url($prev->id)}}">← prev</a> |
|
||||
@endif
|
||||
<a href="{{url('/')}}">random</a>
|
||||
@if(($next = $video->getNext()) === null)
|
||||
| <a id="next" href="#" style="visibility: hidden;">next →</a>
|
||||
<a class="last" href="#" style="visibility: hidden;">last →</a>
|
||||
@else
|
||||
| <a id="next" href="{{url($next->id)}}">next →</a>
|
||||
<a class="last" href="{{url($video->getLastId())}}">last →</a>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
<div class="vidinfo">
|
||||
<span class="videoinfo">
|
||||
<button title="Toggle comments" class="hidden-xs toggle-comments" id="toggle"><i class="fa fa-comments"></i> <span id="commentAmount">{{ $video->comments()->count() }}</span></button>
|
||||
<button title="Toggle Background" class="hidden-xs bg-toggle" id="togglebg"><i style="color:#fff200;" class="fa fa-adjust"></i></button>
|
||||
<button class="copylink" data-clipboard-text="{{url($video->id)}}" title="Copy URL!"><i class="fa fa-link"></i></button>
|
||||
<div class="dropdown">
|
||||
<button class="fa fa-download"
|
||||
id="dlbutton"
|
||||
style="cursor: pointer"
|
||||
data-toggle="popover"
|
||||
data-placement="top"
|
||||
data-trigger="hover"
|
||||
data-html="true"
|
||||
title="Download Video"
|
||||
data-content="
|
||||
<div class='downloadvid'>
|
||||
<ul class='downloadlist'>
|
||||
<li><a class='file_size' href='{{ '/b' . $video->file }}' download>WebM</a> <span class='filesize'>{{-- ({{ HumanReadable::bytesToHuman($video->filesize()) }}) --}}</span></li>
|
||||
</ul>
|
||||
</div>"
|
||||
</button>
|
||||
</div>
|
||||
@if(auth()->check())
|
||||
<button title="Report WebM" id="webm_report" class="webm-report" data-toggle="modal" data-target="#webmreportmodal"><i class="fa fa-warning fa-md"></i></button>
|
||||
@endif
|
||||
|
||||
<div class="favbutton">
|
||||
@if(auth()->check())
|
||||
@if(auth()->user()->hasFaved($video->id))
|
||||
<a id="fav" href="{{url($video->id . '/fav')}}"><i style="color:#ff0094;" class="fa fa-heart"></i></a>
|
||||
@else
|
||||
<a id="fav" href="{{url($video->id . '/fav')}}"><i style="color:#ff0094;" class="fa fa-heart-o"></i></a>
|
||||
@endif
|
||||
@else
|
||||
<a href="{{url($video->id . '/fav')}}"><i class="fa fa-heart-o"></i></a>
|
||||
@endif
|
||||
</div>
|
||||
<button class="fa fa-info-circle"
|
||||
id="infobox"
|
||||
style="cursor: pointer"
|
||||
data-toggle="popover"
|
||||
data-placement="top"
|
||||
data-trigger="hover"
|
||||
title="Information"
|
||||
data-content=" <div style='word-break: break-word;'>@if($video->interpret) <strong>Artist:</strong> {{$video->interpret}}<br>@endif
|
||||
@if($video->songtitle) <strong>Songtitle:</strong> {{$video->songtitle}}<br>@endif
|
||||
@if($video->imgsource) <strong>Video Source:</strong> {{$video->imgsource}} <br>
|
||||
@endif
|
||||
<strong>Category:</strong> {{$video->category->name}}</div>">
|
||||
</button>
|
||||
<span id="uploader">uploaded by <a style="color: white" href="{{ url('user/' . $video->user->username) }}">{!! $video->user->displayName() !!}</a></span> <time class="timeago" data-toggle="tooltip" data-placement="top" datetime="{{$video->created_at->toIso8601String()}}" title="{{$video->created_at->toIso8601String()}}"></time>@if(auth()->check() && (auth()->user()->can('edit_video') || auth()->user()->id == $video->user_id)) <a class="edit_video" href="#" data-toggle="modal" data-target="#webmeditmodal">[edit]</a>@endif @if(auth()->check() && auth()->user()->can('delete_video'))<a class="delete_video" href="#">[del]</a>@endif
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('aside')
|
||||
<aside id="sidebar" class="aside panel hidden-xs">
|
||||
@include('partials.flash')
|
||||
@include('partials.comments')
|
||||
@include('partials.tags')
|
||||
</aside>
|
||||
@endsection
|
56
resources/views/layout1/webm.blade.php
Normal file
56
resources/views/layout1/webm.blade.php
Normal file
@@ -0,0 +1,56 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h3>WebM Support</h3>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h5>WebM how to</h5>
|
||||
<p>On this page you will find anything related to WebMs</p>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h4>Useful tools for creating WebMs</h4>
|
||||
<p>There is a good documentation with various ffmpeg tools on github, you should definetly check it out and pick the one you like the most!</p>
|
||||
<ul>
|
||||
<li><a href="https://github.com/Kagami/webm.py/wiki/Related-links">List of tools and information</a></li>
|
||||
<li><a href="https://github.com/Kagami/boram">Boram by Kagami</a> Cross Platform Gui application for cutting, cropping and converting videos into WebM format, has integrated youtube-dl option, so you can directly download from any site that is supported by youtube-dl. Definetly the best choice if you want to have it quick and easy with a nice looking result!</li>
|
||||
<li><a href="https://github.com/Kagami/webm.py">webm.py by Kagami</a> If you are more the CLI fan like me, this is something for you, it's a very easy cli tool and basically the best fucking tool if you want to create a WebM real quick by only using your shell.</li>
|
||||
</ul>
|
||||
<p>Sample lines for webm.py <code>python webm.py -i your.mp4 your.webm</code> will convert your mp4 into a vp9 webm with max filesize of 8MB! <code>python webm.py -l 4 -vp8 -i your.mp4|webm yourwebmfor4chan.webm</code> will set the maximum filesize to 4MB and convert it using the VP8 codec and vorbis audio codec.</p>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h4>Get a WebM directly from YouTube</h4>
|
||||
<p>There are many ways on how to download videos from YouTube but most people don't know that you can grab a WebM directly from YouTube.</p>
|
||||
<p>The easiest and probably best way is jdownloader 2, all you need to do is copy a youtube link and jdownloader will add it to the link collector, from there you can select how jdownloader should download the video.</p>
|
||||
<img src="https://files.nogf.club/winfick/ad224c7e257a.png" />
|
||||
<p>Please note that HD WebM is not always available, there should always be a 360p version available.</p>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h4>coub.com Downloader</h4>
|
||||
<p><a href="https://coub.com"target="_blank">coub.com</a> is a great place to explore some nice videos, I made this little script that helps you to grab the videos from their site and instantly convert it to <code>.webm</code></p>
|
||||
<p>Download <a href="https://gitfap.de/noxy/coubdl" target="_blank">the script</a> from my GitFap repo and just run it like this: <code>bash coubdl.sh URL</code> it will then ask you how long your video should be, it will show you the duration of just the loop and the duration of the audio file used for it.</p>
|
||||
<p>After that you can specify the output max size by just typing in a single number like <code>4</code> and the script will convert your video to 4MB</p>
|
||||
<p>Requirements: <code>yotube-dl, jq, ffmpeg, ffprobe, python & webm.py</code>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h4>Some information about ffmpeg</h4>
|
||||
<p>If you want to learn more about FFmpeg check out <a href="https://de.wikipedia.org/wiki/FFmpeg">FFmpeg Wiki</a> and <a href="https://ffmpeg.org/">ffmpeg.org</a></p>
|
||||
<p>ffmpeg is able to convert your .mkv and/or .mp4 files in to .webm for example and it is really easy, you just need to type in one line of commands</p>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h5>If your uploads fails and you see this: Erroneous File Encoding! Try reencoding it</h5>
|
||||
<code><s>ffmpeg -i problem.webm -map 0:0 -map 0:1 -c:v copy solved.webm</s> <b>(PATCHED)</b></code>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h5>Windows</h5>
|
||||
<p>There are just like in Linux many ways to convert a WebM in Windows, you can even do it from the CLI like I described above, but many Windows users don't use the CMD very often, so in this section I will explain how to make a nice WebM in Windows using a GUI program!</p>
|
||||
<p>The best way is probably <a href="https://github.com/Kagami/boram">Boram by Kagami</a> it has a very user friendly GUI and works like a charm I can definetly recommend this!</p>
|
||||
<p>Or you can use <a href="https://gitgud.io/nixx/WebMConverter">WebMConverter</a> by nixx, it has all the things you need but it can't download videos directly from the internet to convert them on the fly, but it will still work!</p>
|
||||
</div>
|
||||
@endsection
|
108
resources/views/layout2/about.blade.php
Normal file
108
resources/views/layout2/about.blade.php
Normal file
@@ -0,0 +1,108 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<?php $comment = config('comments'); ?>
|
||||
<div class="page-header">
|
||||
<h3>About</h3>
|
||||
</div>
|
||||
<div class="box">
|
||||
<h4>What is w0bm.com?</h4>
|
||||
<ul>
|
||||
<li>w0bm.com is a collaborative, non-profit, modern WebM Archive</li>
|
||||
<li>We collect random videos from the internet.</li>
|
||||
<li>It's also about having fun and sharing nice videos</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h4>Following shortcuts are available:</h4>
|
||||
<ul class="strong-colored">
|
||||
<li>Press: <strong>R</strong> for random</li>
|
||||
<li>Press: <strong>→</strong>, <strong>D</strong> or <strong>L</strong> for next</li>
|
||||
<li>Press: <strong>←</strong>, <strong>A</strong> or <strong>H</strong> for prev</li>
|
||||
<li>Press: <strong>↑</strong> or <strong>W</strong> for volume up</li>
|
||||
<li>Press: <strong>↓</strong> or <strong>S</strong> for volume down</li>
|
||||
<li>Press: <strong>F</strong> for fav</li>
|
||||
<li>Scroll with your mouse up and down to trigger next or prev</li>
|
||||
<li>Press: <strong>C</strong> to toggle the comment section</li>
|
||||
<li>Press: <strong>SPACE</strong> to pause/unpause the video</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h4 class="filtersettings">Filter settings</h4>
|
||||
<p style="color:red;">Filter is now global and not logged in users will only see sfw videos</p>
|
||||
<p>You can also set your own custom filters by clicking on Filter and then inserting the tags you don't want to see while browsing.</p>
|
||||
<p>Example:</p>
|
||||
<div class="about-tags">
|
||||
<span class="tag label label-info">anime</span> <span class="tag label label-info">asians</span> <span class="tag label label-info">Crayon Pop</span> <span class="tag label label-info">gay</span>
|
||||
</div>
|
||||
<p>You will see that our videos are tagged with either <span class="label label-default" style="color:#23ff00">sfw</span> or <span class="label label-default" style="color:red">nsfw</span> these labels mean in nearly 99% of the case at least for uploads tagged with nsfw that they are nsfw, but the sfw tag isn't always sfw and you shouldn't think that we really care about this, there is probably a lot of content which is not tagged as nsfw but still is nsfw.</p>
|
||||
<p>Always take care and when you are not sure if you can browse w0bm at work, don't do it, we don't guarantee that everything is properly tagged and you will encounter something that can get you in trouble.</p>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h4 class="mods">Need one of our professionals?</h4>
|
||||
<p>Our Mods work 24/7/365 for free and are basically just here to delete your reposts</p>
|
||||
<p>Contact them if you need them:</p>
|
||||
<ul class="mötter">
|
||||
<li><a href="/user/belst">belst</a></li>
|
||||
<li><a href="/user/gz">gz</a></li>
|
||||
<li><a href="/user/Flummi">Flummi</a></li>
|
||||
<li><a href="/user/jkhsjdhjs">jkhsjdhjs</a></li>
|
||||
<li><a href="/user/Alucard">Alucard</a></li>
|
||||
<li><a href="/user/flinny">flinny</a></li>
|
||||
<li><a href="/user/milste">milste</a></li>
|
||||
</ul>
|
||||
<p>Mods can be contacted either via <code>@$modname</code> in the comments or via <a href="/irc">IRC</a></p>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h4 id="format">Comment formatting</h4>
|
||||
<ul>
|
||||
<li>>mfw w0bm is nice :3 will become: <span style="color:#80FF00;">>mfw w0bm is nice :3</span></li>
|
||||
<li>[reich]Pantsu Pantsu Pantsu[/reich] will become: <span class="reich">Pantsu Pantsu Pantsu</span></li>
|
||||
<li>[krebs]KREBS KREBS KREBS KREBS[/krebs] will become: <span class="anim">KREBS KREBS KREBS KREBS</span></li>
|
||||
<li>[rb]JA GEIL SCHNITZEL MHM JA!!!![/rb] will become: <span class="rainbow">JA GEIL SCHNITZEL MHM JA!!!!</span></li>
|
||||
<li>[spoiler]f0ck you![/spoiler] will become: <span class="spoiler">f0ck you!</span></li>
|
||||
<li>*gg* or _gg_ will become: <em>gg</em></li>
|
||||
<li>**gg** or __gg__ will become: <strong>gg</strong></li>
|
||||
<li>~~nope~~ will become: <del>nope</del></li>
|
||||
<li>`code` will become: <code>code</code></li>
|
||||
<li>--- will insert a line<hr>to seperate</li>
|
||||
</ul>
|
||||
<p>This cannot be stacked, don't do it.</p>
|
||||
<p>If you want to answer someone, simply use <code>^</code> as often as you need to point to the comment you want to answer to.</p>
|
||||
<p>If you want to ping someone directly in a comment use <code>@$user</code></p>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h4>Allowed sources for image parsing in the comment section</h4>
|
||||
<p>Filetypes: {{ join(',', $comment['allowedImageFileExtensions']) }} - only secure https links will work!</p>
|
||||
<ul>
|
||||
@foreach(array_keys($comment['allowedHosters']) as $hoster)
|
||||
@if($hoster != '')
|
||||
<li><a href="https://{{$hoster}}">{{$hoster}}</a></li>
|
||||
@endif
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="box">
|
||||
<h4>FAQ</h4>
|
||||
<p>Q: w0bm is laggy for me and I don't know why.</p>
|
||||
<p>A: It's mostly because of the background. It's very resource heavy and can cause lag on some computers, if you experience this, you should click the yellow circle on the video page to turn it off <i style="color:#fff200;" class="fa fa-adjust"></i></p>
|
||||
<p>Q: I don't know how to create WebMs</p>
|
||||
<p>A: Check out our <a href="/webm">WebM support</a> page and pick the solution you like the most!</p>
|
||||
<p>Q: Can you allow mp4s to be uploaded?</p>
|
||||
<p>A: Why do you think this website is called w0bm?</p>
|
||||
<p>Q: I want to give you guys some feedback and maybe some suggestions, where should I go?</p>
|
||||
<p>A: The best way to suggest something is by contacting us directly via <a href="/irc">IRC</a></p>
|
||||
</div>
|
||||
<div class="box">
|
||||
<h5>Disclaimer:</h5>
|
||||
<p>Content on this page must not necessarily reflect the actual views of the administration.</p>
|
||||
<p>Please note this, we try to be very open to any content, also content that is disturbing or otherwise unliked by most people, we do this for the sake of the freedom to shitpost even critical stuff, please check the filter settings if you get upset easily and filter out unwanted videos, thanks!</p>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
|
24
resources/views/layout2/banned.blade.php
Normal file
24
resources/views/layout2/banned.blade.php
Normal file
@@ -0,0 +1,24 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">YOU ARE BANNED!</h3>
|
||||
</div>
|
||||
|
||||
<div class="panel-body">
|
||||
<div style="border:0;" class="panel panel-default">
|
||||
<div class="panel-body">
|
||||
@if($perm)
|
||||
<p>Your ban is permanent fool and will <b>NOT</b> expire!</p>
|
||||
<video class="banwidth" autoplay loop src="https://b.w0bm.com/1515965864.webm">You are banned</video>
|
||||
@else
|
||||
<p class="banned">Reason: {{ $user->banreason }}</p>
|
||||
<p class="banned">Your ban will expire in {{ $user->banend->diffForHumans(null, true) }}</p>
|
||||
<img class="banwidth" src="otter-ban.png">
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<p>If you think you were banned by accident or dindu nuffin to deserve the ban contact an administrator in the <a href="/irc">IRC</a></p>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
20
resources/views/layout2/categories.blade.php
Normal file
20
resources/views/layout2/categories.blade.php
Normal file
@@ -0,0 +1,20 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<div class="page-header">
|
||||
<h3>Categories</h3>
|
||||
</div>
|
||||
<div class="" id="categories">
|
||||
@foreach($categories as $category)
|
||||
<div id="category_box_{{$category->shortname}}" class="col-sm-6 col-md-4 category">
|
||||
<div class="thumbnail">
|
||||
<img src="{{ asset('/images/cat/' . $category->shortname . '.png') }}" alt="{{$category->name}}">
|
||||
<div class="caption">
|
||||
<h3>{{$category->name}} <small>{{$category->videos()->count()}}</small></h3>
|
||||
<p>{{$category->description}}</p>
|
||||
<p><a href="{{$category->shortname}}" class="btn btn-primary" role="button">View</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
@endsection
|
4
resources/views/layout2/close.sh
Normal file
4
resources/views/layout2/close.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
cd /home/sirx/web/w0bm.com/resources/views/
|
||||
ln -sf registerclosed.blade.php register.blade.php
|
||||
php ../../artisan view:clear
|
5
resources/views/layout2/closedreg.php
Normal file
5
resources/views/layout2/closedreg.php
Normal file
@@ -0,0 +1,5 @@
|
||||
@extends('layout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h1>Registration closed - check back later</h1>
|
||||
@endsection
|
24
resources/views/layout2/comments.blade.php
Normal file
24
resources/views/layout2/comments.blade.php
Normal file
@@ -0,0 +1,24 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
@include('partials.profileheader')
|
||||
@include('partials.comlist')
|
||||
<h3>Comments</h3>
|
||||
@if(Auth::check())
|
||||
|
||||
<div class="row jkh">
|
||||
<div class="col-md" id="list">
|
||||
<div class="spinner">
|
||||
<div class="cube1"></div>
|
||||
<div class="cube2"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!--<div class="col-md-6" id="message"><h4>Select a comment to display content</h4></div>-->
|
||||
</div>
|
||||
|
||||
@else
|
||||
<div class="row jkh">
|
||||
<i>Not logged in. Please log in to view comments!</i>
|
||||
</div>
|
||||
@endif
|
||||
@endsection
|
||||
|
29
resources/views/layout2/contact.blade.php
Normal file
29
resources/views/layout2/contact.blade.php
Normal file
@@ -0,0 +1,29 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h3>Professional Support</h3>
|
||||
</div>
|
||||
<div class="box">
|
||||
<img src="/images/cockfag.png" style="margin-left: 10px; width: 15%; height: 15%; float:right;">
|
||||
<h4>Contact</h4>
|
||||
<ul>
|
||||
<li>Contact via IRC: <a href="https://webirc.n0xy.net/?join=%23w0bm">#w0bm on n0xy.net</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<div class="wrap-collabsible">
|
||||
<input id="collapsible" class="toggle" type="checkbox">
|
||||
<label for="collapsible" class="lbl-toggle">More Info & Email Contact</label>
|
||||
<div class="collapsible-content">
|
||||
<div class="content-inner">
|
||||
<p>
|
||||
<span>Need something? Let's talk then!</span>
|
||||
</p>
|
||||
<p>Email: <a href="mailto:admin@w0bm.com">admin [ät] w0bm [dotto] com</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@include('footer')
|
||||
@endsection
|
87
resources/views/layout2/contact/create.blade.php
Normal file
87
resources/views/layout2/contact/create.blade.php
Normal file
@@ -0,0 +1,87 @@
|
||||
@extends('layouts.app')
|
||||
|
||||
@section('jumbotron')
|
||||
<div class="jumbotron">
|
||||
<div class="container">
|
||||
<h1>Contact HackerPair</h1>
|
||||
<h2>Your message will be delivered to our clandestine team</h2>
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="row" style="margin-top: 25px;">
|
||||
|
||||
<div class="col-md-4 col-sm-12">
|
||||
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div class="card-title map">
|
||||
<gmap-map
|
||||
:center="{lat: 38.871026, lng: -77.055959}"
|
||||
:zoom="13"
|
||||
:options="{styles: mapStyles, streetViewControl: false, zoomControl: false, mapTypeControl: false}"
|
||||
map-type-id="roadmap"
|
||||
style="width: 100%; height: 300px;"
|
||||
>
|
||||
</gmap-map>
|
||||
<ul class="list-group list-group-flush">
|
||||
<li class="list-group-item" style="border: none;">
|
||||
<span class="fa fa-building" style="color: #FFC200; padding-right: 5px;" aria-hidden></span>
|
||||
Group 9
|
||||
</li>
|
||||
<li class="list-group-item" style="border: none;">
|
||||
<span class="fa fa-map" style="color: #FFC200; padding-right: 5px;" aria-hidden></span>
|
||||
Classified
|
||||
</li>
|
||||
<li class="list-group-item" style="border: none;">
|
||||
<span class="fa fa-map-signs" style="color: #FFC200; padding-right: 5px;" aria-hidden></span>
|
||||
Classified
|
||||
<li class="list-group-item" style="border: none;">
|
||||
<span class="fa fa-calendar" style="color: #FFC200; padding-right: 5px;" aria-hidden></span>
|
||||
support@hackerpair.com
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-8 col-sm-12">
|
||||
|
||||
<p>
|
||||
Send us your questions, comments, and suggestions and someone will be in touch within
|
||||
24 hours.
|
||||
</p>
|
||||
|
||||
{!! Form::open(['route' => 'contact.store']) !!}
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::label('name', 'Your Name') !!}
|
||||
{!! Form::text('name', null, ['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::label('email', 'E-mail Address') !!}
|
||||
{!! Form::text('email', null, ['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
{!! Form::label('msg', 'Message') !!}
|
||||
{!! Form::textarea('msg', null, ['class' => 'form-control']) !!}
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
</div>
|
||||
|
||||
{!! Form::submit('Submit', ['class' => 'btn btn-info']) !!}
|
||||
|
||||
{!! Form::close() !!}
|
||||
<br />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
@endsection
|
37
resources/views/layout2/contactUS.blade.php
Normal file
37
resources/views/layout2/contactUS.blade.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Laravel 5.4 Cloudways Contact US Form Example</title>
|
||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>Contact US Form</h1>
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success">
|
||||
{{ Session::get('success') }}
|
||||
</div>
|
||||
@endif
|
||||
{!! Form::open(['route'=>'contactus.store']) !!}
|
||||
<div class="form-group {{ $errors->has('name') ? 'has-error' : '' }}">
|
||||
{!! Form::label('Name:') !!}
|
||||
{!! Form::text('name', old('name'), ['class'=>'form-control', 'placeholder'=>'Enter Name']) !!}
|
||||
<span class="text-danger">{{ $errors->first('name') }}</span>
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('email') ? 'has-error' : '' }}">
|
||||
{!! Form::label('Email:') !!}
|
||||
{!! Form::text('email', old('email'), ['class'=>'form-control', 'placeholder'=>'Enter Email']) !!}
|
||||
<span class="text-danger">{{ $errors->first('email') }}</span>
|
||||
</div>
|
||||
<div class="form-group {{ $errors->has('message') ? 'has-error' : '' }}">
|
||||
{!! Form::label('Message:') !!}
|
||||
{!! Form::textarea('message', old('message'), ['class'=>'form-control', 'placeholder'=>'Enter Message']) !!}
|
||||
<span class="text-danger">{{ $errors->first('message') }}</span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<button class="btn btn-success">Contact US!</button>
|
||||
</div>
|
||||
{!! Form::close() !!}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
5
resources/views/layout2/deleted.blade.php
Normal file
5
resources/views/layout2/deleted.blade.php
Normal file
@@ -0,0 +1,5 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<p>Video deleted by admin</p>
|
||||
<p>Given reason: </p>
|
||||
@endsection
|
10
resources/views/layout2/email.blade.php
Normal file
10
resources/views/layout2/email.blade.php
Normal file
@@ -0,0 +1,10 @@
|
||||
You received a message from : {{ $name }}
|
||||
<p>
|
||||
Name: {{ $name }}
|
||||
</p>
|
||||
<p>
|
||||
Email: {{ $email }}
|
||||
</p>
|
||||
<p>
|
||||
Message: {{ $user_message }}
|
||||
</p>
|
3
resources/views/layout2/emails/activation.blade.php
Normal file
3
resources/views/layout2/emails/activation.blade.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<h3>Hello {{$username}}</h3>
|
||||
<p>Welcome to <a href="https://w0bm.com">w0bm.com</a>.</p>
|
||||
<p>To activate your account please click this <a href="https://w0bm.com/activate/{{$activation_token}}">link</a>.</p>
|
87
resources/views/layout2/emails/report.blade.php
Normal file
87
resources/views/layout2/emails/report.blade.php
Normal file
@@ -0,0 +1,87 @@
|
||||
<html>
|
||||
|
||||
<div style="width:100%;font-family:verdana;">
|
||||
|
||||
<h1>webm got reported!</h1>
|
||||
|
||||
<div>
|
||||
<b>Link:</b>
|
||||
<a href="{{$videoURL}}">{{$videoURL}}</a>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div>
|
||||
<table style="width:100%;border:1px solid black;border-collapse:collapse;">
|
||||
<thead>
|
||||
<tr style="border:1px solid black; padding:5px;">
|
||||
<th style="background-color:#bbbbbb;border-right:1px solid black;">Report Reasons</th>
|
||||
<th style="background-color:#bbbbbb;">Report Text</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding:10px;border-right:1px solid #bbbbbb;">
|
||||
<ul>
|
||||
{!! $reportReasons !!}
|
||||
</ul>
|
||||
</td>
|
||||
<td style="padding:10px;">
|
||||
{{$reportText}}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
<div>
|
||||
<table style="width:100%; border-collapse:collapse;border:1px solid black;">
|
||||
<tr style="border-bottom:1px solid black;">
|
||||
<th style="border-right:1px solid black;padding:5px;width:200px;">Username</th>
|
||||
<td>{!! $username !!}</td>
|
||||
</tr>
|
||||
<!--
|
||||
<tr style="border-bottom:1px solid black;">
|
||||
<th style="border-right:1px solid black;padding:5px;">Time reported</th>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr style="border-bottom:1px solid black;">
|
||||
<th style="border-right:1px solid black;padding:5px;">IP:</th>
|
||||
<td></td>
|
||||
</tr>-->
|
||||
<tr style="border-bottom:1px solid black;">
|
||||
<th style="border-right:1px solid black;padding:5px;">Video ID</th>
|
||||
<td>{{$videoID}}</td>
|
||||
</tr>
|
||||
<!--
|
||||
<tr style="border-bottom:1px solid black;">
|
||||
<th style="border-right:1px solid black;padding:5px;">Video Title</th>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr style="border-bottom:1px solid black;">
|
||||
<th style="border-right:1px solid black;padding:5px;">Video Tags</th>
|
||||
<td></td>
|
||||
</tr>-->
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
<hr>
|
||||
|
||||
<!--
|
||||
<div>
|
||||
<h3>Debug Output:</h3>
|
||||
<div style="color:green;font-family:consolas;background-color:black;">
|
||||
<pre>
|
||||
{{$debugOutput}}
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</html>
|
7
resources/views/layout2/errors/404.blade.php
Normal file
7
resources/views/layout2/errors/404.blade.php
Normal file
@@ -0,0 +1,7 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<div class="notfound">
|
||||
<h1>404 - NOT FOUND</h1>
|
||||
<img id="notfound-img" src="/404.gif">
|
||||
</div>
|
||||
@endsection
|
47
resources/views/layout2/errors/500.blade.php
Normal file
47
resources/views/layout2/errors/500.blade.php
Normal file
@@ -0,0 +1,47 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<style>
|
||||
.sf-reset .block > pre {
|
||||
background-color: #000000;
|
||||
padding: 10px 28px;
|
||||
margin-bottom: 20px;
|
||||
-webkit-border-bottom-right-radius: 0;
|
||||
-webkit-border-bottom-left-radius: 0;
|
||||
-moz-border-radius-bottomright: 0;
|
||||
-moz-border-radius-bottomleft: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom: 1px solid #1faeac;
|
||||
border-right: 1px solid #1faeac;
|
||||
border-left: 1px solid #1faeac;
|
||||
border-top: 1px solid #1faeac;
|
||||
word-wrap: break-word;
|
||||
color: green;
|
||||
}
|
||||
|
||||
.block {
|
||||
overflow: auto;
|
||||
word-break: break-all;
|
||||
max-height: 500px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<h5>l0l! Something went wrong!</h5>
|
||||
<div id="sf-resetcontent" class="sf-reset box">
|
||||
<h6>Please don't send this fucking text to an admin, we have other problems.</h6>
|
||||
<?php
|
||||
$iv = openssl_random_pseudo_bytes(16);
|
||||
?>
|
||||
@if(!env('APP_DEBUG'))
|
||||
<div class="block">
|
||||
{{bin2hex($iv)}}<br>
|
||||
{{openssl_encrypt($exception, 'aes128', env('APP_KEY'), 0, $iv)}}
|
||||
</div>
|
||||
@else
|
||||
<div class="block">
|
||||
<pre>{{$exception}}</pre>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
@endsection
|
47
resources/views/layout2/errors/503.blade.php
Normal file
47
resources/views/layout2/errors/503.blade.php
Normal file
@@ -0,0 +1,47 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Please Stand By we are just fucking this up</title>
|
||||
<link href="https://fonts.googleapis.com/css?family=Lato:100" rel="stylesheet" type="text/css">
|
||||
|
||||
<style>
|
||||
html, body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
width: 100%;
|
||||
color: #B0BEC5;
|
||||
display: table;
|
||||
font-weight: 100;
|
||||
font-family: 'Lato';
|
||||
background-color: #161618;
|
||||
}
|
||||
|
||||
.container {
|
||||
text-align: center;
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.content {
|
||||
text-align: center;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.title {
|
||||
font-size: 72px;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<div class="content">
|
||||
<div class="title">Short maintenance, brb!</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
6
resources/views/layout2/footer.blade.php
Normal file
6
resources/views/layout2/footer.blade.php
Normal file
@@ -0,0 +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="/friends">Friends</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>
|
7
resources/views/layout2/help.blade.php
Normal file
7
resources/views/layout2/help.blade.php
Normal file
@@ -0,0 +1,7 @@
|
||||
@extends('layout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h2></h2>
|
||||
</div>
|
||||
@endsection
|
||||
|
80
resources/views/layout2/index.blade.php
Normal file
80
resources/views/layout2/index.blade.php
Normal file
@@ -0,0 +1,80 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<div class="page-header">
|
||||
<h3 id="index">Index</h3>
|
||||
|
||||
<form method="get" class="d-block d-sm-none">
|
||||
<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>
|
||||
<table class="table table-hover table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Video Title</th>
|
||||
<th>Artist</th>
|
||||
<th>Songtitle</th>
|
||||
<th class="hidden-xs">Video Source</th>
|
||||
<th>Category</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($videos as $video)
|
||||
<?php
|
||||
$thumb = str_replace(".webm","",$video->file);
|
||||
?>
|
||||
<tr data-thumb="{{$thumb}}" class="indexedit" data-vid="{{$video->id}}">
|
||||
<td>
|
||||
@if($edit = auth()->check() && auth()->user()->can('edit_video'))
|
||||
<form action="/index/{{$video->id}}" method="post" id="edit_{{$video->id}}" class="indexform"></form>
|
||||
@endif
|
||||
<span class="vinfo vid"><a href="{{url($video->id)}}">{{$video->id}}</a></span>
|
||||
@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>
|
||||
@if($edit)
|
||||
<input class="form-control" type="text" name="interpret" value="{{$video->interpret or ''}}" form="edit_{{$video->id}}">
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
<span class="vinfo vsongtitle">{{$video->songtitle or ''}}</span>
|
||||
@if($edit)
|
||||
<input class="form-control" type="text" name="songtitle" value="{{$video->songtitle or ''}}" form="edit_{{$video->id}}">
|
||||
@endif
|
||||
</td>
|
||||
<td class="hidden-xs">
|
||||
<span class="vinfo vimgsource">{{$video->imgsource or ''}}</span>
|
||||
@if($edit)
|
||||
<input class="form-control" type="text" name="imgsource" value="{{$video->imgsource or ''}}" form="edit_{{$video->id}}">
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
<span class="vinfo vcategory"><a href="{{url($video->category->shortname)}}">{{$video->category->name}}</a></span>
|
||||
@if($edit)
|
||||
<select class="form-control" name="category" form="edit_{{$video->id}}">
|
||||
@foreach($categories as $cat)
|
||||
<option value="{{$cat->id}}" @if($cat->shortname === $video->category->shortname) selected @endif>{{$cat->name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
@endif
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="">
|
||||
{!! $videos->render() !!}
|
||||
</div>
|
||||
|
||||
@endsection
|
54
resources/views/layout2/layout.blade.php
Normal file
54
resources/views/layout2/layout.blade.php
Normal file
@@ -0,0 +1,54 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<meta name="_token" content="{{csrf_token()}}">
|
||||
<meta name="keywords" content="Random WebMs, WebMs, Internet Videos">
|
||||
<link rel="icon" href="/favicon.png">
|
||||
<title>@if(isset($video)){{ $video->id }} -@endif w0bm.com</title>
|
||||
<link rel="stylesheet" type="text/css" href="/njum/css/magic.css">
|
||||
<link rel="stylesheet" type="text/css" href="/njum/css/bootstrap-tagsinput.css">
|
||||
<link rel="stylesheet" type="text/css" href="/css/font-awesome.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/njum/css/bootstrap-dark.css">
|
||||
<link rel="stylesheet" type="text/css" href="/njum/css/cstms.css">
|
||||
</head>
|
||||
<body>
|
||||
@if(auth()->check())
|
||||
@include('partials.report')
|
||||
@include('partials.filterselect')
|
||||
@endif
|
||||
|
||||
@if(auth()->check())
|
||||
@if(auth()->user()->can('delete_video'))
|
||||
@include('partials.frontendedit')
|
||||
@endif
|
||||
@endif
|
||||
<canvas id="bg" class="hidden-xs"></canvas>
|
||||
<div class="container-fluid row p-0" id="wrapper">
|
||||
<div class="col-sm scrollable hidden-xs p-0"></div>
|
||||
<div class="container p-0">
|
||||
<div class="col-md p-0">
|
||||
@include('partials.navigation')
|
||||
@include('partials.flash')
|
||||
@yield('floatvid')
|
||||
@include('partials.comments')
|
||||
</div>
|
||||
<div class="col-sm scrollable p-0"></div>
|
||||
</div>
|
||||
<wip>v.1.{{ filemtime("njum/css/cstms.css") }} WIP</wip>
|
||||
<div class="col-sm scrollable hidden-xs p-0"></div>
|
||||
</div>
|
||||
</body>
|
||||
<script type="text/javascript" defer src="/njum/js/jquery.min.js"></script>
|
||||
<script type="text/javascript" defer src="/njum/js/jquery.timeago.js"></script>
|
||||
<script type="text/javascript" defer src="/njum/js/popper.min.js"></script>
|
||||
<script type="text/javascript" defer src="/njum/js/bootstrap.min.js"></script>
|
||||
<script type="text/javascript" defer src="/njum/js/bootstrap-tagsinput.min.js"></script>
|
||||
<script type="text/javascript" defer src="/njum/js/newscript.js"></script>
|
||||
<script src="/njum/js/sticky_video.js"></script>
|
||||
<script>
|
||||
// Initialize
|
||||
//new StickyVideo('sticky-container')
|
||||
</script>
|
||||
</html>
|
12
resources/views/layout2/login.blade.php
Normal file
12
resources/views/layout2/login.blade.php
Normal file
@@ -0,0 +1,12 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
@include('partials.flash')
|
||||
<form action="{{action('UserController@login')}}" method="post" class="form-signin">
|
||||
{!! csrf_field() !!}
|
||||
<input type="text" name="identifier" placeholder="Username" class="form-control">
|
||||
<input type="password" name="password" placeholder="Password" class="form-control">
|
||||
<input type="checkbox" name="remember" checked> Remember me<br>
|
||||
<button type="submit" class="btn btn-dark">Login</button>
|
||||
<a href="{{url('register')}}" class="btn btn-success">Register</a>
|
||||
</form>
|
||||
@endsection
|
21
resources/views/layout2/main.blade.php
Normal file
21
resources/views/layout2/main.blade.php
Normal file
@@ -0,0 +1,21 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
<div class="pagination">
|
||||
{!! $videos->render() !!}
|
||||
</div>
|
||||
<div class="gallery">
|
||||
|
||||
@foreach($videos as $video)
|
||||
<?php
|
||||
$thumb = str_replace(".webm","",$video->file);
|
||||
?>
|
||||
|
||||
<div class="gallery_item"">
|
||||
|
||||
|
||||
<a href="/{{$video->id}}"><img src="/thumbs/beta/{{$thumb}}.png" class="gallery__img" alt="Image 1"></a>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
@endsection
|
13
resources/views/layout2/messages.blade.php
Normal file
13
resources/views/layout2/messages.blade.php
Normal file
@@ -0,0 +1,13 @@
|
||||
@extends('profilelayout')
|
||||
@section('novidcontent')
|
||||
@include('partials.msglist')
|
||||
<div class="row">
|
||||
<div class="col-md-6" id="list">
|
||||
<div class="spinner">
|
||||
<div class="cube1"></div>
|
||||
<div class="cube2"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6" id="message"><h4>Select a message to display content</h4></div>
|
||||
</div>
|
||||
@endsection
|
3
resources/views/layout2/messages/commentanswer.blade.php
Normal file
3
resources/views/layout2/messages/commentanswer.blade.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<h3><a href="{{url('user/' . $user->username)}}">{{$user->username}}</a> answered on your comment.</h3>
|
||||
<p><a href="{{url('user/' . $user->username)}}">{{$user->username}}</a> answered on your comment on the following video: <a href="{{url($video->id)}}">/{{$video->id}}</a></p>
|
||||
@include('messages.commentpreview')
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user