- Timestamp:
- 2007/01/22 12:15:20 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/test-xoops.ec-cube.net/html/modules/newbb/response.php
r1281 r1282 186 186 while ( $myrow = $xoopsDB->fetchArray($result) ) { 187 187 $fix = getFixName($myrow['forum_id']); 188 189 $sql_tmp = "SELECT p.post_id FROM ".$xoopsDB->prefix('bb_posts')." p WHERE p.pid = 0 AND p.topic_id = ".$myrow['topic_id']; 190 $result_tmp = $xoopsDB->query($sql_tmp); 191 $myrow_tmp = $xoopsDB->fetchArray($result_tmp); 192 $myrow['post_id'] = $myrow_tmp['post_id']; 188 193 189 194 $xoopsTpl->append('topics', array( 190 195 'topic_fix'=>$fix, 191 'topic_number'=>$myrow[' topic_last_post_id'],196 'topic_number'=>$myrow['post_id'], 192 197 'topic_title'=>$myrow['topic_title'], 193 198 'topic_response'=>$myrow['topic_response'],
Note: See TracChangeset
for help on using the changeset viewer.
