server ver
This commit is contained in:
@@ -1,51 +0,0 @@
|
||||
@extends('layout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h1>4ducky Registration</h1>
|
||||
</div>
|
||||
<div class="row">
|
||||
<form class="form-horizontal" method="post" action="{{action('UserController@store')}}">
|
||||
{!! csrf_field() !!}
|
||||
<div class="form-group">
|
||||
<label for="username" class="col-sm-2 control-label">Username</label>
|
||||
<div class="col-sm-10">
|
||||
{!! Form::text('username', null, ['class' => 'form-control', 'placeholder' => 'Username']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email" class="col-sm-2 control-label">Email</label>
|
||||
<div class="col-sm-10">
|
||||
{!! Form::email('email', null, ['class' => 'form-control', 'placeholder' => 'Email']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email_confirmation" class="col-sm-2 control-label">Email Confirmation</label>
|
||||
<div class="col-sm-10">
|
||||
{!! Form::email('email_confirmation', null, ['class' => 'form-control', 'placeholder' => 'Email Confirmation']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password" class="col-sm-2 control-label">Password</label>
|
||||
<div class="col-sm-10">
|
||||
{!! Form::password('password', ['class' => 'form-control', 'placeholder' => 'Password']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password_confirmation" class="col-sm-2 control-label">Password Confirmation</label>
|
||||
<div class="col-sm-10">
|
||||
{!! Form::password('password_confirmation', ['class' => 'form-control', 'placeholder' => 'Password Confirmation']) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-2 col-sm-10">
|
||||
{!! Recaptcha::render() !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-2 col-sm-10">
|
||||
<button type="submit" class="btn btn-primary">Register</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
@endsection
|
@@ -1,92 +1,6 @@
|
||||
@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 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>
|
||||
{!!$blah!!}
|
||||
@include('footer')
|
||||
@endsection
|
||||
|
||||
|
7
resources/views/layout1/apply-down.blade.php
Normal file
7
resources/views/layout1/apply-down.blade.php
Normal file
@@ -0,0 +1,7 @@
|
||||
@extends('layout')
|
||||
@section('content')
|
||||
@include('partials.flash')
|
||||
|
||||
user limit reached 6969
|
||||
|
||||
@endsection
|
@@ -1,60 +1 @@
|
||||
@extends('layout')
|
||||
@section('content')
|
||||
@include('partials.flash')
|
||||
<div class="page-header">
|
||||
<h5>Register your w0bm.com Account</h5>
|
||||
<p style="color:red;">Note: I do not reset passwords, make sure to pick a strong password which you can remember, write down/save to your keepass to not lose access, otherwise you would need to create a new account!</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 | Must be valid! Confirmation will be sent out']) !!}
|
||||
</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">
|
||||
{!!captcha_img('mini')!!} <input class="form-control" type="text" name="captcha" placeholder="Verify Captcha">
|
||||
</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
|
||||
|
||||
closed, come back later
|
||||
|
@@ -1,20 +1,21 @@
|
||||
@extends('profilelayout')
|
||||
@extends('layout')
|
||||
@section('content')
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">YOU ARE BANNED ;_;</h3>
|
||||
<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 class="banned">Reason: {{ $user->banreason }}</p>
|
||||
<p>Your ban is permanent fool and will <b>NOT</b> expire!</p>
|
||||
<video class="banwidth" autoplay loop src="https://w0bm.com/b/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>
|
||||
<video class="banwidth" autoplay loop src="https://w0bm.com/b/1515965864.webm">You are banned</video>
|
||||
<video class="banwidth" autoplay loop src="//b/1515965864.webm">You are banned</video>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -20,4 +20,5 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@include('footer')
|
||||
@endsection
|
||||
|
@@ -1,34 +1,34 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<div class="page-header">
|
||||
<h3>IRC</h3>
|
||||
<h3>IRC/[matrix]</h3>
|
||||
</div>
|
||||
|
||||
<div class="irc-content">
|
||||
<div class="webchat">
|
||||
{{--<div class="webchat">
|
||||
@if(auth()->check())
|
||||
<iframe src="https://webirc.n0xy.net?nick={{Auth::user()->username}}&join=%23w0bm&username={{Auth::user()->username}}"></iframe>
|
||||
@else
|
||||
<iframe src="https://webirc.n0xy.net?join=%23w0bm&"></iframe>
|
||||
@endif
|
||||
</div>
|
||||
<div class="irc-info">
|
||||
</div>--}}
|
||||
<div class="irc-matrix-info">
|
||||
<h5>IRC</h5>
|
||||
<h6>irc.n0xy.net +6697 (ssl only) #w0bm</h6>
|
||||
<p>Don't have a desktop client? Why not join our Network via webirc? <a href="https://webirc.n0xy.net/?join=%23w0bm" target="about_blank">>>webirc.n0xy.net</a></p>
|
||||
<p>More information: <a href="https://n0xy.net">n0xy.net</a></p>
|
||||
<h5>[matrix]</h5>
|
||||
<h6>#w0bm on the [matrix] network</h6>
|
||||
<p><a href="https://matrix.to/#/#!w0bm:f0ck.it?via=f0ck.it&via=matrix.org&via=f0.gg">#!w0bm:f0ck.it</a></p>
|
||||
<p>Alternatively you can use the Element web client hosted at <a href="https://element.f0ck.it">f0ck.it</a> to connect to our channel, it has some modifications to make chatting more comfy: <br><small>Note: Registrations are disabled, you can still use this client with every homeserver you have an account on!</small></p>
|
||||
<ul>
|
||||
<li>w0bm.com Stylesheet</li>
|
||||
<li>Greentexting</li>
|
||||
<li>For the German users: The German translation has been updated to not include genderlanguage bullshit</li>
|
||||
<li>A better notification sound</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@if(auth()->check())
|
||||
<div class="page-header">
|
||||
<h3>Discord</h3>
|
||||
</div>
|
||||
<p>Hello there! Join our Discord and have a nice chat with us!</p>
|
||||
<p>w0bm <a href="/rules">rules</a> apply on the discord aswell also the server language is english.</p>
|
||||
<iframe src="https://discordapp.com/widget?id=743079555379626006&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe>
|
||||
@else
|
||||
@endif
|
||||
@include('footer')
|
||||
@include('footer')
|
||||
@endsection
|
||||
|
||||
|
@@ -11,16 +11,21 @@
|
||||
<meta name="keywords" content="Random WebMs, WebMs, Internet Videos">
|
||||
<meta name="robots" content="noindex">
|
||||
@if(auth()->check())<meta name="Description" content="Tags:@if(isset($video)) {{ $video->getTagListAttribute() }} @endif">@endif
|
||||
<meta name="description" content="@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 name="twitter:card" content="summary_large_image" />
|
||||
@if(auth()->check())<meta property="og:description" content="Tags:@if(isset($video)) {{ $video->getTagListAttribute() }} @endif">@endif
|
||||
@if(isset($video))
|
||||
@if($video->isSfw())
|
||||
<meta property="og:image" content="@if(isset($video))/thumbs/beta/{{str_replace(".webm","",$video->file)}}.png"@endif/>
|
||||
@else
|
||||
<meta name="twitter:image" content="@if(isset($video))/thumbs/beta/{{str_replace(".webm","",$video->file)}}.png"@endif/>
|
||||
@else
|
||||
<meta property="og:image" content="@if(isset($video))/thumbs/blurred/{{str_replace(".webm","",$video->file)}}_blurred.png"@endif/>
|
||||
@endif
|
||||
<meta name="twitter:image" content="@if(isset($video))/thumbs/blurred/{{str_replace(".webm","",$video->file)}}_blurred.png"@endif/>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@if(auth()->check())<meta property="og:video" content="@if(isset($video))/b/{{ $video->file }} @endif">@endif
|
||||
<meta property="og:url" content="@if(isset($video))/{{ $video->id }}@endif">
|
||||
<meta property="og:video:type" content="video/webm">
|
||||
|
@@ -26,7 +26,7 @@
|
||||
?>
|
||||
|
||||
@foreach ($files as $file)
|
||||
<a title=":{{$file['filename']}}:" href="javascript:;" onclick="formatTextEmoji ('{{$file['filename']}}');"><img class="comment_emoji_small" src="//w0bm.com/images/comments/{{$file['basename']}}"></a>
|
||||
<a class="w0bm_emoji_anchor" title=":{{$file['filename']}}:" href="javascript:;" onclick="formatTextEmoji ('{{$file['filename']}}');"><img class="comment_emoji_small" src="//w0bm.com/images/comments/{{$file['basename']}}"></a>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -11,13 +11,17 @@
|
||||
</a>
|
||||
@endif
|
||||
</div>-->
|
||||
<!--<div id="survey">
|
||||
Help to improve w0bm, click <a href="https://www.strawpoll.me/20512203" target="_blank">here</a>
|
||||
</div>-->
|
||||
{{--<div id="matrix">
|
||||
<span id="bluepill"></span> <a href="/matrix">[matrix] It's time for your redpill honey</a> <span id="redpill"></span>
|
||||
</div>--}}
|
||||
@if(Auth::check())
|
||||
@if($video->id == '30186')
|
||||
@include('partials.thread_closed')
|
||||
@else
|
||||
@include('partials.commentform')
|
||||
@endif
|
||||
|
||||
@else
|
||||
@endif
|
||||
|
||||
@if(Auth::check())
|
||||
<div id="comment_container_scrollable" class="comments hidden-xs">
|
||||
@@ -49,5 +53,5 @@
|
||||
<div class="panel-footer">by w0bm ∞</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
@@ -5,8 +5,7 @@
|
||||
<label for="tag-add-toggle">
|
||||
<li id="tagadder" class="addtagsy">[+Add Tag]</li>
|
||||
</label>
|
||||
<li class="addtagsy btc-d"><a href="/donations"><i class="fa fa-bitcoin" aria-hidden="true"></i></a></li>
|
||||
<li class="addtagsy"><a href="/irc">Chat </a></li>
|
||||
<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>
|
||||
@@ -22,7 +21,7 @@
|
||||
</div>
|
||||
@else
|
||||
<ul class="nav navbar-nav info-nav">
|
||||
<li class="addtagsy"><a href="/irc">Chat </a></li>
|
||||
<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>
|
||||
|
3
resources/views/layout1/partials/thread_closed.php
Normal file
3
resources/views/layout1/partials/thread_closed.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<div class="thread_closed">
|
||||
<span>Thread closed! ;__;</span>
|
||||
</div>
|
@@ -35,4 +35,5 @@
|
||||
@endforeach
|
||||
</ol>
|
||||
</div>
|
||||
@include('footer')
|
||||
@endsection
|
||||
|
17
resources/views/layout1/settings.blade.php
Normal file
17
resources/views/layout1/settings.blade.php
Normal file
@@ -0,0 +1,17 @@
|
||||
@extends('profilelayout')
|
||||
@section('content')
|
||||
<h4>Layouts</h4>
|
||||
<div class="box">
|
||||
<h5>Change how you experience w0bm.com</h5>
|
||||
<ul class="layout-ul">
|
||||
<li><a class="nav-link layout1" style="font-size: 10px;" href="/api/user/layout?layout=1">w0bm</a>The default look</li>
|
||||
<li><a class="nav-link layout2" style="font-size: 10px;" href="/api/user/layout?layout=2">Njum</a>Alternative approach</li>
|
||||
<li><a class="nav-link layout3" style="font-size: 10px;" href="/api/user/layout?layout=3">z0mb</a>z0r.de layout + theme</li>
|
||||
<li><a class="nav-link layout3" style="font-size: 10px;" href="/api/user/layout?layout=4">nojs</a>The nojs layout (broken)</li>
|
||||
<li><a class="nav-link layout3" style="font-size: 10px;" href="/api/user/layout?layout=5">Mobile</a>The mobile optimized default layout</li>
|
||||
<li><a class="nav-link layout3" style="font-size: 10px;" href="/api/user/layout?layout=6">Marderchen</a>This is marders Layout, it has no async js</li>
|
||||
<li><a class="nav-link layout3" style="font-size: 10px;" href="/api/user/layout?layout=7">2017</a>The layout from 2017</li>
|
||||
<li><a class="nav-link layout3" style="font-size: 10px;" href="/api/user/layout?layout=8">2015</a>The OG w0bm</li>
|
||||
</ul>
|
||||
</div>
|
||||
@endsection
|
Reference in New Issue
Block a user