Changeset 1274


Ignore:
Timestamp:
2007/01/22 11:47:21 (17 years ago)
Author:
kakinaka
Message:
 
Location:
temp/test-xoops.ec-cube.net/html/modules/newbb
Files:
2 edited

Legend:

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

    r1273 r1274  
    204204$xoopsTpl->assign('forum_name', 'Âбþ¾õ¶·°ìÍ÷'); 
    205205 
    206 $sql = 'SELECT topic_id, topic_title, topic_response, from_unixtime(topic_last_posttime) as topic_last_posttime, 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'; 
     206$sql = 'SELECT topic_id, topic_title, topic_response, 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'; 
    207207if ( !$result = $xoopsDB->query($sql) ) { 
    208208    redirect_header('index.php',2,_MD_ERROROCCURED); 
     
    218218                                'topic_response'=>$myrow['topic_response'], 
    219219                                'topic_response_user'=>$myrow['uname'], 
    220                                 'topic_last_posttime'=>$myrow['topic_last_posttime'])); 
     220                                'topic_time'=>$myrow['topic_time'])); 
    221221} 
    222222 
  • temp/test-xoops.ec-cube.net/html/modules/newbb/templates/newbb_response.html

    r1272 r1274  
    4444        <{if $arrResponse[$topic.topic_response] != ""}> (<{$topic.topic_response_user|default:'¥²¥¹¥È'}>) <{/if}> 
    4545        </td> 
    46         <td align="right" valign="middle"><{$topic.topic_last_posttime}></td> 
     46        <td align="right" valign="middle"><{$topic.topic_time}></td> 
    4747    </tr> 
    4848    <{/foreach}> 
Note: See TracChangeset for help on using the changeset viewer.