Changeset 1291
- Timestamp:
- 2007/01/22 13:47:53 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/test-xoops.ec-cube.net/html/roadmap/index.php
r1290 r1291 16 16 $xoopsTpl->assign('forum_name', 'Âбþ¾õ¶·°ìÍ÷'); 17 17 18 $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';18 $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 WHERE tpc.topic_response != 1 ORDER BY topic_response, topic_id DESC'; 19 19 if ( !$result = $xoopsDB->query($sql) ) { 20 20 redirect_header('index.php',2,_MD_ERROROCCURED);
Note: See TracChangeset
for help on using the changeset viewer.