Changeset 1274
- Timestamp:
- 2007/01/22 11:47:21 (17 years ago)
- 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 204 204 $xoopsTpl->assign('forum_name', 'Âбþ¾õ¶·°ìÍ÷'); 205 205 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'; 207 207 if ( !$result = $xoopsDB->query($sql) ) { 208 208 redirect_header('index.php',2,_MD_ERROROCCURED); … … 218 218 'topic_response'=>$myrow['topic_response'], 219 219 'topic_response_user'=>$myrow['uname'], 220 'topic_ last_posttime'=>$myrow['topic_last_posttime']));220 'topic_time'=>$myrow['topic_time'])); 221 221 } 222 222 -
temp/test-xoops.ec-cube.net/html/modules/newbb/templates/newbb_response.html
r1272 r1274 44 44 <{if $arrResponse[$topic.topic_response] != ""}> (<{$topic.topic_response_user|default:'¥²¥¹¥È'}>) <{/if}> 45 45 </td> 46 <td align="right" valign="middle"><{$topic.topic_ last_posttime}></td>46 <td align="right" valign="middle"><{$topic.topic_time}></td> 47 47 </tr> 48 48 <{/foreach}>
Note: See TracChangeset
for help on using the changeset viewer.