Changeset 1281


Ignore:
Timestamp:
2007/01/22 12:12:47 (17 years ago)
Author:
kakinaka
Message:
 
File:
1 edited

Legend:

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

    r1280 r1281  
    176176$xoopsTpl->assign('forum_name', 'Âбþ¾õ¶·°ìÍ÷'); 
    177177 
    178 $sql = 'SELECT topic_id, topic_title, topic_response, topic_last_post_id, from_unixtime(topic_time) as topic_time, uname FROM xoops_bb_topics as tpc left join xoops_users as usr on tpc.topic_response_uid = usr.uid ORDER BY topic_response, topic_id DESC'; 
     178$sql = 'SELECT topic_id, topic_title, topic_response, topic_last_post_id, forum_id,  from_unixtime(topic_time) as topic_time, uname FROM xoops_bb_topics as tpc left join xoops_users as usr on tpc.topic_response_uid = usr.uid ORDER BY topic_response, topic_id DESC'; 
    179179if ( !$result = $xoopsDB->query($sql) ) { 
    180180    redirect_header('index.php',2,_MD_ERROROCCURED); 
     
    185185$topic_lastread = newbb_get_topics_viewed(); 
    186186while ( $myrow = $xoopsDB->fetchArray($result) ) { 
    187     $fix = getFixName($myrow['topic_id']); 
     187    $fix = getFixName($myrow['forum_id']); 
    188188     
    189189    $xoopsTpl->append('topics', array( 
Note: See TracChangeset for help on using the changeset viewer.