"); print(""); print( ""); print( ""); //-F- print( "

\"logo_image\"

"); for($i=0;$i<$num_posts;$i++){ if($post = mysql_fetch_array($result)){ if(!$post["subject"]){ $result2=mysql_query("SELECT topic_title FROM phpbb_topics WHERE topic_id =" . $post["topic"]); $replyto = mysql_fetch_array($result2); $post["subject"]="RE: " . $replyto["topic_title"]; mysql_free_result($result2); } $result3=mysql_query("SELECT username FROM phpbb_users WHERE user_id =" . $post["poster"]); $author=mysql_fetch_array($result3); //-F- print("

\"arrow_pic\" " . $post["subject"] . " on " . date("d-m-y @ H:i:s", $post["time"]) . " By: " . $author["username"] . "

"); print("

" . $post["subject"] . " dne " . date("d-m-y @ H:i:s", $post["time"]) . " Avtor: " . $author["username"] . "

"); } } print( "
"); mysql_freeresult($result); $result=mysql_query($sql); for($i=0;$i<$num_posts;$i++){ if($post = mysql_fetch_array($result)){ print( ""); if($TRUNCATE){$post["text"]= substr($post["text"],0,$trunc_len);} $post["text"] = ereg_replace("[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]"," URL Removed ",$post["text"]); //-F- print( "

\"post_pic\"" . $post["text"] . "

"); print( "

" . $post["text"] . "

"); print( "

Nazaj

"); print( "
"); } } print("
"); ?>