added news

This commit is contained in:
Tóth Richárd
2019-07-30 13:38:51 +02:00
parent 0e414de243
commit 27522d0053
16 changed files with 610 additions and 147 deletions

View File

@@ -0,0 +1,15 @@
<div class="buttons">
<a href="/admin/create/news" class="addbutton add-big">Új hír hozzádása</a>
</div>
<div class="list">
{foreach $news_array as $news}
<a href="/admin/news/{$news->get_n_id()}">
<div class="list_item">
<img src="/_image/news.png">
{$news->get_n_title()}
<span style="font-weight: normal; font-style: italic;"> {$news->get_n_date()|date_format:"%Y.%m.%d %H:%M"}</span>
</div>
</a>
{/foreach}
</div>