Bonjour, besoin d'aide en PHP
J'aimerais afficher les 10 ou 20 derniers Topics dans mes autres sites ou forums
J'ai donc 3 forums SMF online maintenant ...
Voici ce que j'avais pour mon ancien forum -
créé par SKY - http://www.viaphp.net/ :
>> LAST POST <<Je ne sais pas adapter ce vieux code aux forums SMF ... Je n'ai pas trouvé de mods pour ...
Si quelqu'un peut m'aider ou renseigner... Merci
Le code: [ L'ancien pour OXYGEN] - Besoin de le transformer pour SMF

<title>TOP 99 POSTS Forum 3000fr.COM</title>
<base target="_blank">
<table border="0" width="100%" align="center" height="0%">
<tr><td width="97" style="border-width:0; border-color:rgb(0,0,49); border-style:none;" height="419"> </td><td width="772" style="border-width:0; border-color:rgb(0,0,49); border-style:none;" height="419">
<p align="left"><font size="4" color="#000031"><b>Les 99 derniers Topics du Forum 3000fr </b></font><font size="2" color="#000031"><b><br></b></font><font size="2"><br><?php
$host11 = 'localhost';
$user11 = '********';
$pass11 = '********';
$db11 = '*******';
$link11 = mysql_connect ($host11,$user11,$pass11) or die ('Erreur : '.mysql_error());
mysql_select_db($db11) or die ('Erreur cd :'.mysql_error());
$select = "SELECT * FROM o3_threads t LEFT JOIN o3_forums f ON t.fid=f.fid WHERE f.fid IN (3, 8, 37, 10, 19, 7, 50, 33, 2, 16, 98, 86, 4, 50, 12, 35, 43, 17, 50, 41, 4, 102, 100, 107) AND status='yes' ORDER BY t.lastpost DESC LIMIT 99";
$result = mysql_query($select) or die ('Erreur : '.mysql_error() );
while($row = mysql_fetch_array($result)) {
$pseudo = $row[author];
$texte = stripslashes($row[subject]);
$tid = $row[tid];
$pid = $row[pid];
/*
$test_chr=strlen($texte);
if($test_chr>85){
$texte = substr($texte,0,85);
}
*/
echo 'De '.$pseudo.' : <a href="https://www.3000fr.com/forum/viewthread.php?goto=lastpost&tid='.$tid.'#bottom" title="'.$texte.'" target="_blank">'.$texte.'</a><br>';
}
?> </font></td><td width="100" style="border-width:0; border-color:rgb(0,0,49); border-style:none;" height="419"></td></tr></table>
<TABLE width="100%" align=center border="1" cellspacing="0" bordercolordark="white" bordercolorlight="black">
<TR>
<TD class="navtd" style="border-width:0; border-color:black; border-style:none;">
</TD></TR>
</TBODY></TABLE><p align="center">
Voila, donc j'espère que c'est possible

Lien intéressant peut-être pour créer :
https://www.3000fr.com/index.php?action=recentOu aussi:
https://www.3000fr.com/index.php?type=rss;action=.xmlPeut-être dans :
/sources/new.php Merci d'avance, cordialement
