Ignore:
Timestamp:
2006/12/05 13:44:31 (20 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.