UnknownSec Bypass
403
:
/
mnt
/
lmsestudio-instance-vol002
/
eagleead
/
resources
/
views
/
site
/
blog
/ [
drwxrwxr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
post.blade.php
@extends($theme) @section('styles') {{--<link href='/assets/js/plugins/ckeditor/plugins/codesnippet/lib/highlight/styles/monokai.css' rel='stylesheet' type='text/css'> <script src="/assets/js/plugins/ckeditor/plugins/codesnippet/lib/highlight/highlight.pack.js"></script> <script>hljs.initHighlightingOnLoad();</script>--}} <style type="text/css"> .img-post { position: relative; } .category-post { background-color: #d9534f; padding: 6px 10px; position: absolute; bottom: 20px; -webkit-border-top-right-radius: 5px; -webkit-border-bottom-right-radius: 5px; -moz-border-radius-topright: 5px; -moz-border-radius-bottomright: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; } .category-post a { color: #fff !important; } #collum-center #body h3, #collum-center #body h4, #collum-center #body ul, #collum-center #body ol { margin-bottom: 40px; } #collum-center #body ul li, #collum-center #body ol li { margin-bottom: 15px; } #collum-right .panel { background-color: rgba(255, 255, 255, 0.1); padding: 20px; } .btn:hover { -webkit-filter: none; filter: none; } .voting-blog .btn { padding: 0px; text-shadow: none; } @media only screen and (max-width : 480px) { #blog-show h1 { font-size: 30px; } #blog-show h2 { font-size: 26px; text-align: left; } #blog-show h3 { font-size: 22px; text-align: left; } .breadcrumb { font-size: 10px; } #collum-center #body { font-size: 1.6rem; line-height: 2rem; } .author-post .img-post { display: block; margin-left: auto; margin-right: auto; } } </style> @stop @section('content') {{--<div class="social-post"> <div class="btn-group btn-group-justified" role="group" aria-label="Justified button group"> <a href="{{ $socialShare->facebook->shareUrl }}" class="btn btn-default facebook share" role="button"> <i class="fa fa-facebook"></i> Facebook → </a> <a href="{{ $socialShare->twitter->shareUrl }}" class="btn btn-default twitter share" role="button"> <i class="fa fa-twitter"></i> Twitter → </a> <a href="{{ $socialShare->plus->shareUrl }}" class="btn btn-default google share hidden-xs" role="button"> <i class="fa fa-google-plus"></i> Google + → </a> <a href="{{ $socialShare->email->shareUrl }}" class="btn btn-default simple share hidden-xs" role="button"> <i class="fa fa-envelope-o"></i> {!! trans('site_blog.linkSendEmail') !!} → </a> @if(!empty($template['disqus_short_name'])) <a href="#disqus" class="btn btn-default simple2 hidden-xs" role="button"> <i class="fa fa-comment-o"></i> {!! trans('site_blog.linkCommentView') !!} <span class="disqus-comment-count" data-disqus-identifier="{{ $post['slug'] }}"></span> </a> @endif </div> </div>--}} <div class="row"> <div class="col-sm-8" id="collum-center"> <div class="img-post"> @if(!empty($post['picture'])) <img src="/storage/posts/pictures/{{ $post['picture'] }}" class="img-responsive img-rounded" width="878px" height="450px" alt="{{ $title }}"> @else <img src="{{ url('assets/images/placeholder/blog.gif') }}" class="img-responsive img-rounded" alt="{{ $title }}"> @endif <div class="category-post"> <a href="{{ route('blog.show',$post['category']['slug'], $post['slug'] ) }}"> <i class="fa fa-tag" aria-hidden="true"></i> {{ $post['category']['name'] }} </a> </div> </div> <br> <div class="voting-blog pull-right"> <button class="btn btn-link" onclick="vote('{{ $post['id'] }}', 'up')" style="padding-right: 15px;" id="up" {{ $post['vote_enabled'] == true && \Auth::check() ? null : 'disabled' }}> <i class="fa fa-thumbs-o-up"></i>{{ $post['up'] }} </button> <button class="btn btn-link" onclick="vote('{{ $post['id'] }}', 'down')" id="down" {{ $post['vote_enabled'] == true && \Auth::check() ? null : 'disabled' }}> <i class="fa fa-thumbs-o-down"></i>{{ $post['down'] }} </button> </div> <div class="pull-right" style="margin-right: 30px;"> <a href="javascript:void(0)" onclick="share()"> <i class="fa fa-share" aria-hidden="true"></i> {!! trans('site_blog.linkShare') !!} </a> </div> <i class="fa fa-calendar-o" aria-hidden="true"></i> {{Carbon\Carbon::parse($post['updated_at'])->format('d/m/Y')}} <hr> <div id="body"> {!! html_entity_decode($post['body']) !!} </div> <br> @include('site.blog.partials.similar') <div class="author-post"> <div class="row"> <div class="col-sm-3"> @if($post['user']['picture']) <img src="/storage/profiles/pictures/{{ $post['user']['picture'] }}" class="img-circle img-post img-responsive" width="180px" height="180px" alt="{{ $post['user']['name'] }}"> @else <img src="{{ url('assets/images/placeholder/user-blog.gif') }}" class="img-circle img-post img-responsive" alt="{{ $post['user']['name'] }}"> @endif </div> <div class="col-sm-9"> <h3><a href="{{ route('teacher.show', $post['user']['id']) }}">{{ $post['user']['name'] }}</a> <span class="pull-right icones-social"> <a href="{{ $post['user']['url_facebook'] }}"> <i class="fa fa-facebook"></i> </a> <a href="{{ $post['user']['url_twitter'] }}"> <i class="fa fa-twitter"></i> </a> <a href="{{ $post['user']['url_github'] }}"> <i class="fa fa-github"></i> </a> </span> </h3><br> <p class="text-justify">{!! $post['user']['biography'] !!}</p> <a href="{{ route('teacher.show', $post['user']['id']) }}" class="btn btn-default">→ {!! trans('site_blog.linkInstructorComplete') !!}</a> </div> </div> </div><!-- fim do author post--> @if(!empty($template['disqus_short_name'])) <div class="comments-post" id="disqus"> <div id="disqus_thread"></div> </div> @endif </div><!--fim coluna central--> <div class="col-sm-4" id="collum-right"> @if($template['show_digital_magnet']) <div class="panel panel-default"> <div class="panel-body"> <div>{!! $digitalMagnet['headline'] !!}</div> @if($digitalMagnet['img_path']) <a href="{{url('/marketing/campaing')}}/{{ $digitalMagnet['code'] }}" target="_blank"> <img src="/storage/marketing/dm/{!! $digitalMagnet['img_path'] !!}" class="img-responsive"> </a> @else @if(!empty($digitalMagnet['embed'])) <div class="embed-responsive embed-responsive-16by9"> {!! $digitalMagnet['embed'] !!} </div> @endif @endif <br><a href="{{url('/marketing/campaing')}}/{{ $digitalMagnet['code'] }}" target="_blank" class="btn btn-success btn-block">{!! trans('site_blog.linkDigitalMagnet') !!}</a> </div> </div> @endif @if(!empty($template['side_blog_block_script'])) {!! $template['side_blog_block_script'] !!} <br> @endif @if(!empty($template['side_blog_block_text'])) {!! $template['side_blog_block_text'] !!} @endif </div> <!--fim coluna lateral--> </div> @stop @section('scripts') <script type="text/javascript"> $.ajaxSetup({ headers: {'X-CSRF-Token': $('meta[name=_token]').attr('content')} }); function share(){ if (navigator.share !== undefined) { navigator.share({ title: '{!!str_limit($post["title"], $limit = 40, $end = '...')!!}', text: '{!!str_limit($post["body"], $limit = 180, $end = '...')!!}', url: '{{Request::url()}}', }) .then(() => console.log('Compartilhado com Sucesso!')) .catch((error) => console.log('Erro no Compartilhamento.', error)); } }; function vote(id, type) { var value = 0; if (type == 'up') { value = '{{ $post['up'] }}'; } else { value = '{{ $post['down'] }}'; } value++; $.ajax({ url: "{!! route('blog.vote') !!}", type: 'POST', data: {id: id, value: value, type: type}, success: function (data) { bootbox.alert(data['message']); if (data['success'] == true) { if (type == 'up') { $('#up').html('<i class="fa fa-thumbs-o-up"></i>' + value).attr('disabled', true); $('#down').attr('disabled', true); } else { $('#down').html('<i class="fa fa-thumbs-o-down"></i>' + value).attr('disabled', true); $('#up').attr('disabled', true); } } } }); } </script> <script type="text/javascript"> !function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https'; if (!d.getElementById(id)) { js = d.createElement(s); js.id = id; js.src = p + "://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs); } }(document, "script", "twitter-wjs"); </script> <script type="text/javascript"> var windowOpen; jQuery(document).on('ready post-load', function () { jQuery('a.share').on('click', function () { if ('undefined' !== typeof windowOpen) { windowOpen.close(); } windowOpen = window.open(jQuery(this).attr('href'), 'estudiositelms', 'menubar=1,resizable=1,width=600,height=400'); return false; }); }); </script> @if(!empty($template['disqus_short_name'])) <script type="text/javascript"> var disqus_shortname = '{{ $template['disqus_short_name'] }}'; var disqus_identifier = '{{ $post['slug'] }}'; var disqus_config = function () { this.page.url = '{{ route('blog.show', [$post['category']['slug'], $post['slug']] ) }}'; this.page.identifier = disqus_identifier; //this.page.title = 'a unique title for each page where Disqus is present'; }; (function () { var d = document, s = d.createElement('script'); s.src = '//' + disqus_shortname + '.disqus.com/embed.js'; s.setAttribute('data-timestamp', +new Date()); (d.head || d.body).appendChild(s); })(); (function () { var d = document, s = d.createElement('script'); s.src = '//' + disqus_shortname + '.disqus.com/count.js'; s.setAttribute('data-timestamp', +new Date()); (d.head || d.body).appendChild(s); })(); </script> <noscript>{!! trans('site_blog.msgErrorDisqus') !!}</a> </noscript> @endif @stop
Copyright © 2026 - UnknownSec