Revision 5934,
1021 bytes
checked in by kakinaka, 17 years ago
(diff) |
* empty log message *
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
Line | |
---|
1 | <?php |
---|
2 | /* |
---|
3 | * Copyright(c) 2000-2006 LOCKON CO.,LTD. All Rights Reserved. |
---|
4 | * |
---|
5 | * http://www.lockon.co.jp/ |
---|
6 | */ |
---|
7 | require_once("../require.php"); |
---|
8 | |
---|
9 | class LC_Page { |
---|
10 | function LC_Page() { |
---|
11 | $this->tpl_mainpage = 'entry/kiyaku.tpl'; |
---|
12 | $this->tpl_title="¤´ÍøÍѵ¬Ìó"; |
---|
13 | } |
---|
14 | } |
---|
15 | |
---|
16 | $objPage = new LC_Page(); |
---|
17 | $objView = new SC_SiteView(); |
---|
18 | $objCustomer = new SC_Customer(); |
---|
19 | |
---|
20 | // ¥ì¥¤¥¢¥¦¥È¥Ç¥¶¥¤¥ó¤ò¼èÆÀ |
---|
21 | $objPage = sfGetPageLayout($objPage, false, DEF_LAYOUT); |
---|
22 | |
---|
23 | // µ¬ÌóÆâÍÆ¤Î¼èÆÀ |
---|
24 | $objQuery = new SC_Query(); |
---|
25 | $objQuery->setorder("rank DESC"); |
---|
26 | $arrRet = $objQuery->select("kiyaku_title, kiyaku_text", "dtb_kiyaku", "del_flg <> 1"); |
---|
27 | |
---|
28 | $max = count($arrRet); |
---|
29 | $objPage->tpl_kiyaku_text = ""; |
---|
30 | for ($i = 0; $i < $max; $i++) { |
---|
31 | $objPage->tpl_kiyaku_text.=$arrRet[$i]['kiyaku_title'] . "\n\n"; |
---|
32 | $objPage->tpl_kiyaku_text.=$arrRet[$i]['kiyaku_text'] . "\n\n"; |
---|
33 | } |
---|
34 | |
---|
35 | |
---|
36 | $objView->assignobj($objPage); |
---|
37 | $objView->display(SITE_FRAME); |
---|
38 | //-------------------------------------------------------------------------------------------------------------------------- |
---|
39 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.