- Timestamp:
- 2007/01/09 17:56:01 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
temp/test-xoops.ec-cube.net/html/test/kakinaka/topic_list.php
r1050 r1051 7 7 $sql = 'SELECT topic_id, topic_title, topic_response FROM ' . $xoopsDB->prefix('bb_topics') . ' ORDER BY topic_response, topic_id'; 8 8 9 10 echo date("Y/m/d l H:i:s", 1157712086); 9 echo date("Y/m/d H:i:s", 1157712086); 11 10 12 11 … … 16 15 } 17 16 17 print_r($xoopsDB); 18 18 19 while ( $myrow = $xoopsDB->fetchArray($result) ) { 20 21 $post_sql = 'SELECT max(post_time) FROM xoops_bb_posts group by topic_id WHERE topic_id = ' . $myrow[]; 22 if ( !$post_result = $xoopsDB->query($post_sql) ) { 23 redirect_header(XOOPS_URL.'/',1,_MD_ERROROCCURED); 24 exit(); 25 } 26 19 27 20 28 foreach($myrow as $key => $val){
Note: See TracChangeset
for help on using the changeset viewer.
