<?
function num_comments2($pid) {  // the function to get the number of comments on a certain post
	$sql = "SELECT cid FROM comment_text WHERE pid='$pid' AND isSpam='no'";
	$result = mysql_query($sql) or die("Your SQL query: <br />$sql<br /><br />MySQL said:<br />".mysql_error());
	$number = mysql_num_rows($result);
	return($number);
}
$db = mysql_connect("internal-db.s2231.gridserver.com", "stillfam", "rootbeer1");
if (!$db)
	echo "<font color=\"red\">ERROR</font>: could not connect to database for some odd reason... please try again later";
mysql_select_db("db2231_talkback");
?>
<!-- BEGIN BLOGGER CODE -->


<? $frontpage = 1; ?>

<h1>Monday, July 29, 2002</h1>

<a name="79571444"></a></h2>
<p>this is what summer is all about.  pop on a cd, sit in this chair and go online.  I did pretty much nothing today.  I was supposed to clean my room among other things, and I just havne't gotten around to them yet.  maybe tonight when it is not so hot in my room.  right now it is 91.  INSIDE.  yeah, maybe when it gets cooler, i will do things worthwhile...</p>
<div class="byline">posted @ 5:36 PM
<?
if (isset($frontpage) && $frontpage == 1) { 
	?>
[ <a href="http://www.stilldavid.com/2002/07/this-is-what-summer-is-all-about.php#comments" onclick="sndReq('79571444'); return false;" id="a79571444"><? echo (num_comments2("79571444") == 0 ? " Add Comment" : " Show ".num_comments2("79571444")." Comments"); ?></a> <a href="http://www.stilldavid.com/2002/07/this-is-what-summer-is-all-about.php#comments" title="add/view comments" onclick="commentPopUp('/talkback/index.php?pid=79571444'); return false;"><img src="/images/newwin.gif" alt="new window" title="new window" /></a> ]
[<a href="http://www.stilldavid.com/2002/07/this-is-what-summer-is-all-about.php" title="permalink">link to this post</a>] 
</div><br /><div class="comment" id="c79571444"></div><br />
	<?
} else {
	echo "</div>";
	$pid = '79571444';
	include '../../talkback/showcomments.php';
}
?>


<? $frontpage = 1; ?>

<h1>Sunday, July 28, 2002</h1>

<a name="79538806"></a></h2>
<p>oh yeah, just to let anyone out there reading this know...  a subscription to netflix + decss + dvdrom = one very happy david  :)</p>
<div class="byline">posted @ 11:38 PM
<?
if (isset($frontpage) && $frontpage == 1) { 
	?>
[ <a href="http://www.stilldavid.com/2002/07/oh-yeah-just-to-let-anyone-out-there.php#comments" onclick="sndReq('79538806'); return false;" id="a79538806"><? echo (num_comments2("79538806") == 0 ? " Add Comment" : " Show ".num_comments2("79538806")." Comments"); ?></a> <a href="http://www.stilldavid.com/2002/07/oh-yeah-just-to-let-anyone-out-there.php#comments" title="add/view comments" onclick="commentPopUp('/talkback/index.php?pid=79538806'); return false;"><img src="/images/newwin.gif" alt="new window" title="new window" /></a> ]
[<a href="http://www.stilldavid.com/2002/07/oh-yeah-just-to-let-anyone-out-there.php" title="permalink">link to this post</a>] 
</div><br /><div class="comment" id="c79538806"></div><br />
	<?
} else {
	echo "</div>";
	$pid = '79538806';
	include '../../talkback/showcomments.php';
}
?>


<? $frontpage = 1; ?>

<a name="79538683"></a></h2>
<p>I got back on the 23rd or something close to that, just to find more work at home.  I swear, i am gonna burn out before the end of the summer...  wait, summer really has started?  ahhh.  Today I got back from painting the outside of our family's cabin in trinity county.  As for the near future, I plan on lots and lots of sleep.  I might tell you what I did in colorado, but if you really care right now, call me.  speaking of, the school I am NOT going to just sent me a student roster and re-registration form.  guess what?  I made it in the roster for this fall.  That school needs a new paperwork system or something new cuz it sucks.  no offense to any adult from bq reading this, but if you are a student, you know what i mean  :)</p>
<div class="byline">posted @ 11:34 PM
<?
if (isset($frontpage) && $frontpage == 1) { 
	?>
[ <a href="http://www.stilldavid.com/2002/07/i-got-back-on-23rd-or-something-close.php#comments" onclick="sndReq('79538683'); return false;" id="a79538683"><? echo (num_comments2("79538683") == 0 ? " Add Comment" : " Show ".num_comments2("79538683")." Comments"); ?></a> <a href="http://www.stilldavid.com/2002/07/i-got-back-on-23rd-or-something-close.php#comments" title="add/view comments" onclick="commentPopUp('/talkback/index.php?pid=79538683'); return false;"><img src="/images/newwin.gif" alt="new window" title="new window" /></a> ]
[<a href="http://www.stilldavid.com/2002/07/i-got-back-on-23rd-or-something-close.php" title="permalink">link to this post</a>] 
</div><br /><div class="comment" id="c79538683"></div><br />
	<?
} else {
	echo "</div>";
	$pid = '79538683';
	include '../../talkback/showcomments.php';
}
?>


<? $frontpage = 1; ?>

<h1>Monday, July 08, 2002</h1>

<a name="78707666"></a></h2>
<p>I am still in this good ol mile high state, and I am having quite alot of fun here.  I am going to climb a 14er this weekend starting friday I guess, so that will be quite a challenge.  Thats all I can do for now, but I will be back soon...</p>
<div class="byline">posted @ 5:37 PM
<?
if (isset($frontpage) && $frontpage == 1) { 
	?>
[ <a href="http://www.stilldavid.com/2002/07/i-am-still-in-this-good-ol-mile-high.php#comments" onclick="sndReq('78707666'); return false;" id="a78707666"><? echo (num_comments2("78707666") == 0 ? " Add Comment" : " Show ".num_comments2("78707666")." Comments"); ?></a> <a href="http://www.stilldavid.com/2002/07/i-am-still-in-this-good-ol-mile-high.php#comments" title="add/view comments" onclick="commentPopUp('/talkback/index.php?pid=78707666'); return false;"><img src="/images/newwin.gif" alt="new window" title="new window" /></a> ]
[<a href="http://www.stilldavid.com/2002/07/i-am-still-in-this-good-ol-mile-high.php" title="permalink">link to this post</a>] 
</div><br /><div class="comment" id="c78707666"></div><br />
	<?
} else {
	echo "</div>";
	$pid = '78707666';
	include '../../talkback/showcomments.php';
}
?>


<? $frontpage = 1; ?>

<h1>Wednesday, July 03, 2002</h1>

<a name="78519754"></a></h2>
<p>I am now in Colorado, and it is pretty fun so far.  I am ggoing to be going camping pretty soon I hear, so hthat will be pretty fun also.  I will be here for three weeks total staying with my counsin(my moms sisters family) and I am leaving on 23 or so i think.  I havent much time on hte computer, so I must be brief, ur I will try to get back to it soon to tell you what I am up to areound here.  more in a bit</p>
<div class="byline">posted @ 12:32 PM
<?
if (isset($frontpage) && $frontpage == 1) { 
	?>
[ <a href="http://www.stilldavid.com/2002/07/i-am-now-in-colorado-and-it-is-pretty.php#comments" onclick="sndReq('78519754'); return false;" id="a78519754"><? echo (num_comments2("78519754") == 0 ? " Add Comment" : " Show ".num_comments2("78519754")." Comments"); ?></a> <a href="http://www.stilldavid.com/2002/07/i-am-now-in-colorado-and-it-is-pretty.php#comments" title="add/view comments" onclick="commentPopUp('/talkback/index.php?pid=78519754'); return false;"><img src="/images/newwin.gif" alt="new window" title="new window" /></a> ]
[<a href="http://www.stilldavid.com/2002/07/i-am-now-in-colorado-and-it-is-pretty.php" title="permalink">link to this post</a>] 
</div><br /><div class="comment" id="c78519754"></div><br />
	<?
} else {
	echo "</div>";
	$pid = '78519754';
	include '../../talkback/showcomments.php';
}
?>

<!-- END BLOGGER CODE -->