rendered paste body public function get_post($name) {
$query = "SELECT * FROM blog_posts WHERE name = '". $name ."'";
$result = mysql_query($query) or die(mysql_error());
$posts = mysql_fetch_row($result);
$name_link = str_replace(" ", "_", $posts[1]);
echo "<table border=\"0\" cellspacing=\"2\" cellpadding=\"2\">
<tr>
<td><a href=\"". $posts[5] ."/". $name_link ."\">". $posts[1] ."</a> (". $posts[5] .") Posted on ". $posts[2] ."</td>
</tr>
<tr>
<td>
".
$this->bbcode_post($posts[4])
."
</td>
</tr>
</table>";
}