Server IP : 23.254.227.96 / Your IP : 216.73.216.46 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/viralblo/instantblog/resources/views/public/ |
Upload File : |
<!doctype html> <html lang="en" prefix="op: http://media.facebook.com/op#"> <head> <meta charset="utf-8"> <link rel="canonical" href="{{ url('posts/' . $post->post_slug) }}"> <meta property="op:markup_version" content="v1.0"> <meta property="fb:article_style" content="{{ $setting->fb_theme }}"> @if (!empty($setting->fb_ads_code)) <meta property="fb:use_automatic_ad_placement" content="enable=true ad_density=default"> @endif </head> <body> <article> <header> @if (!empty($setting->fb_ads_code)) {!! $setting->fb_ads_code !!} @endif @if(!empty($post->post_media)) <figure> <img src="{{ url('/uploads/' . $post->post_media) }}"> </figure> @endif <h1>{{ $post->post_title }}</h1> @if (!empty($post->post_desc)) <h2>{{ $post->post_desc }}</h2> @endif <time class="op-published" datetime="{{ $post->created_at }}">{{ $post->created_at }}</time> <address> {{ $post->user->username }} </address> </header> @if (!empty($post->post_video)) <figure class="op-interactive"> <iframe class="no-margin" width="560" height="315" src="https://www.youtube.com/embed/{{ $post->post_video }}"></iframe> </figure> @endif @if($post->contents) @foreach ($post->contents as $content) @if ($content->type == "header") <h2>{{ $content->body }}</h2> @endif @if ($content->type == "text") <p>{{ $content->body }}</p> @endif @if ($content->type == "txteditor") {!! clean( $content->body ) !!} @endif @if ($content->type == "image") @if (!empty($content->link)) <a href="{{ $content->link}}" target="{{ $content->blank == '0' ? '_self' : '_blank' }}"> <figure> <img src="{{ url('/uploads/' . $content->body) }}"> <figure> </a> @else <figure> <img src="{{ url('/uploads/' . $content->body) }}"> <figure> @endif @endif @if ($content->type == "youtube") <figure class="op-interactive"> <iframe width="560" height="315" src="https://www.youtube.com/embed/{{ $content->body }}"></iframe> </figure> @endif @if ($content->type == "tweet") <figure class="op-interactive"> <iframe> {!! $content->embed->embedcode !!} </iframe> </figure> @endif @if ($content->type == "facebook") <figure class="op-interactive"> <iframe> <div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "https://connect.facebook.net/en_US/sdk.js#xfbms-=1&version=v2.5"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> {!! $content->embed->embedcode !!} </iframe> </figure> @endif @if ($content->type == "instagram") <figure class="op-interactive"> <iframe> {!! $content->embed->embedcode !!} </iframe> </figure> @endif @if ($content->type == "pinterest") <figure class="op-interactive"> <iframe> <a data-pin-do="embedPin" data-pin-width="medium" href="{{ $content->embed->url }}"></a> <script async defer src="//assets.pinterest.com/js/pinit.js"></script> </iframe> </figure> @endif @if ($content->type == "tiktok") <figure class="op-interactive"> <iframe> {!! $content->embed->embedcode !!} </iframe> </figure> @endif @endforeach @endif @if (!empty($related)) <footer> <ul class="op-related-articles"> @foreach($related as $relatedpost) <li><a href="{{ url('/posts/' . $relatedpost->post_slug) }}"></a></li> @endforeach </ul> </footer> @endif </article> </body> </html>