@extends("home_template") <!--title--> @section('title') Truyện tranh Online - Đọc truyện Online - 3kmanga.com @endsection <!--topCol content--> @section('topCol') <div class="panel panel-nt"> <div class="panel-heading"> <h3 class="panel-title"><i class="circleIcon bg-red fa fa-th-list"></i>Truyện mới cập nhật</h3> </div> <div class="panel-body"> <div id="slideshow" class="carousel slide" data-ride="carousel"> <div class="carousel-inner"> <div class="item active"> <div class="row" style="margin-top:10px; margin-bottom:10px"> @for( $i=0; $i<6 ; $i++ ) <div class="col-md-2 col-sm-3 col-xs-6"> <div class="item_anime_box"> <div class="img" style="text-align:center; position:relative"><a href="/manga/{{$top12[$i]->MangaID}}/{{BaseController::convertString($top12[$i]->Name)}}"><img class="lazy img-responsive" src="{{$top12[$i]->ImageInfo}}" style="margin:auto; width:140px; height:180px"></a></div> <div class="item_bottom"> <div class="title"><a href="/manga/{{$top12[$i]->MangaID}}/{{BaseController::convertString($top12[$i]->Name)}}">{{$top12[$i]->Name}}</a> </div> <div class="title2"><a href="/manga/{{$top12[$i]->MangaID}}">{{$top12[$i]->ChapterName}}</a> </div> </div> </div> <!-- End item_truyen_box --> </div> @endfor <!-- End of col-md-3 --> </div> </div> <div class="item"> <div class="row" style="margin-top:10px; margin-bottom:10px"> @for( $i=6; $i<12 ; $i++ ) <div class="col-md-2 col-sm-3 col-xs-6"> <div class="item_anime_box"> <div class="img" style="text-align:center; position:relative"><a href="/manga/{{$top12[$i]->MangaID}}/{{BaseController::convertString($top12[$i]->Name)}}"><img class="lazy img-responsive" src="{{$top12[$i]->ImageInfo}}" style="margin:auto; width:140px; height:180px"></a></div> <div class="item_bottom"> <div class="title"><a href="/manga/{{$top12[$i]->MangaID}}/{{BaseController::convertString($top12[$i]->Name)}}">{{$top12[$i]->Name}}</a> </div> <div class="title2"><a href="/manga/{{$top12[$i]->MangaID}}">{{$top12[$i]->ChapterName}}</a> </div> </div> </div> <!-- End item_truyen_box --> </div> @endfor </div> </div> </div> <a class="left carousel-control " href="#slideshow" data-slide="prev"> <span class="glyphicon glyphicon-chevron-left"></span> </a> <a class="right carousel-control" href="#slideshow" data-slide="next"> <span class="glyphicon glyphicon-chevron-right"></span> </a> </div> </div> </div> @endsection <!--content--> @section('leftCol') @foreach($errors->all() as $error) {{ $error."<br/>"}} @endforeach <div class="panel panel-nt"> <div class="panel-heading"> <h3 class="panel-title"> <i class="circleIcon fa fa-refresh bg-green"></i>Manga Update </h3> </div> <div class="panel-body"> <table class="table table_manga table-striped" style="text-align:left"> @foreach ($data as $orderByDay => $chapter) <thead> <tr> <th colspan="2"><div class="ngay_update"> <span class="badge bg-red">{{$orderByDay}}</span> </div> </th> </tr> </thead> <tbody> @foreach($chapter as $value) <tr> <td> <?php $url_manga = '/manga/'.$value->MangaID.'/'.BaseController::convertString($value->Name); $url_chapter = 'read/'.$value->ID.'/'.BaseController::convertString($value->Name.'-'.$value->ChapterName); ?> <a class="mg_name" title="{{$value->Name}}" href="{{$url_manga}}"> {{$value->Name}}</a></td> <td> <a class="mg_chapter" title="{{$value->Name}}" href="{{$url_chapter}}">{{$value->ChapterName}}</a> </td> </tr> @endforeach </tbody> @endforeach </table> </div> </div> @endsection @section('rightCol') @include('home.rank') @include('home.mangatag') @include('home.weinfb') @include('home.my_partner') @endsection