source:
closed/dev/html/test/kakinaka/utf.php
@
379
| Revision 379, 400 bytes checked in by kakinaka, 19 years ago (diff) |
|---|
| Line | |
|---|---|
| 1 | <?php |
| 2 | |
| 3 | require_once("../../require.php"); |
| 4 | |
| 5 | //---- ¥Ú¡¼¥¸É½¼¨ÍÑ¥¯¥é¥¹ |
| 6 | class LC_Page { |
| 7 | function LC_Page() { |
| 8 | $this->tpl_mainpage = 'utf.tpl'; |
| 9 | } |
| 10 | } |
| 11 | |
| 12 | $objView = new SC_UserView("./templates/"); |
| 13 | $objPage = new LC_Page(); |
| 14 | $objQuery = new SC_Query(); |
| 15 | |
| 16 | |
| 17 | $ret = $objQuery->select("SELECT * FROM dtb_products"); |
| 18 | |
| 19 | sfprintr($ret); |
| 20 | |
| 21 | $objView->assignobj($objPage); |
| 22 | $objView->display($objPage->tpl_mainpage); |
| 23 | |
| 24 | ?> |
Note: See TracBrowser
for help on using the repository browser.
