<?
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>Friday, March 14, 2003</h1>

<a name="90749193"></a></h2>
<p>Okay, while I am gone, I put in a new page on my site that filters out all IP addresses that come from my parent's IP addresses.  This is to stop them from looking at all the stuff I posted about that camp, plus, they were asking me about my site.  The redirect added another ad to the front page, (thats 3 I think now...), but when I get back, my top priority is registering a domain name and getting some ad-free hosting.  Anyway, I'm out for a few weeks...</p>
<div class="byline">posted @ 9:14 PM
<?
if (isset($frontpage) && $frontpage == 1) { 
	?>
[ <a href="http://www.stilldavid.com/2003/03/okay-while-i-am-gone-i-put-in-new-page.php#comments" onclick="sndReq('90749193'); return false;" id="a90749193"><? echo (num_comments2("90749193") == 0 ? " Add Comment" : " Show ".num_comments2("90749193")." Comments"); ?></a> <a href="http://www.stilldavid.com/2003/03/okay-while-i-am-gone-i-put-in-new-page.php#comments" title="add/view comments" onclick="commentPopUp('/talkback/index.php?pid=90749193'); return false;"><img src="/images/newwin.gif" alt="new window" title="new window" /></a> ]
[<a href="http://www.stilldavid.com/2003/03/okay-while-i-am-gone-i-put-in-new-page.php" title="permalink">link to this post</a>] 
</div><br /><div class="comment" id="c90749193"></div><br />
	<?
} else {
	echo "</div>";
	$pid = '90749193';
	include '../../talkback/showcomments.php';
}
?>


<? $frontpage = 1; ?>

<a name="90749077"></a></h2>
<p>Well, apparently I am a delinquent, because my parents are sending me to a "wilderness therapy" camp starting tomorrow I found out so nicely today.  Why are they sending me to a 21 day backpacking trip on less than a days notice?  School.  Parents.  Grades.  I guess I don't have a very good relationship with my father, and that is manifesting itself in my schoolwork somehow (don't ask, it just does) so my parents want me to go to a wilderness camp [<a href="http://www.cfreer.com">+</a>] where I am going to 'reflect on my inner self' and that sort of theraputic thing.  I won't be attending any school while I am gone, and none of my friends know yet.  According to my mother, I am not to tell any of them goodbye, because "you don't do that sort of thing before a trip like this, because it ruins it" or something like that.  So if you are reading this looking for an answer, that is why.  I won't be at school.  I won't be at home.  I will be in the pacific northwests great outdoors (Oregon, to be exact) reflecting on my inner self.  Crap, this is going to suck.</p>
<div class="byline">posted @ 9:10 PM
<?
if (isset($frontpage) && $frontpage == 1) { 
	?>
[ <a href="http://www.stilldavid.com/2003/03/well-apparently-i-am-delinquent.php#comments" onclick="sndReq('90749077'); return false;" id="a90749077"><? echo (num_comments2("90749077") == 0 ? " Add Comment" : " Show ".num_comments2("90749077")." Comments"); ?></a> <a href="http://www.stilldavid.com/2003/03/well-apparently-i-am-delinquent.php#comments" title="add/view comments" onclick="commentPopUp('/talkback/index.php?pid=90749077'); return false;"><img src="/images/newwin.gif" alt="new window" title="new window" /></a> ]
[<a href="http://www.stilldavid.com/2003/03/well-apparently-i-am-delinquent.php" title="permalink">link to this post</a>] 
</div><br /><div class="comment" id="c90749077"></div><br />
	<?
} else {
	echo "</div>";
	$pid = '90749077';
	include '../../talkback/showcomments.php';
}
?>


<? $frontpage = 1; ?>

<a name="90717504"></a></h2>
<p>I put up a few (30) pictures from my trip to guatemala.  They each have a little explanation, and have a really cool little navigation thing.  [<a href="me/guatphotos/">+</a>]</p>
<div class="byline">posted @ 8:56 AM
<?
if (isset($frontpage) && $frontpage == 1) { 
	?>
[ <a href="http://www.stilldavid.com/2003/03/i-put-up-few-30-pictures-from-my-trip.php#comments" onclick="sndReq('90717504'); return false;" id="a90717504"><? echo (num_comments2("90717504") == 0 ? " Add Comment" : " Show ".num_comments2("90717504")." Comments"); ?></a> <a href="http://www.stilldavid.com/2003/03/i-put-up-few-30-pictures-from-my-trip.php#comments" title="add/view comments" onclick="commentPopUp('/talkback/index.php?pid=90717504'); return false;"><img src="/images/newwin.gif" alt="new window" title="new window" /></a> ]
[<a href="http://www.stilldavid.com/2003/03/i-put-up-few-30-pictures-from-my-trip.php" title="permalink">link to this post</a>] 
</div><br /><div class="comment" id="c90717504"></div><br />
	<?
} else {
	echo "</div>";
	$pid = '90717504';
	include '../../talkback/showcomments.php';
}
?>


<? $frontpage = 1; ?>

<h1>Wednesday, March 12, 2003</h1>

<a name="90601025"></a></h2>
<p>Well, I am back in school today for the first time in a while.  I just wanted to post the journal that I quasi-kept while I was there.  It is kinda long, so read it only if you have a few minutes... [<a href="me/guatjournal.html" alt="guatjournal">+</a>]</p>
<div class="byline">posted @ 10:57 AM
<?
if (isset($frontpage) && $frontpage == 1) { 
	?>
[ <a href="http://www.stilldavid.com/2003/03/well-i-am-back-in-school-today-for.php#comments" onclick="sndReq('90601025'); return false;" id="a90601025"><? echo (num_comments2("90601025") == 0 ? " Add Comment" : " Show ".num_comments2("90601025")." Comments"); ?></a> <a href="http://www.stilldavid.com/2003/03/well-i-am-back-in-school-today-for.php#comments" title="add/view comments" onclick="commentPopUp('/talkback/index.php?pid=90601025'); return false;"><img src="/images/newwin.gif" alt="new window" title="new window" /></a> ]
[<a href="http://www.stilldavid.com/2003/03/well-i-am-back-in-school-today-for.php" title="permalink">link to this post</a>] 
</div><br /><div class="comment" id="c90601025"></div><br />
	<?
} else {
	echo "</div>";
	$pid = '90601025';
	include '../../talkback/showcomments.php';
}
?>


<? $frontpage = 1; ?>

<h1>Monday, March 10, 2003</h1>

<a name="90499749"></a></h2>
<p>Again, big wow.  I have been in guatemala for the past week or so, so this is like the biggest thing that has happened in a long time to me.  I have been keeping a quasi-journal since we got here, so i will post that when I get home and have the chance.  This has been crazy for me to go, and i have some awsome stories of things that have happened to me, so yeah, ask if you have like a few hours to spare.  well, just an update to say that I am still alive, because I am down to the last quetzal in this internet cafe, so i gotta go...  wow.  This is so awsome.  BTW, i am in antigua, and was in tikal all day...</p>
<div class="byline">posted @ 7:59 PM
<?
if (isset($frontpage) && $frontpage == 1) { 
	?>
[ <a href="http://www.stilldavid.com/2003/03/again-big-wow.php#comments" onclick="sndReq('90499749'); return false;" id="a90499749"><? echo (num_comments2("90499749") == 0 ? " Add Comment" : " Show ".num_comments2("90499749")." Comments"); ?></a> <a href="http://www.stilldavid.com/2003/03/again-big-wow.php#comments" title="add/view comments" onclick="commentPopUp('/talkback/index.php?pid=90499749'); return false;"><img src="/images/newwin.gif" alt="new window" title="new window" /></a> ]
[<a href="http://www.stilldavid.com/2003/03/again-big-wow.php" title="permalink">link to this post</a>] 
</div><br /><div class="comment" id="c90499749"></div><br />
	<?
} else {
	echo "</div>";
	$pid = '90499749';
	include '../../talkback/showcomments.php';
}
?>

<!-- END BLOGGER CODE -->