Home /
Money Blog
Note: You can use any financial calculator to do this problem, but if you want the BEST, you can
get our
10bii
Financial Calculator for iOS, Android, Mac, and Windows!
if ($post !== null): ?>
else: ?>
$results = db_query("
select
postid, postdate, title, uri, monthname(postdate) as month
from posts
where status='public'
order by postdate desc
");
$monthname = null;
?>
while ($row = $results->fetch_assoc()): ?>
if ($row['month'] !== $monthname): ?>
if ($monthname !== null) {
print "\n";
} ?>
print "
\n"; ?>
endif ?>
$monthname = $row['month']; ?>
endwhile; ?>
endif; ?>
include('10bii-badges-sidebar.php'); ?>
if ($post !== null): ?>
$prev = null;
$next = null;
$results = db_query(
'select postid, uri from posts where postdate <= ? and postid != ? order by postdate desc, postid desc limit 1',
'si', [$post['postdate'], $post['postid']]
);
if ($results !== false && $results->num_rows > 0) {
$prev = $results->fetch_assoc();
}
$results = db_query(
'select postid, uri from posts where postdate >= ? and postid != ? order by postdate, postid limit 1',
'si', [$post['postdate'], $post['postid']]
);
if ($results !== false && $results->num_rows > 0) {
$next = $results->fetch_assoc();
}
?>
if ($prev !== null): ?>
<
Prev
endif ?>
if ($next !== null): ?>
Next
>
endif ?>
endif; ?>