first commit

This commit is contained in:
Roman Pyrih
2026-02-03 13:33:04 +01:00
commit 197675d958
6012 changed files with 565827 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
<div class="row">
<?
if ( is_array( $this -> articles ) ) foreach ( $this -> articles as $article )
{
if ( $article['password'] and !\S::get_session( 'article-' . $article['id'] . '-' . $article['password'] ) )
echo \front\view\Articles::password_view( [ 'article' => $article ] );
else
{
$tpl = new \Tpl;
$tpl -> page_id = $this -> page_id;
$tpl -> article = $article;
echo $tpl -> render( 'articles/article-entry' );
}
}
?>
</div>