'); echo ' '; echo "Pile of Photos Pile of Photos http://www.pileofphotos.com http://www.pileofphotos.com Thu, 21 Sep 2006 22:58:26 -0600 Thu, 21 Sep 2006 22:58:21 -0600"; //// $i = 0; $z = 0; while ($i < $num) { $from = mysql_result($res,$i,"user"); $title = mysql_result($res,$i,"title"); $title2 = strip_title($title); $msg = mysql_result($res,$i,"message"); $snip = mysql_result($res,$i,"snip"); $date = mysql_result($res,$i,"date"); $id = mysql_result($res,$i,"id"); // $hold = check_hold($id); // if ($hold == "no") { $ttl = str_replace(" ", "_", $title); $ttl = str_replace("!", "_", $ttl); $ttl = str_replace("?", "_", $ttl); $ttl = str_replace("-", "_", $ttl); $tmp = explode(" ", $date); $url1 = $id; $url2 = $ttl; $link = strip_tags(htmlentities("http://www.pileofphotos.com/view/$id/$title2")); $title = strip_tags(htmlentities($title)); $msg = html_entity_decode($msg); $msg = str_replace("../images", "", $msg); $msg = str_replace("../", "", $msg); //$msg = strip_tags($msg); //$msg = str_replace("&", "", $msg); $date = strip_tags(htmlentities($date)); $br = strip_tags(htmlentities("

")); $picres=mysql_query("SELECT * FROM pilephoto where pile_id ='$id' LIMIT 0, 2")or die(mysql_error()); $pic = mysql_result($picres, 0,"image_name"); $snip='' ; $snip.="

View all pictures..."; echo " $title $link $date "; //} $i++; } $z = $_SERVER["REMOTE_ADDR"]; $tmp = $_SERVER["HTTP_USER_AGENT"]; $tmp2 = ""; @mysql_close(); ?>