source: temp/trunk/html/entry/kiyaku.php @ 4608

Revision 4608, 920 bytes checked in by kakinaka, 20 years ago (diff)

blank

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1<?php
2require_once("../require.php");
3
4class LC_Page {
5    function LC_Page() {
6        $this->tpl_mainpage = 'entry/kiyaku.tpl';
7        $this->tpl_title="¤´ÍøÍѵ¬Ìó";
8    }
9}
10
11$objPage = new LC_Page();
12$objView = new SC_SiteView();
13$objCustomer = new SC_Customer();
14
15// ¥ì¥¤¥¢¥¦¥È¥Ç¥¶¥¤¥ó¤ò¼èÆÀ
16$objPage = sfGetPageLayout($objPage, false, DEF_LAYOUT);
17
18// µ¬ÌóÆâÍÆ¤Î¼èÆÀ
19$objQuery = new SC_Query();
20$objQuery->setorder("rank DESC");
21$arrRet = $objQuery->select("kiyaku_title, kiyaku_text", "dtb_kiyaku", "del_flg <> 1");
22
23$max = count($arrRet);
24$objPage->tpl_kiyaku_text = "";
25for ($i = 0; $i < $max; $i++) {
26    $objPage->tpl_kiyaku_text.=$arrRet[$i]['kiyaku_title'] . "\n\n";
27    $objPage->tpl_kiyaku_text.=$arrRet[$i]['kiyaku_text'] . "\n\n";
28}
29
30
31$objView->assignobj($objPage);
32$objView->display(SITE_FRAME);
33//--------------------------------------------------------------------------------------------------------------------------
34?>
Note: See TracBrowser for help on using the repository browser.