message; $order = array("\r\n", "\n", "\r"); $replace = '
'; // Processes \r\n's first so they aren't converted twice. $newstr = str_replace($order, $replace, $ROW->message); echo ''; echo '
' . $ROW->date . '['. $ROW->name . ']
' . $newstr . '
'; } // Pagination echo "
"; if($page > 1) { echo ''; } // Direct links. for($a = 1; $a <= $pages; $a++) if($a == $page) { echo "$a "; } else { echo '' . $a . ' '; } echo '
'; include('includes/layout/footer.php') ?>