View file resources/views/forums/print.blade.php

File size: 488B
@extends('layout_simple')

@section('title')
    {{ $topic->title }}
@stop

@section('description', $description)

@section('content')
    <h1>{{ $topic->title }}</h1>

    @foreach ($posts as $key => $data)
        {{ $key + 1 }}. <b>{{ $data->user->login }}</b> ({{ dateFixed($data->created_at) }})<br>
        {!! bbCode($data->text) !!}
        <br><br>
    @endforeach

    URL: <a href="{{ siteUrl() }}/topics/{{ $topic->id }}">{{ siteUrl(true) }}/topics/{{ $topic->id }}</a>
@stop