Changeset 1043


Ignore:
Timestamp:
2006/12/28 12:01:25 (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

    r1042 r1043  
    11<?php 
    22include '../../mainfile.php'; 
     3include XOOPS_ROOT_PATH.'/modules/newbb/config.php'; 
     4 
     5global $arrResponse; 
    36 
    47$sql = 'SELECT topic_id, topic_title, topic_response FROM ' . $xoopsDB->prefix('bb_topics') . ' ORDER BY topic_response, topic_id'; 
     
    1316    foreach($myrow as $key => $val){ 
    1417        //$val = mb_convert_encoding($val, "euc-jp"); 
    15         print($val . "\t"); 
     18        if($key == "topic_response"){ 
     19            print($arrResponse[$val] . "\t"); 
     20        }else{ 
     21            print($val . "\t"); 
     22        } 
    1623    } 
    1724    print("<BR>"); 
Note: See TracChangeset for help on using the changeset viewer.