first commit

This commit is contained in:
2023-09-04 21:59:34 +02:00
commit 650ef5b3e1
196 changed files with 24080 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
<div class="browse">
<?
if ( is_array( $this -> _articles ) )
{
?>
<table class='table_browse'>
<thead>
<tr>
<td class='title' style='width: 15px; text-align:center;'>Lp.</td>
<td class='title'>Tytuł</td>
<td class='title' style="text-align: center; width: 150px;">Data modyfikacji</td>
<td class='title' style='width: 15px;'></td>
</tr>
</thead>
<tbody>
<?
foreach ( $this -> _articles as $article )
{
?>
<tr>
<td class='cell' style='text-align:center;'><?= ++$i;?>.</td>
<td class='cell'><?= $article -> _values['title'];?></td>
<td class="cell" style="text-align: center;">
<?= date( 'Y-m-d H:i', strtotime( $article -> _values['date_modify'] ) );?>
</td>
<td class='cell'>
<a href="./?page_type=page_articles&rw=edit&id=<?= $article -> _values['id'];?>">
<span class='icon edit'></span>
</a>
</td>
</tr>
<?
}
?>
</tbody>
</table>
<?
}
else
echo '<div id="alert" class="alert" style="margin: 0px; width: 100%; border: 0px; text-align: center;">Brak przypisanych artykułów.</div>';
?>
</div>