View file resources/views/forums/print.blade.php
@extends('layout_simple') @section('title', $topic->title) @section('description', $description) @section('content') <h1>{{ $topic->title }}</h1> @foreach ($posts as $key => $data) {{ $key + 1 }}. <b>{{ $data->user->getName() }}</b> ({{ dateFixed($data->created_at) }})<br> {{ bbCode($data->text) }} <br><br> @endforeach URL: <a href="{{ config('app.url') }}/topics/{{ $topic->id }}">{{ config('app.url') }}/topics/{{ $topic->id }}</a> @stop