echo "<font size=\"2\" face=\"$fontface\"><a href=\"$forum_url/showthread.php?p=$pid#post$pid\"><FONT SIZE=\"2\" COLOR=\"$titlecolor\" face=\"$fontface\">$title</FONT></a></font><br /><font color=\"$postedcolor\" face=\"$fontface\" size='1'>posted by $poster on <i>$date2</i></FONT><br />";
}
echo "</td></tr></table>";
?>
<a href=\"$forum_url/showthread.php?p=$pid#post$pid\">
<a href=\"$forum_url/showthread.php?p=$tid#post$pid\">
// Below is the beginning of a table. If you feel you don't need it, you may remove it.
echo "<table border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\"><tr><td>";
$tsql = mysql_query("SELECT threadid,title,lastpost,postusername FROM thread WHERE forumid=$forum_id ORDER BY threadid DESC LIMIT $limit");
FROM thread WHERE forumid=$forum_id ORDER BY threadid
=$forum_id
## CUSTOMIZE SETTINGS FOR YOUR SITE ##
$db_host = "localhost"; // Change this if your MySQL database host is different.
$db_name = "foro"; // Change this to the name of your database.
$db_user = "root"; // Change this to your database username.
$db_pw = ""; // Change this to your database password.
$forum_url = "http://localhost/foro"; // Change this to reflect to your forum's URL.
$forum_id = ""; // If you wish to display the posts from a specific forum, enter the forum id here. Otherwise, leave it blank.
$limit = "3"; // Number of posts displayed.
$titlecolor = "#FFFFFF"; // This is the color of the title.
$postedcolor = "#CCCCCC"; // This is the color of the bottom text.
$txtlimit = "100"; // This is the character limit.
#######################################
<?include("lastposts3.php");?>
Utilizamos cookies y tecnologías similares para los siguientes fines:
¿Aceptas las cookies y estas tecnologías?
Utilizamos cookies y tecnologías similares para los siguientes fines:
¿Aceptas las cookies y estas tecnologías?