2021-12-04 11:19:47 +00:00
|
|
|
<nav class="navbar navbar-expand-lg">
|
|
|
|
<a class="navbar-brand" href="/"><span class="f0ck" width="" height="">F0CK</span></a>
|
|
|
|
<div class="navigation-links">
|
|
|
|
<ul class="navbar-nav">
|
|
|
|
<li class="nav-item dropdown">
|
|
|
|
@if(session)
|
2021-12-23 05:06:12 +00:00
|
|
|
<a class="nav-link" href="#" content="{{ session.user }}" data-toggle="dropdown">
|
2022-01-05 19:21:50 +00:00
|
|
|
<img src="@if(session.avatar)/t/{{ session.avatar }}.webp@else/s/img/ava/default.png@endif" class="avatar" /> {{ session.user }}
|
2021-12-23 05:06:12 +00:00
|
|
|
</a>
|
2021-12-04 11:19:47 +00:00
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a href="/admin">adminpanel</a></li>
|
2021-12-30 02:39:16 +00:00
|
|
|
<li><a href="/user/{{ session.user.toLowerCase() }}/f0cks">my f0cks</a></li>
|
2022-01-02 05:52:52 +00:00
|
|
|
<li><a href="/user/{{ session.user.toLowerCase() }}/favs">my favs</a></li>
|
2021-12-23 05:06:12 +00:00
|
|
|
<li><a href="/settings">settings</a></li>
|
2022-05-06 12:20:11 +00:00
|
|
|
<li><a href="/search">search</a></li>
|
2021-12-04 11:19:47 +00:00
|
|
|
<li><a href="/about">About</a></li>
|
2021-12-23 09:07:12 +00:00
|
|
|
<li><a href="/ranking">Ranking</a></li>
|
2021-12-04 11:19:47 +00:00
|
|
|
<li><a href="/logout">logout</a></li>
|
|
|
|
</ul>
|
|
|
|
@else
|
|
|
|
<a class="nav-link" href="/about" data-toggle="dropdown">About</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li><a href="/login">login</a></li>
|
|
|
|
</ul>
|
|
|
|
@endif
|
|
|
|
</li>
|
|
|
|
<li class="nav-item dropdown" id="themes">
|
|
|
|
<a class="nav-link ddcontent" href="#" content="{{ theme }}" data-toggle="dropdown">Theme</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
@each(themes as t)
|
2021-12-23 05:06:12 +00:00
|
|
|
<li><a href="/theme/{{ t }}">{{ t }}</a></li>
|
2021-12-04 11:19:47 +00:00
|
|
|
@endeach
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<span class="placeholder"> </span>
|
|
|
|
<li class="nav-item dropdown">
|
2021-12-09 16:02:13 +00:00
|
|
|
<a class="nav-link ddcontent" href="#"@if(tmp?.mime) content="{{ tmp?.mime }}" data-toggle="dropdown"@endif>Filter@if(!tmp?.mime) ▼@endif</a>
|
2021-12-04 11:19:47 +00:00
|
|
|
<ul class="dropdown-menu">
|
2021-12-09 16:02:13 +00:00
|
|
|
<li><a class="dropdown-item" href="/@if(tmp?.user)user/{{ tmp?.user }}/@endif">All</a></li>
|
|
|
|
<li><a class="dropdown-item" href="/@if(tmp?.user)user/{{ tmp?.user }}/@endifaudio">Audio</a></li>
|
|
|
|
<li><a class="dropdown-item" href="/@if(tmp?.user)user/{{ tmp?.user }}/@endifvideo">Video</a></li>
|
|
|
|
<li><a class="dropdown-item" href="/@if(tmp?.user)user/{{ tmp?.user }}/@endifimage">Image</a></li>
|
2021-12-04 11:19:47 +00:00
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
@if(session)
|
|
|
|
<li class="nav-item @if(session)dropdown@endif">
|
|
|
|
<a class="nav-link ddcontent" href="#"@if(typeof session.mode !== "undefined") content="{{ modes[session.mode] ?? 'sfw' }}" data-toggle="dropdown"@endif>Mode</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
@for(let i = 0; i < modes.length; i++)
|
2021-12-23 05:06:12 +00:00
|
|
|
<li><a class="dropdown-item" href="/mode/{{ i }}">{{ modes[i] }}</a></li>
|
2021-12-04 11:19:47 +00:00
|
|
|
@endfor
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
@endif
|
|
|
|
<li class="nav-item">
|
2021-12-30 02:39:16 +00:00
|
|
|
<a id="random" class="nav-link" href="/random">
|
2021-12-04 11:19:47 +00:00
|
|
|
<span class="nav-link-identifier">Random</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="collapse navbar-collapse show" id="navbarSupportedContent">
|
|
|
|
<div class="pagination-container-fluid">
|
|
|
|
<div class="pagination-wrapper">
|
2021-12-26 22:11:16 +00:00
|
|
|
@if(typeof pagination !== "undefined")
|
|
|
|
<nav class="pagination">
|
2021-12-29 15:27:24 +00:00
|
|
|
<a href="/{{ link }}@if(link.length != 0)/@endif@if(!pagination.uff)p/@endif{{ pagination.start }}" class="page-item-1 btn start@if(!pagination.prev) disabled@endif">«</a>
|
|
|
|
<a href="/{{ link }}@if(link.length != 0)/@endif@if(!pagination.uff)p/@endif{{ pagination.prev }}" class="page-item-2 btn prev@if(!pagination.prev) disabled@endif">‹</a>
|
2021-12-26 22:11:16 +00:00
|
|
|
@each(pagination.cheat as i)
|
|
|
|
@if(i == pagination.page)
|
|
|
|
<span class="btn disabled">{{ i }}</span>
|
|
|
|
@else
|
2021-12-29 15:27:24 +00:00
|
|
|
<a href="/{{ link }}@if(link.length != 0)/@endif@if(!pagination.uff)p/@endif{{ i }}" class="pagination-int-item btn">{{ i }}</a>
|
2021-12-26 22:11:16 +00:00
|
|
|
@endif
|
|
|
|
@endeach
|
2021-12-29 15:27:24 +00:00
|
|
|
<a href="/{{ link }}@if(link.length != 0)/@endif@if(!pagination.uff)p/@endif{{ pagination.next }}" class="page-item-3 btn next@if(!pagination.next) disabled@endif">›</a>
|
|
|
|
<a href="/{{ link }}@if(link.length != 0)/@endif@if(!pagination.uff)p/@endif{{ pagination.end }}" class="page-item-4 btn start@if(!pagination.next) disabled@endif">»</a>
|
2021-12-26 22:11:16 +00:00
|
|
|
</nav>
|
|
|
|
@endif
|
2021-12-04 11:19:47 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|