';
echo '
'.$row['news_title'].'
'.PHP_EOL;
if ($validated == 1) {
echo '
';
}
// Needs closing
if(!empty($row['news_image']) OR !empty($row['video'])){
if($side == 'left'){
$side = 'right';
}else{
$side = 'left';
}
}
echo '
'.PHP_EOL;
if(!empty($row['news_image'])){
echo '
!['.$row['news_title'].']('.$row['news_image'].')
'.PHP_EOL;
}elseif(!empty($row['video'])){
echo '
'.PHP_EOL;
}
echo '
'.nl2br($row['content']);
require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/author.php';
echo '
'.PHP_EOL;
echo '
'.PHP_EOL;
echo '
'.PHP_EOL;
echo '
'.PHP_EOL;
$previousDate = $currentDate; // Update the previousDate for the next iteration
}
echo '
Do you have some history we are missing? Contact '.$admin.'! Be sure to include a date or at least a year, complete details and an image if you have it.