Changeset 975


Ignore:
Timestamp:
2006/12/28 10:45:15 (19 years ago)
Author:
kaki
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/test-xoops.ec-cube.net/html/test/kakinaka/topic_list.php

    r974 r975  
    22 
    33include '../../mainfile.php'; 
    4 include XOOPS_ROOT_PATH.'/modules/newbb/functions.php'; 
    5 include XOOPS_ROOT_PATH.'/modules/newbb/config.php'; 
    6 include XOOPS_ROOT_PATH."/header.php"; 
    74 
     5$sql = 'SELECT * FROM ' . $xoopsDB->prefix('bb_categories'); 
     6if ( !$result = $xoopsDB->query($sql) ) { 
     7    redirect_header(XOOPS_URL.'/',1,_MD_ERROROCCURED); 
     8    exit(); 
     9} 
    810 
    911?> 
Note: See TracChangeset for help on using the changeset viewer.