source: temp/test-xoops.ec-cube.net/html/test/kakinaka/topic_list2.php @ 1155

Revision 1155, 611 bytes checked in by kakinaka, 20 years ago (diff)
Line 
1<?php
2
3require_once("./require.php");
4
5$objView = new SC_UserView("./templates/");
6$objImage = new SC_Image(IMAGE_TEMP_DIR);
7
8//---- ¥Ú¡¼¥¸É½¼¨ÍÑ¥¯¥é¥¹
9class 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 = "¤Ë¤Ã¤Ý¤ó¤´?";
19echo mb_detect_encoding($str) . "<br>";
20//$str = mb_convert_encoding($str, "SJIS", "euc-jp");
21//$str = mb_convert_encoding($str, "utf-8", "euc-jp");
22echo $str . "<br>";
23echo 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.