Pourquoi cette erreur inatendu
Fermé
B4U
Messages postés
40
Date d'inscription
dimanche 24 novembre 2019
Statut
Membre
Dernière intervention
27 juin 2020
-
27 juin 2020 à 17:39
B4U Messages postés 40 Date d'inscription dimanche 24 novembre 2019 Statut Membre Dernière intervention 27 juin 2020 - 27 juin 2020 à 18:10
B4U Messages postés 40 Date d'inscription dimanche 24 novembre 2019 Statut Membre Dernière intervention 27 juin 2020 - 27 juin 2020 à 18:10
A voir également:
- Pourquoi cette erreur inatendu
- Erreur 0x80070643 - Guide
- Erreur 10016 epson - Forum Imprimante
- Erreur c2002 western union ✓ - Forum Vos droits sur internet
- Erreur g030 - Forum Bbox Bouygues
- Erreur 5000 france tv - Forum Lecteurs et supports vidéo
2 réponses
Chris 94
Messages postés
50978
Date d'inscription
mardi 8 janvier 2008
Statut
Modérateur
Dernière intervention
17 février 2023
7 325
27 juin 2020 à 17:43
27 juin 2020 à 17:43
Bonjour,
Merci d'attribuer à ton code la couleur syntaxique et la forme correcte avec le bouton
Merci d'attribuer à ton code la couleur syntaxique et la forme correcte avec le bouton
<>
▼.
B4U
Messages postés
40
Date d'inscription
dimanche 24 novembre 2019
Statut
Membre
Dernière intervention
27 juin 2020
27 juin 2020 à 17:53
27 juin 2020 à 17:53
Voila donc le code merci
@extends('master-frontend') @section('title', 'Home') @section('content') <div class="main-content"> <div class="container"> @if(isset($msglogin)) {{$msglogin}} @endif @if(count($watch_now) > 0) <h2>Videos Being Watched Now</h2> <div class="row"> <div class="col-md-6 col-sm-8 col-xs-12 image-left"> <div class="row"> @if(count($watch_now)>0) <!-- Watched Now --> @foreach($watch_now as $result) <?php $rating = GetRatingVideo($result->string_Id); ?> <div class="col-md-6 col-xs-6 col-sm-6"> <div class="col"> <div class="col_img"> <span class="hd">HD</span> <a href="{{URL('watch')}}/{{$result->string_Id.'/'.$result->post_name}}.html"> <img src="{{$result->getImageUrl($result->poster)}}" alt="{{$result->title_name}}" height="177" /> </a> <div class="position_text"> <p class="icon-like"></p> <p class="percent">{{floor($rating['percent_like'])}}%</p> <p class="time_minimute">{{sec2hms($result->duration)}}</p> </div> </div> <h3><a href="{{URL('watch')}}/{{$result->string_Id.'/'.$result->post_name}}.html">{{str_limit($result->title_name,30)}}</a></h3> </div> </div> @endforeach @else <!-- Featured --> @foreach($indexnew as $resultnew) <?php $rating = GetRatingVideo($resultnew->string_Id); ?> <div class="col-md-6 col-xs-6 col-sm-6"> <div class="col"> <div class="col_img"> <span class="hd">HD</span> <a href="{{URL('watch')}}/{{$resultnew->string_Id.'/'.$resultnew->post_name}}.html"> <img src="{{$resultnew->getImageUrl($resultnew->poster)}}" alt="{{$resultnew->title_name}}" height="177" /> </a> <div class="position_text"> <p class="icon-like"></p> <p class="percent">{{floor($rating['percent_like'])}}%</p> <p class="time_minimute">{{sec2hms($resultnew->duration)}}</p> </div> </div> <h3><a href="{{URL('watch')}}/{{$resultnew->string_Id.'/'.$resultnew->post_name}}.html">{{str_limit($resultnew->title_name,30)}}</a></h3> </div> </div> @endforeach @endif </div> </div> <div class="col-md-6 col-xs-12 col-sm-4 image-right"> <div class="ads-here-right"> <p class="advertisement">ADVERTISEMENT</p> <?php echo StandardAdHome(); ?> </div> </div> </div> @endif @if(!empty($today)) <div class="titile-cate"> <?=get_title_datetime()?> </div> <div class="row content-image"> @foreach($today as $resulttoday) <?php $rating = GetRatingVideo($resulttoday->string_Id); ?> <div class="col-xs-6 col-sm-4 col-md-3 image-left"> <div class="col"> <div class="col_img"> <span class="hd">HD</span> <a href="{{URL('watch')}}/{{$resulttoday->string_Id.'/'.$resulttoday->post_name}}.html"> <img src="{{$resulttoday->getImageUrl($resulttoday->poster)}}" alt="{{$resulttoday->title_name}}" height="177" /> </a> <div class="position_text"> <p class="icon-like"></p> <p class="percent">{{floor($rating['percent_like'])}}%</p> <p class="time_minimute">{{sec2hms($resulttoday->duration)}}</p> </div> </div> <h3><a href="{{URL('watch')}}/{{$resulttoday->string_Id.'/'.$resulttoday->post_name}}.html">{{str_limit($resulttoday->title_name,30)}}</a></h3> </div> </div> @endforeach </div> @else <div class="titile-cate"> Video Most Views <ul> <li class="dropdown"> <a href="#" class="dropdown-toggle list-video-filter" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="true">Views<span class="caret"></span></a> <ul id="video-filter" class="hidden"> <li><a class="active" href="javascript:void(0)" data-value="/views">Views</a></li> <li><a href="javascript:void(0)" data-value="/rating">Rating</a></li> <li><a href="javascript:void(0)" data-value="/duration">Duration</a></li> <li><a href="javascript:void(0)" data-value="/date">Date</a></li> </ul> </li> </ul> </div> <div class="row content-image"> @foreach($todayRating as $resulttoday) <?php $rating = GetRatingVideo($resulttoday->string_Id); ?> <div class="col-xs-6 col-sm-4 col-md-3 image-left"> <div class="col"> <div class="col_img"> <span class="hd">HD</span> <a href="{{URL('watch')}}/{{$resulttoday->string_Id.'/'.$resulttoday->post_name}}.html"> <img src="{{$resulttoday->getImageUrl($resulttoday->poster)}}" alt="{{$resulttoday->title_name}}" height="177" /> </a> <div class="position_text"> <p class="icon-like"></p> <p class="percent">{{floor($rating['percent_like'])}}%</p> <p class="time_minimute">{{sec2hms($resulttoday->duration)}}</p> </div> </div> <h3><a href="{{URL('watch')}}/{{$resulttoday->string_Id.'/'.$resulttoday->post_name}}.html">{{str_limit($resulttoday->title_name,30)}}</a></h3> </div> </div> @endforeach </div> @endif @if($recomment != NULL) @foreach($recomment as $result) <?php $video_categories = get_video_form_cat($result->ID) ?> @if(count($video_categories)>0) <h2>Recommended Category For You <a style="text-decoration: none" href="{{URL('categories/')}}/{{$result->ID}}.{{$result->post_name}}.html"><span>-{{$result->title_name}}</span></a></h2> <div class="row content-image"> @foreach($video_categories as $result) <?php $rating=GetRatingVideo($result->string_Id);?> <div class="col-xs-6 col-sm-4 col-md-3 image-left"> <div class="col"> <div class="col_img"> <span class="hd">HD</span> <a href="{{URL('watch')}}/{{$result->string_Id.'/'.$result->post_name}}.html"> <img src="{{$result->getImageUrl($result->poster)}}" alt="{{$result->title_name}}" height="177" /> </a> <div class="position_text"> <p class="icon-like"></p> <p class="percent">{{floor($rating['percent_like'])}}%</p> <p class="time_minimute">{{sec2hms($result->duration)}}</p> </div> </div> <h3><a href="{{URL('watch')}}/{{$result->string_Id.'/'.$result->post_name}}.html">{{str_limit($result->title_name,30)}}</a></h3> </div> </div> @endforeach </div> @endif @endforeach @endif <div class="page_navigation"> @if(!empty($today)) {!!$today->render()!!} @endif @if(!empty($todayRating)) {!!$todayRating->render()!!} @endif </div> </div> </div> @endsection
jordane45
Messages postés
38144
Date d'inscription
mercredi 22 octobre 2003
Statut
Modérateur
Dernière intervention
21 avril 2024
4 650
27 juin 2020 à 18:01
27 juin 2020 à 18:01
Tu sembles faire du twig .. mais avec du php dedans ... ce n'est pas possible à ma connaissance...
A moins que ça ne soit pas du twig...
Qu'utilises tu ?
Bootstrap pour le css... ok ...
mais ensuite, tu utilises un moteur de template ? lequel ?
Tu codes en MVC ? ( en symfony peut-être ? ) ?
A moins que ça ne soit pas du twig...
Qu'utilises tu ?
Bootstrap pour le css... ok ...
mais ensuite, tu utilises un moteur de template ? lequel ?
Tu codes en MVC ? ( en symfony peut-être ? ) ?
B4U
Messages postés
40
Date d'inscription
dimanche 24 novembre 2019
Statut
Membre
Dernière intervention
27 juin 2020
>
jordane45
Messages postés
38144
Date d'inscription
mercredi 22 octobre 2003
Statut
Modérateur
Dernière intervention
21 avril 2024
27 juin 2020 à 18:10
27 juin 2020 à 18:10
Oui j'utilise cette script je lai payé ! Je vois qu'il ya bootsrap pour le css ! et autre la je ne vois pas
27 juin 2020 à 17:47
27 juin 2020 à 17:48
Merci de lire complètement le tuto ci-après: https://codes-sources.commentcamarche.net/faq/11288-les-balises-de-code