first commit

This commit is contained in:
2024-11-17 19:56:17 +01:00
commit 81b1185f8e
6599 changed files with 832395 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
<? global $lang;?>
<? if ( is_array( $this -> articles ) ): foreach( $this -> articles as $article ):?>
<div class="article-list">
<?
$article['language']['seo_link'] ? $url = $article['language']['seo_link'] : $url = 'a-' . $article['id'] . '-' . \S::seo( $article['language']['title'] );
?>
<h3 class="article-title">
<a href="/<? if ( \S::get_session( 'current-lang' ) != \front\factory\Languages::default_language( \S::get_domain( $_SERVER['HTTP_HOST'] ) ) ) echo \S::get_session( 'current-lang' ) . '/';?><?= $url;?>" title="<?= $article['language']['title'];?>" <? if ( $article['language']['noindex'] ):?>rel="nofollow"<? endif;?>><?= $article['language']['title'];?></a>
</h3>
<?
if ( $this -> articles[0]['show_date_add'] )
echo '<div class="date-add">' . ucfirst( $lang['data-dodania'] ) . ': ' . $this -> articles[0]['date_add'] . '</div>';
?>
</div>
<? endforeach; endif;?>