cineflex/resources/views/main/cinemas/cinema.blade.php

34 lines
1.1 KiB
PHP
Raw Normal View History

2023-01-01 20:13:11 +01:00
@extends('main.layout')
@section('content')
<section>
<h1>{{$cinema->cinema_name}}</h1>
<hr/>
<div id="cinema">
<div class="details">
<span>{{$cinema->address->string()}}</span><br/>
<span>{{$cinema->cinema_open}} - {{$cinema->cinema_close}}</span>
</div>
</div>
</section>
<section>
<h1>Now playing:</h1>
<hr/>
<div id="showings">
@foreach($cinema->showings as $showing)
<a href="/showing/{{$showing->showing_id}}">
2023-02-02 08:31:50 +01:00
<x-cache-image src="{{$showing->movie->movie_image}}" alt="{{$showing->movie->movie_name}} Poster" class="poster" width="200px"/>
2023-01-01 20:13:11 +01:00
<div class="details">
<span>{{$showing->movie->movie_name}}</span><br/>
<span>{{$showing->showing_date}}</span><br/>
<span>{{$showing->showing_time}}</span>
</div>
</a>
@endforeach
</div>
</section>
@endsection