$dbqnx = mysql_connect("mysql.showbizmonkeys.com", "showbizmonkeys", "!rastaman18");
mysql_select_db("showbizmonkeys", $dbqnx);
// SELECT AN INDIVIDUAL STORY
if (isset($_GET['postid'])) {
$postid = substr($_GET['postid'], 0, 5);
settype($postid, "int");
$getpost = mysql_query("SELECT * FROM posts WHERE active = '1' and username = 'JDRenaud' and ID = '$postid' LIMIT 1");
$i = 0;
$row = mysql_fetch_array($getpost);
$title = stripslashes($row['title']);
$title = str_replace("Amplified Idiots: ", "", $title);
$date = date("F j, Y @ g:ia", strtotime($row['date']));
$media = stripslashes($row['media']);
if ($row != 0) {
$views = $row['views'];
$views++;
mysql_query ("UPDATE posts SET views='$views' WHERE ID = '$postid';");
}
$content = stripslashes($row['content']);
?>
Amplified Idiots
} ?>
‘, ”, $content_intro); “, $content_intro); ‘ . $content_intro[1] . ‘ ‘; “, $content_intro_p); ‘ . $content_intro_ul[1] . ‘
‘ . $content_intro_ul[2] . ‘
‘ . $content_intro_ul[3] . ‘
‘ . $content_intro_ul[4] . ‘
‘;
$content_intro = explode(“
$content_intro_p = $content_intro[0] . ‘
$content_intro_ul = explode(“
if ($content_intro_ul[4] != “”) {
$content_intro_li = $content_intro_ul[0] . ‘
$content = stripslashes($content_intro_li);
}
else {
$content = stripslashes($content_intro_p);
}
?>
} // move up the post counter $i++; } if ($posts1 != "0") { $posts0 = $posts1 - 10; ?>
“>Next >}?>
} else { ?>
} ?>