CodeIgniter Forums
how ican seperate thecategories of my forum - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: how ican seperate thecategories of my forum (/showthread.php?tid=30060)



how ican seperate thecategories of my forum - El Forum - 05-01-2010

[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


how ican seperate thecategories of my forum - El Forum - 05-02-2010

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

Category - Thread
Posts - Posts
Reply - Comments

InsiteFX