$requse++; } } } else { echo '<div class="mpr_entremsg"></div>'; } echo ' <div id="mpr_mainbloc"> <a href="' . (!$url_rewriting ? 'index.php?page=affprofil&id=' . $data['idde'] : 'affprofil-' . $data['idde'] . '-' . casse($data['sender']) . '.html') . '"> <div class="mpr_infomb ' . ($data['idde'] == $envoyeur ? 'mpr_infomb_e' : 'mpr_infomb_r') . '"> ' . $data['sender'] . '<br /> ' . (!empty($data['avatar']) ? '<img src="' . $data['avatar'] . '" alt="' . $lg_mpr['mp15'] . $data['sender'] . '" class="mpr_avatarimg" />' : '') . ' </div> </a> <div class="mpr_infos ' . ($data['idde'] == $envoyeur ? 'mpr_infos_e' : 'mpr_infos_r') . '"> ' . $lg_mpr['mp16'] . '' . datefct($data['temps'], $gmt) . ', sujet : ' . stripslashes(htmlentities($data['titre'])) . ' </div> <div class="mpr_txt ' . ($data['idde'] == $envoyeur ? 'mpr_txt_e' : 'mpr_txt_r') . '"> ' . bbcode(nl2br(htmlentities($data['texte']))) . ' </div> <div class="mpr_endbloc"></div> </div> '; } echo $reponserapide; echo $topinfos; } else { include './includes/notifs.php'; } } ?>
<td width="150" height="50" align="center" valign="top" class="cadre_clair" style="padding:10px"> <b>' . htmlentities($data['pseudo']) . '</b> <br /> '; $idavatar = $data['id']; if (!empty($data['avatar']) && $data['avatar'] != "http://") { echo '<img src="' . $data['avatar'] . '" alt="' . $data['pseudo'] . '" />'; } echo ' <br /> Messages: ' . $data['nbpost'] . '<br /> </td> <td valign="top" class="' . $color . '" style="padding:10px"> <table width="100%" cellpadding="0" cellspacing="0" style="padding-bottom:5px"> <tr> <td class="posthaut">' . $lg_posta['p30'] . ($data['idsa'] == 0 ? datefct($data['tmpsave'], $gmt) : datefct($data['tmppost'], $gmt)) . ' || ' . $lg_posta['p31'] . sit(htmlentities($data['titre'])) . ' </td> <td width="200" align="right" class="posthaut"></td> </tr> </table> ' . bbcode(nl2br(sit($data['texte']))) . '</td> </tr> <tr> <td colspan="2" class="espace"><img src="' . $design . 'space.gif" alt="" /></td> </tr>'; } echo ' </table> </td> </tr> </table>
</a>'; } if ($rang == 2 && $cmt > 1 || $rang == 1 && $cmt > 1) { echo ' <input name="delpost" type="image" src="' . $design . 'actions/' . $langue . '/supprimer.gif" onclick="decision(\'' . addslashes($langue_post['post30']) . '\',\'delpost.php?id2=' . $data['id2'] . '\')" />'; } echo ' </div> <div class="posthead_infos"> <a href="#' . $data['id2'] . '"><img src="' . $design . '/actions/ancre.gif" /></a> ' . $langue_post['post31'] . ($data['idsa'] == 0 ? datefct($data['tmpsave'], $gmt) : datefct($data['tmppost'], $gmt)) . (!empty($data['titre']) ? ' || ' . $langue_post['post32'] . sit(htmlentities($data['titre'])) : '') . ' </div> <div class="post_msgtxt"> ' . bbcode(nl2br(sit($data['texte']))); if (!empty($data['edit'])) { echo '<p class="edit">' . $langue_post['post35'] . '' . datefct($data['edit'], $gmt) . ']</p>'; } if ($bbcodesign && !empty($data['sign']) && $data['signaff'] == 1 && $autorisationsign) { echo '<br />________________<br />' . bbcode(nl2br(sit($data['sign']))); } elseif (!empty($data['sign']) && $data['signaff'] == 1 && $autorisationsign) { echo '<br />________________<br />' . nl2br(htmlentities($data['sign'])); } echo ' </div> </div> <!-- fin bloc message --> <div class="post_undermsg"></div> </div> <!-- fin bloc fiche message --> '; } // fin de boucle msg
<a href="index.php?page=post&ids=' . $data['id2'] . '"> [ Atteindre cette discussion ] </a> </p>'; } else { echo ' <p class="edit"> <a href="index.php?page=post&ids=' . $data['idsa'] . '"> [ Atteindre cette discussion ] </a> </p>'; } if (!empty($data['edit'])) { echo ' <p class="edit"> [Ce message a été édité par son auteur pour la dernière fois le ' . datefct($data['edit'], $gmt) . ']</p> '; } if ($bbcodesign && !empty($data['sign']) && $data['signaff'] == 1 && $autorisationsign) { echo '<br />________________<br />' . bbcode(nl2br(htmlentities($data['sign']))); } elseif (!empty($data['sign']) && $data['signaff'] == 1 && $autorisationsign) { echo '<br />________________<br />' . nl2br(htmlentities($data['sign'])); } echo '</td> </tr> <tr> <td class="cadre_clair" style="padding:6px"> <a href="#">Revenir en haut</a> </td> <td valign="top" class="' . $color . '" style="padding:8px"> <a href="index.php?page=affprofil&id=' . $data['id'] . '"> <img src="' . $design . 'actions/fr/profil.gif" alt="Voir le Profil" />
</td> <td class="cadre_clair cell3_mp_author">'; if ($data['idde'] == $idmembre) { $_ps = $data['psa']; $_id = $data['ida']; } else { $_ps = $data['psde']; $_id = $data['idde']; } echo ' <a href="' . (!$url_rewriting ? 'index.php?page=affprofil&id=' . $_id : 'affprofil-' . $_id . '-' . casse($_ps) . '.html') . '"> ' . htmlentities($_ps) . ' </a>'; echo ' </td> <td class="cadre_fonce cell4_mp_date">' . datefct($data['temps'], $gmt) . '</td> <td class="cadre_fonce cell5_mp_nb">' . ($data['nb'] + 1) . '</td> <td class="cadre_fonce_end cell6_mp_del">'; if (!isset($_GET['send'])) { echo '<a onclick="decision(\'' . $langue_mp['mp11'] . '\',\'delmp.php?id=' . $data['id'] . '\')">[Supprimer]</a>'; } else { echo '-'; } echo ' </td> </tr> '; } // Si tous les sujets sont lu alors on arrêt de prévenir le membre de l'extérieur if ($mp > 0 && $unread == 0) { $sql = 'UPDATE ' . $prefixtable . 'membres SET mp = 0 WHERE id = "' . intval($_SESSION['idlog']) . '"';
} echo ' </td> <td class="cell2_if_titre"> <a href="' . (!$url_rewriting ? 'index.php?page=forum&idf=' . $data['id'] : 'forum-' . $data['id'] . '-' . casse($data['nom']) . '.html') . '"> ' . bbcode(htmlentities($data['nom'])) . ' </a><br /> <span class="texte_base_fin"> ' . bbcode(htmlentities($data['description'])) . ' </span> </td> <td class="cell3_if_nbsujet">' . $data['nbsujet'] . '</td> <td class="cell4_if_nbmsg">' . $data['nbmessage'] . '</td> <td class="cell5_if_pseudo">'; if ($data['adernier'] != "-") { echo datefct($data['temps'], $gmt) . '<br /> ' . $langue_indexforum['indexforum8'] . ' <a href="' . (!$url_rewriting ? 'index.php?page=affprofil&id=' . $data['adernier'] : 'affprofil-' . $data['adernier'] . '-' . casse($data['pseudoposteur']) . '.html') . '"> ' . htmlentities($data['pseudoposteur']) . ' </a> <a href="redir_last_post.php?forum=' . $data['id'] . '"> <img src="' . $design . 'statut/icon_latest_reply.gif" alt="' . $langue_indexforum['indexforum9'] . '" /> </a>'; } else { echo '-'; } echo ' </td> </tr> '; }
echo ' </td> <td width="80" class="cadre_fonce" align="center">'; if ($data['lock'] > 0) { echo '-'; } else { echo $data['nbr']; } echo ' </td> <td width="130" class="cadre_clair" align="center"> <a href="' . (!$url_rewriting ? 'index.php?page=affprofil&id=' . htmlentities($data['pseudode']) : 'affprofil-' . htmlentities($data['pseudode']) . '-' . casse($data['pseudoposter']) . '.html') . '"> ' . htmlentities($data['pseudoposter']) . ' </a></td> <td width="150" class="cadre_fonce_end" align="center" style="padding:3px"> ' . datefct($data['tmppost'], $gmt) . '<br /> par <a href="' . (!$url_rewriting ? 'index.php?page=affprofil&id=' . htmlentities($data['pseudodernier']) : 'affprofil-' . htmlentities($data['pseudodernier']) . '-' . casse($data['pseudoreponder']) . '.html') . '"> ' . htmlentities($data['pseudoreponder']) . ' </a> <a href="redir_last_post_list.php?post=' . $data['id2'] . '"> <img src="' . $design . 'statut/icon_latest_reply.gif" border="0" /> </a> </td> </tr> '; } // Fin while echo '</table>'; // Affichage partie inférieure echo '