UnknownSec Bypass
403
:
/
mnt
/
lmsestudio-instance-vol002
/
eagleead
/
resources
/
views
/
site
/
course
/ [
drwxrwxr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
landing_page.blade.php
@inject('renderFree', 'EstudioLMS\Services\Environment\CourseResourceService') @extends($theme, ['backimage' => !empty($course['cover_image']) ? '/storage/courses/course/images/'.$course['cover_image'] : '/assets/images/site/fundo-curso3.jpg'] ) @section('styles') <style type="text/css"> .btn-lesson-free { margin-left: 10px; padding: 3px 15px; } .well { padding: 25px; border-radius: 6px; -webkit-box-shadow: inset 0 0px 0px rgb(0 0 0 / 5%); box-shadow: inset 0 0px 0px rgb(0 0 0 / 5%); } </style> @endsection @section('menu-landingpage') <li><a href="#description-course">{!! trans('site_course.menuDescription') !!}</a></li> <li><a href="#grid-course">{!! trans('site_course.menuGridCourse') !!}</a></li> <li><a href="#instructor-course">{!! trans('site_course.menuInstructor') !!}</a></li> <li><a href="#faq-course">{!! trans('site_course.menuFaq') !!}</a></li> <li><a href="#registration-course" class="btn btn-success">{!! trans('site_course.menuBuy') !!}</a></li> @endsection @section('content') <div class="modal fade" id="query-course-modal" tabindex="-1" role="dialog" aria-labelledby="queryCourseModal"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h5 class="modal-title" id="myModalLabel">{!! trans('site_course.titleModalQuestion') !!}</h5> </div> <div class="modal-body"> @if(!Auth::check()) <div class="alert alert-info" role="alert"> {!! trans('site_course.msgModalQuestion') !!}. </div> <!--se ele não estiver logado o botão "perguntar" fica inativo e também aparece o alert acima--> @else <form> <textarea class="form-control" rows="6"></textarea> </form> @endif </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal">{!! trans('site_course.buttonModalClose') !!}</button> @if(Auth::check()) <button type="button" class="btn btn-success">{!! trans('site_course.buttonModalQuestion') !!}</button> @endif </div> </div> </div> </div> <section id="course-banner" class="text-center"> <div class="container"> <h1>{{ $course['name'] }}</h1> <h2>{{ $course['short_description'] }}</h2> @if(!empty($course['embed'])) <div class="embed-responsive embed-responsive-16by9"> {!! $course['embed'] !!} </div> @endif </div> </section> @if(Session::get('planLimite.is_free') == true) <div class="container" id="idFree" style="margin-bottom: 0px;"> <div class="row"> <div class="col-sm-12"> <a href="http://www.lmsestudio.com.br" target="new" title="Plataforma LMS - Plataforma EAD"> <img src="https://lmsestudio.com.br/img/banner_lms.png" class="img-responsive center-block" alt="Plataforma LMS - Plataforma EAD"> </a> </div> </div> </div> @endif <section id="description-course" class="text-center"> <div class="container"> @if(!empty($template['students_studying']) || !empty($template['release_date']) || !empty($template['level'])) <div class="row" id="informations"> @if(!empty($template['students_studying'])) <div class="col-sm-4"> <h5 class="text-center"><i class="fa fa-user"></i> {!! $studentCount->countStudent.' '.trans('site_course.boxStudentRead') !!} </h5> </div> @endif @if(!empty($template['release_date'])) <div class="col-sm-4"> <h5 class="text-center"><i class="fa fa-calendar-o"></i> {!! trans('site_course.boxDateRelease').': '.$course['landing_date'] !!} </h5> </div> @endif @if(!empty($template['level'])) <div class="col-sm-4"> <h5 class="text-center"><i class="fa fa-signal"></i> {!! trans('site_course.boxNivelCourse').': '.$course['level']['name'] !!} </h5> </div> @endif </div> <hr> @endif <h3>{!! trans('site_course.titleDescriptionCourse') !!} {{ $course['name'] }}</h3> <div class="text-left"> {!! $course['description'] !!} </div> @if(!empty($course['prerequisites'])) <hr> <h4>{!! trans('site_course.titleRequirementCourse') !!}</h4> {!! $course['prerequisites'] !!} @endif <hr> <h4>{!! trans('site_course.titleLanguageCourse') !!}</h4> {{ $course['category']['language']['name'] }} @if($template['show_course_ratings']) <br><br> <h4>{!! trans('site_course.titleRatings') !!}</h4> @if($averageRating == 0) <p><span class="label label-default" style="font-size: 30px;">{!! trans('site_course.notNote') !!}</span></p> @else <p><span class="label label-default" style="font-size: 30px;">{{ $averageRating }}</span></p> @endif <p><span style="font-size: 10px"><b>{!! trans('site_course.averageRatings') !!}</b></span></p> @forelse($ratings ?: [] as $rating) <div class="well"> <div class="row"> <div class="col-sm-1 col-xs-2"> @if($rating->picture) <img class="img-circle img-responsive" src="/storage/profiles/pictures/{{ $rating->picture }}" width="60px" height="60px" alt="{{ $rating->name }}"> @else <img src="{{ url('assets/images/placeholder/img-blog.gif') }}" class="img-circle img-responsive" alt="{{ $rating->name }}"> @endif </div> <div class="col-sm-11 col-xs-10 text-left" style="font-size: 15px;"> <p><b>{{ $rating->name }}</b></p> @if($rating->rating == 1) <p><i class="fa fa-star"></i><i class="fa fa-star-o"></i><i class="fa fa-star-o"></i><i class="fa fa-star-o"></i><i class="fa fa-star-o"></i></p> @elseif($rating->rating == 2) <p><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star-o"></i><i class="fa fa-star-o"></i><i class="fa fa-star-o"></i></p> @elseif($rating->rating == 3) <p><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star-o"></i><i class="fa fa-star-o"></i></p> @elseif($rating->rating == 4) <p><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star-o"></i></p> @elseif($rating->rating == 5) <p><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i><i class="fa fa-star"></i></p> @endif <p>{!! $rating->comments !!}</p> </div> </div> </div> @empty <div> <p style="font-size: 15px;"><b>{!! trans('site_course.notRatings') !!}</b></p> </div> @endforelse @endif </div> </section> <section id="grid-course"> <div class="container"> @if($template['show_course_programmatic_content'] == 1) @if($course['programmatic_content']) <h3 class="text-center">{!! trans('admin_config.ProgrammaticContent') !!}</h3> {!!$course['programmatic_content']!!} @if($template['show_course_modules']) <br><br> @endif @endif @endif @if($template['show_course_modules'] == 1) <h3 class="text-center">{!! trans('admin_config.CourseModules') !!}</h3> <div> <ul class="nav nav-tabs nav-justified" role="tablist"> <?php $index = 1; ?> @foreach($course['modules'] as $module) @if($index == 1) <li class="active"><a href="#module{{ $index }}" aria-controls="module{{ $index }}" role="tab" data-toggle="tab">{{ $index }}</a></li> @else <li><a href="#module{{ $index }}" aria-controls="module{{ $index }}" role="tab" data-toggle="tab">{{ $index }}</a></li> @endif <?php $index++; ?> @endforeach </ul> <div class="tab-content"> <?php $index = 1; ?> @foreach($course['modules'] as $module) <div role="tabpanel" class="tab-pane {{ $index == 1 ? 'active' : '' }}" id="module{{ $index }}"> @foreach($module['resources_available'] as $resource) @if($resource['is_free']) {!! LandResourceRender::render($resource, true) !!} <?php $res = $renderFree->renderFreeLesson($course['slug'], $module['slug'], $resource['resource_id'], $resource['resource_type_id']) ?> @if(!empty($res['embed'])) <div class="collapse" id="lesson-free-{{$res['slug']}}"> <div class="row"> <div class="col-sm-6"> <br> <div class="embed-responsive embed-responsive-16by9"> {!! $res['embed'] !!} </div> <span class="label label-danger" style="display: block; border-radius: 0px;"><small>{!! trans('site_course.videoFreeInf') !!}</small></span> <br> </div> </div> </div> @else <div class="collapse" id="lesson-free-{{$res['slug']}}"> <div class="row"> <div class="col-sm-6"> <br> <div class="embed-responsive embed-responsive-16by9"> <video width="320" height="240" class="embed-responsive-item" controls> <source src="{{ $res['uploaded_video_url'] }}" type="video/mp4"> {!! trans('site_course.videoBrowser') !!} </video> </div> <span class="label label-danger" style="display: block; border-radius: 0px;"><small>{!! trans('site_course.videoFreeInf') !!}</small></span> <br> </div> </div> </div> @endif @else {!! LandResourceRender::render($resource) !!} @endif @endforeach </div> <?php $index++; ?> @endforeach </div> </div> @endif </div> </section> <section id="instructor-course" class="text-center"> <div class="container"> <h3>{{ $course['user']['name'] }}</h3> @if(!empty($course['user']['picture'])) <img src="/storage/profiles/pictures/{{ $course['user']['picture'] }}" class="img-circle instructor-img" width="200px" height="200px"> @else <img src="{{ url('assets/images/placeholder/instructor.gif') }}" class="img-circle instructor-img"> @endif <div class="biography-text img-rounded"> {!! $course['user']['biography'] !!} <hr> <h4>{!! trans('site_course.titleOutherCourseInstructor') !!}</h4> <p class="instructor-icon"> @forelse($instructorCourses as $instCourse) <a href="{{ route('course.show', $instCourse['slug']) }}" data-toggle="tooltip" title="{{ $instCourse['name'] }}"> @if(!empty($instCourse['main_image'])) <img src="/storage/courses/course/images/{{ $instCourse['main_image'] }}" class="img-circle" width="80px" height="80px" alt="{{ $instCourse['name'] }}"> @else <img src="{{ url('assets/images/placeholder/forum.gif') }}" class="img-circle" alt="{{ $instCourse['name'] }}"> @endif </a> @empty <span></span> @endforelse </p> <p class="instructor-icon"> @if(!empty($course['user']['url_facebook'])) <a target="_blank" href="{{ $course['user']['url_facebook'] }}"><i class="fa fa-facebook-square fa-lg"></i></a> @endif @if(!empty($course['user']['url_twitter'])) <a target="_blank" href="{{ $course['user']['url_twitter'] }}"><i class="fa fa-twitter-square fa-lg"></i></a> @endif @if(!empty($course['user']['url_github'])) <a target="_blank" href="{{ $course['user']['url_github'] }}"><i class="fa fa-github-square fa-lg"></i></a> @endif @if(!empty($course['user']['url_instagram'])) <a target="_blank" href="{{ $course['user']['url_instagram'] }}"><i class="fa fa-instagram fa-lg"></i></a> @endif @if(!empty($course['user']['url_youtube'])) <a target="_blank" href="{{ $course['user']['url_youtube'] }}"><i class="fa fa-youtube-square fa-lg"></i></a> @endif @if(!empty($course['user']['url_tiktok'])) <a target="_blank" href="{{ $course['user']['url_tiktok'] }}"> Tiktok </a> @endif @if(!empty($course['user']['url_linkedin'])) <a target="_blank" href="{{ $course['user']['url_linkedin'] }}"><i class="fa fa-linkedin-square fa-lg"></i></a> @endif @if(!empty($course['user']['url_whatsapp'])) <a target="_blank" href="{{ $course['user']['url_whatsapp'] }}"><i class="fa fa-whatsapp fa-lg"></i></a> @endif @if(!empty($course['user']['url_telegram'])) <a target="_blank" href="{{ $course['user']['url_telegram'] }}"><i class="fa fa-telegram fa-lg"></i></a> @endif @if(!empty($course['user']['url_pinterest'])) <a target="_blank" href="{{ $course['user']['url_pinterest'] }}"><i class="fa fa-pinterest-square fa-lg"></i></a> @endif </p> </div> </div> </section> <section id="faq-course"> <div class="container text-center"> <h3>{!! trans('site_course.titleQuestionCourse') !!} {{ $course['name'] }}</h3> <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true"> @forelse($courseFaqs as $faq) <div class="panel panel-default"> <div class="panel-heading" role="tab" id="headingOne"> <h4 class="panel-title"> <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse{{ $faq['translations'][0]['id'] }}" aria-expanded="true" aria-controls="collapseOne"> {{ $faq['question'] }} </a> </h4> </div> <div id="collapse{{ $faq['translations'][0]['id'] }}" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne"> <div class="panel-body text-center"> {{ $faq['answer'] }} </div> </div> </div> @empty <div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true"></div> @endforelse </div> </div> </section> <?php $lang = \app()->getLocale(); \app()->setLocale($course['category']['language']['short_name']); ?> @if(\Auth::check() && $hasCourse) <section id="registration-course"> <div class="container"> <div class="row"> <div class="col-md-6 col-md-offset-3"> <div class="well text-center"> <h3>{!! trans('ambiente_my-courses.accessCourse') !!}</h3> <p class="text-success"><small>{!! trans('ambiente_my-courses.accessCourseTxt') !!}</small> </p> </div> <a href="{{ route('student.course.detail', $course['slug']) }}" class="btn btn-default btn-lg btn-block"> {!! trans('ambiente_my-courses.buttonAccess') !!} </a> </div> </div> </div> </section> @else {{-- Quando configurar url do hotmart, só ele é permitido --}} @if(!is_null($course->gateways->where('title', 'Hotmart')->first())) <section id="registration-course"> <div class="container text-center"> <h3>{!! trans('site_course.titlePerformeRegistration') !!}</h3> <div class="row"> <div class="col-md-6 col-md-offset-3"> @if(!$course['is_free']) <div class="well" id="courseValues"> <h3 id="coursePrice"><b>R$ {{ number_format($defaultValue, 2, ',', '.') }}</b></h3> @foreach($course['gateways'] as $key => $gateway) @if($gateway['title'] == 'Hotmart') <p class="text-muted"> <small> {{$gateway->title}} {!! trans('site_course.gatewayInUp') !!} {{ $gateway->pivot->installments }} {!! trans('site_course.gatewayTimes') !!} {{trans("site_course.txtInterestFree")}}. </small> </p> @endif @endforeach <p class="text-success"> <small><i class="fa fa-lock"></i> {!! trans('site_course.infSecure') !!}.</small> </p> <a href="{{$course['url_hotmart']}}" class="btn btn-default btn-lg btn-block" id="sendToCart"> {!! trans('site_course.buttonRegistration') !!} </a> </div> @endif </div> </div> </div> </section> @else @if(Session::get('planLimite.plan_users_limit') >= Session::get('planLimite.activeUsers')) <section id="registration-course"> <div class="container text-center"> <h3>{!! trans('site_course.titlePerformeRegistration') !!}</h3> <div class="row"> <div class="col-md-6 col-md-offset-3"> @if(!$course['is_free']) <div class="well" id="courseValues"> <h3 id="coursePrice"><b>R$ {{ number_format($defaultValue, 2, ',', '.') }}</b></h3> <div id="preloader" style="display: none; margin-bottom: 10px;"><i class="fa fa-spinner fa-pulse fa-2x fa-fw"></i></div> @foreach($course['gateways'] as $key => $gateway) @if($gateway['title'] == 'Boleto') <p class="text-muted"> <small> {{$gateway->title}} {!! trans('site_course.gatewayInUp') !!} {{ $gateway->pivot->installments }} {!! trans('site_course.gatewayTimes') !!} {{trans("site_course.txtInterestFree")}}. </small> </p> @elseif($gateway->title == 'PagarMe') <p class="text-muted"> <small> {{$gateway->title}} {!! trans('site_course.gatewayInUp') !!} {{ $gateway->pivot->installments }} {!! trans('site_course.gatewayTimes') !!} {{trans("site_course.txtInterestFree")}} @if($gateway->pivot->installments != 12) {!! trans('site_course.gatewayTimesDefault') !!} @endif </small> </p> @else <p class="text-muted"> <small> @if($config['installment_id'] == 12) {{$gateway->title}} {!! trans('site_course.gatewayInUp') !!} {{ $config['installment_id'] }} {!! trans('site_course.gatewayTimes') !!} {{trans("site_course.txtInterestFree")}} @else {{$gateway->title}} {!! trans('site_course.gatewayInUp') !!} {{ $config['installment_id'] }} {!! trans('site_course.gatewayTimes') !!} {{trans("site_course.txtInterestFree")}} {!! trans('site_course.gatewayTimesDefault') !!} @endif </small> </p> @endif @endforeach <p class="text-success"><small><i class="fa fa-lock"></i> {!! trans('site_course.infSecure') !!} .</small></p> </div> @elseif($course['is_free']) <div class="well" id="courseValues"> <h3>{{ trans('site_course.freeCourse') }}</h3> <p class="text-success"><small>{!! trans('site_course.infFree') !!}</small></p> </div> @else <div class="well" id="courseValues"> <h3 id="coursePrice"><b>R$ {{ number_format($defaultValue, 2, ',', '.') }}</b></h3> <div id="preloader" style="display: none; margin-bottom: 10px;"><i class="fa fa-spinner fa-pulse fa-2x fa-fw"></i></div> @foreach($course['gateways'] as $key => $gateway) @if($gateway->title == 'Boleto') <p class="text-muted"> <small> {{$gateway->title}} {!! trans('site_course.gatewayInUp') !!} {{ $gateway->pivot->installments }} {!! trans('site_course.gatewayTimes') !!} {{trans("site_course.txtInterestFree")}}. </small> </p> @else <p class="text-muted"> <small> {{$gateway->title}} {!! trans('site_course.gatewayInUp') !!} {{ $config['installment_id'] }} {!! trans('site_course.gatewayTimes') !!} {{trans("site_course.txtInterestFree")}} @if($config['installment_id'] != 12) {!! trans('site_course.gatewayTimesDefault') !!} @endif </small> </p> @endif @endforeach <p class="text-success"><small><i class="fa fa-lock"></i> {!! trans('site_course.infSecure') !!} .</small></p> </div> @endif @if(!$course['is_free']) {!! Form::open(['method' => 'POST', 'role' => 'form', 'url' => route('cart.add'), 'id' => 'frmSendToCart']) !!} @else {!! Form::open(['method' => 'POST', 'role' => 'form', 'url' => route('cart.hire.add'), 'id' => 'frmSendToCart']) !!} @endif {!! Form::hidden('course_id', $course['id']) !!} <div class="form-group"> {!! Form::select('select_plan', $plans->lists('name', 'id'), $defaultPlan, ['class' => 'form-control']) !!} </div> <button class="btn btn-default btn-lg btn-block" id="sendToCart" type="submit"> {!! trans('site_course.buttonRegistration') !!} </button> {!! Form::close() !!} </div> </div> </div> </section> @else <section> <div class="container text-center"> <h4>{!! trans('site_course.buttonContactAdmin') !!}</h4> </div> </section> @endif @endif @endif <?php \app()->setLocale($lang); ?> @stop @section('scripts') <script type="text/javascript"> $(function () { $('[data-toggle="tooltip"]').tooltip(); }); $(document).ready(function () { $('select[name=select_plan]').on('change', function () { $('#preloader').show(); $('#coursePrice').hide(); var installment = $('input[name=gateway]:checked').val(); if (installment == undefined) { installment = 1; } $.ajax({ type: "POST", url: "{{ route('curso.ajax') }}", data: { plan_id: $('select[name=select_plan] option:selected').val(), course_id: '{{ $course['id'] }}', installments: installment }, success: function (data) { $('#preloader').hide(); $('#coursePrice').show(); $("#coursePrice").html(data); }, error: function (request, status, error) { alert(request.responseText); } }); }); }); </script> @stop
Copyright © 2026 - UnknownSec