Location: PHPKode > scripts > Noostr > style/default/hot.php
<?php defined('SYSPATH') OR die('No direct access to this file is allowed.');
show_header();
show_content();
$stories = null;
switch ($ns->template['page']) {
	default:
	case 'hot':
		$stories = get_ranked_stories();
		break;
	case 'new':
		$stories = get_stories();
		break;
}

if (count($stories) == 0) {
?>
<p>No stories to show!</p>
<?php
} else {
	for ($i = 0, $c = count($stories); $i < $c; $i++) {
		show_story($stories[$i], $i + 1);
	}
}
show_footer();
Return current item: Noostr