server ver

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

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

View File

@@ -0,0 +1,4 @@
@extends('profilelayout')
@section('novidcontent')
{{$blah}}
@endsection

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

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

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

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

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

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

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

0
resources/views/layout2/contactUS.blade.php Normal file → Executable file
View File

0
resources/views/layout2/deleted.blade.php Normal file → Executable file
View File

0
resources/views/layout2/email.blade.php Normal file → Executable file
View File

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

0
resources/views/layout2/emails/report.blade.php Normal file → Executable file
View File

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

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

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

0
resources/views/layout2/footer.blade.php Normal file → Executable file
View File

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

0
resources/views/layout2/index.blade.php Normal file → Executable file
View File

0
resources/views/layout2/irc.blade.php Normal file → Executable file
View File

7
resources/views/layout2/layout.blade.php Normal file → Executable file
View File

@@ -15,15 +15,10 @@
</head>
<body>
@if(auth()->check())
@include('partials.frontendedit')
@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 slideDownReturn"></canvas>
<div class="container-fluid row p-0" id="wrapper">
<div class="col-sm scrollable hidden-xs p-0"></div>

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

0
resources/views/layout2/main.blade.php Normal file → Executable file
View File

View File

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

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

View File

View File

View File

View File

View File

View File

View File

0
resources/views/layout2/nav.blade.php Normal file → Executable file
View File

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

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

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

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

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

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

View File

View File

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

View File

17
resources/views/layout2/partials/frontendedit.blade.php Normal file → Executable file
View File

@@ -9,10 +9,11 @@
</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>
@if(auth()->check() && auth()->user()->can('delete_video'))
<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>
@@ -23,8 +24,9 @@
<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">
@endif
</div>
@if(auth()->check() && auth()->user()->can('delete_video'))
<div class="form-group">
<label for="categoryselect">Category</label>
<select class="form-control" name="category" id="categoryselect">
@@ -33,6 +35,7 @@
@endforeach
</select>
</div>
@endif
<div class="form-group">
<label for="tageditor">Add Tags</label>
<div class="frontendedittags">
@@ -40,13 +43,15 @@
</div>
</div>
<div class="deleteit">
@endif @if(auth()->check() && auth()->user()->can('delete_video'))<a class="delete_video" href="#"><i class="fa fa-trash fa-lg"></i> Remove upload</a>
@if(auth()->check() && auth()->user()->can('delete_video'))<a class="delete_video" href="#"><i class="fa fa-trash fa-lg"></i> Remove upload</a>@endif
</div>
</div>
@if(auth()->check() && auth()->user()->can('delete_video'))
<div class="modal-footer">
<button type="button" class="btn btn-dark" data-dismiss="modal">Close</button>
<button type="submit" class="btn btn-dark">Save changes</button>
</div>
@endif
</div>
</div>
</div>

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

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

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

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

2
resources/views/layout2/partials/navigation.blade.php Normal file → Executable file
View File

@@ -51,8 +51,6 @@
<div id="layoutSwitcher" class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" id="layout1" href="#">w0bm.com</a>
<a class="dropdown-item" id="layout3" href="#">z0mb</a>
<a class="dropdown-item" id="layout4" href="#"><span style="font-size:10px;">nojs</span>z0mbie</a>
<a class="dropdown-item" id="layout5" href="#">m0bile</a>
</div>
</li>

View File

View File

0
resources/views/layout2/partials/report.blade.php Normal file → Executable file
View File

6
resources/views/layout2/partials/tags.blade.php Normal file → Executable file
View File

@@ -24,11 +24,11 @@
@if(count($video->tags))
@foreach($video->tags as $tag)
@if($tag == 'sfw')
<span class="badge badge-sfw"><a href="/index?q={{$tag->normalized}}" class="badge">{{$tag->name}}</a>@if(Auth::check() && Auth::user()->can('edit_video')) <a class="delete-tag badge" href="#"><i class="fa fa-times"></i></a></span>@endif
@if(Auth::check() && Auth::user()->can('edit_video'))<span class="badge badge-sfw"><a href="/index?q={{$tag->normalized}}" class="badge">{{$tag->name}}</a><a class="delete-tag badge" href="#"><i class="fa fa-times"></i></a></span>@else<span class="badge badge-sfw"><a href="/index?q={{$tag->normalized}}" class="badge">{{$tag->name}}</a></span>@endif
@elseif($tag == 'nsfw')
<span class="badge badge-nsfw"><a href="/index?q={{$tag->normalized}}" class="badge nsfw-text">{{$tag->name}}</a>@if(Auth::check() && Auth::user()->can('edit_video')) <a class="delete-tag badge" href="#"><i class="fa fa-times"></i></a></span>@endif
@if(Auth::check() && Auth::user()->can('edit_video'))<span class="badge badge-nsfw"><a href="/index?q={{$tag->normalized}}" class="badge nsfw-text">{{$tag->name}}</a><a class="delete-tag badge" href="#"><i class="fa fa-times"></i></a></span>@else<span class="badge badge-nsfw"><a href="/index?q={{$tag->normalized}}" class="badge nsfw-text">{{$tag->name}}</a></span>@endif
@else
<span class="badge badge-secondary"><a href="/index?q={{$tag->normalized}}" class="badge">{{$tag->name}}</a>@if(Auth::check() && Auth::user()->can('edit_video')) <a class="delete-tag badge" href="#"><i class="fa fa-times"></i></a></span>@endif
@if(Auth::check() && Auth::user()->can('edit_video'))<span class="badge badge-secondary"><a href="/index?q={{$tag->normalized}}" class="badge">{{$tag->name}}</a><a class="delete-tag badge" href="#"><i class="fa fa-times"></i></a></span>@else<span class="badge badge-secondary"><a href="/index?q={{$tag->normalized}}" class="badge">{{$tag->name}}</a></span>@endif
@endif
@endforeach
@else

View File

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

0
resources/views/layout2/partials/uploadinfo.blade.php Normal file → Executable file
View File

0
resources/views/layout2/partials/videoinfo.blade.php Normal file → Executable file
View File

0
resources/views/layout2/privacy.blade.php Normal file → Executable file
View File

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

0
resources/views/layout2/profilelayout.blade.php Normal file → Executable file
View File

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

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

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

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

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

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

0
resources/views/layout2/tos.blade.php Normal file → Executable file
View File

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

0
resources/views/layout2/upload.blade.php Normal file → Executable file
View File

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

View File

View File

@@ -37,11 +37,9 @@
<button type="button" class="btn btn-dark" id="togglebg"><i class="fa fa-power-off fa-lg"></i></button>
</li>
<li class="legacy-item">
@if(auth()->check())
@if(auth()->user()->can('delete_video'))
<button id="webm_edit" class="btn btn-dark" data-toggle="modal" data-target="#webmeditmodal"><i class="fa fa-edit fa-lg"></i></button>
@endif
@endif
<li class="legacy-item">
<button id="webm_report" class="btn btn-dark" data-toggle="modal" data-target="#webmreportmodal"><i class="fa fa-warning fa-md"></i></button>
</li>

View File

View File

@@ -23,21 +23,4 @@
<div class="added">
<strong>Added:</strong> <a id="timestamp" title="{{$video->created_at->toIso8601String()}}">{{$video->created_at->diffForHumans()}}</a> <time class="timeago" data-toggle="tooltip" datetime="{{$video->created_at->toIso8601String()}}" title="{{$video->created_at->toIso8601String()}}"></time>
</div>
<div class="toggo tag-panel-body smallfontsize">
<div id="tag-display " class="tag-panel-body">
@if(count($video->tags))
@foreach($video->tags as $tag)
@if($tag == 'sfw')
<span class="badge badge-sfw"><a href="/index?q={{$tag->normalized}}" class="default-link">{{$tag->name}}</a></span>
@elseif($tag == 'nsfw')
<span class="badge badge-danger"><a href="/index?q={{$tag->normalized}}" class="default-link">{{$tag->name}}</a></span>
@else
<span class="badge badge-secondary"><a href="/index?q={{$tag->normalized}}" class="default-link">{{$tag->name}}</a></span>
@endif
@endforeach
@else
No tags yet ...
@endif
</div>
</div>
</div>

View File

View File

@@ -16,7 +16,8 @@
<strong>Uploader:</strong> <a class="text-dark" href="{{ url("user/" . $video->user->username) }}">{!! $video->user->displayName() !!}</a></span> <time class="timeago" data-toggle="tooltip" datetime="{{$video->created_at->toIso8601String()}}" title="{{$video->created_at->toIso8601String()}}"></time></a>
</div></li>
</ul>
@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
gfgf
<a class="edit_video" href="#" data-toggle="modal" data-target="#webmeditmodal">[edit]</a>@if(auth()->check() && auth()->user()->can("delete_video"))<a class="delete_video" href="#">[del]</a>@endif
</div>
<div class="tags">

View File

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

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