Revision 15079,
409 bytes
checked in by nanasess, 17 years ago
(diff) |
svn:mime-type application/x-httpd-php; charset=UTF-8 設定
|
-
Property svn:mime-type set to
application/x-httpd-php; charset=UTF-8
|
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.