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

Legend:

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

    r486 r491  
    22<table border="0" width="100%" cellpadding="5" align="center"> 
    33    <tr> 
    4         <td align="left"><a href='<{$xoops_url}>/modules/newbb/viewforum.php?forum=<{$forum_id}>'><{$forum_name}></a>&nbsp;>&nbsp;<b><{$topic_title}></b></td> 
     4        <td align="left"><a href="<{$xoops_url}>/modules/newbb/index.php?cat=<{$arrCat.cat_id}>"><{$arrCat.cat_title}></a>&nbsp;>&nbsp;<a href='<{$xoops_url}>/modules/newbb/viewforum.php?forum=<{$forum_id}>'><{$forum_name}></a>&nbsp;>&nbsp;<b><{$topic_title}></b></td> 
    55        <td align="right"></td> 
    66    </tr> 
  • temp/test-xoops.ec-cube.net/html/modules/newbb/templates/newbb_viewtopic_thread.html

    r490 r491  
    22<table border="0" width="100%" cellpadding="5" align="center"> 
    33    <tr> 
    4         <td align="left"><a href='<{$xoops_url}>/modules/newbb/viewforum.php?forum=<{$forum_id}>'><{$forum_name}></a>&nbsp;>&nbsp;<b><{$topic_title}></b></td> 
     4        <td align="left"><a href="<{$xoops_url}>/modules/newbb/index.php?cat=<{$arrCat.cat_id}>"><{$arrCat.cat_title}></a>&nbsp;>&nbsp;<a href='<{$xoops_url}>/modules/newbb/viewforum.php?forum=<{$forum_id}>'><{$forum_name}></a>&nbsp;>&nbsp;<b><{$topic_title}></b></td> 
    55        <td align="right"></td> 
    66    </tr> 
  • temp/test-xoops.ec-cube.net/html/modules/newbb/viewtopic.php

    r411 r491  
    348348    } 
    349349} 
     350// ¥«¥Æ¥´¥ê̾¼èÆÀ 
     351$sql = "SELECT c.cat_id, c.cat_title FROM ".$xoopsDB->prefix("bb_categories")." c, ".$xoopsDB->prefix("bb_forums")." f WHERE c.cat_id = f.cat_id AND forum_id = $forum"; 
     352 
     353if ( !$result = $xoopsDB->query($sql) ) { 
     354    //redirect_header('index.php',2,_MD_ERROROCCURED); 
     355    //exit(); 
     356} 
     357$arrCat = $xoopsDB->fetchArray($result); 
     358$xoopsTpl->assign('arrCat', $arrCat); 
    350359 
    351360// Âбþ¾õ¶· 
Note: See TracChangeset for help on using the changeset viewer.