Skip to content
Snippets Groups Projects
Commit 72140799 authored by Eric Laufer's avatar Eric Laufer
Browse files

Newsaugabe korrigiert

Fehler der Zeilenumbrüche korrigiert
parent bdd8ec8b
No related merge requests found
...@@ -52,7 +52,7 @@ class news{ ...@@ -52,7 +52,7 @@ class news{
$start = $seite * 10 - 10; $start = $seite * 10 - 10;
foreach($this->db->get_results("SELECT * FROM " . PREFIX . NEWS . " ORDER BY id DESC LIMIT $start, 10") AS $res) { foreach($this->db->get_results("SELECT * FROM " . PREFIX . NEWS . " ORDER BY id DESC LIMIT $start, 10") AS $res) {
$aus .= '<div class="card"><div class="card-header">'. $res->titel . ' vom ' . date("d.m.Y - H:i:s", $res->zeit) .'</div>'; $aus .= '<div class="card"><div class="card-header">'. $res->titel . ' vom ' . date("d.m.Y - H:i:s", $res->zeit) .'</div>';
$aus .= '<div class="card-body">'.nl2br($res->news); $aus .= '<div class="card-body">'.$res->news;
if($this->config->news_komment == 1){ $aus .= $this->NewsKommentare($res->id); } if($this->config->news_komment == 1){ $aus .= $this->NewsKommentare($res->id); }
$aus .= '</div>'; $aus .= '</div>';
$aus .= '</div><br>'; $aus .= '</div><br>';
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment