Ignore:
Timestamp:
2006/12/05 12:02:30 (20 years ago)
Author:
uehara
Message:
 
Location:
temp/test-xoops.ec-cube.net/html/modules/newbb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • temp/test-xoops.ec-cube.net/html/modules/newbb/templates/newbb_viewforum.html

    r454 r459  
    22<table border="0" width="100%" cellpadding="5" align="center"> 
    33    <tr> 
    4         <td align="left"><a href="<{$xoops_url}>/modules/newbb/index.php"><{$forum_index_title}></a>&nbsp;>&nbsp;<b><{$forum_name}></b></td> 
     4        <td align="left"><a href="<{$xoops_url}>/modules/newbb/index.php"><{$arrCat.cat_title}></a>&nbsp;>&nbsp;<b><{$forum_name}></b></td> 
    55        <td align="right"><{$forum_post_or_register}></td> 
    66    </tr> 
  • temp/test-xoops.ec-cube.net/html/modules/newbb/viewforum.php

    r419 r459  
    337337    $xoopsTpl->assign('forum_pagenav', ''); 
    338338} 
     339 
     340// ¥«¥Æ¥´¥ê̾¼èÆÀ 
     341$sql = "SELECT cat_id, cat_title FROM ".$xoopsDB->prefix("bb_categories").", ".$xoopsDB->prefix("bb_forums")." WHERE forum_id = $forum"; 
     342if ( !$r = $xoopsDB->query($sql) ) { 
     343    //redirect_header('index.php',2,_MD_ERROROCCURED); 
     344    //exit(); 
     345} 
     346$arrCat = $xoopsDB->fetchArray($r); 
     347$xoopsTpl->assign('arrCat', $arrCat); 
     348     
    339349$xoopsTpl->assign('forum_jumpbox', make_jumpbox($forum)); 
    340350include XOOPS_ROOT_PATH."/footer.php"; 
Note: See TracChangeset for help on using the changeset viewer.