[PHP] phpbb - ajouter une option dans mon portail

phpbb - ajouter une option dans mon portail [PHP] - PHP - Programmation

Marsh Posté le 14-11-2002 à 17:54:01    

g installé un portal phpbb il y a quelques temps, tout fonctionne a merveille mais j'aimerai rajouter une option
 
dans le portail il est afficher les 20 derniers messages, avec le titre du topic, le nom de l'auteur, le nombre de vues..... mais pas le nom du forum ou se trouve le message.
 
g chercher un peu (quand meme) et g bo savoir a peu de chose près ce qui ne va pas je ne suis pas assez a l'aise avec php/sql pour arriver a mes fin...
 
ci joint le code du portal.php suivit du portal_body.tpl,
 
en rouge les modifications que j'ai apporter (même si ca marche pas mieux  :? )
 
je suis sur que j'en demande un peu trop mais merci d'avance !  :whistle:  
 
 

Citation :

<?php  
// Start standard  
    define('IN_PHPBB', true);  
    $phpbb_root_path = './';  
    include($phpbb_root_path . 'extension.inc';);  
    include($phpbb_root_path . 'common.'.$phpEx);  
// End standard  
 
// Start session management  
    $userdata = session_pagestart($user_ip, PAGE_VIEWONLINE);  
    init_userprefs($userdata);  
// End session management  
 
// Start Output page header  
    $page_title = $lang['Who_is_online'];  
    include($phpbb_root_path . 'includes/page_header.'.$phpEx);  
 
    $template->set_filenames(array(  
           'body' => 'portal_body.tpl';)  
    );  
// End Output page header  
 
 
###### start last_reg_users_#####  
    $sql = "SELECT user_id, username, user_regdate  
        FROM " . USERS_TABLE . "  
        WHERE user_id <> " . ANONYMOUS . "  
        ORDER BY user_regdate DESC  
        LIMIT 20";  
    if ( !($result = $db->sql_query($sql)) )  
    {  
            message_die(GENERAL_ERROR, 'Could not obtain user/online forums information', '', __LINE__, __FILE__, $sql);  
    }  
 
    while ($row = $db->sql_fetchrow($result))  
    {  
        $user_id=$row['user_id'];  
            $template->assign_block_vars("last_registrations", array(  
                    'USERNAME' => $row['username'],  
                    'REG_DATE' => create_date($board_config['default_dateformat'], $row['user_regdate'], $board_config['board_timezone']),  
            'U_VIEWPROFILE' => append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$user_id" ))  
            );  
    }  
##### end last_reg_users_#######  
 
 
###### start last visits_#####  
    $sql = "SELECT user_id, username, user_lastvisit  
        FROM " . USERS_TABLE . "  
        WHERE user_id <> " . ANONYMOUS . "  
        ORDER BY user_lastvisit DESC  
        LIMIT 10";  
    if ( !($result = $db->sql_query($sql)) )  
    {  
            message_die(GENERAL_ERROR, 'Could not obtain user/online forums information', '', __LINE__, __FILE__, $sql);  
    }  
 
    while ($row = $db->sql_fetchrow($result))  
    {  
        $user_id=$row['user_id'];  
        $template->assign_block_vars("last_visits", array(  
                    'USERNAME' => $row['username'],  
                    'LAST_VISIT_DATE' => create_date($board_config['default_dateformat'], $row['user_lastvisit'], $board_config['board_timezone']),  
            'U_VIEWPROFILE' => append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$user_id" ))  
            );  
    }  
##### end last visits_#######  
 
 
##### start ranks #####  
    $sql = "SELECT rank_title, rank_min  
        FROM " . RANKS_TABLE . "  
        WHERE rank_special !='1'  
        ORDER BY rank_id";  
    if ( !($result = $db->sql_query($sql)) )  
    {  
            message_die(GENERAL_ERROR, 'Could not obtain user/online forums information', '', __LINE__, __FILE__, $sql);  
    }  
 
    while ($row = $db->sql_fetchrow($result))  
    {  
        $user_id=$row['user_id'];  
        $template->assign_block_vars("ranks", array(  
                    'RANK_TITLE' => $row['rank_title'],  
                    'RANK_MIN' => $row['rank_min'])  
            );  
    }  
##### end ranks #####  
 
 
###### start most posts_#####  
    $sql = "SELECT user_id, username, user_posts  
        FROM " . USERS_TABLE . "  
        WHERE user_id <> " . ANONYMOUS . "  
        ORDER BY user_posts DESC  
        LIMIT 20";  
    if ( !($result = $db->sql_query($sql)) )  
    {  
            message_die(GENERAL_ERROR, 'Could not obtain user/online forums information', '', __LINE__, __FILE__, $sql);  
    }  
 
    while ($row = $db->sql_fetchrow($result))  
    {  
        $user_id=$row['user_id'];  
            $template->assign_block_vars("most_posts", array(  
                    'USERNAME' => $row['username'],  
                    'POSTS' => $row['user_posts'],  
            'U_VIEWPROFILE' => append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$user_id" ))  
            );  
    }  
##### end most posts_#######  
 
 
##### start beste topics #####  
    $sql = "SELECT topic_id,topic_title,topic_replies  
        FROM " . TOPICS_TABLE . " t  
        LEFT JOIN " . FORUMS_TABLE . " f  
        ON t.forum_id=f.forum_id  
        WHERE f.auth_view < 2  
        ORDER BY topic_replies DESC  
        LIMIT 21";  
    if ( !($result = $db->sql_query($sql)) )  
    {  
            message_die(GENERAL_ERROR, 'Could not obtain user/online forums information', '', __LINE__, __FILE__, $sql);  
    }  
 
    while ($row = $db->sql_fetchrow($result))  
    {  
        $topic_id=$row['topic_id'];  
        $template->assign_block_vars("best_topics", array(  
                    'TOPIC_TITLE' => $row['topic_title'],  
                    'REPLIES' => $row['topic_replies'],  
            'VIEWTOPIC' => append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id" ))  
            );  
    }  
##### end best topics #####  
 
 
##### start last_topics ##### (z123-428)  
$template->assign_vars(array(  
        'FORUM_ID' => $forum_id,  
        'FORUM_NAME' => $forum_row['forum_name'],  
        'MODERATORS' => $forum_moderators,  
        'POST_IMG' => ( $forum_row['forum_status'] == FORUM_LOCKED ) ? $images['post_locked'] : $images['post_new'],  
 
        'FOLDER_IMG' => $images['folder'],  
        'FOLDER_NEW_IMG' => $images['folder_new'],  
        'FOLDER_HOT_IMG' => $images['folder_hot'],  
        'FOLDER_HOT_NEW_IMG' => $images['folder_hot_new'],  
        'FOLDER_LOCKED_IMG' => $images['folder_locked'],  
        'FOLDER_LOCKED_NEW_IMG' => $images['folder_locked_new'],  
        'FOLDER_STICKY_IMG' => $images['folder_sticky'],  
        'FOLDER_STICKY_NEW_IMG' => $images['folder_sticky_new'],  
        'FOLDER_ANNOUNCE_IMG' => $images['folder_announce'],  
        'FOLDER_ANNOUNCE_NEW_IMG' => $images['folder_announce_new'],  
 
        'L_TOPICS' => $lang['Topics'],  
        'L_REPLIES' => $lang['Replies'],  
        'L_VIEWS' => $lang['Views'],  
        'L_POSTS' => $lang['Posts'],  
        'L_LASTPOST' => $lang['Last_Post'],  
        'L_MODERATOR' => $l_moderators,  
        'L_MARK_TOPICS_READ' => $lang['Mark_all_topics'],  
        'L_POST_NEW_TOPIC' => ( $forum_row['forum_status'] == FORUM_LOCKED ) ? $lang['Forum_locked'] : $lang['Post_new_topic'],  
        'L_NO_NEW_POSTS' => $lang['No_new_posts'],  
        'L_NEW_POSTS' => $lang['New_posts'],  
        'L_NO_NEW_POSTS_LOCKED' => $lang['No_new_posts_locked'],  
        'L_NEW_POSTS_LOCKED' => $lang['New_posts_locked'],  
        'L_NO_NEW_POSTS_HOT' => $lang['No_new_posts_hot'],  
        'L_NEW_POSTS_HOT' => $lang['New_posts_hot'],  
        'L_ANNOUNCEMENT' => $lang['Post_Announcement'],  
        'L_STICKY' => $lang['Post_Sticky'],  
        'L_POSTED' => $lang['Posted'],  
        'L_JOINED' => $lang['Joined'],  
        'L_AUTHOR' => $lang['Author'],  
 
        'S_AUTH_LIST' => $s_auth_can,  
 
        'U_VIEW_FORUM' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL ."=$forum_id" ),  
 
        'U_MARK_READ' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id&mark=topics" ))  
);  
 
    $sql = "SELECT t.*, f.forum_name, forum_name, u.username, u.user_id, u2.username as user2, u2.user_id as id2, p.post_username, p2.post_username AS post_username2, p2.post_time  
            FROM  " . TOPICS_TABLE . " t, " . USERS_TABLE . " u, " . POSTS_TABLE . " p, " . POSTS_TABLE . " p2, " . USERS_TABLE . " u2  
        LEFT JOIN " . FORUMS_TABLE . " f  
        ON t.forum_id=f.forum_id  
            WHERE t.topic_poster = u.user_id  
                    AND p.post_id = t.topic_first_post_id  
                       AND p2.post_id = t.topic_last_post_id  
                       AND u2.user_id = p2.poster_id  
            AND f.auth_view < 2  
           ORDER BY t.topic_last_post_id DESC  
           LIMIT 27";  
if ( !($result = $db->sql_query($sql)) )  
{  
   message_die(GENERAL_ERROR, 'Could not obtain topic information', '', __LINE__, __FILE__, $sql);  
}  
 
$total_topics = 0;  
while( $row = $db->sql_fetchrow($result) )  
{  
        $topic_rowset[] = $row;  
        $total_topics++;  
}  
 
$db->sql_freeresult($result);  
 
 
 
 
//  
// Define censored word matches  
//  
$orig_word = array();  
$replacement_word = array();  
obtain_word_list($orig_word, $replacement_word);  
 
//  
// Post URL generation for templating vars  
//  
$template->assign_vars(array(  
        'L_DISPLAY_TOPICS' => $lang['Display_topics'],  
 
        'U_POST_NEW_TOPIC' => append_sid("posting.$phpEx?mode=newtopic&" . POST_FORUM_URL . "=$forum_id" ),  
 
        'S_SELECT_TOPIC_DAYS' => $select_topic_days,  
        'S_POST_DAYS_ACTION' => append_sid("viewforum.$phpEx?" . POST_FORUM_URL . "=" . $forum_id . "&start=$start" ))  
);  
 
        for($i = 0; $i < $total_topics; $i++)  
        {  
                $topic_id = $topic_rowset[$i]['topic_id'];  
 
 

            $forum_name = ( count($orig_word) ) ? preg_replace($orig_word, $replacement_word, $forums_rowset['forum_name']) : $forums_rowset['forum_name'];

 
 
             
            $topic_title = ( count($orig_word) ) ? preg_replace($orig_word, $replacement_word, $topic_rowset[$i]['topic_title']) : $topic_rowset[$i]['topic_title'];  
 
                $replies = $topic_rowset[$i]['topic_replies'];  
 
                $topic_type = $topic_rowset[$i]['topic_type'];  
 
 
if ( $topic_rowset[$i]['topic_icon'] == 0 ) {  
                  $icon = "images/icon/icon1.gif";  
                }  
                else {  
                  $icon = "images/icon/icon" . $topic_rowset[$i]['topic_icon'].".gif";  
                }  
 
 
                if( $topic_type == POST_ANNOUNCE )  
                {  
                        $topic_type = $lang['Topic_Announcement'] . ' ';  
                }  
                else if( $topic_type == POST_STICKY )  
                {  
                        $topic_type = $lang['Topic_Sticky'] . ' ';  
                }  
                else  
                {  
                        $topic_type = '';  
                }  
 
                if( $topic_rowset[$i]['topic_vote'] )  
                {  
                        $topic_type .= $lang['Topic_Poll'] . ' ';  
                }  
 
                if( $topic_rowset[$i]['topic_status'] == TOPIC_MOVED )  
                {  
                        $topic_type = $lang['Topic_Moved'] . ' ';  
                        $topic_id = $topic_rowset[$i]['topic_moved_id'];  
 
                        $folder_image =  $images['folder'];  
                        $folder_alt = $lang['Topic_Moved'];  
                        $newest_post_img = '';  
                }  
                else  
                {  
                        if( $topic_rowset[$i]['topic_type'] == POST_ANNOUNCE )  
                        {  
                                $folder = $images['folder_announce'];  
                                $folder_new = $images['folder_announce_new'];  
                        }  
                        else if( $topic_rowset[$i]['topic_type'] == POST_STICKY )  
                        {  
                                $folder = $images['folder_sticky'];  
                                $folder_new = $images['folder_sticky_new'];  
                        }  
                        else if( $topic_rowset[$i]['topic_status'] == TOPIC_LOCKED )  
                        {  
                                $folder = $images['folder_locked'];  
                                $folder_new = $images['folder_locked_new'];  
                        }  
                        else  
                        {  
                                if($replies >= $board_config['hot_threshold'])  
                                {  
                                        $folder = $images['folder_hot'];  
                                        $folder_new = $images['folder_hot_new'];  
                                }  
                                else  
                                {  
                                        $folder = $images['folder'];  
                                        $folder_new = $images['folder_new'];  
                                }  
                        }  
 
                        $newest_post_img = '';  
                        if( $userdata['session_logged_in'] )  
                        {  
                                if( $topic_rowset[$i]['post_time'] > $userdata['user_lastvisit'] )  
                                {  
                                        if( !empty($tracking_topics) || !empty($tracking_forums) || isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f_all']) )  
                                        {  
                                                $unread_topics = true;  
 
                                                if( !empty($tracking_topics[$topic_id]) )  
                                                {  
                                                        if( $tracking_topics[$topic_id] >= $topic_rowset[$i]['post_time'] )  
                                                        {  
                                                                $unread_topics = false;  
                                                        }  
                                                }  
 
                                                if( !empty($tracking_forums[$forum_id]) )  
                                                {  
                                                        if( $tracking_forums[$forum_id] >= $topic_rowset[$i]['post_time'] )  
                                                        {  
                                                                $unread_topics = false;  
                                                        }  
                                                }  
 
                                                if( isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f_all']) )  
                                                {  
                                                        if( $HTTP_COOKIE_VARS[$board_config['cookie_name'] . '_f_all'] >= $topic_rowset[$i]['post_time'] )  
                                                        {  
                                                                $unread_topics = false;  
                                                        }  
                                                }  
 
                                                if( $unread_topics )  
                                                {  
                                                        $folder_image = $folder_new;  
                                                        $folder_alt = $lang['New_posts'];  
 
                                                        $newest_post_img = '<a href="' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=newest" ) . '"><img src="' . $images['icon_newest_reply'] . '" alt="' . $lang['View_newest_post'] . '" title="' . $lang['View_newest_post'] . '" border="0" /></a> ';  
                                                }  
                                                else  
                                                {  
                                                        $folder_image = $folder;  
                                                        $folder_alt = ( $topic_rowset[$i]['topic_status'] == TOPIC_LOCKED ) ? $lang['Topic_locked'] : $lang['No_new_posts'];  
 
                                                        $newest_post_img = '';  
                                                }  
                                        }  
                                        else  
                                        {  
                                                $folder_image = $folder_new;  
                                                $folder_alt = ( $topic_rowset[$i]['topic_status'] == TOPIC_LOCKED ) ? $lang['Topic_locked'] : $lang['No_new_posts'];  
 
                                                $newest_post_img = '<a href="' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=newest" ) . '"><img src="' . $images['icon_newest_reply'] . '" alt="' . $lang['View_newest_post'] . '" title="' . $lang['View_newest_post'] . '" border="0" /></a> ';  
                                        }  
                                }  
                                else  
                                {  
                                        $folder_image = $folder;  
                                        $folder_alt = ( $topic_rowset[$i]['topic_status'] == TOPIC_LOCKED ) ? $lang['Topic_locked'] : $lang['No_new_posts'];  
 
                                        $newest_post_img = '';  
                                }  
                        }  
                        else  
                        {  
                                $folder_image = $folder;  
                                $folder_alt = ( $topic_rowset[$i]['topic_status'] == TOPIC_LOCKED ) ? $lang['Topic_locked'] : $lang['No_new_posts'];  
 
                                $newest_post_img = '';  
                        }  
                }  
 
                if( ( $replies + 1 ) > $board_config['posts_per_page'] )  
                {  
                        $total_pages = ceil( ( $replies + 1 ) / $board_config['posts_per_page'] );  
                        $goto_page = ' [ <img src="' . $images['icon_gotopost'] . '" alt="' . $lang['Goto_page'] . '" title="' . $lang['Goto_page'] . '" />' . $lang['Goto_page'] . ': ';  
 
                        $times = 1;  
                        for($j = 0; $j < $replies + 1; $j += $board_config['posts_per_page'])  
                        {  
                                $goto_page .= '<a href="' . append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=" . $topic_id . "&start=$j" ) . '">' . $times . '</a>';  
                                if( $times == 1 && $total_pages > 4 )  
                                {  
                                        $goto_page .= ' ... ';  
                                        $times = $total_pages - 3;  
                                        $j += ( $total_pages - 4 ) * $board_config['posts_per_page'];  
                                }  
                                else if ( $times < $total_pages )  
                                {  
                                        $goto_page .= ', ';  
                                }  
                                $times++;  
                        }  
                        $goto_page .= ' ] ';  
                }  
                else  
                {  
                        $goto_page = '';  
                }  
 
                $view_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id" );  
 
                $topic_author = ( $topic_rowset[$i]['user_id'] != ANONYMOUS ) ? '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '=' . $topic_rowset[$i]['user_id']) . '">' : '';  
                $topic_author .= ( $topic_rowset[$i]['user_id'] != ANONYMOUS ) ? $topic_rowset[$i]['username'] : ( ( $topic_rowset[$i]['post_username'] != '' ) ? $topic_rowset[$i]['post_username'] : $lang['Guest'] );  
 
                $topic_author .= ( $topic_rowset[$i]['user_id'] != ANONYMOUS ) ? '</a>' : '';  
 
                $first_post_time = create_date($board_config['default_dateformat'], $topic_rowset[$i]['topic_time'], $board_config['board_timezone']);  
 
                $last_post_time = create_date($board_config['default_dateformat'], $topic_rowset[$i]['post_time'], $board_config['board_timezone']);  
 
                $last_post_author = ( $topic_rowset[$i]['id2'] == ANONYMOUS ) ? ( ($topic_rowset[$i]['post_username2'] != '' ) ? $topic_rowset[$i]['post_username2'] . ' ' : $lang['Guest'] . ' ' ) : '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . '='  . $topic_rowset[$i]['id2']) . '">' . $topic_rowset[$i]['user2'] . '</a>';  
 
                $last_post_url = '<a href="' . append_sid("viewtopic.$phpEx?"  . POST_POST_URL . '=' . $topic_rowset[$i]['topic_last_post_id']) . '#' . $topic_rowset[$i]['topic_last_post_id'] . '"><img src="' . $images['icon_latest_reply'] . '" alt="' . $lang['View_latest_post'] . '" title="' . $lang['View_latest_post'] . '" border="0" /></a>';  
 
                $views = $topic_rowset[$i]['topic_views'];  
 
                $row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];  
                $row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];  
 
                $template->assign_block_vars('topicrow', array(  
                       'FORUM_NAME' => $forum_name,
                        'ICON' => $icon,  
                        'ROW_COLOR' => $row_color,  
                        'ROW_CLASS' => $row_class,  
                        'FORUM_ID' => $forum_id,  
                        'TOPIC_ID' => $topic_id,  
                        'TOPIC_FOLDER_IMG' => $folder_image,  
                        'TOPIC_AUTHOR' => $topic_author,  
                        'GOTO_PAGE' => $goto_page,  
                        'REPLIES' => $replies,  
                        'NEWEST_POST_IMG' => $newest_post_img,  
                        'TOPIC_TITLE' => $topic_title,  
                        'TOPIC_TYPE' => $topic_type,  
                        'VIEWS' => $views,  
                        'FIRST_POST_TIME' => $first_post_time,  
                        'LAST_POST_TIME' => $last_post_time,  
                        'LAST_POST_AUTHOR' => $last_post_author,  
                        'LAST_POST_IMG' => $last_post_url,  
 
 
                        'L_TOPIC_FOLDER_ALT' => $folder_alt,  
 
                        'U_VIEW_TOPIC' => $view_topic_url)  
                );  
        }  
 
        $template->assign_vars(array(  
                'PAGINATION' => generate_pagination("viewforum.$phpEx?" . POST_FORUM_URL . "=$forum_id&topicdays=$topic_days", $topics_count, $board_config['topics_per_page'], $start),  
                'PAGE_NUMBER' => sprintf($lang['Page_of'], ( floor( $start / $board_config['topics_per_page'] ) + 1 ), ceil( $topics_count / $board_config['topics_per_page'] )),  
 
                'L_GOTO_PAGE' => $lang['Goto_page'])  
        );  
##### end last topics #####  
 
 
 
// Start Main Part and Footer  
    $template->pparse('body';);  
    include($phpbb_root_path . 'includes/page_tail.'.$phpEx);  
// End Main Part and Footer  
 
?>


 
--------------------------------------------------------------------------------------
 
portal_body.tpl
 

Citation :

<body text=bgcolor="#000000">  
<br>  
<TABLE width=100%>  
  <TR>  
    <TD valign=top width=17%>  
 
<div align="left">  
<table width="100%" border="0" cellpadding="0" cellspacing="1" style="border-collapse: collapse" class="forumline">  
 
  <tr>  
        <td class="catHead" colspan="2" height="25"><span class="cattitle"><b>Derniers Online</b></span></td>  
  </tr>  
 
  <tr>  
        <td colspan="2" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>  
  </tr>  
 
  <!-- BEGIN last_visits -->  
  <tr>  
        <td class="row2"> <span class="genmed"><a href="{last_visits.U_VIEWPROFILE}" class="genmed">{last_visits.USERNAME}</a></span> </td>  
        <td align="center" nowrap="nowrap" class="row3"> <span class="genmed">{last_visits.LAST_VISIT_DATE}</span> </td>  
  </tr>  
  <!-- END last_visits -->  
</table>  
<br>  
<table width="100%" border="0" cellpadding="0" cellspacing="1" style="border-collapse: collapse" class="forumline">  
 
  <tr>  
        <td class="catHead" colspan="2" height="25"><span class="cattitle"><b>Derniers Inscrits</b></span></td>  
  </tr>  
 
  <tr>  
        <td colspan="2" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>  
  </tr>  
 
  <!-- BEGIN last_registrations -->  
  <tr>  
        <td class="row2"> <span class="genmed"><a href="{last_registrations.U_VIEWPROFILE}" class="genmed">{last_registrations.USERNAME}</a></span> </td>  
        <td align="center" nowrap="nowrap" class="row3"> <span class="genmed">{last_registrations.REG_DATE}</span> </td>  
  </tr>  
  <!-- END last_registrations -->  
</table>  
<br>  
 
<table width="100%" border="0" cellpadding="0" cellspacing="1" style="border-collapse: collapse" class="forumline">  
 
  <tr>  
        <td class="catHead" colspan="2" height="25"><span class="cattitle"><b>Meilleurs Posteurs</b></span></td>  
  </tr>  
 
  <tr>  
        <td colspan="2" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>  
  </tr>  
 
  <!-- BEGIN most_posts -->  
  <tr>  
        <td class="row2"> <span class="genmed"><a href="{most_posts.U_VIEWPROFILE}" class="genmed">{most_posts.USERNAME}</a></span> </td>  
        <td align="center" nowrap="nowrap" class="row3"> <span class="genmed">{most_posts.POSTS}</span> </td>  
  </tr>  
  <!-- END most_posts -->  
</table>  
<br>  
<table width="100%" border="0" cellpadding="0" cellspacing="1" style="border-collapse: collapse" class="forumline">  
 
  <tr>  
        <td class="catHead" colspan="2" height="25"><span class="cattitle"><b>Topics Populaires</b></span></td>  
  </tr>  
 
  <tr>  
        <td colspan="2" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>  
  </tr>  
 
  <!-- BEGIN best_topics -->  
  <tr>  
        <td class="row2"> <span class="genmed"><a href="{best_topics.VIEWTOPIC}" class="genmed">{best_topics.TOPIC_TITLE}</a></span> </td>  
        <td align="center" nowrap="nowrap" class="row3"> <span class="genmed">{best_topics.REPLIES}</span> </td>  
  </tr>  
 
  <!-- END best_topics -->  
 
</table></div>  
 
    </TD>  
 
    <TD valign=top width=66%>  
 
<div align="center"><table width="95%" border="0" cellpadding="0" cellspacing="1" style="border-collapse: collapse" class="forumline">  
 
  <tr>  
        <td class="catHead" colspan="3" height="25"><span class="cattitle"><b>News</b></span></td>  
  </tr>  
 
  <tr>  
        <td colspan="3" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>  
  </tr>  
 
 
  <tr>  
        <td align="center" nowrap="nowrap" class="row3" width="20%"> <span class="gen"><img src="./images/distributed_cow.jpg" alt="" border="0"></span> </td>  
        <td class="row2" width="60%"><span class="gen">  
11.05.02>Changement d'hébergeur<br>  
12.05.02>Mise en place du nouveau forum<br>  
13.05.02>Mise en place du portal<br>  
17.08.02>Diverses mises à jours<br>  
18.08.02>Ouverture du chat<br>  
10.11.02>Changement de serveur<br>  
11.11.02>Ajout de 150 smiley<br>  
12.11.02>Maj de la fonction 'post'<br>  
12.11.02>Refonte des catégories<br>  
        </span></td>  
        <td align="center" nowrap="nowrap" class="row3" width="20%"> <span class="gen"><img src="./images/distributed_cow.jpg" alt="" border="0"></span> </td>  
  </tr>  
 
</table>  
<br>  
 
<table width="95%" border="0" cellpadding="0" cellspacing="1" style="border-collapse: collapse" class="forumline">  
  <tr>  
        <td class="catHead" colspan="6" height="25"><span class="cattitle">seul les membres connectés peuvent lire les messages</b></span></td>  
  </tr>  
 
  <tr>  
        <td colspan="6" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>  
  </tr>  
 
  <tr>  
    <th colspan="3" align="center" height="25" class="toprow" nowrap="nowrap"> {L_TOPICS} </th>  
         <th align="center" class="toprow" nowrap="nowrap">Rép.</th>  
        <th align="center" class="toprow" nowrap="nowrap">  {L_AUTHOR}  </th>  
    <th align="center" class="toprow" nowrap="nowrap">Vue</th>  
    <th align="center" class="toprow" nowrap="nowrap"> {L_LASTPOST} </th>  
  </tr>  
  <!-- BEGIN topicrow -->  
  <tr>  
    <td class="row1" align="center" valign="middle" width="40" height="30"><img src="images/spacer.gif" width="10" height="1" alt="."><img  src="{topicrow.TOPIC_FOLDER_IMG}" alt="{topicrow.L_TOPIC_FOLDER_ALT}" title="{topicrow.L_TOPIC_FOLDER_ALT}" /><img src="images/spacer.gif" width="10" height="1" alt="."></td>  
    <td class="row1" align="center" valign="middle" width="40" height="30"><img src="images/spacer.gif" width="5" height="1" alt="."><img width="15" height="15" src="{topicrow.ICON}" alt="" border="0"><img src="images/spacer.gif" width="5" height="1" alt="."></td>  
    <td class="row1" width="100%"><span class="topictitle">  {topicrow.NEWEST_POST_IMG}{topicrow.TOPIC_TYPE}<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a></span><span class="genmed"><br />  
                {topicrow.GOTO_PAGE}</span></td>  
    <td class="row2" align="center" valign="middle"><span class="genmed">{topicrow.FORUM_NAME}</span></td>
    <td class="row2" align="center" valign="middle"><span class="genmed">{topicrow.REPLIES}</span></td>  
    <td class="row3" align="center" valign="middle"><span class="name">{topicrow.TOPIC_AUTHOR}<br>{topicrow.U_VIEW_FORUM}</span></td>  
    <td class="row2" align="center" valign="middle"><span class="genmed">{topicrow.VIEWS}</span></td>  
    <td class="row3Right" align="center" valign="middle" nowrap="nowrap"><span class="genmed">{topicrow.LAST_POST_TIME}<br />{topicrow.LAST_POST_AUTHOR} {topicrow.LAST_POST_IMG}</span></td>  
  </tr>  
  <!-- END topicrow -->  
</table>  
<table width="95%" cellspacing="0" border="0" align="center" cellpadding="0">  
 
 
 
<tr>  
<td colspan="3" class="row3" align="center">  
<span class="smalltext">  
         {TOTAL_USERS_ONLINE}  
             <br>  
            {LOGGED_IN_USER_LIST}  
            </span>  
 
 
         </td>  
        </tr>  
 
 
 
 
 
</table>  
 
 
 
 
 
 
<table width="95%" border="0" cellpadding="0" cellspacing="1" style="border-collapse: collapse" class="forumline">  
 
  <tr>  
<br>  
        <td class="catHead" colspan="3" height="25"><span class="cattitle"><b>Liens</b></span></td>  
  </tr>  
 
  <tr>  
        <td colspan="3" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>  
  </tr>  
 
 
  <tr>  
        <td align="center" nowrap="nowrap" class="row3" width="20%"><span class="gen"><br>  
 
<a href="http://www.tucows.com/sitemap.html" target="_blank"><img src="./images/tucows.jpg" alt="www.tucows.com" border="0"></a>  
 
<img src="./images/spacer2.gif" border="0">  
 
<a href="http://www.telecharger.com" target="_blank"><img src="./images/telecharger.jpg" alt="www.telecharger.com" border="0"></a>  
 
<br><br>  
 
<a href="http://www.winamp.com" target="_blank"><img src="./images/winamp.jpg" alt="www.winamp.com" border="0"></a>  
 
<img src="./images/spacer2.gif" border="0"><a href="http://www.distributed.net" target="_blank"><img src="./images/distributed.jpg" alt="www.distributed.net" border="0"></a>  
 
</span><br><br></td>  
  </tr>  
 
</table>  
<br></div>  
 
 
 
    </TD>  
    <TD valign=top width=17%>  
 
<div align="right">  
<table width="100%" border="0" cellpadding="0" cellspacing="1" style="border-collapse: collapse" class="forumline">  
 
  <tr>  
        <td class="catHead" colspan="2" height="25"><span class="cattitle"><b>Liste</b></span></td>  
  </tr>  
 
  <tr>  
        <td colspan="2" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>  
  </tr>  
 
 
  <tr>  
        <td align="center" nowrap="nowrap" class="row3"> <span class="genmed">15.03.02<br><br><A HREF="" target="blank"><IMG SRC="./images/excel1.jpg" border="0" alt="liste.xls"></A></span> </td>  
  </tr>  
 
</table>  
 
<br>  
<table width="100%" border="0" cellpadding="0" cellspacing="1" style="border-collapse: collapse" class="forumline">  
 
  <tr>  
        <td class="catHead" colspan="2" height="25"><span class="cattitle"><b>Download du mois</b></span></td>  
  </tr>  
 
  <tr>  
        <td colspan="2" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>  
  </tr>  
 
 
  <tr>  
        <td align="center" nowrap="nowrap" class="row3"> <span class="genmed">DxBall 2<br><br><A HREF="" target="_blank"><IMG SRC="" border="0" alt="Cliquer ici pour télécharger" hspace="3" vspace="3"></A></span> </td>  
  </tr>  
 
</table>  
 
 
<br>  
<table width="100%" border="0" cellpadding="0" cellspacing="1" style="border-collapse: collapse" class="forumline">  
 
  <tr>  
        <td class="catHead" colspan="2" height="25"><span class="cattitle"><b>Preview</b></span></td>  
  </tr>  
 
  <tr>  
        <td colspan="2" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>  
  </tr>  
 
 
  <tr>  
        <td align="center" nowrap="nowrap" class="row3"> <span class="genmed">UT-2003<br><br><A HREF="http://www.gamekult.com/pc/recherche/go/J000016760" target=_blank"><IMG SRC="http://a333.g.akamai.net/f/333/7712/10d/213.41.118.85/images/photos/00/00/19/02/ME0000190278_1.jpg" border="0" alt="www.gamekult.com" hspace="3" vspace="3"></a></span> </td>  
  </tr>  
 
</table>  
 
 
<br>  
<table width="100%" border="0" cellpadding="0" cellspacing="1" style="border-collapse: collapse" class="forumline">  
 
  <tr>  
        <td class="catHead" colspan="2" height="25"><span class="cattitle"><b>Jeux</b></span></td>  
  </tr>  
 
  <tr>  
        <td colspan="2" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>  
  </tr>  
 
 
  <tr>  
        <td align="center" nowrap="nowrap" class="row3"> <span class="genmed">Tactical Ops<br><br><A HREF="http://www.gamekult.com/pc/jeux/fiches/J000017565_test.html" target=_blank"><IMG SRC="http://a333.g.akamai.net/f/333/7712/10d/213.41.118.85/images/photos/00/00/17/47/ME0000174747_1.jpg" border="0" alt="www.gamekult.com" hspace="3" vspace="3"></a></span> </td>  
  </tr>  
 
</table>  
 
 
 
 
<br>  
<table width="100%" border="0" cellpadding="0" cellspacing="1" style="border-collapse: collapse" class="forumline">  
 
  <tr>  
        <td class="catHead" colspan="2" height="25"><span class="cattitle"><b>Jeux</b></span></td>  
  </tr>  
 
  <tr>  
        <td colspan="2" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>  
  </tr>  
 
 
  <tr>  
        <td align="center" nowrap="nowrap" class="row3"> <span class="genmed">Warcraft 3<br><br><A HREF="http://www.gamekult.com/pc/recherche/go/J000000149" target=_blank"><IMG SRC="http://a333.g.akamai.net/f/333/7712/10d/213.41.118.85/images/photos/00/00/19/23/ME0000192347_1.jpg" border="0" alt="www.gamekult.com" hspace="3" vspace="3"></a></span> </td>  
  </tr>  
 
</table>  
 
 
 
 
 
 
 
 
<br>  
<table width="100%" border="0" cellpadding="0" cellspacing="1" style="border-collapse: collapse" class="forumline">  
 
  <tr>  
        <td class="catHead" colspan="2" height="25"><span class="cattitle"><b>Dvd</b></span></td>  
  </tr>  
 
  <tr>  
        <td colspan="2" height="1" class="row3"><img src="images/spacer.gif" width="1" height="1" alt="."></td>  
  </tr>  
 
 
  <tr>  
        <td align="center" nowrap="nowrap" class="row3"> <span class="genmed">Le Seigneur<br>des Anneaux<br><br><A HREF="http://www.amazon.fr/exec/obidos/ASIN/B00005RTTX/qid=1029638114/sr=1-1/ref=sr_1_2_1/402-5460194-4475343" target="_blank"><IMG SRC="http://images-eu.amazon.com/images/P/B00005RTTX.08.MZZZZZZZ.jpg" border="0" alt="www.amazon.fr" hspace="3" vspace="3"></A></span> </td>  
 
  </tr>  
 
</table>  
</table>  
 
</div>  
 
    </TD>  
  </TR>  
</TABLE>  
 
<br />  
</body>


Message édité par absynth' le 14-11-2002 à 17:57:02
Reply

Marsh Posté le 14-11-2002 à 17:54:01   

Reply

Marsh Posté le 23-11-2002 à 11:41:01    

Va faire un tour dans le forum développement phpBB ici : http://forum.2037.biz/

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed