10) $prevstring = "<<  "; else $prevstring = "<<  "; if($page > 1) $prevstring .= "<  "; else $prevstring .= "<  "; if($page < $totalpages) $nextstring = "  >"; else $nextstring = "  >"; if(($page + 10) <= $totalpages) $nextstring .= "  >>"; else $nextstring .= "  >>"; $jumptostring = ""; if($totalpages > 2) { $jumprange = floor($page/10); if($jumprange == 0) $jumprange = ""; $jumprangestart = $jumprange."0"; $jumprangeend = $jumprangestart + 9; if($jumprangeend > $totalpages) $jumprangeend = $totalpages; $jumptostring = "Jump to page:  "; for($i = $jumprangestart; $i <= $jumprangeend; $i++) { if($i != 0) $jumptostring .= "$i "; } } /* INCREMENT VIEWS COUNTER */ $views++; $countresult = mysql_query("UPDATE forum_threads SET views = $views WHERE id = $threadid"); } $pagetitle = "Love-Personals Forum - $threadname"; $meta_keywords = $threadname; include("header.php"); ?>

0) echo "

$errorstring

back

"; else { ?>

Love-Personals Forum 0) echo " - $forumname"; ?> 0) { echo "

"; if($sticky == 1) echo "Sticky thread: "; echo "$threadname"; } ?> "; ?>
Back to Forum

\"Reply  "; ?> Post a New Thread

Page of

"; echo ""; echo ""; $rowcount++; } ?>
There are currently no posts in this thread.

back

"; else { ?> ", $msgbody); $msgbody = str_replace("[/B]", "", $msgbody); $msgbody = str_replace("[I]", "", $msgbody); $msgbody = str_replace("[/I]", "", $msgbody); $msgbody = str_replace("[U]", "", $msgbody); $msgbody = str_replace("[/U]", "", $msgbody); if((strstr($msgbody, "[LINK='")) && (strstr($msgbody, "']")) && (strstr($msgbody, "[/LINK]"))) { $msgbody = str_replace("[LINK='", "", $msgbody); $msgbody = str_replace("[/LINK]", "", $msgbody); } if((strstr($msgbody, "[QUOTE FROM='")) && (strstr($msgbody, "']")) && (strstr($msgbody, "[/QUOTE]"))) { $msgbody = str_replace("[QUOTE FROM='", "
", $msgbody); $msgbody = str_replace("']", " said...

", $msgbody); $msgbody = str_replace("[/QUOTE]", "

", $msgbody); } /* EMOTICON REPLACEMENTS */ $emoticonset = mysql_query("SELECT * FROM forum_emoticons"); if(mysql_numrows($emoticonset) > 0) { while($emote = mysql_fetch_array($emoticonset)) { $msgbody = str_replace($emote[replacecode], " \"$emote[name]\"", $msgbody); } } if(($rowcount % 2) == 0) $rowcol = $altcolor2; else $rowcol = $altcolor1; $memberresult = mysql_query("SELECT * FROM members WHERE username = \"$row[username]\""); if(mysql_numrows($memberresult) == 1) $isRegistered = 1; else $isRegistered = 0; if($isRegistered == 1) $userposts = number_format(mysql_result($memberresult, 0, posts), 0, ".", ","); echo "
"; echo "$row[username]

"; if($thisUserAccessLevel == 2) { $picresult = mysql_query("SELECT * FROM photos WHERE username = \"$row[username]\" ORDER BY RAND() LIMIT 1"); if(strlen($noimage) > 0) echo ""; else { galleryImage($imageid, 75, 75, 1, 0); } echo ""; } echo "
"; echo nl2br($msgbody); echo "

"; if($isRegistered == 1) echo "Posts: $userposts
"; else echo "Unregistered User
"; echo "".displayDateTime($row[datetime])."
 "; if($isRegistered == 1) { echo "\"View   "; echo "\"Send   "; echo "\"Add   "; if($locked != 1) echo "\"Post   "; echo "
"; if($canedit) echo "[Edit post]    "; if($candelete) echo "[Delete post]"; } else { if($locked != 1) echo "\"Post   "; } echo "
Page of


\"Reply  "; ?> Post a New Thread