Welcome Guest, Not a member yet? Register   Sign In
how ican seperate thecategories of my forum
#1

[eluser]kosaidpo[/eluser]
hello

and embed em into divs jst like the codeignitore forum
cus me thats what i've

Code:
//start forums_div
echo '<div id="forums_div">  
      <table id="table_forums">
        <tr>
        <th class="tete">Nom forum</th>
        <th class="tete"> Discussion</th>
        <th class="tete"> Messages </th>
        <th class="tete">Dernier message</th>
         </tr>' ;
    
    
foreach($r as $l){

echo  '<tr>';
echo  '<td>'. anchor('forum/viewthreads/'. $l['forum_id'] ,$l['forum_name']) .'<br> ';
echo  $l['forum_desc'].'</td> ' ;
echo  '<td class="case">'  . $l['NbrDiscussion'] .'</td>'  ;
echo  '<td class="case">'  . $l['NbrMessage']    .'</td>'  ;
echo  '<td class="case">'  .$l['post_title'] .'<br>'.$l['reply_by'] .
.unix_to_human($l['post_date']) .'/td>'  ;
echo  '</tr>' ;
}

echo  '</table>';   //fin table de forum
echo     '</div>'  ;  //fin forums div

like in this forum forum lounge has ==> introduce yourself ...
development has ==>programin discussion


i hop its clear

tnx
#2

[eluser]InsiteFX[/eluser]
Search the forums, look at how a blog works...

Category - Thread
Posts - Posts
Reply - Comments

InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB