47 lines
1.5 KiB
PHP
47 lines
1.5 KiB
PHP
<?php include(realpath(dirname(__FILE__)."/../")."/header.php"); ?>
|
|
|
|
<!-- start page title -->
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<div class="page-title-box">
|
|
<div class="page-title-right">
|
|
<ol class="breadcrumb m-0">
|
|
<li class="breadcrumb-item"><a href="javascript: void(0);">the-tool</a></li>
|
|
<li class="breadcrumb-item active">Dashboard</li>
|
|
</ol>
|
|
</div>
|
|
<h4 class="page-title">Dashboard</h4>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- end page title -->
|
|
|
|
<?php if(is_array($newss) && count($newss)): ?>
|
|
<h4>Neuigkeiten</h4>
|
|
|
|
<?php foreach($newss as $news): ?>
|
|
<div class="row">
|
|
<div class="col-12 col-xl-10">
|
|
<div class="card">
|
|
<div class="card-header bg-info text-white pt-1 pb-1" style="font-size: 1rem; font-weight: 400;">
|
|
<span><?=date("d.m.Y", $news->create)?>:</span>
|
|
<?php if($news->subject): ?>
|
|
<?=$news->subject?>
|
|
<?php endif; ?>
|
|
</div>
|
|
<div class="card-body pb-0 pt-1">
|
|
<div class="row col-12">
|
|
<div><?=$news->text?></div>
|
|
</div>
|
|
</div>
|
|
<div class="card-footer pt-1 pb-1 bg-light text-secondary text-monospace font-italic">
|
|
<?=$news->editor->name?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<?php endforeach; ?>
|
|
<?php endif; ?>
|
|
|
|
|
|
<?php include(realpath(dirname(__FILE__)."/../")."/footer.php"); ?>
|