";
echo "

";
$id2 = 0;
$result = dbquery("SELECT article_id, article_subject, article_snippet FROM ".DB_ARTICLES." WHERE article_draft='0' ORDER BY article_datestamp DESC LIMIT 15");
if (dbrows($result) > 0 ) {
$i2=0;
while($data = dbarray($result)) {
$i2++;
switch ($i2) {
case 1:
$id2 = 'start';
break;
case dbrows($result):
$id2 = 'koniec';
break;
default:
$id2 = '';
}
$itemsubject = trimlink($data['article_subject'], 23);
$fragment = substr(stripslashes($data['article_snippet']), 0, 186).'...';
echo "
";
echo "
Najnowszy artykuł: $itemsubject ";
echo "
";
echo "

";
echo "
";
echo "$fragment";
echo "";
echo "
";
}
echo "
";
echo "
";
} else {
echo "