diff --git a/app/Http/Controllers/tmp/test.png b/app/Http/Controllers/tmp/test.png index 4cf3dae..7f62038 100644 Binary files a/app/Http/Controllers/tmp/test.png and b/app/Http/Controllers/tmp/test.png differ diff --git a/app/Http/routes.php b/app/Http/routes.php index 56d3add..9b47f88 100644 --- a/app/Http/routes.php +++ b/app/Http/routes.php @@ -120,7 +120,7 @@ Route::group(["middleware" => "theme"], function() { Route::get('todo', function() { return view('todo'); })->middleware('auth'); Route::get('contact', function() { return view('contact'); }); #Route::get('terms', function() { return view('tos'); })->middleware('auth'); - Route::get('privacy', function() { return view('privacy'); })->middleware('auth'); + Route::get('privacy', function() { return view('privacy'); }); Route::get('stats', function() { return view('stats', [ 'user_count' => \App\Models\User::count(), @@ -149,7 +149,7 @@ Route::group(["middleware" => "theme"], function() { # ]); #}); #Route::get('login', function() { return view('login'); }); - Route::get('donations', function() { return view('donation'); }); + Route::get('donations', function() { return view('donation'); })->middleware('auth'); Route::get('login', 'UserController@loggain'); #Route::get('counter-strike', function() { return view('counter-strike'); }); @@ -182,4 +182,4 @@ Route::group(["middleware" => "theme"], function() { return $form; }); -}); \ No newline at end of file +}); diff --git a/config/captcha.php b/config/captcha.php index 8ef0c3f..a7f03d1 100644 --- a/config/captcha.php +++ b/config/captcha.php @@ -40,9 +40,11 @@ return [ 'contrast' => -3, ], 'mini' => [ - 'length' => 3, - 'width' => 60, - 'height' => 32, + 'length' => 7, + 'width' => 125, + 'height' => 32, + 'bgImage' => false, + 'bgColor' => '#131313', ], 'inverse' => [ 'length' => 5, diff --git a/public/css/w0bmcustom.css b/public/css/w0bmcustom.css index 8e917c0..28f3e1e 100644 --- a/public/css/w0bmcustom.css +++ b/public/css/w0bmcustom.css @@ -8,7 +8,7 @@ font-family: 'Oswald'; font-style: normal; font-weight: 400; - src: local('Oswald Regular'), local('Oswald-Regular'), url(//s.w0bm.com/fonts/Oswald_Cyrillic.woff2) format('woff2'); + src: local('Oswald Regular'), local('Oswald-Regular'), url(//w0bm.com/fonts/Oswald_Cyrillic.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; } /* vietnamese */ @@ -16,7 +16,7 @@ font-family: 'Oswald'; font-style: normal; font-weight: 400; - src: local('Oswald Regular'), local('Oswald-Regular'), url(//s.w0bm.com/fonts/Odwald_Vietnamese.woff2) format('woff2'); + src: local('Oswald Regular'), local('Oswald-Regular'), url(//w0bm.com/fonts/Odwald_Vietnamese.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB; } /* latin-ext */ @@ -24,7 +24,7 @@ font-family: 'Oswald'; font-style: normal; font-weight: 400; - src: local('Oswald Regular'), local('Oswald-Regular'), url(//s.w0bm.com/fonts/Oswald_Latin_ext.woff2) format('woff2'); + src: local('Oswald Regular'), local('Oswald-Regular'), url(//w0bm.com/fonts/Oswald_Latin_ext.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @@ -32,7 +32,7 @@ font-family: 'Oswald'; font-style: normal; font-weight: 400; - src: local('Oswald Regular'), local('Oswald-Regular'), url(//s.w0bm.com/fonts/Oswald_latin.woff2) format('woff2'); + src: local('Oswald Regular'), local('Oswald-Regular'), url(//w0bm.com/fonts/Oswald_latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } /* Oswal Test End */ @@ -44,7 +44,7 @@ font-family: 'Play'; font-style: normal; font-weight: 400; - src: local('Play Regular'), local('Play-Regular'), url(//s.w0bm.com/fonts/6aez4K2oVqwIvtg2H68T.woff2) format('woff2'); + src: local('Play Regular'), local('Play-Regular'), url(//w0bm.com/fonts/6aez4K2oVqwIvtg2H68T.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; } /* cyrillic */ @@ -52,7 +52,7 @@ font-family: 'Play'; font-style: normal; font-weight: 400; - src: local('Play Regular'), local('Play-Regular'), url(//s.w0bm.com/fonts/6aez4K2oVqwIvtE2H68T.woff2) format('woff2'); + src: local('Play Regular'), local('Play-Regular'), url(//w0bm.com/fonts/6aez4K2oVqwIvtE2H68T.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; } /* greek */ @@ -60,7 +60,7 @@ font-family: 'Play'; font-style: normal; font-weight: 400; - src: local('Play Regular'), local('Play-Regular'), url(//s.w0bm.com/fonts/6aez4K2oVqwIvtY2H68T.woff2) format('woff2'); + src: local('Play Regular'), local('Play-Regular'), url(//w0bm.com/fonts/6aez4K2oVqwIvtY2H68T.woff2) format('woff2'); unicode-range: U+0370-03FF; } /* vietnamese */ @@ -68,7 +68,7 @@ font-family: 'Play'; font-style: normal; font-weight: 400; - src: local('Play Regular'), local('Play-Regular'), url(//s.w0bm.com/fonts/6aez4K2oVqwIvto2H68T.woff2) format('woff2'); + src: local('Play Regular'), local('Play-Regular'), url(//w0bm.com/fonts/6aez4K2oVqwIvto2H68T.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB; } /* latin-ext */ @@ -76,7 +76,7 @@ font-family: 'Play'; font-style: normal; font-weight: 400; - src: local('Play Regular'), local('Play-Regular'), url(//s.w0bm.com/fonts/6aez4K2oVqwIvts2H68T.woff2) format('woff2'); + src: local('Play Regular'), local('Play-Regular'), url(//w0bm.com/fonts/6aez4K2oVqwIvts2H68T.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @@ -84,7 +84,7 @@ font-family: 'Play'; font-style: normal; font-weight: 400; - src: local('Play Regular'), local('Play-Regular'), url(//s.w0bm.com/fonts/6aez4K2oVqwIvtU2Hw.woff2) format('woff2'); + src: local('Play Regular'), local('Play-Regular'), url(//w0bm.com/fonts/6aez4K2oVqwIvtU2Hw.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } /* Play Font End */ diff --git a/resources/views/layout1/apply.blade.php b/resources/views/layout1/apply.blade.php index 681884a..835db9b 100644 --- a/resources/views/layout1/apply.blade.php +++ b/resources/views/layout1/apply.blade.php @@ -1,7 +1,60 @@ @extends('layout') @section('content') @include('partials.flash') - -user limit reached 6969 - + +
+
+ {!! csrf_field() !!} +
+
+ {!! Form::text('username', null, ['class' => 'form-control', 'placeholder' => 'Username']) !!} +
+
+
+
+ {!! Form::email('email', null, ['class' => 'form-control', 'placeholder' => 'Email | Must be valid! Confirmation will be sent out']) !!} +
+
+
+
+ {!! Form::email('email_confirmation', null, ['class' => 'form-control', 'placeholder' => 'Email Confirmation']) !!} +
+
+
+
+ {!! Form::password('password', ['class' => 'form-control', 'placeholder' => 'Password']) !!} +
+
+
+
+ {!! Form::password('password_confirmation', ['class' => 'form-control', 'placeholder' => 'Password Confirmation']) !!} +
+
+
+ {!!captcha_img('mini')!!} +
+
+
+

I am at least 18 years or older and I have read and understand the Rules

+
+
+ +
+
+
+
+ @endsection + diff --git a/resources/views/layout1/index.blade.php b/resources/views/layout1/index.blade.php index 4a242d1..4897795 100644 --- a/resources/views/layout1/index.blade.php +++ b/resources/views/layout1/index.blade.php @@ -1,8 +1,7 @@ @extends('profilelayout') @section('content')
-

Total amount of registered users: {{$user_count}}

+

Total amount of registered users: {{$user_count}} / 3000

Total amount of uploads: {{$upload_count}}

Total amount of comments: {{$comment_count}}

Latest video /{{$latest_video}}

diff --git a/resources/views/layout1/video.blade.php b/resources/views/layout1/video.blade.php index b6becb5..97d1d7f 100644 --- a/resources/views/layout1/video.blade.php +++ b/resources/views/layout1/video.blade.php @@ -144,7 +144,7 @@
diff --git a/resources/views/layout5/upload.blade.php b/resources/views/layout5/upload.blade.php index c020ba5..4e91114 100644 --- a/resources/views/layout5/upload.blade.php +++ b/resources/views/layout5/upload.blade.php @@ -3,5 +3,74 @@

Upload

-
Sorry, but uploading from mobile devices is not allowed at the moment!
+
+
+
+
+
+ {!! Form::text('videotitle', null, ['id' => 'videotitle', 'class' => 'form-control', 'placeholder' => 'Video Title']) !!} +
+
+
+ {!! Form::text('interpret', null, ['id' => 'interpret', 'class' => 'form-control', 'placeholder' => 'Artist']) !!} +
+
+
+
+ {!! Form::text('songtitle', null, ['id' => 'songtitle', 'class' => 'form-control', 'placeholder' => 'Songtitle']) !!} +
+
+
+
+ {!! Form::text('imgsource', null, ['id' => 'imgsource', 'class' => 'form-control', 'placeholder' => 'Video Source']) !!} +
+
+
+
+ id] = $cat->name; + ?> + {!! Form::select('category', $categories, 8, ['id' => 'category', 'class' => 'form-control']) !!} +
+
+
+
+ {!! Form::checkbox('nsfw', 'true', false, ['id' => 'nsfw']) !!} +
+
+
+
+ {!! Form::text('tags', null, ['id' => 'tags_upload', 'class' => 'form-control', 'placeholder' => 'Input tags...', 'name' => 'tags', 'data-role' => 'tagsinput']) !!} +
+
+
+ @include('partials.flash') +
+ +
+ +
+
+ +

Before you fire the laz0r make sure you have read the Rules!
With great power comes great responsibility

+

10 uploads every 12 hours. – Maximum filesize: 40MB. – Only .webm (vp8/vp9) with sound allowed. Need help?

+
+
+ +
+
@endsection