<!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="/z0mb/css/bootstrap-dark.css?v={{ filemtime("z0mb/css/bootstrap-dark.css") }}">
    <link rel="stylesheet" type="text/css" href="/z0mb/css/cstms.css?v={{ filemtime("z0mb/css/cstms.css") }}">
    <link rel="stylesheet" type="text/css" href="/z0mb/css/z0mb.css?v={{ filemtime("z0mb/css/z0mb.css") }}">
</head>
<body>
    @include('partials.handlebars')
@if(auth()->check())
    @include('partials.filterselect')
    @if(isset($user) && auth()->user()->can('edit_user'))
        @include('partials.banmenu')
    @endif
@endif
    <div data-simplebar class="container-fluid">
                                   <div id="zomgmenu">
                <a href="/">Random</a> |
                <a href="/index">index</a> |
                <a href="/categories">categories</a> |
                <a href="irc://irc.n0xy.net/w0bm">IRC</a> |
                <a href="/about">About</a> |
                <div class="layoutkek">
                <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">w0bm.com</button>
        <br>
        <button id="layout2">Njum</button>
        <br>
        <button id="layout4">nojsz0mbie</button>
        <br>
        <button id="layout5">m0bile</button>
    </div>
</ul>
</li>
</div>

                <br>
                <a href="{{url('user', Auth::user()->username)}}">{{Auth::user()->username}}</a>
                <a href="{{url('messages')}}" style="font-size: 10px;">[ {{Auth::user()->messagesRecv()->unread()->count()}} ]</a> 
                <a href="#" data-toggle="modal" style="font-size: 10px;" data-target="#filterselectmodal">[ filter ]</a>
                <a style="font-size: 10px;" href="{{url('logout')}}">[ logout ]</a> |
                <a href="{{url('upload')}}">[ upload ]</a>
</div>
        <div class="container">
            @yield('novidcontent')
        </div>
    </div>
</body>
<script type="text/javascript" defer src="/z0mb/js/jquery.min.js"></script>
<script type="text/javascript" defer src="/z0mb/js/jquery.timeago.js"></script>
<script type="text/javascript" defer src="/z0mb/js/popper.min.js"></script>
<script type="text/javascript" defer src="/z0mb/js/bootstrap.min.js"></script>
<script type="text/javascript" defer src="/njum/js/bootstrap-tagsinput.min.js"></script>
<script type="text/javascript" defer src="/z0mb/js/handlebars.min.js"></script>
<script type="text/javascript" defer src="/z0mb/js/newscript.js?v={{ filemtime("z0mb/js/newscript.js") }}"></script>
</html>