include("include.php");
$id = $_GET['id'];
if (strpos($id, "-")) {
$id = @explode("-", $id);
$id = $id[0];
}
$rid = $id;
include("header.php");
$userip = $_SERVER['REMOTE_ADDR'];
$useragent = $_SERVER['HTTP_USER_AGENT'];
$id = $_GET['id'];
$id = @explode("-", $id);
$id = $id[0];
$rid = $id;
include("mysql/sqldb.php");
$res = mysql_query("SELECT * FROM stories WHERE id='$id' LIMIT 1");
if (mysql_numrows($res)==0) {
mysql_close();
print('
There is no post at this addres. Try our homepage instead.
');
exit(include("footer.php"));
}
$from = mysql_result($res,0,"user");
$adult = mysql_result($res,0,"adult");
$pid = mysql_result($res,0,"id");
$title = mysql_result($res,0,"title");
$title2 = strip_title($title);
$pic = html_entity_decode(mysql_result($res,0,"message"));
$PIK = mysql_result($res,0,"message");
$tmp = explode("![]()
\" $title \"");
//print("
");
$z = 1;
$tmp = $rid;
?>
print("
\" $title \"
");
?>
$PIK = html_entity_decode($PIK);
?>
if ($IW < 630) { ?>
} else { ?>
}
?>
Click here for more great photos
$tmp = explode("
@mysql_close();
include("footer.php"); ?>