source: temp/trunk/html/point/index.php @ 1328

Revision 1328, 929 bytes checked in by naka, 20 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
2require_once("../require.php");
3
4class LC_Page {
5    function LC_Page() {
6        /** ɬ¤º»ØÄꤹ¤ë **/
7        $this->tpl_css = '/css/layout/point/index.css'; // ¥á¥¤¥óCSS¥Ñ¥¹
8        /** ɬ¤º»ØÄꤹ¤ë **/
9        $this->tpl_mainpage = 'point/index.tpl';        // ¥á¥¤¥ó¥Æ¥ó¥×¥ì¡¼¥È
10        $this->tpl_page_category = 'point';             
11        $this->tpl_title = '¥Ý¥¤¥ó¥ÈÀ©Å٤ˤĤ¤¤Æ';
12    }
13}
14
15$objPage = new LC_Page();
16$objView = new SC_SiteView();
17$objQuery = new SC_Query();
18
19$arrInfo =$objQuery->select("*","dtb_baseinfo");
20$objPage->arrPoint = $arrInfo[0]['point_rate'];
21
22if ($arrInfo[0]['welcome_point'] != 0){
23    $kome = "¢¨";
24    $mes = "²ñ°÷ÅÐÏ¿¤¹¤ë¤À¤±¤Ç¤â¤ì¤Ê¤¯".$arrInfo[0]['welcome_point']."¥Ý¥¤¥ó¥ÈÉÕÍ¿¤µ¤ì¤Þ¤¹¡£";
25    $objPage->mes = $mes;
26    $objPage->kome = $kome;
27}
28
29$objView->assignobj($objPage);
30$objView->display(SITE_FRAME);
31//-----------------------------------------------------------------------------------------------------------------------------------
32?>
Note: See TracBrowser for help on using the repository browser.