";
echo "About this blog... ";
include("admin/db.php");
$sql = "select uniqueid,curdate,chap from blog order by uniqueid desc";
$res = mysql_query($sql,$db) or die ($sql);
$blogmsg = "";
$chapmsg = "";
while ($row = mysql_fetch_array($res)) {
if ($row[chap] == "0" ) {
$blogmsg .= "\n";
} else {
$chapmsg .= "\n";
}
}
echo "";
?>
if ($uniqueid == "-1") {
?>
About this blog...
It seems that everyone has a blog these days and I was feeling a bit left out. I also wanted to make mine uniquely my own and it took some time to figure out what form it should take.
You may notice a list of "Chapters" along the left hand side here. Those are chapters in a "book" that I have been writing for several years now. It's about Mom, who always said she was going to write a book about her life but never got around to it. I figured I would do it for her. And of course it's purely from my perspective, which will naturally be different than others. I wrote it partly as a way of coping with her loss as well. I expect that at some point in time I will drift into writing it about losing Allan too.
I welcome any comments you may have on what I have written there. They will be edited for content before I put them on the site of course, can't have any bad words slipping in accidentally. In the meantime, I will likely add random thoughts here as they occur to me.
} else {
if ($uniqueid == "0" || $uniqueid == "") {
$sqlblog = "select * from blog where chap = \"0\" order by curdate desc,uniqueid desc limit 2";
} else {
$sqlblog = "select * from blog where uniqueid = \"".$uniqueid."\"";
}
$resblog = mysql_query($sqlblog,$db) or die($sqlblog);
while ($rowblog = mysql_fetch_array($resblog)) {
echo "