2021-12-04 11:19:47 +00:00
|
|
|
@include(main/header)
|
|
|
|
<div class="container">
|
|
|
|
<div class="content">
|
|
|
|
<div class="next-post">
|
|
|
|
@if(pagination.prev)
|
|
|
|
<div class="arrow-next">
|
2021-12-06 09:21:11 +00:00
|
|
|
<a id="next" href="/{{ link }}@if(link.length != 0)/@endif{{ pagination.prev }}"></a>
|
2021-12-04 11:19:47 +00:00
|
|
|
</div>
|
|
|
|
@else
|
|
|
|
<div class="arrow-next">
|
|
|
|
<a id="next" href="#" style="color: #ccc !important;"></a>
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
<div class="media-object">
|
|
|
|
<div hidden class="f0ck95"><img src="/s/img/f0ck95/computer.png" alt="f0ck95" loading="lazy" /><a href="/random">Random</a></div>
|
|
|
|
@if(item.mime.startsWith("video"))
|
|
|
|
<div class="embed-responsive embed-responsive-16by9">
|
|
|
|
<video id="my-video" class="embed-responsive-item" width="640" height="360" src="{{ item.dest }}"
|
|
|
|
preload="auto" autoplay controls loop playsinline></video>
|
|
|
|
</div>
|
|
|
|
@elseif(item.mime.startsWith("audio"))
|
2021-12-06 09:21:11 +00:00
|
|
|
<div class="embed-responsive embed-responsive-16by9" style="background: url('@if(item.coverart)//f0ck.me{{ item.coverart }}@else/s/img/200.gif@endif') no-repeat center / contain black;">
|
2021-12-04 11:19:47 +00:00
|
|
|
<audio id="my-video" class="embed-responsive-item" autoplay controls loop src="{{ item.dest }}" data-setup="{}" poster="@if(item.coverart){{ item.coverart }}@else/s/img/200.gif@endif" type="{{ item.mime }}"></audio>
|
|
|
|
</div>
|
|
|
|
@elseif(item.mime.startsWith("image"))
|
|
|
|
<div class="embed-responsive embed-responsive-16by9">
|
|
|
|
<div class="embed-responsive-image" id="image-scroll">
|
|
|
|
<a href="{{ item.dest }}" id="elfe" target="_blank"><img id="f0ck-image" class="img-fluid" src="{{ item.dest }}" loading="lazy" decoding="async"/></a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@else
|
|
|
|
<h1>404 - Not f0cked</h1>
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
<div class="previous-post">
|
|
|
|
@if(pagination.next)
|
|
|
|
<div class="arrow-prev">
|
2021-12-06 09:21:11 +00:00
|
|
|
<a id="prev" href="/{{ link }}@if(link.length != 0)/@endif{{ pagination.next }}"></a>
|
2021-12-04 11:19:47 +00:00
|
|
|
</div>
|
|
|
|
@else
|
|
|
|
<div class="arrow-prev">
|
|
|
|
<a id="prev" href="#" style="color: #ccc !important;"></a>
|
|
|
|
</div>
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="metadata">
|
|
|
|
<span class="badge badge-dark">
|
2021-12-26 16:27:01 +00:00
|
|
|
<a href="/{{ item.id }}" style="--hover-image: url('/t/{{ item.id }}.png');" class="id-link">{{ item.id }}</a>@if(session) (<a id="a_username" href="/user/{{ user.name.toLowerCase() }}@if(tmp.mime)/{{ tmp.mime }}@endif">{{ user.name }}</a>) <a title="delete" href="#" id="a_delete">✖</a>@endif
|
2021-12-04 11:19:47 +00:00
|
|
|
</span>
|
|
|
|
<span class="badge badge-dark">{{ user.network }} / {{ user.channel }}</span>
|
2021-12-26 16:27:01 +00:00
|
|
|
<span class="badge badge-dark image-source">
|
|
|
|
@if(item.src.long.length)
|
|
|
|
<a href="{{ item.src.long }}" target="_blank">{{ item.src.short }}</a>
|
2021-12-04 11:19:47 +00:00
|
|
|
@else
|
2021-12-26 16:27:01 +00:00
|
|
|
hidden
|
2021-12-04 11:19:47 +00:00
|
|
|
@endif
|
|
|
|
</span>
|
2021-12-26 16:27:01 +00:00
|
|
|
<span class="badge badge-dark"><a class="dest-link" href="{{ item.dest }}" target="_blank">{{ item.mime }}</a> / {{ item.size }}</span>
|
|
|
|
<span class="badge badge-dark"><time class="timeago" tooltip="{{ item.timestamp.timefull }}">{{ item.timestamp.timeago }}</time></span>
|
|
|
|
<span class="badge badge-dark">{{ phrase }}</span>
|
2021-12-04 11:19:47 +00:00
|
|
|
<span class="badge badge-dark" id="tags">
|
|
|
|
@if(typeof item.tags !== "undefined")
|
|
|
|
@each(item.tags as tag)
|
2021-12-26 16:27:01 +00:00
|
|
|
<span @if(session)@if(session.id != 9)tooltip@elseiftitle@endif="{{ tag.user }}" data-tagid="{{ tag.id }}"@endif class="badge@if(tag.tag[0] == "&") badge-greentext@endif badge-{{ (tag.tag === "nsfw" ? "danger" : tag.tag === "sfw" ? "success" : "light") }} mr-2">
|
2021-12-25 12:12:37 +00:00
|
|
|
<a href="/tag/{{ tag.tag.replace(/\s/g, "%20") }}">{{ tag.tag }}</a>@if(session) <a href="#">×</a>@endif
|
2021-12-04 11:19:47 +00:00
|
|
|
</span>
|
|
|
|
@endeach
|
|
|
|
@endif
|
|
|
|
@if(session)
|
|
|
|
<a href="#" id="a_addtag">add tag</a>
|
|
|
|
- <a href="#" id="a_toggle">toggle</a>
|
|
|
|
@endif
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@include(main/footer)
|