Changeset 1272 for temp


Ignore:
Timestamp:
2007/01/22 11:45:22 (19 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

    r1270 r1272  
    204204$xoopsTpl->assign('forum_name', 'Âбþ¾õ¶·°ìÍ÷'); 
    205205 
    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'; 
     206$sql = 'SELECT topic_id, topic_title, topic_response, from_unixtime(topic_last_posttime) 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_time'=>$myrow['topic_time'])); 
     220                                'topic_last_posttime'=>$myrow['topic_last_posttime'])); 
    221221} 
    222222 
  • temp/test-xoops.ec-cube.net/html/modules/newbb/templates/newbb_response.html

    r1271 r1272  
    3939    <{foreach item=topic from=$topics}> 
    4040    <tr class="<{cycle values="even,odd"}>"> 
    41         <td align="center"><{$topic.topic_icon}></td> 
    4241        <td>&nbsp;[<{$topic.fix}>:<{$topic.topic_number}>]<a href="<{$topic.topic_link}>"><{$topic.topic_title}></a><{$topic.topic_page_jump}></td> 
    4342        <td align="center" valign="middle"> 
     
    4544        <{if $arrResponse[$topic.topic_response] != ""}> (<{$topic.topic_response_user|default:'¥²¥¹¥È'}>) <{/if}> 
    4645        </td> 
    47         <td align="center" valign="middle"><{$topic.topic_replies}></td> 
    48         <td align="center" valign="middle"><{$topic.topic_poster}></td> 
    49         <td align="center" valign="middle"><{$topic.topic_views}></td> 
    50         <td align="right" valign="middle"><{$topic.topic_last_posttime}><br /><{$lang_by}> <{$topic.topic_last_poster}></td> 
     46        <td align="right" valign="middle"><{$topic.topic_last_posttime}></td> 
    5147    </tr> 
    5248    <{/foreach}> 
Note: See TracChangeset for help on using the changeset viewer.