source: temp/test-xoops.ec-cube.net/html/test/kakinaka/list.php @ 1199

Revision 1199, 483 bytes checked in by kakinaka, 20 years ago (diff)
Line 
1<?php
2
3require_once("../../require.php");
4
5//---- ¥Ú¡¼¥¸É½¼¨ÍÑ¥¯¥é¥¹
6class LC_Page {
7    function LC_Page() {
8        $this->tpl_mainpage = 'list.tpl';
9    }
10}
11$objPage = new LC_Page();
12$objView = new SC_SiteView();
13$objQuery = new SC_Query();
14
15
16$sql = 'SELECT topic_id, topic_title, topic_response, topic_time FROM xoops_bb_topics ORDER BY topic_response, topic_id';
17
18$arrRet = $objQuery->getAll($sql);
19
20sfprintr($arrRet);
21
22$objView->display($objPage->tpl_mainpage)
23
24?>
Note: See TracBrowser for help on using the repository browser.