| Line | |
|---|
| 1 | <?php
|
|---|
| 2 |
|
|---|
| 3 | require_once("./require.php");
|
|---|
| 4 |
|
|---|
| 5 | $objView = new SC_UserView("./templates/");
|
|---|
| 6 | $objImage = new SC_Image(IMAGE_TEMP_DIR);
|
|---|
| 7 |
|
|---|
| 8 | //---- ¥Ú¡¼¥¸É½¼¨ÍÑ¥¯¥é¥¹
|
|---|
| 9 | class LC_Page {
|
|---|
| 10 | function LC_Page() {
|
|---|
| 11 | $this->tpl_mainpage = 'index.tpl';
|
|---|
| 12 | }
|
|---|
| 13 | }
|
|---|
| 14 | $objPage = new LC_Page();
|
|---|
| 15 | $objView = new SC_UserView("./templates/");
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 | $str = "¤Ë¤Ã¤Ý¤ó¤´?";
|
|---|
| 19 | echo mb_detect_encoding($str) . "<br>";
|
|---|
| 20 | //$str = mb_convert_encoding($str, "SJIS", "euc-jp");
|
|---|
| 21 | //$str = mb_convert_encoding($str, "utf-8", "euc-jp");
|
|---|
| 22 | echo $str . "<br>";
|
|---|
| 23 | echo mb_detect_encoding($str) . "<br>";
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 | $objView->display($objPage->tpl_mainpage)
|
|---|
| 27 |
|
|---|
| 28 | ?>
|
|---|
Note: See
TracBrowser
for help on using the repository browser.