= htmlspecialchars($post['title']) ?>
= htmlspecialchars($post['summary']) ?>
query("SELECT title, slug, views FROM posts WHERE status='published' ORDER BY views DESC LIMIT 5");
$curated_trending = $trending_stmt->fetchAll(PDO::FETCH_ASSOC);
}
$exclude_ids = array_unique(array_merge(
array_column($hero_posts, 'id'),
array_column($slider_posts, 'id'),
array_column($curated_trending, 'id')
));
$latest = get_latest_posts(10, 0, $exclude_ids);
?>
= htmlspecialchars($post['summary']) ?>
You've reached the end of today's updates.
= htmlspecialchars($main_feat['title']) ?>
Top Picks for you
Recent Stories
= htmlspecialchars($post['title']) ?>