Browse Source

优化巴利搜索

visuddhinanda 5 years ago
parent
commit
dafe2bde30

+ 1 - 1
app/article/index.php

@@ -177,7 +177,7 @@ require_once "../pcdl/html_head.php";
 
 	</style>
 
-<style media="screen and (max-width:767px)">
+<style media="screen and (max-width:800px)">
 #right_pannal{
 	display:none;
 }

+ 915 - 877
app/calendar/index1.html

@@ -1,884 +1,922 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 <html>
-
-<head>
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1">
-    <link type="text/css" rel="stylesheet" href="../pcdl/css/font.css" />
-    <link type="text/css" rel="stylesheet" href="../pcdl/css/basic_style.css" />
-    <link type="text/css" rel="stylesheet" href="../pcdl/css/style.css" />
-    <link type="text/css" rel="stylesheet" href="../pcdl/css/color_day.css" id="colorchange" />
-    <link type="text/css" rel="stylesheet" href="../pcdl/css/style_mobile.css" media="screen and (max-width:767px)">
-
-    <script src="../public/js/jquery.js"></script>
-    <script src="../public/js/comm.js"></script>
-    <script src="jquery-3.3.1.min.js"></script>
-    <script src="julian.js"></script>
-    <script src="lune.js"></script>
-    <script src="suncalc.js"></script>
-    <script src="./planet_position/js/planet-positions.js"></script>
-
-    <script src="../studio/js/fixedsticky.js"></script>
-    <script src="../guide/guide.js"></script>
-    <link type="text/css" rel="stylesheet" href="../guide/guide.css" />
-
-    <script src="../public/js/marked.js"></script>
-    <!--获取语言-->
-    <script>
-        var g_language = "en";
-        var g_currLink = "";
-        function lang_init(strPage) {
-            g_currLink = strPage;
-        }
-        function setLang(strLang) {
-            g_language = strLang;
-            setCookie('language', g_language, 365);
-            window.location.assign(location.pathname + "?language=" + g_language);
-        }
-    </script>
-    <script>
-        var localString = new Array();
-        localString["zh-cn"] = {
-            "and_another": "又 ",
-            "atitude": "纬度",
-            "BE": "佛历",
-            "bhumma": "周二",
-            "budha": "周三",
-            "canda": "周一",
-            "confirm": "确认",
-            "date": "日期",
-            "day": "日",
-            "days": "天 ",
-            "departure_in_detail": "起飞详情",
-            "dhamma_time": "会延续五千年的教法 ",
-            "eat": "进餐",
-            "gama_entry": "入村",
-            "guru": "周四",
-            "hori_ref_time": "蒙气差修正 ",
-            "kala": "适当的时间",
-            "language_select": "选择语言",
-            "left": "还剩下",
-            "loading": "载入中……",
-            "longitude": "经度",
-            "māsa": "月",
-            "mins": "分钟",
-            "month": "月 ",
-            "month_1": "月 ",
-            "months": "个月 ",
-            "my_loc": "我的位置",
-            "need_inform": "未告知其他比库",
-            "no_string": "不能",
-            "noon_time": "正午",
-            "noon_time": "正午",
-            "note": "注释",
-            "now_time": "现在",
-            "pacchā_māsa": "下个月",
-            "pakkha": "月相变化 ",
-            "past": "已过去",
-            "pubba_māsa": "上个月",
-            "ravi": "周日",
-            "saṃvacchara": "年",
-            "season": "季节 ",
-            "sec": "秒",
-            "sora": "周六",
-            "sukka": "周五",
-            "sun_height_degree": "正午太阳高度 ",
-            "time": "时间",
-            "twilight_time": "曙光",
-            "twilight_time": "曙光",
-            "vikala": "不适当的时间",
-            "week_day": "星期",
-            "year_0": "年",
-            "year_1": "年 ",
-            "years": "年 ",
-            "yes_string": "可以"
-        };
-        localString["zh-tw"] = {
-            "and_another": "又 ",
-            "atitude": "緯度",
-            "BE": "佛曆",
-            "bhumma": "週二",
-            "budha": "週三",
-            "canda": "週一",
-            "confirm": "確認",
-            "date": "日期",
-            "day": "日",
-            "days": "天 ",
-            "departure_in_detail": "起飛詳情",
-            "dhamma_time": "會延續五千年的教法 ",
-            "eat": "進餐",
-            "gama_entry": "入村",
-            "guru": "週四",
-            "hori_ref_time": "蒙氣差修正 ",
-            "kala": "適當的時間",
-            "language_select": "選擇語言",
-            "left": "還剩下",
-            "loading": "載入中……",
-            "longitude": "經度",
-            "māsa": "月",
-            "mins": "分鐘",
-            "month": "月 ",
-            "month_1": "月 ",
-            "months": "個月 ",
-            "my_loc": "我的位置",
-            "need_inform": "未告知其他比庫",
-            "no_string": "不能",
-            "noon_time": "正午",
-            "noon_time": "正午",
-            "note": "註釋",
-            "now_time": "現在",
-            "pacchā_māsa": "下個月",
-            "pakkha": "月相變化 ",
-            "past": "已過去",
-            "pubba_māsa": "上個月",
-            "ravi": "週日",
-            "saṃvacchara": "年",
-            "season": "季節 ",
-            "sec": "秒",
-            "sora": "週六",
-            "sukka": "週五",
-            "sun_height_degree": "正午太陽高度 ",
-            "time": "時間",
-            "twilight_time": "曙光",
-            "twilight_time": "曙光",
-            "vikala": "不適當的時間",
-            "week_day": "星期",
-            "year_0": "年",
-            "year_1": "年 ",
-            "years": "年 ",
-            "yes_string": "可以"
-        };
-        localString["default"] = {
-            "and_another": " and ",
-            "atitude": "Atitude",
-            "BE": "Buddhist Era ",
-            "bhumma": "Bhumma",
-            "budha": "Budha",
-            "canda": "Canda",
-            "confirm": "Confirm",
-            "date": "Date ",
-            "day": " day(s) ",
-            "days": " day(s) ",
-            "departure_in_detail": "departure in detail",
-            "dhamma_time": "5000 Years of the Buddha’s Dispensation ",
-            "eat": "eat",
-            "gama_entry": "entry the village",
-            "guru": "Guru",
-            "hori_ref_time": "horizontal refraction correct ",
-            "kala": "suitable time",
-            "language_select": "bhāsā",
-            "left": "Remains ",
-            "loading": "loading…",
-            "longitude": "Longitude",
-            "māsa": "māsa",
-            "mins": "(min)",
-            "month": "Month ",
-            "month_1": "- ",
-            "months": " month(s) ",
-            "my_loc": "attasmiṃ",
-            "need_inform": "without informing other Bhikkhu ",
-            "no_string": "cannot ",
-            "noon_time": "NOON",
-            "noon_time": "NOON",
-            "note": "Note",
-            "now_time": "NOW",
-            "pacchā_māsa": "pacchā-māsa",
-            "pakkha": "Lunar Phases ",
-            "past": "Passed ",
-            "pubba_māsa": "pubba-māsa",
-            "ravi": "Ravi",
-            "saṃvacchara": "saṃvacchara",
-            "season": "Season ",
-            "sec": "sec ",
-            "sora": "Sora",
-            "sukka": "Sukka",
-            "sun_height_degree": "Max solar altitude ",
-            "time": "Time",
-            "twilight_time": "dawn",
-            "twilight_time": "dawn",
-            "vikala": "unsuitable time",
-            "week_day": "Day",
-            "year_0": "saṃvacchara",
-            "year_1": "- ",
-            "years": " year(s) ",
-            "yes_string": "can "
-        };
-        localString["en"] = {
-            "and_another": " and ",
-            "atitude": "Atitude",
-            "BE": "Buddhist Era ",
-            "bhumma": "Bhumma",
-            "budha": "Budha",
-            "canda": "Canda",
-            "confirm": "Confirm",
-            "date": "Date",
-            "day": " day(s) ",
-            "days": " day(s) ",
-            "departure_in_detail": "departure in detail",
-            "dhamma_time": "5000 Years of the Buddha’s Dispensation ",
-            "eat": "eat",
-            "gama_entry": "entry the village",
-            "guru": "Guru",
-            "hori_ref_time": "horizontal refraction correct ",
-            "kala": "suitable time",
-            "language_select": "Language",
-            "left": "Remains ",
-            "loading": "loading…",
-            "longitude": "Longitude",
-            "māsa": "māsa",
-            "mins": "(min)",
-            "month": "Month ",
-            "month_1": "- ",
-            "months": " month(s) ",
-            "my_loc": "my location",
-            "need_inform": "without informing other Bhikkhu ",
-            "no_string": "cannot ",
-            "noon_time": "NOON",
-            "noon_time": "NOON",
-            "note": "Note",
-            "now_time": "NOW",
-            "pacchā_māsa": "pacchā-māsa",
-            "pakkha": "Lunar Phases ",
-            "past": "Passed ",
-            "pubba_māsa": "pubba-māsa",
-            "ravi": "Ravi",
-            "saṃvacchara": "saṃvacchara",
-            "season": "Season ",
-            "sec": "sec",
-            "sora": "Sora",
-            "sukka": "Sukka",
-            "sun_height_degree": "Max solar altitude ",
-            "time": "time",
-            "twilight_time": "dawn",
-            "twilight_time": "dawn",
-            "vikala": "unsuitable time",
-            "week_day": "Day",
-            "year_0": "year",
-            "year_1": "- ",
-            "years": " year(s) ",
-            "yes_string": "can "
-        };
-        localString["my"] = {
-            "and_another": " and ",
-            "atitude": "Atitude",
-            "BE": "Buddhist Era ",
-            "bhumma": "ဘုမ္မ",
-            "budha": "ဗုဓ",
-            "canda": "စန္ဒ",
-            "confirm": "Confirm",
-            "date": "Date ",
-            "day": " day(s) ",
-            "days": " day(s) ",
-            "departure_in_detail": "departure in detail",
-            "dhamma_time": "5000 Years of the Buddha’s Dispensation ",
-            "eat": "eat",
-            "gama_entry": "entry the village",
-            "guru": "ဂုရု",
-            "hori_ref_time": "horizontal refraction correct ",
-            "kala": "ကာလ",
-            "language_select": "ဘာသာ",
-            "left": "Remains ",
-            "loading": "loading…",
-            "longitude": "Longitude",
-            "māsa": "မာသ",
-            "mins": "(min)",
-            "month": "Month ",
-            "month_1": "- ",
-            "months": " month(s) ",
-            "my_loc": "အတ္တသ္မိံ",
-            "need_inform": "without informing other Bhikkhu ",
-            "no_string": "cannot ",
-            "noon_time": "မဇ္ဈန္ဟိက",
-            "noon_time": "မဇ္ဈန္ဟိက",
-            "note": "Note",
-            "now_time": "ပစ္စုပ္ပန္န",
-            "pacchā_māsa": "ပစ္ဆာ-မာသ",
-            "pakkha": "Lunar Phases ",
-            "past": "Passed ",
-            "pubba_māsa": "ပုဗ္ဗ-မာသ",
-            "ravi": "ရဝိ",
-            "saṃvacchara": "သံဝစ္ဆရ",
-            "season": "Season ",
-            "sec": "sec ",
-            "sora": "သောရ",
-            "sukka": "သုက္က",
-            "sun_height_degree": "Max solar altitude ",
-            "time": "Time",
-            "twilight_time": "အရုဏုဂ္ဂမန",
-            "twilight_time": "အရုဏုဂ္ဂမန",
-            "vikala": "ဝိကာလ",
-            "week_day": "Day",
-            "year_0": "year",
-            "year_1": "- ",
-            "years": " year(s) ",
-            "yes_string": "can "
-        };
-        localString["si"] = {
-            "and_another": " ච ",
-            "atitude": "Atitude",
-            "BE": "බුද්ධ වර්ෂය ",
-            "bhumma": "භුම්ම",
-            "budha": "බුධ",
-            "canda": "චන්ද",
-            "confirm": "Confirm",
-            "date": "දිවස ",
-            "day": " දිවසා(නි) ",
-            "days": " දිවසා(නි) ",
-            "departure_in_detail": "departure in detail",
-            "dhamma_time": "සම්මා සම්බුද්ධස්ස සාසනං පට්ච-වස්ස-සහස්සානි පවත්තිස්සති ",
-            "eat": "eat",
-            "gama_entry": "entry the village",
-            "guru": "ගු‍රු",
-            "hori_ref_time": "horizontal refraction correct ",
-            "kala": "කාල",
-            "language_select": "භාෂාව",
-            "left": "අවසිට්ඨ ",
-            "loading": "ප්‍රවේශනය වෙනවා ",
-            "longitude": "Longitude",
-            "māsa": "මාස",
-            "mins": "(min)",
-            "month": "මාස ",
-            "month_1": "- ",
-            "months": " මාසා(නි) ",
-            "my_loc": "අත‍්තස‍්මිං",
-            "need_inform": "without informing other Bhikkhu ",
-            "no_string": "cannot ",
-            "noon_time": "මජ්ඣන්හික",
-            "noon_time": "මජ්ඣන්හික",
-            "note": "නෝට්ටුව ",
-            "now_time": "පච්චුප්පන්න",
-            "pacchā_māsa": "පච්ඡා-මාස",
-            "pakkha": "පක්ඛ ",
-            "past": "අතික්කන්ත ",
-            "pubba_māsa": "පුබ්බ-මාස",
-            "ravi": "රවි",
-            "saṃvacchara": "සංවච්ඡ‍ර",
-            "season": "උතු ",
-            "sec": "sec",
-            "sora": "සො‍ර",
-            "sukka": "සුක්ක",
-            "sun_height_degree": "Max solar altitude ",
-            "time": "time",
-            "twilight_time": "අ‍රුණුග්ගමන",
-            "twilight_time": "අ‍රුණුග්ගමන",
-            "vikala": "විකාල",
-            "week_day": "වා‍ර ",
-            "year_0": "සංවච්ඡ‍ර",
-            "year_1": "- ",
-            "years": " සංවච්ඡ‍රා(නි) ",
-            "yes_string": "can "
-        };
-        var pali_month_name = [
-            { "id": "1", "value": "jeṭṭha", "season": "gimhāna", "season_icon": "☀" },//5.X-四-十五-心
-            { "id": "2", "value": "asāḷha", "season": "gimhāna", "season_icon": "☀" },//6.X-五-十五、十六-箕、斗
-            { "id": "3", "value": "sāvana", "season": "vassāna", "season_icon": "☔" },//7.X-六-十五-女
-            { "id": "4", "value": "poṭṭhapāda", "season": "vassāna", "season_icon": "☔" },//8.x-七-十五、十六-室、壁
-            { "id": "5", "value": "assajuja", "season": "vassāna", "season_icon": "☔" },//9.X-八-十五-樓
-            { "id": "6", "value": "kattika", "season": "vassāna", "season_icon": "☔" },//10.X-九-十五-昂
-            { "id": "7", "value": "māgasira", "season": "hemanta", "season_icon": "❄" },//11.X-十-十五-觜
-            { "id": "8", "value": "phussa", "season": "hemanta", "season_icon": "❄" },//12.X-十一-十五-鬼
-            { "id": "9", "value": "māgha", "season": "hemanta", "season_icon": "❄" },//1.X-十二-十五-星
-            { "id": "10", "value": "phagguna", "season": "hemanta", "season_icon": "❄" },//2.X-正月-十四、十五-張、異
-            { "id": "11", "value": "citta", "season": "gimhāna", "season_icon": "☀" },//3.X-二月-十五-角
-            { "id": "12", "value": "vesākha", "season": "gimhāna", "season_icon": "☀" }//4.X-三月-十五-氐
-        ]
-        var pali_nakkhatta_name = [
-            { "id": "0", "value": "assayuja", "name_zh": "娄宿" },
-            { "id": "1", "value": "bharaṇī", "name_zh": "胃宿" },
-            { "id": "2", "value": "Kattikā", "name_zh": "昂宿" },
-            { "id": "3", "value": "rohiṇī", "name_zh": "毕宿" },
-            { "id": "4", "value": "magasira", "name_zh": "觜宿" },
-            { "id": "5", "value": "Addā", "name_zh": "参宿" },
-            { "id": "6", "value": "punabbasu", "name_zh": "井宿" },
-            { "id": "7", "value": "phussa", "name_zh": "鬼宿" },
-            { "id": "8", "value": "Asilesā", "name_zh": "柳宿" },
-            { "id": "9", "value": "maghā", "name_zh": "星宿" },
-            { "id": "10", "value": "pubbaphagguṇī", "name_zh": "张宿" },
-            { "id": "11", "value": "uttaraphagguṇī", "name_zh": "翼宿" },
-            { "id": "12", "value": "hattha", "name_zh": "轸宿" },
-            { "id": "13", "value": "cittā", "name_zh": "角宿" },
-            { "id": "14", "value": "sāti", "name_zh": "亢宿" },
-            { "id": "15", "value": "visākhā", "name_zh": "氐宿" },
-            { "id": "16", "value": "anurādhā", "name_zh": "房宿" },
-            { "id": "17", "value": "jeṭṭha", "name_zh": "心宿" },
-            { "id": "18", "value": "mūlā", "name_zh": "尾宿" },
-            { "id": "19", "value": "pubbāsāḷha", "name_zh": "箕宿" },
-            { "id": "20", "value": "uttarāsāḷha", "name_zh": "斗宿" },
-            { "id": "21", "value": "savaṇa", "name_zh": "女宿" },
-            { "id": "22", "value": "dhaniṭṭhā", "name_zh": "虚宿" },
-            { "id": "23", "value": "satabhisaja", "name_zh": "危宿" },
-            { "id": "24", "value": "pubbabhaddapadā", "name_zh": "室宿" },
-            { "id": "25", "value": "uttarabhaddapadā", "name_zh": "壁宿" },
-            { "id": "26", "value": "revatī", "name_zh": "奎宿" }
-        ]
-        var horoscope_name = [
-            { "id": "0", "value": "Aries", "name_zh": "白羊", "icon": "♈" },
-            { "id": "1", "value": "Taurus", "name_zh": "金牛", "icon": "♉" },
-            { "id": "2", "value": "Gemini", "name_zh": "双子", "icon": "♊" },
-            { "id": "3", "value": "Cancer", "name_zh": "巨蟹", "icon": "♋" },
-            { "id": "4", "value": "Leo", "name_zh": "狮子", "icon": "♌" },
-            { "id": "5", "value": "Virgo", "name_zh": "处女", "icon": "♍" },
-            { "id": "6", "value": "Libra", "name_zh": "天秤", "icon": "♎" },
-            { "id": "7", "value": "Scorpio", "name_zh": "天蝎", "icon": "♏" },
-            { "id": "8", "value": "Sagittarius", "name_zh": "射手", "icon": "♐" },
-            { "id": "9", "value": "Capricornus", "name_zh": "摩羯", "icon": "♑" },
-            { "id": "10", "value": "Aquarius", "name_zh": "水瓶", "icon": "♒" },
-            { "id": "11", "value": "Pisces", "name_zh": "双鱼", "icon": "♓" }
-
-        ]
-
-    </script>
-    <style>
-        .card {
-            box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
-            font-size: 1em;
-            line-height: 1.3;
-        }
-
-        .card>.title>a,
-        .card>.title>a:link {
-            color: var(--main-color);
-        }
-
-        .card a:hover {
-            color: var(--tool-link-hover-color);
-        }
-
-        .index_inner {
-            width: 960px;
-            margin-left: auto;
-            margin-right: auto;
-        }
-
-        .table_line {
-            display: flex;
-            border-bottom: solid;
-        }
-
-        .table_column {
-            flex: 1;
-        }
-
-        .correct {
-            background-color: gold;
-        }
-    </style>
-    <title id='title_text'>
-    </title>
-</head>
-
-<body>
-    <!--多语言范例
+	<head>
+		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+		<meta name="viewport" content="width=device-width, initial-scale=1" />
+		<link type="text/css" rel="stylesheet" href="../pcdl/css/font.css" />
+		<link type="text/css" rel="stylesheet" href="../pcdl/css/basic_style.css" />
+		<link type="text/css" rel="stylesheet" href="../pcdl/css/style.css" />
+		<link type="text/css" rel="stylesheet" href="../pcdl/css/color_day.css" id="colorchange" />
+		<link
+			type="text/css"
+			rel="stylesheet"
+			href="../pcdl/css/style_mobile.css"
+			media="screen and (max-width:800px)"
+		/>
+
+		<script src="../public/js/jquery.js"></script>
+		<script src="../public/js/comm.js"></script>
+		<script src="jquery-3.3.1.min.js"></script>
+		<script src="julian.js"></script>
+		<script src="lune.js"></script>
+		<script src="suncalc.js"></script>
+		<script src="./planet_position/js/planet-positions.js"></script>
+
+		<script src="../studio/js/fixedsticky.js"></script>
+		<script src="../guide/guide.js"></script>
+		<link type="text/css" rel="stylesheet" href="../guide/guide.css" />
+
+		<script src="../public/js/marked.js"></script>
+		<!--获取语言-->
+		<script>
+			var g_language = "en";
+			var g_currLink = "";
+			function lang_init(strPage) {
+				g_currLink = strPage;
+			}
+			function setLang(strLang) {
+				g_language = strLang;
+				setCookie("language", g_language, 365);
+				window.location.assign(location.pathname + "?language=" + g_language);
+			}
+		</script>
+		<script>
+			var localString = new Array();
+			localString["zh-cn"] = {
+				and_another: "又 ",
+				atitude: "纬度",
+				BE: "佛历",
+				bhumma: "周二",
+				budha: "周三",
+				canda: "周一",
+				confirm: "确认",
+				date: "日期",
+				day: "日",
+				days: "天 ",
+				departure_in_detail: "起飞详情",
+				dhamma_time: "会延续五千年的教法 ",
+				eat: "进餐",
+				gama_entry: "入村",
+				guru: "周四",
+				hori_ref_time: "蒙气差修正 ",
+				kala: "适当的时间",
+				language_select: "选择语言",
+				left: "还剩下",
+				loading: "载入中……",
+				longitude: "经度",
+				māsa: "月",
+				mins: "分钟",
+				month: "月 ",
+				month_1: "月 ",
+				months: "个月 ",
+				my_loc: "我的位置",
+				need_inform: "未告知其他比库",
+				no_string: "不能",
+				noon_time: "正午",
+				noon_time: "正午",
+				note: "注释",
+				now_time: "现在",
+				pacchā_māsa: "下个月",
+				pakkha: "月相变化 ",
+				past: "已过去",
+				pubba_māsa: "上个月",
+				ravi: "周日",
+				saṃvacchara: "年",
+				season: "季节 ",
+				sec: "秒",
+				sora: "周六",
+				sukka: "周五",
+				sun_height_degree: "正午太阳高度 ",
+				time: "时间",
+				twilight_time: "曙光",
+				twilight_time: "曙光",
+				vikala: "不适当的时间",
+				week_day: "星期",
+				year_0: "年",
+				year_1: "年 ",
+				years: "年 ",
+				yes_string: "可以",
+			};
+			localString["zh-tw"] = {
+				and_another: "又 ",
+				atitude: "緯度",
+				BE: "佛曆",
+				bhumma: "週二",
+				budha: "週三",
+				canda: "週一",
+				confirm: "確認",
+				date: "日期",
+				day: "日",
+				days: "天 ",
+				departure_in_detail: "起飛詳情",
+				dhamma_time: "會延續五千年的教法 ",
+				eat: "進餐",
+				gama_entry: "入村",
+				guru: "週四",
+				hori_ref_time: "蒙氣差修正 ",
+				kala: "適當的時間",
+				language_select: "選擇語言",
+				left: "還剩下",
+				loading: "載入中……",
+				longitude: "經度",
+				māsa: "月",
+				mins: "分鐘",
+				month: "月 ",
+				month_1: "月 ",
+				months: "個月 ",
+				my_loc: "我的位置",
+				need_inform: "未告知其他比庫",
+				no_string: "不能",
+				noon_time: "正午",
+				noon_time: "正午",
+				note: "註釋",
+				now_time: "現在",
+				pacchā_māsa: "下個月",
+				pakkha: "月相變化 ",
+				past: "已過去",
+				pubba_māsa: "上個月",
+				ravi: "週日",
+				saṃvacchara: "年",
+				season: "季節 ",
+				sec: "秒",
+				sora: "週六",
+				sukka: "週五",
+				sun_height_degree: "正午太陽高度 ",
+				time: "時間",
+				twilight_time: "曙光",
+				twilight_time: "曙光",
+				vikala: "不適當的時間",
+				week_day: "星期",
+				year_0: "年",
+				year_1: "年 ",
+				years: "年 ",
+				yes_string: "可以",
+			};
+			localString["default"] = {
+				and_another: " and ",
+				atitude: "Atitude",
+				BE: "Buddhist Era ",
+				bhumma: "Bhumma",
+				budha: "Budha",
+				canda: "Canda",
+				confirm: "Confirm",
+				date: "Date ",
+				day: " day(s) ",
+				days: " day(s) ",
+				departure_in_detail: "departure in detail",
+				dhamma_time: "5000 Years of the Buddha’s Dispensation ",
+				eat: "eat",
+				gama_entry: "entry the village",
+				guru: "Guru",
+				hori_ref_time: "horizontal refraction correct ",
+				kala: "suitable time",
+				language_select: "bhāsā",
+				left: "Remains ",
+				loading: "loading…",
+				longitude: "Longitude",
+				māsa: "māsa",
+				mins: "(min)",
+				month: "Month ",
+				month_1: "- ",
+				months: " month(s) ",
+				my_loc: "attasmiṃ",
+				need_inform: "without informing other Bhikkhu ",
+				no_string: "cannot ",
+				noon_time: "NOON",
+				noon_time: "NOON",
+				note: "Note",
+				now_time: "NOW",
+				pacchā_māsa: "pacchā-māsa",
+				pakkha: "Lunar Phases ",
+				past: "Passed ",
+				pubba_māsa: "pubba-māsa",
+				ravi: "Ravi",
+				saṃvacchara: "saṃvacchara",
+				season: "Season ",
+				sec: "sec ",
+				sora: "Sora",
+				sukka: "Sukka",
+				sun_height_degree: "Max solar altitude ",
+				time: "Time",
+				twilight_time: "dawn",
+				twilight_time: "dawn",
+				vikala: "unsuitable time",
+				week_day: "Day",
+				year_0: "saṃvacchara",
+				year_1: "- ",
+				years: " year(s) ",
+				yes_string: "can ",
+			};
+			localString["en"] = {
+				and_another: " and ",
+				atitude: "Atitude",
+				BE: "Buddhist Era ",
+				bhumma: "Bhumma",
+				budha: "Budha",
+				canda: "Canda",
+				confirm: "Confirm",
+				date: "Date",
+				day: " day(s) ",
+				days: " day(s) ",
+				departure_in_detail: "departure in detail",
+				dhamma_time: "5000 Years of the Buddha’s Dispensation ",
+				eat: "eat",
+				gama_entry: "entry the village",
+				guru: "Guru",
+				hori_ref_time: "horizontal refraction correct ",
+				kala: "suitable time",
+				language_select: "Language",
+				left: "Remains ",
+				loading: "loading…",
+				longitude: "Longitude",
+				māsa: "māsa",
+				mins: "(min)",
+				month: "Month ",
+				month_1: "- ",
+				months: " month(s) ",
+				my_loc: "my location",
+				need_inform: "without informing other Bhikkhu ",
+				no_string: "cannot ",
+				noon_time: "NOON",
+				noon_time: "NOON",
+				note: "Note",
+				now_time: "NOW",
+				pacchā_māsa: "pacchā-māsa",
+				pakkha: "Lunar Phases ",
+				past: "Passed ",
+				pubba_māsa: "pubba-māsa",
+				ravi: "Ravi",
+				saṃvacchara: "saṃvacchara",
+				season: "Season ",
+				sec: "sec",
+				sora: "Sora",
+				sukka: "Sukka",
+				sun_height_degree: "Max solar altitude ",
+				time: "time",
+				twilight_time: "dawn",
+				twilight_time: "dawn",
+				vikala: "unsuitable time",
+				week_day: "Day",
+				year_0: "year",
+				year_1: "- ",
+				years: " year(s) ",
+				yes_string: "can ",
+			};
+			localString["my"] = {
+				and_another: " and ",
+				atitude: "Atitude",
+				BE: "Buddhist Era ",
+				bhumma: "ဘုမ္မ",
+				budha: "ဗုဓ",
+				canda: "စန္ဒ",
+				confirm: "Confirm",
+				date: "Date ",
+				day: " day(s) ",
+				days: " day(s) ",
+				departure_in_detail: "departure in detail",
+				dhamma_time: "5000 Years of the Buddha’s Dispensation ",
+				eat: "eat",
+				gama_entry: "entry the village",
+				guru: "ဂုရု",
+				hori_ref_time: "horizontal refraction correct ",
+				kala: "ကာလ",
+				language_select: "ဘာသာ",
+				left: "Remains ",
+				loading: "loading…",
+				longitude: "Longitude",
+				māsa: "မာသ",
+				mins: "(min)",
+				month: "Month ",
+				month_1: "- ",
+				months: " month(s) ",
+				my_loc: "အတ္တသ္မိံ",
+				need_inform: "without informing other Bhikkhu ",
+				no_string: "cannot ",
+				noon_time: "မဇ္ဈန္ဟိက",
+				noon_time: "မဇ္ဈန္ဟိက",
+				note: "Note",
+				now_time: "ပစ္စုပ္ပန္န",
+				pacchā_māsa: "ပစ္ဆာ-မာသ",
+				pakkha: "Lunar Phases ",
+				past: "Passed ",
+				pubba_māsa: "ပုဗ္ဗ-မာသ",
+				ravi: "ရဝိ",
+				saṃvacchara: "သံဝစ္ဆရ",
+				season: "Season ",
+				sec: "sec ",
+				sora: "သောရ",
+				sukka: "သုက္က",
+				sun_height_degree: "Max solar altitude ",
+				time: "Time",
+				twilight_time: "အရုဏုဂ္ဂမန",
+				twilight_time: "အရုဏုဂ္ဂမန",
+				vikala: "ဝိကာလ",
+				week_day: "Day",
+				year_0: "year",
+				year_1: "- ",
+				years: " year(s) ",
+				yes_string: "can ",
+			};
+			localString["si"] = {
+				and_another: " ච ",
+				atitude: "Atitude",
+				BE: "බුද්ධ වර්ෂය ",
+				bhumma: "භුම්ම",
+				budha: "බුධ",
+				canda: "චන්ද",
+				confirm: "Confirm",
+				date: "දිවස ",
+				day: " දිවසා(නි) ",
+				days: " දිවසා(නි) ",
+				departure_in_detail: "departure in detail",
+				dhamma_time: "සම්මා සම්බුද්ධස්ස සාසනං පට්ච-වස්ස-සහස්සානි පවත්තිස්සති ",
+				eat: "eat",
+				gama_entry: "entry the village",
+				guru: "ගු‍රු",
+				hori_ref_time: "horizontal refraction correct ",
+				kala: "කාල",
+				language_select: "භාෂාව",
+				left: "අවසිට්ඨ ",
+				loading: "ප්‍රවේශනය වෙනවා ",
+				longitude: "Longitude",
+				māsa: "මාස",
+				mins: "(min)",
+				month: "මාස ",
+				month_1: "- ",
+				months: " මාසා(නි) ",
+				my_loc: "අත‍්තස‍්මිං",
+				need_inform: "without informing other Bhikkhu ",
+				no_string: "cannot ",
+				noon_time: "මජ්ඣන්හික",
+				noon_time: "මජ්ඣන්හික",
+				note: "නෝට්ටුව ",
+				now_time: "පච්චුප්පන්න",
+				pacchā_māsa: "පච්ඡා-මාස",
+				pakkha: "පක්ඛ ",
+				past: "අතික්කන්ත ",
+				pubba_māsa: "පුබ්බ-මාස",
+				ravi: "රවි",
+				saṃvacchara: "සංවච්ඡ‍ර",
+				season: "උතු ",
+				sec: "sec",
+				sora: "සො‍ර",
+				sukka: "සුක්ක",
+				sun_height_degree: "Max solar altitude ",
+				time: "time",
+				twilight_time: "අ‍රුණුග්ගමන",
+				twilight_time: "අ‍රුණුග්ගමන",
+				vikala: "විකාල",
+				week_day: "වා‍ර ",
+				year_0: "සංවච්ඡ‍ර",
+				year_1: "- ",
+				years: " සංවච්ඡ‍රා(නි) ",
+				yes_string: "can ",
+			};
+			var pali_month_name = [
+				{ id: "1", value: "jeṭṭha", season: "gimhāna", season_icon: "☀" }, //5.X-四-十五-心
+				{ id: "2", value: "asāḷha", season: "gimhāna", season_icon: "☀" }, //6.X-五-十五、十六-箕、斗
+				{ id: "3", value: "sāvana", season: "vassāna", season_icon: "☔" }, //7.X-六-十五-女
+				{ id: "4", value: "poṭṭhapāda", season: "vassāna", season_icon: "☔" }, //8.x-七-十五、十六-室、壁
+				{ id: "5", value: "assajuja", season: "vassāna", season_icon: "☔" }, //9.X-八-十五-樓
+				{ id: "6", value: "kattika", season: "vassāna", season_icon: "☔" }, //10.X-九-十五-昂
+				{ id: "7", value: "māgasira", season: "hemanta", season_icon: "❄" }, //11.X-十-十五-觜
+				{ id: "8", value: "phussa", season: "hemanta", season_icon: "❄" }, //12.X-十一-十五-鬼
+				{ id: "9", value: "māgha", season: "hemanta", season_icon: "❄" }, //1.X-十二-十五-星
+				{ id: "10", value: "phagguna", season: "hemanta", season_icon: "❄" }, //2.X-正月-十四、十五-張、異
+				{ id: "11", value: "citta", season: "gimhāna", season_icon: "☀" }, //3.X-二月-十五-角
+				{ id: "12", value: "vesākha", season: "gimhāna", season_icon: "☀" }, //4.X-三月-十五-氐
+			];
+			var pali_nakkhatta_name = [
+				{ id: "0", value: "assayuja", name_zh: "娄宿" },
+				{ id: "1", value: "bharaṇī", name_zh: "胃宿" },
+				{ id: "2", value: "Kattikā", name_zh: "昂宿" },
+				{ id: "3", value: "rohiṇī", name_zh: "毕宿" },
+				{ id: "4", value: "magasira", name_zh: "觜宿" },
+				{ id: "5", value: "Addā", name_zh: "参宿" },
+				{ id: "6", value: "punabbasu", name_zh: "井宿" },
+				{ id: "7", value: "phussa", name_zh: "鬼宿" },
+				{ id: "8", value: "Asilesā", name_zh: "柳宿" },
+				{ id: "9", value: "maghā", name_zh: "星宿" },
+				{ id: "10", value: "pubbaphagguṇī", name_zh: "张宿" },
+				{ id: "11", value: "uttaraphagguṇī", name_zh: "翼宿" },
+				{ id: "12", value: "hattha", name_zh: "轸宿" },
+				{ id: "13", value: "cittā", name_zh: "角宿" },
+				{ id: "14", value: "sāti", name_zh: "亢宿" },
+				{ id: "15", value: "visākhā", name_zh: "氐宿" },
+				{ id: "16", value: "anurādhā", name_zh: "房宿" },
+				{ id: "17", value: "jeṭṭha", name_zh: "心宿" },
+				{ id: "18", value: "mūlā", name_zh: "尾宿" },
+				{ id: "19", value: "pubbāsāḷha", name_zh: "箕宿" },
+				{ id: "20", value: "uttarāsāḷha", name_zh: "斗宿" },
+				{ id: "21", value: "savaṇa", name_zh: "女宿" },
+				{ id: "22", value: "dhaniṭṭhā", name_zh: "虚宿" },
+				{ id: "23", value: "satabhisaja", name_zh: "危宿" },
+				{ id: "24", value: "pubbabhaddapadā", name_zh: "室宿" },
+				{ id: "25", value: "uttarabhaddapadā", name_zh: "壁宿" },
+				{ id: "26", value: "revatī", name_zh: "奎宿" },
+			];
+			var horoscope_name = [
+				{ id: "0", value: "Aries", name_zh: "白羊", icon: "♈" },
+				{ id: "1", value: "Taurus", name_zh: "金牛", icon: "♉" },
+				{ id: "2", value: "Gemini", name_zh: "双子", icon: "♊" },
+				{ id: "3", value: "Cancer", name_zh: "巨蟹", icon: "♋" },
+				{ id: "4", value: "Leo", name_zh: "狮子", icon: "♌" },
+				{ id: "5", value: "Virgo", name_zh: "处女", icon: "♍" },
+				{ id: "6", value: "Libra", name_zh: "天秤", icon: "♎" },
+				{ id: "7", value: "Scorpio", name_zh: "天蝎", icon: "♏" },
+				{ id: "8", value: "Sagittarius", name_zh: "射手", icon: "♐" },
+				{ id: "9", value: "Capricornus", name_zh: "摩羯", icon: "♑" },
+				{ id: "10", value: "Aquarius", name_zh: "水瓶", icon: "♒" },
+				{ id: "11", value: "Pisces", name_zh: "双鱼", icon: "♓" },
+			];
+		</script>
+		<style>
+			.card {
+				box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
+				font-size: 1em;
+				line-height: 1.3;
+			}
+
+			.card > .title > a,
+			.card > .title > a:link {
+				color: var(--main-color);
+			}
+
+			.card a:hover {
+				color: var(--tool-link-hover-color);
+			}
+
+			.index_inner {
+				width: 960px;
+				margin-left: auto;
+				margin-right: auto;
+			}
+
+			.table_line {
+				display: flex;
+				border-bottom: solid;
+			}
+
+			.table_column {
+				flex: 1;
+			}
+
+			.correct {
+				background-color: gold;
+			}
+		</style>
+		<title id="title_text"> </title>
+	</head>
+
+	<body>
+		<!--多语言范例
         <script>
             document.write(localString["language"].XXXX);
         </script>
 
     -->
-    <div id='position_change'>
-        <span id='selected_position_string'>
-            <script>
-                document.write(localString[g_language].loading);
-                //localString[g_language].loading;
-            </script>
-        </span>
-        <!--自动定位-->
-        <button onclick='getLocation()' style='font-size: 100%; padding: 2px 6px;'>
-            <svg class='icon' style='min-width: 1.8em; min-height: 1.8em;'>
-                <path
-                    d='M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm8.94 3A8.994 8.994 0 0 0 13 3.06V1h-2v2.06A8.994 8.994 0 0 0 3.06 11H1v2h2.06A8.994 8.994 0 0 0 11 20.94V23h2v-2.06A8.994 8.994 0 0 0 20.94 13H23v-2h-2.06zM12 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z' />
-            </svg>
-            <script>
-                document.write(localString[g_language].my_loc);
-                //localString[g_language].my_loc
-            </script>
-        </button>
-        <input id="input_time" type="datetime-local">
-    </div>
-    <div>
-        <div onclick="show_time()">Sun time table</div>
-        <div>破晓<span id="today_dawn"></span></div>
-        <div>正午<span id="today_solarNoon"></span></div>
-        <div>日落<span id="today_sunset"></span></div>
-        <div>月相<span id="today_moon_phase"></span></div>
-        <div>圆满度<span id="today_moon_percent"></span></div>
-        <div>太阳相位于南偏西<span id="today_sun_azimuth"></span></div>
-        <div>月亮相位于北偏东<span id="today_moon_azimuth"></span></div>
-        <div>日月角<span id="angle_sun_e_moon"></span></div>
-        <div>月相角<span id="today_moon_angle"></span></div>
-        <div>当前时间<span id="curr_time"></span></div>
-        <div>现在时间<span id="now_time"></span></div>
-        <div>当前時間戳<span id="curr_time_unix"></span></div>
-        <div>地球角度<span id="earth_angle"></span></div>
-        <div>月亮角度<span id="moon_angle"></span></div>
-        <div>月亮角度2<span id="moon_angle2"></span></div>
-
-        <div>
-            <span>精准月相时间及星宿(强化戒德之日)</span>
-            <table id="lunar_phase_list" style="max-width: 70vw;width: -webkit-fill-available;">
-            </table>
-        </div>
-
-    </div>
-    <script>
-        var current_phase = phase()
-        console.log(current_phase)//输出到控制台
-
-        $("#title_text").html(localString[g_language].BE);
-        var new_list = new Array()//新月列表
-        var first_list = new Array()//上弦月列表
-        var full_list = new Array()//满月列表
-        var last_list = new Array()//下弦月列表
-        var planets = new Array()//
-        var lunar_position = new Object
-
-        var g_coordinate_this = new Object();
-        var g_now_date = new Date();
-        var today = new Date()
-        var start_day = new Date()
-        var next_year = new Date();
-        var sun_times = new Object();
-
-
-
-        var curr_position = localStorage.getItem("local_position");
-        if (curr_position) {
-            g_coordinate_this.AT = curr_position.split("#")[0];
-            g_coordinate_this.LT = curr_position.split("#")[1];
-            g_coordinate_this.height = curr_position.split("#")[2];
-            if (g_coordinate_this.AT >= 0) {
-                var AT_string = angle_trans(g_coordinate_this.AT) + "N";
-            }
-            else {
-                var AT_string = angle_trans(g_coordinate_this.AT) + "S";
-            }
-            if (g_coordinate_this.LT >= 0) {
-                var LT_string = angle_trans(g_coordinate_this.LT) + "E";
-            }
-            else {
-                var LT_string = angle_trans(g_coordinate_this.LT) + "W";
-            }
-            let height_string = g_coordinate_this.height + "M"
-            $("#selected_position_string").html(AT_string + " " + LT_string + " " + height_string);
-
-        }
-        else {
-            getLocation();
-        }
-        function show_time() {
-            if ($("#input_time").val()) {
-                today = new Date($("#input_time").val());
-            }
-            else {
-                today = g_now_date
-            }
-            if (phase(today).phase <= 0.5) {
-                start_day.setDate(today.getDate() - 16)//退到本月的新月之前
-                start_day = phaseHunt(start_day).full_date//得到之前最近的满月日
-                start_day.setDate(start_day.getDate() + 1)
-            }
-            else {
-                start_day.setDate(today.getDate() - 31)//退到本月的新月之前
-                start_day = phaseHunt(start_day).full_date//得到之前最近的满月日
-                start_day.setDate(start_day.getDate() + 1)
-            }
-            next_year.setDate(start_day.getDate() + 360)
-
-            last_list = phaseRange(start_day, next_year, LAST)//获取下弦月列表
-            new_list = phaseRange(start_day, next_year, NEW)//获取新月列表
-            first_list = phaseRange(start_day, next_year, FIRST)//获取上弦月列表
-            full_list = phaseRange(start_day, next_year, FULL)//获取满月列表
-
-            console.log(last_list)//输出到控制台
-            console.log(new_list)//输出到控制台
-            console.log(first_list)//输出到控制台
-            console.log(full_list)//输出到控制台
-            lunar_phase_list_refresh()
-            get_position(today)
-
-
-            let d_earth_to_moon = (lunar_position.position.x ^ 2 + lunar_position.position.y ^ 2 + lunar_position.position.z ^ 2) ^ 0.5
-            let d_earth_to_moon_0 = phase(today).distance
-
-            sun_times = SunCalc.getTimes(today, g_coordinate_this.AT, g_coordinate_this.LT, g_coordinate_this.height / 1000);
-            sun_position = SunCalc.getPosition(today, g_coordinate_this.AT, g_coordinate_this.LT);
-            moon_position = SunCalc.getMoonPosition(today, g_coordinate_this.AT, g_coordinate_this.LT);
-            moon_Illumination = SunCalc.getMoonIllumination(today)
-            $("#today_dawn").html(sun_times.dawn.toLocaleTimeString());
-            $("#today_solarNoon").html(sun_times.solarNoon.toLocaleTimeString());
-            $("#today_sunset").html(sun_times.sunset.toLocaleTimeString());
-            $("#today_sun_azimuth").html(angle_trans(sun_position.azimuth / Math.PI * 180));//太阳水平弧度
-            $("#today_moon_azimuth").html(angle_trans(moon_position.azimuth / Math.PI * 180));//月亮水平弧度
-            $("#today_moon_phase").html(phase(today).phase);//月相值
-            $("#today_moon_percent").html(phase(today).illuminated);//月照度
-            $("#today_moon_angle").html(angle_trans(moon_Illumination.angle / Math.PI * 180));//月相角
-            $("#angle_sun_e_moon").html(angle_trans(Math.abs(Math.PI + sun_position.azimuth - moon_position.azimuth) / Math.PI * 180));//月亮水平弧度
-            $("#curr_time").html(today.toLocaleTimeString());//当前时间
-            $("#now_time").html(g_now_date.toLocaleTimeString());//现在
-            $("#curr_time_unix").html(today.getTime());//時間戳
-
-            let earth_angle_string = ""
-            earth_angle_string += get_position(today).solar_position_angle + "——"
-            earth_angle_string += get_position(today).solar_position_angle_round + "——"
-            earth_angle_string += get_position(today).solar_station + "——"
-            earth_angle_string += get_station_name(today).solar.icon
-            $("#earth_angle").html(earth_angle_string);//地球角度
-
-            let moon_angle_string = ""
-            moon_angle_string += get_position(today).lunar_position_angle + "——"
-            moon_angle_string += get_position(today).lunar_position_angle_round + "——"
-            moon_angle_string += get_position(today).lunar_station + "——"
-            moon_angle_string += get_station_name(today).lunar.value
-            $("#moon_angle").html(moon_angle_string);//月亮角度——角度差算法
-
-            let moon_angle_string2 = ""
-            moon_angle_string2 += get_position(today).lunar_position_angle2 + "——"
-            moon_angle_string2 += get_position(today).lunar_position_angle_round2 + "——"
-            moon_angle_string2 += get_position(today).lunar_station2 + "——"
-            moon_angle_string2 += get_station_name(today).lunar.value
-            $("#moon_angle2").html(moon_angle_string2);//月亮角度——向量差算法
-
-
-
-        }
-        function get_position(date_time) {
-            let planets_position = new Object
-            planets = window.lagrange.planet_positions.getPositions(date_time);
-            //planets = global.planet_positions.getPositions(today);
-            //console.log(planets)//输出到控制台
-            earth_position = window.lagrange.planet_positions.getPositions(date_time)[3]
-            lunar_position = window.lagrange.planet_positions.getPositions(date_time)[11]
-            let lunar_position_angle = 0
-            let lunar_station = 0
-            let earth_position_angle = 0
-            let earth_station = 0
-            let earth_position_angle_round = 0
-            let lunar_position_angle_round = 0
-            //太阳相对地球的黄道偏角
-            if (earth_position.position.y >= 0) {
-                earth_position_angle = Math.atan2(earth_position.position.y, earth_position.position.x)
-            }
-            else {
-                earth_position_angle = Math.PI * 2 + Math.atan2(earth_position.position.y, earth_position.position.x)
-            }
-            earth_position_angle_round = earth_position_angle / Math.PI / 2 + 0.5
-            earth_position_angle_round = earth_position_angle_round - Math.floor(earth_position_angle_round)
-            earth_station = earth_position_angle_round * 12
-            planets_position.solar_station = earth_station
-            planets_position.solar_position_angle = earth_position_angle_round * Math.PI * 2
-            planets_position.solar_position_angle_round = earth_position_angle_round
-            //月球相对地球的黄道偏角——角度差算法
-            lunar_position_angle_round = earth_position_angle_round + phase(date_time).phase
-            lunar_position_angle_round = lunar_position_angle_round - Math.floor(lunar_position_angle_round)
-            lunar_position_angle = lunar_position_angle_round * Math.PI * 2
-            lunar_station = lunar_position_angle_round * 27
-            //月球相对地球的黄道偏角算法——向量差算法
-            let lunar_to_earth = new Object
-            lunar_to_earth.y = lunar_position.position.y - earth_position.position.y
-            lunar_to_earth.x = lunar_position.position.x - earth_position.position.x
-            if (lunar_to_earth.y >= 0) {
-                lunar_position_angle2 = Math.atan2(lunar_to_earth.y, lunar_to_earth.x)
-            }
-            else {
-                lunar_position_angle2 = Math.PI * 2 + Math.atan2(lunar_to_earth.y, lunar_to_earth.x)
-            }
-            lunar_position_angle_round2 = lunar_position_angle2 / Math.PI / 2
-            //lunar_position_angle_round = lunar_position_angle_round - Math.floor(lunar_position_angle_round)
-            lunar_position_angle2 = lunar_position_angle_round2 * Math.PI * 2
-
-            lunar_station2 = lunar_position_angle_round2 * 27
-
-            planets_position.lunar_station = lunar_station
-            planets_position.lunar_position_angle = lunar_position_angle
-            planets_position.lunar_position_angle_round = lunar_position_angle_round
-            planets_position.lunar_station2 = lunar_station2
-            planets_position.lunar_position_angle2 = lunar_position_angle2
-            planets_position.lunar_position_angle_round2 = lunar_position_angle_round2
-            return (planets_position)
-        }
-        function get_station_name(data_time) {//获取星象信息
-            let solar_num = 0
-            let lunar_num = 0
-            solar_num = get_position(data_time).solar_station
-            solar_num = Math.floor(solar_num)
-            lunar_num = get_position(data_time).lunar_station
-            lunar_num = Math.floor(lunar_num)
-
-            let result = new Object
-            result.solar = horoscope_name[solar_num]
-            result.lunar = pali_nakkhatta_name[lunar_num]
-            return (result)
-        }
-        function lunar_phase_list_refresh() {
-            let output = ""
-            //画表头
-            output += "<tr class='table_line'>"
-            output += "<th class='table_column'>月份</th>"
-            output += "<th class='table_column'>下弦</th>"
-            output += "<th class='table_column'>新月(诵戒)</th>"
-            output += "<th class='table_column'>上弦</th>"
-            output += "<th class='table_column'>满月(诵戒)</th>"
-            output += "</tr>"
-            //画内容
-            let month_num = Math.min(last_list.length, new_list.length, first_list.length, full_list.length)
-            for (let i_month = 0; i_month < month_num; i_month++) {
-                output += "<tr class='table_line'>"
-                output += "<td class='table_column'>"
-                output += Math.round(get_position(full_list[i_month]).solar_station * 100) / 100
-                //output += "—"
-                //output += get_station_name(full_list[i_month]).lunar.value
-                //output += "—"
-                //output += get_station_name(full_list[i_month]).solar.name_zh
-                //output += "—"
-                //output += get_station_name(full_list[i_month]).solar.icon
-                output += "</td>"
-                //下弦月
-                if (SunCalc.getTimes(last_list[i_month], g_coordinate_this.AT, g_coordinate_this.LT, g_coordinate_this.height / 1000).dawn - last_list[i_month] <= 0) {//如果在破晓之后,不修正
-                    output += "<td class='table_column' title='" + last_list[i_month].toLocaleTimeString() + "'>"
-                    output += last_list[i_month].toLocaleDateString()
-                    output += "<br />"
-                    output += get_station_name(last_list[i_month]).lunar.value
-                    //output += Math.round(get_position(last_list[i_month]).lunar_station * 100) / 100
-                    output += "</td>"
-                }
-                else {//如果在破晓之前,修正提前一天
-                    output += "<td class='table_column correct' title='" + last_list[i_month].toLocaleString() + "'>"
-                    let temp_date = last_list[i_month]
-                    temp_date.setDate(temp_date.getDate() - 1)
-                    output += temp_date.toLocaleDateString()
-                    output += "<br />"
-                    output += get_station_name(last_list[i_month]).lunar.value
-                    //output += Math.round(get_position(last_list[i_month]).lunar_station * 100) / 100
-                    output += "</td>"
-                }
-                //新月
-                if (SunCalc.getTimes(new_list[i_month], g_coordinate_this.AT, g_coordinate_this.LT, g_coordinate_this.height / 1000).dawn - new_list[i_month] <= 0) {//如果在破晓之后,不修正
-                    output += "<td class='table_column' title='" + new_list[i_month].toLocaleTimeString() + "'>"
-                    output += new_list[i_month].toLocaleDateString()
-                    output += "<br />"
-                    output += get_station_name(new_list[i_month]).lunar.value
-                    //output += Math.round(get_position(new_list[i_month]).lunar_station * 100) / 100
-                    output += "</td>"
-                }
-                else {//如果在破晓之前,修正提前一天
-                    output += "<td class='table_column correct' title='" + new_list[i_month].toLocaleString() + "'>"
-                    let temp_date = new_list[i_month]
-                    temp_date.setDate(temp_date.getDate() - 1)
-                    output += temp_date.toLocaleDateString()
-                    output += "<br />"
-                    output += get_station_name(new_list[i_month]).lunar.value
-                    //output += Math.round(get_position(new_list[i_month]).lunar_station * 100) / 100
-                    output += "</td>"
-                }
-                //上弦月
-                if (SunCalc.getTimes(first_list[i_month], g_coordinate_this.AT, g_coordinate_this.LT, g_coordinate_this.height / 1000).dawn - first_list[i_month] <= 0) {//如果在破晓之后,不修正
-                    output += "<td class='table_column' title='" + first_list[i_month].toLocaleTimeString() + "'>"
-                    output += first_list[i_month].toLocaleDateString()
-                    output += "<br />"
-                    output += get_station_name(first_list[i_month]).lunar.value
-                    //output += Math.round(get_position(first_list[i_month]).lunar_station * 100) / 100
-                    output += "</td>"
-                }
-                else {//如果在破晓之前,修正提前一天
-                    output += "<td class='table_column correct' title='" + first_list[i_month].toLocaleString() + "'>"
-                    let temp_date = first_list[i_month]
-                    temp_date.setDate(temp_date.getDate() - 1)
-                    output += temp_date.toLocaleDateString()
-                    output += "<br />"
-                    output += get_station_name(first_list[i_month]).lunar.value
-                    //output += Math.round(get_position(first_list[i_month]).lunar_station * 100) / 100
-                    output += "</td>"
-                }
-                //满月
-                if (SunCalc.getTimes(full_list[i_month], g_coordinate_this.AT, g_coordinate_this.LT, g_coordinate_this.height / 1000).dawn - full_list[i_month] <= 0) {//如果在破晓之后,不修正
-                    output += "<td class='table_column' title='" + full_list[i_month].toLocaleTimeString() + "'>"
-                    output += full_list[i_month].toLocaleDateString()
-                    output += "<br />"
-                    output += get_station_name(full_list[i_month]).lunar.value
-                    //output += Math.round(get_position(full_list[i_month]).lunar_station * 100) / 100
-                    output += "</td>"
-                }
-                else {//如果在破晓之前,修正提前一天
-                    output += "<td class='table_column correct' title='" + full_list[i_month].toLocaleString() + "'>"
-                    let temp_date = full_list[i_month]
-                    temp_date.setDate(temp_date.getDate() - 1)
-                    output += temp_date.toLocaleDateString()
-                    output += "<br />"
-                    output += get_station_name(full_list[i_month]).lunar.value
-                    //output += Math.round(get_position(full_list[i_month]).lunar_station * 100) / 100
-                    output += "</td>"
-                }
-                output += "</tr>"
-            }
-            $("#lunar_phase_list").html(output)
-        }
-        function getLocation() {//自动定位
-            if (navigator.geolocation) {
-                navigator.geolocation.getCurrentPosition(showPosition, showError);
-            }
-            else {
-                $("#selected_position_string").html("Geolocation is not supported by this browser.");
-            }
-        }
-        function showPosition(position) {
-            alert("get cordinate success");
-            g_coordinate_this.AT = position.coords.latitude;//纬度
-            g_coordinate_this.LT = position.coords.longitude;//经度
-            g_coordinate_this.height = position.coords.altitude;//海拔高度
-            let position_string = g_coordinate_this.AT + "#" + g_coordinate_this.LT + "#" + g_coordinate_this.height
-            localStorage.setItem("local_position", position_string);
-
-            if (g_coordinate_this.AT >= 0) {
-                var AT_string = angle_trans(g_coordinate_this.AT) + "N";
-            }
-            else {
-                var AT_string = angle_trans(g_coordinate_this.AT) + "S";
-            }
-            if (g_coordinate_this.LT >= 0) {
-                var LT_string = angle_trans(g_coordinate_this.LT) + "E";
-            }
-            else {
-                var LT_string = angle_trans(g_coordinate_this.LT) + "W";
-            }
-            let height_string = g_coordinate_this.height + "M"
-            $("#selected_position_string").html(AT_string + " " + LT_string + " " + height_string);
-
-        }
-        function showError(error) {
-            switch (error.code) {
-                case error.PERMISSION_DENIED:
-                    alert("定位失败,用户拒绝请求地理定位");
-                    break;
-                case error.POSITION_UNAVAILABLE:
-                    alert("定位失败,位置信息是不可用");
-                    break;
-                case error.TIMEOUT:
-                    alert("定位失败,请求获取用户位置超时");
-                    break;
-                case error.UNKNOWN_ERROR:
-                    alert("定位失败,定位系统失效");
-                    break;
-            }
-        }
-        function angle_trans(angle) {
-            var angle_str = "";
-            var num_d = Math.floor(angle);
-            var num_m = Math.floor((angle - num_d) * 60);
-            var num_s = Math.round((angle - num_d) * 60 - num_m);
-            if (num_d != 0) {
-                angle_str += num_d + "°";
-            }
-            if (num_m != 0) {
-                angle_str += num_m + "’";
-            }
-            if (num_s != 0) {
-                angle_str += num_s + "”";
-            }
-            return (angle_str);
-        }
-
-    </script>
-
-
-</body>
-
-</html>
+		<div id="position_change">
+			<span id="selected_position_string">
+				<script>
+					document.write(localString[g_language].loading);
+					//localString[g_language].loading;
+				</script>
+			</span>
+			<!--自动定位-->
+			<button onclick="getLocation()" style="font-size: 100%; padding: 2px 6px">
+				<svg class="icon" style="min-width: 1.8em; min-height: 1.8em">
+					<path
+						d="M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm8.94 3A8.994 8.994 0 0 0 13 3.06V1h-2v2.06A8.994 8.994 0 0 0 3.06 11H1v2h2.06A8.994 8.994 0 0 0 11 20.94V23h2v-2.06A8.994 8.994 0 0 0 20.94 13H23v-2h-2.06zM12 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"
+					/>
+				</svg>
+				<script>
+					document.write(localString[g_language].my_loc);
+					//localString[g_language].my_loc
+				</script>
+			</button>
+			<input id="input_time" type="datetime-local" />
+		</div>
+		<div>
+			<div onclick="show_time()">Sun time table</div>
+			<div>破晓<span id="today_dawn"></span></div>
+			<div>正午<span id="today_solarNoon"></span></div>
+			<div>日落<span id="today_sunset"></span></div>
+			<div>月相<span id="today_moon_phase"></span></div>
+			<div>圆满度<span id="today_moon_percent"></span></div>
+			<div>太阳相位于南偏西<span id="today_sun_azimuth"></span></div>
+			<div>月亮相位于北偏东<span id="today_moon_azimuth"></span></div>
+			<div>日月角<span id="angle_sun_e_moon"></span></div>
+			<div>月相角<span id="today_moon_angle"></span></div>
+			<div>当前时间<span id="curr_time"></span></div>
+			<div>现在时间<span id="now_time"></span></div>
+			<div>当前時間戳<span id="curr_time_unix"></span></div>
+			<div>地球角度<span id="earth_angle"></span></div>
+			<div>月亮角度<span id="moon_angle"></span></div>
+			<div>月亮角度2<span id="moon_angle2"></span></div>
+
+			<div>
+				<span>精准月相时间及星宿(强化戒德之日)</span>
+				<table id="lunar_phase_list" style="max-width: 70vw; width: -webkit-fill-available"></table>
+			</div>
+		</div>
+		<script>
+			var current_phase = phase();
+			console.log(current_phase); //输出到控制台
+
+			$("#title_text").html(localString[g_language].BE);
+			var new_list = new Array(); //新月列表
+			var first_list = new Array(); //上弦月列表
+			var full_list = new Array(); //满月列表
+			var last_list = new Array(); //下弦月列表
+			var planets = new Array(); //
+			var lunar_position = new Object();
+
+			var g_coordinate_this = new Object();
+			var g_now_date = new Date();
+			var today = new Date();
+			var start_day = new Date();
+			var next_year = new Date();
+			var sun_times = new Object();
+
+			var curr_position = localStorage.getItem("local_position");
+			if (curr_position) {
+				g_coordinate_this.AT = curr_position.split("#")[0];
+				g_coordinate_this.LT = curr_position.split("#")[1];
+				g_coordinate_this.height = curr_position.split("#")[2];
+				if (g_coordinate_this.AT >= 0) {
+					var AT_string = angle_trans(g_coordinate_this.AT) + "N";
+				} else {
+					var AT_string = angle_trans(g_coordinate_this.AT) + "S";
+				}
+				if (g_coordinate_this.LT >= 0) {
+					var LT_string = angle_trans(g_coordinate_this.LT) + "E";
+				} else {
+					var LT_string = angle_trans(g_coordinate_this.LT) + "W";
+				}
+				let height_string = g_coordinate_this.height + "M";
+				$("#selected_position_string").html(AT_string + " " + LT_string + " " + height_string);
+			} else {
+				getLocation();
+			}
+			function show_time() {
+				if ($("#input_time").val()) {
+					today = new Date($("#input_time").val());
+				} else {
+					today = g_now_date;
+				}
+				if (phase(today).phase <= 0.5) {
+					start_day.setDate(today.getDate() - 16); //退到本月的新月之前
+					start_day = phaseHunt(start_day).full_date; //得到之前最近的满月日
+					start_day.setDate(start_day.getDate() + 1);
+				} else {
+					start_day.setDate(today.getDate() - 31); //退到本月的新月之前
+					start_day = phaseHunt(start_day).full_date; //得到之前最近的满月日
+					start_day.setDate(start_day.getDate() + 1);
+				}
+				next_year.setDate(start_day.getDate() + 360);
+
+				last_list = phaseRange(start_day, next_year, LAST); //获取下弦月列表
+				new_list = phaseRange(start_day, next_year, NEW); //获取新月列表
+				first_list = phaseRange(start_day, next_year, FIRST); //获取上弦月列表
+				full_list = phaseRange(start_day, next_year, FULL); //获取满月列表
+
+				console.log(last_list); //输出到控制台
+				console.log(new_list); //输出到控制台
+				console.log(first_list); //输出到控制台
+				console.log(full_list); //输出到控制台
+				lunar_phase_list_refresh();
+				get_position(today);
+
+				let d_earth_to_moon =
+					lunar_position.position.x ^
+					(2 + lunar_position.position.y) ^
+					(2 + lunar_position.position.z) ^
+					2 ^
+					0.5;
+				let d_earth_to_moon_0 = phase(today).distance;
+
+				sun_times = SunCalc.getTimes(
+					today,
+					g_coordinate_this.AT,
+					g_coordinate_this.LT,
+					g_coordinate_this.height / 1000
+				);
+				sun_position = SunCalc.getPosition(today, g_coordinate_this.AT, g_coordinate_this.LT);
+				moon_position = SunCalc.getMoonPosition(today, g_coordinate_this.AT, g_coordinate_this.LT);
+				moon_Illumination = SunCalc.getMoonIllumination(today);
+				$("#today_dawn").html(sun_times.dawn.toLocaleTimeString());
+				$("#today_solarNoon").html(sun_times.solarNoon.toLocaleTimeString());
+				$("#today_sunset").html(sun_times.sunset.toLocaleTimeString());
+				$("#today_sun_azimuth").html(angle_trans((sun_position.azimuth / Math.PI) * 180)); //太阳水平弧度
+				$("#today_moon_azimuth").html(angle_trans((moon_position.azimuth / Math.PI) * 180)); //月亮水平弧度
+				$("#today_moon_phase").html(phase(today).phase); //月相值
+				$("#today_moon_percent").html(phase(today).illuminated); //月照度
+				$("#today_moon_angle").html(angle_trans((moon_Illumination.angle / Math.PI) * 180)); //月相角
+				$("#angle_sun_e_moon").html(
+					angle_trans((Math.abs(Math.PI + sun_position.azimuth - moon_position.azimuth) / Math.PI) * 180)
+				); //月亮水平弧度
+				$("#curr_time").html(today.toLocaleTimeString()); //当前时间
+				$("#now_time").html(g_now_date.toLocaleTimeString()); //现在
+				$("#curr_time_unix").html(today.getTime()); //時間戳
+
+				let earth_angle_string = "";
+				earth_angle_string += get_position(today).solar_position_angle + "——";
+				earth_angle_string += get_position(today).solar_position_angle_round + "——";
+				earth_angle_string += get_position(today).solar_station + "——";
+				earth_angle_string += get_station_name(today).solar.icon;
+				$("#earth_angle").html(earth_angle_string); //地球角度
+
+				let moon_angle_string = "";
+				moon_angle_string += get_position(today).lunar_position_angle + "——";
+				moon_angle_string += get_position(today).lunar_position_angle_round + "——";
+				moon_angle_string += get_position(today).lunar_station + "——";
+				moon_angle_string += get_station_name(today).lunar.value;
+				$("#moon_angle").html(moon_angle_string); //月亮角度——角度差算法
+
+				let moon_angle_string2 = "";
+				moon_angle_string2 += get_position(today).lunar_position_angle2 + "——";
+				moon_angle_string2 += get_position(today).lunar_position_angle_round2 + "——";
+				moon_angle_string2 += get_position(today).lunar_station2 + "——";
+				moon_angle_string2 += get_station_name(today).lunar.value;
+				$("#moon_angle2").html(moon_angle_string2); //月亮角度——向量差算法
+			}
+			function get_position(date_time) {
+				let planets_position = new Object();
+				planets = window.lagrange.planet_positions.getPositions(date_time);
+				//planets = global.planet_positions.getPositions(today);
+				//console.log(planets)//输出到控制台
+				earth_position = window.lagrange.planet_positions.getPositions(date_time)[3];
+				lunar_position = window.lagrange.planet_positions.getPositions(date_time)[11];
+				let lunar_position_angle = 0;
+				let lunar_station = 0;
+				let earth_position_angle = 0;
+				let earth_station = 0;
+				let earth_position_angle_round = 0;
+				let lunar_position_angle_round = 0;
+				//太阳相对地球的黄道偏角
+				if (earth_position.position.y >= 0) {
+					earth_position_angle = Math.atan2(earth_position.position.y, earth_position.position.x);
+				} else {
+					earth_position_angle =
+						Math.PI * 2 + Math.atan2(earth_position.position.y, earth_position.position.x);
+				}
+				earth_position_angle_round = earth_position_angle / Math.PI / 2 + 0.5;
+				earth_position_angle_round = earth_position_angle_round - Math.floor(earth_position_angle_round);
+				earth_station = earth_position_angle_round * 12;
+				planets_position.solar_station = earth_station;
+				planets_position.solar_position_angle = earth_position_angle_round * Math.PI * 2;
+				planets_position.solar_position_angle_round = earth_position_angle_round;
+				//月球相对地球的黄道偏角——角度差算法
+				lunar_position_angle_round = earth_position_angle_round + phase(date_time).phase;
+				lunar_position_angle_round = lunar_position_angle_round - Math.floor(lunar_position_angle_round);
+				lunar_position_angle = lunar_position_angle_round * Math.PI * 2;
+				lunar_station = lunar_position_angle_round * 27;
+				//月球相对地球的黄道偏角算法——向量差算法
+				let lunar_to_earth = new Object();
+				lunar_to_earth.y = lunar_position.position.y - earth_position.position.y;
+				lunar_to_earth.x = lunar_position.position.x - earth_position.position.x;
+				if (lunar_to_earth.y >= 0) {
+					lunar_position_angle2 = Math.atan2(lunar_to_earth.y, lunar_to_earth.x);
+				} else {
+					lunar_position_angle2 = Math.PI * 2 + Math.atan2(lunar_to_earth.y, lunar_to_earth.x);
+				}
+				lunar_position_angle_round2 = lunar_position_angle2 / Math.PI / 2;
+				//lunar_position_angle_round = lunar_position_angle_round - Math.floor(lunar_position_angle_round)
+				lunar_position_angle2 = lunar_position_angle_round2 * Math.PI * 2;
+
+				lunar_station2 = lunar_position_angle_round2 * 27;
+
+				planets_position.lunar_station = lunar_station;
+				planets_position.lunar_position_angle = lunar_position_angle;
+				planets_position.lunar_position_angle_round = lunar_position_angle_round;
+				planets_position.lunar_station2 = lunar_station2;
+				planets_position.lunar_position_angle2 = lunar_position_angle2;
+				planets_position.lunar_position_angle_round2 = lunar_position_angle_round2;
+				return planets_position;
+			}
+			function get_station_name(data_time) {
+				//获取星象信息
+				let solar_num = 0;
+				let lunar_num = 0;
+				solar_num = get_position(data_time).solar_station;
+				solar_num = Math.floor(solar_num);
+				lunar_num = get_position(data_time).lunar_station;
+				lunar_num = Math.floor(lunar_num);
+
+				let result = new Object();
+				result.solar = horoscope_name[solar_num];
+				result.lunar = pali_nakkhatta_name[lunar_num];
+				return result;
+			}
+			function lunar_phase_list_refresh() {
+				let output = "";
+				//画表头
+				output += "<tr class='table_line'>";
+				output += "<th class='table_column'>月份</th>";
+				output += "<th class='table_column'>下弦</th>";
+				output += "<th class='table_column'>新月(诵戒)</th>";
+				output += "<th class='table_column'>上弦</th>";
+				output += "<th class='table_column'>满月(诵戒)</th>";
+				output += "</tr>";
+				//画内容
+				let month_num = Math.min(last_list.length, new_list.length, first_list.length, full_list.length);
+				for (let i_month = 0; i_month < month_num; i_month++) {
+					output += "<tr class='table_line'>";
+					output += "<td class='table_column'>";
+					output += Math.round(get_position(full_list[i_month]).solar_station * 100) / 100;
+					//output += "—"
+					//output += get_station_name(full_list[i_month]).lunar.value
+					//output += "—"
+					//output += get_station_name(full_list[i_month]).solar.name_zh
+					//output += "—"
+					//output += get_station_name(full_list[i_month]).solar.icon
+					output += "</td>";
+					//下弦月
+					if (
+						SunCalc.getTimes(
+							last_list[i_month],
+							g_coordinate_this.AT,
+							g_coordinate_this.LT,
+							g_coordinate_this.height / 1000
+						).dawn -
+							last_list[i_month] <=
+						0
+					) {
+						//如果在破晓之后,不修正
+						output += "<td class='table_column' title='" + last_list[i_month].toLocaleTimeString() + "'>";
+						output += last_list[i_month].toLocaleDateString();
+						output += "<br />";
+						output += get_station_name(last_list[i_month]).lunar.value;
+						//output += Math.round(get_position(last_list[i_month]).lunar_station * 100) / 100
+						output += "</td>";
+					} else {
+						//如果在破晓之前,修正提前一天
+						output +=
+							"<td class='table_column correct' title='" + last_list[i_month].toLocaleString() + "'>";
+						let temp_date = last_list[i_month];
+						temp_date.setDate(temp_date.getDate() - 1);
+						output += temp_date.toLocaleDateString();
+						output += "<br />";
+						output += get_station_name(last_list[i_month]).lunar.value;
+						//output += Math.round(get_position(last_list[i_month]).lunar_station * 100) / 100
+						output += "</td>";
+					}
+					//新月
+					if (
+						SunCalc.getTimes(
+							new_list[i_month],
+							g_coordinate_this.AT,
+							g_coordinate_this.LT,
+							g_coordinate_this.height / 1000
+						).dawn -
+							new_list[i_month] <=
+						0
+					) {
+						//如果在破晓之后,不修正
+						output += "<td class='table_column' title='" + new_list[i_month].toLocaleTimeString() + "'>";
+						output += new_list[i_month].toLocaleDateString();
+						output += "<br />";
+						output += get_station_name(new_list[i_month]).lunar.value;
+						//output += Math.round(get_position(new_list[i_month]).lunar_station * 100) / 100
+						output += "</td>";
+					} else {
+						//如果在破晓之前,修正提前一天
+						output +=
+							"<td class='table_column correct' title='" + new_list[i_month].toLocaleString() + "'>";
+						let temp_date = new_list[i_month];
+						temp_date.setDate(temp_date.getDate() - 1);
+						output += temp_date.toLocaleDateString();
+						output += "<br />";
+						output += get_station_name(new_list[i_month]).lunar.value;
+						//output += Math.round(get_position(new_list[i_month]).lunar_station * 100) / 100
+						output += "</td>";
+					}
+					//上弦月
+					if (
+						SunCalc.getTimes(
+							first_list[i_month],
+							g_coordinate_this.AT,
+							g_coordinate_this.LT,
+							g_coordinate_this.height / 1000
+						).dawn -
+							first_list[i_month] <=
+						0
+					) {
+						//如果在破晓之后,不修正
+						output += "<td class='table_column' title='" + first_list[i_month].toLocaleTimeString() + "'>";
+						output += first_list[i_month].toLocaleDateString();
+						output += "<br />";
+						output += get_station_name(first_list[i_month]).lunar.value;
+						//output += Math.round(get_position(first_list[i_month]).lunar_station * 100) / 100
+						output += "</td>";
+					} else {
+						//如果在破晓之前,修正提前一天
+						output +=
+							"<td class='table_column correct' title='" + first_list[i_month].toLocaleString() + "'>";
+						let temp_date = first_list[i_month];
+						temp_date.setDate(temp_date.getDate() - 1);
+						output += temp_date.toLocaleDateString();
+						output += "<br />";
+						output += get_station_name(first_list[i_month]).lunar.value;
+						//output += Math.round(get_position(first_list[i_month]).lunar_station * 100) / 100
+						output += "</td>";
+					}
+					//满月
+					if (
+						SunCalc.getTimes(
+							full_list[i_month],
+							g_coordinate_this.AT,
+							g_coordinate_this.LT,
+							g_coordinate_this.height / 1000
+						).dawn -
+							full_list[i_month] <=
+						0
+					) {
+						//如果在破晓之后,不修正
+						output += "<td class='table_column' title='" + full_list[i_month].toLocaleTimeString() + "'>";
+						output += full_list[i_month].toLocaleDateString();
+						output += "<br />";
+						output += get_station_name(full_list[i_month]).lunar.value;
+						//output += Math.round(get_position(full_list[i_month]).lunar_station * 100) / 100
+						output += "</td>";
+					} else {
+						//如果在破晓之前,修正提前一天
+						output +=
+							"<td class='table_column correct' title='" + full_list[i_month].toLocaleString() + "'>";
+						let temp_date = full_list[i_month];
+						temp_date.setDate(temp_date.getDate() - 1);
+						output += temp_date.toLocaleDateString();
+						output += "<br />";
+						output += get_station_name(full_list[i_month]).lunar.value;
+						//output += Math.round(get_position(full_list[i_month]).lunar_station * 100) / 100
+						output += "</td>";
+					}
+					output += "</tr>";
+				}
+				$("#lunar_phase_list").html(output);
+			}
+			function getLocation() {
+				//自动定位
+				if (navigator.geolocation) {
+					navigator.geolocation.getCurrentPosition(showPosition, showError);
+				} else {
+					$("#selected_position_string").html("Geolocation is not supported by this browser.");
+				}
+			}
+			function showPosition(position) {
+				alert("get cordinate success");
+				g_coordinate_this.AT = position.coords.latitude; //纬度
+				g_coordinate_this.LT = position.coords.longitude; //经度
+				g_coordinate_this.height = position.coords.altitude; //海拔高度
+				let position_string =
+					g_coordinate_this.AT + "#" + g_coordinate_this.LT + "#" + g_coordinate_this.height;
+				localStorage.setItem("local_position", position_string);
+
+				if (g_coordinate_this.AT >= 0) {
+					var AT_string = angle_trans(g_coordinate_this.AT) + "N";
+				} else {
+					var AT_string = angle_trans(g_coordinate_this.AT) + "S";
+				}
+				if (g_coordinate_this.LT >= 0) {
+					var LT_string = angle_trans(g_coordinate_this.LT) + "E";
+				} else {
+					var LT_string = angle_trans(g_coordinate_this.LT) + "W";
+				}
+				let height_string = g_coordinate_this.height + "M";
+				$("#selected_position_string").html(AT_string + " " + LT_string + " " + height_string);
+			}
+			function showError(error) {
+				switch (error.code) {
+					case error.PERMISSION_DENIED:
+						alert("定位失败,用户拒绝请求地理定位");
+						break;
+					case error.POSITION_UNAVAILABLE:
+						alert("定位失败,位置信息是不可用");
+						break;
+					case error.TIMEOUT:
+						alert("定位失败,请求获取用户位置超时");
+						break;
+					case error.UNKNOWN_ERROR:
+						alert("定位失败,定位系统失效");
+						break;
+				}
+			}
+			function angle_trans(angle) {
+				var angle_str = "";
+				var num_d = Math.floor(angle);
+				var num_m = Math.floor((angle - num_d) * 60);
+				var num_s = Math.round((angle - num_d) * 60 - num_m);
+				if (num_d != 0) {
+					angle_str += num_d + "°";
+				}
+				if (num_m != 0) {
+					angle_str += num_m + "’";
+				}
+				if (num_s != 0) {
+					angle_str += num_s + "”";
+				}
+				return angle_str;
+			}
+		</script>
+	</body>
+</html>

+ 1 - 1
app/dict/index.php

@@ -169,7 +169,7 @@ require_once "../pcdl/html_head.php";
 			justify-content: center;
 		}
 	</style>
-	<!-- <link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:767px)">-->
+	<!-- <link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:800px)">-->
 	
 
 	<!-- tool bar begin-->

+ 1 - 1
app/index.php

@@ -138,7 +138,7 @@ require_once "public/load_lang.php";
             }
         </style>
 
-	    <style  media="screen and (max-width:767px)">
+	    <style  media="screen and (max-width:800px)">
             #login_body {
                 flex-direction: column;
                 padding: 0.2em;

+ 149 - 0
app/install/db_insert_page_index.php

@@ -0,0 +1,149 @@
+<?php
+//require_once "install_head.php";
+require_once "./_pdo.php";
+require_once "../path.php";
+
+if (PHP_SAPI  == "cli") {
+	echo $argc;
+	if($argc>=3){
+		$from=$argv[1];
+		$to=$argv[2];
+		echo "From: {$from} To:{$to}";
+	}
+	else if($argc>=1){
+		$from=0;
+		$to = 216;
+		echo "生成全部217本书";
+	}
+	else{
+		echo "参数错误";
+		exit;
+	}
+
+}
+else{
+	echo "<!DOCTYPE html><html><head></head>";
+	echo "<body><h2>Insert to Index</h2>";
+
+	if(isset($_GET["from"])==false){
+		echo '<form action="db_insert_index_once.php" method="get">';
+		echo 'From: <input type="text" name="from" value="0"><br>';
+		echo 'To: <input type="text" name="to" value="216"><br>';
+		echo '<input type="submit">';
+		echo '</form>';
+		exit;
+	}
+	else{
+		$from=$_GET["from"];
+		$to=$_GET["to"];
+	}
+}
+
+
+$g_wordCounter=0;
+$g_wordIndexCounter=0;
+$iAllWordIndex=array();
+$sAllWord=array();
+
+$dirLog=_DIR_LOG_."/";
+
+$dirXmlBase=_DIR_PALI_CSV_."/";
+
+$filelist=array();
+$fileNums=0;
+$log="";
+echo "\n <h2>$from</h2>";
+
+
+if(($handle=fopen("filelist.csv",'r'))!==FALSE){
+	while(($filelist[$fileNums]=fgetcsv($handle,0,','))!==FALSE){
+		$fileNums++;
+	}
+}
+if($to==0 || $to>=$fileNums) $to=$fileNums-1;
+
+
+	
+for($iFile=$from;$iFile<=$to;$iFile++){
+    echo "<h3>{$iFile}</h3>";
+	$FileName=$filelist[$iFile][1].".htm";
+	$fileId=$filelist[$iFile][0];
+
+	$inputFileName=$FileName;
+	$outputFileNameHead=$filelist[$iFile][1];
+	$bookId=$filelist[$iFile][2];
+
+	$dirXml=$outputFileNameHead."/";
+
+	$xmlfile = $inputFileName;
+	echo "doing:".$xmlfile."<br>";
+	$log=$log."$iFile,$FileName,open\r\n";
+
+	$arrInserString=array();
+
+	$db_file = _FILE_DB_PAGE_INDEX_;
+	PDO_Connect("sqlite:$db_file");
+	// 打开文件并读取数据
+	$irow=0;
+	if(($fp=fopen($dirXmlBase.$dirXml.$outputFileNameHead.".csv", "r"))!==FALSE){
+		// 开始一个事务,关闭自动提交
+		$PDO->beginTransaction();
+		$query="INSERT INTO m ('book','para','page1','page2') VALUES (?,?,?,?)";
+		$stmt = $PDO->prepare($query);
+
+		$currPage=array(0,0);
+		$currPara = 0;
+		while(($data=fgetcsv($fp,0,','))!==FALSE){
+			$irow++;
+			if($irow>1){
+
+				if($data[6]==".ctl." && mb_substr($data[5],0,1,"UTF-8")=="M"){
+					$sPage= mb_substr($data[5],1,6,"UTF-8");
+					$aPage = explode(".",$sPage);
+					if(count($aPage)==2){
+						$currPage = $aPage;
+					}
+					else{
+						echo "错误的页码: {$data[5]} \n ";
+					}
+				}
+				$para = $data[3];
+				if($currPara!=$data[3]){
+					$currPara=(int)$data[3];
+					$book = mb_substr($data[2],1, null ,"UTF-8");
+					$para = $currPara;
+					$page1 = $currPage[0];
+					$page2 = $currPage[1];
+					$stmt->execute(array($book,$para,$page1,$page2));
+				}
+			}
+				
+		}
+
+		// 提交更改 
+		$PDO->commit();
+		if (!$stmt || ($stmt && $stmt->errorCode() != 0)) {
+			$error = PDO_ErrorInfo();
+			echo "error - $error[2] <br>";
+			$log.="$from, $FileName, error, $error[2] \r\n";
+		}
+		else{
+			echo "updata  recorders.<br />";
+			$log.="updata  recorders.\r\n";
+		}
+		fclose($fp);
+		echo "单词表load:".$dirXmlBase.$dirXml.$outputFileNameHead.".csv<br>\n";
+	}
+	else{
+		echo "can not open csv file. filename=".$dirXmlBase.$dirXml.$outputFileNameHead.".csv";
+	}
+	
+	
+}
+	echo "齐活!功德无量!all done!";	
+?>
+
+
+
+</body>
+</html>

+ 45 - 0
app/nissaya/get.php

@@ -0,0 +1,45 @@
+<?php
+require_once "../public/_pdo.php";
+require_once "../path.php";
+
+$result["error"]="";
+$result["data"]=array();
+
+if(isset($_GET["book"])){
+	$book = $_GET["book"];
+}
+else{
+	$result["error"]="no param";
+	echo json_encode($result,JSON_UNESCAPED_UNICODE);
+	exit;
+}
+if(isset($_GET["para"])){
+	$para = $_GET["para"];
+}
+else{
+	$result["error"]="no param";
+	echo json_encode($result,JSON_UNESCAPED_UNICODE);
+	exit;
+}
+
+
+PDO_Connect("sqlite:"._FILE_DB_PAGE_INDEX_);
+$query = "SELECT * from m where book=? and para=?";
+$Fetch = PDO_FetchAll($query,array($book,$para));
+
+foreach ($Fetch as $key => $value){
+	$query = "SELECT * from book_match where book_vri=? and vol=?";
+	$Fetch_nsy_book = PDO_FetchRow($query,array($value["book"],$value["page1"]));
+	if($Fetch_nsy_book){
+		$prefix = explode("_",$Fetch_nsy_book["bookid"])[0];
+		$query = "SELECT * from {$prefix}_pagematch where bookid=? and bookpagenumber=?";
+		$Fetch_nsy_index = PDO_FetchRow($query,array($Fetch_nsy_book["bookid"],$value["page2"]));
+		$result["data"][] = $Fetch_nsy_index;
+	}
+	else{
+		$result["error"]= "error: in table book_match";
+	}
+}
+echo json_encode($result,JSON_UNESCAPED_UNICODE);
+
+?>

+ 27 - 0
app/nissaya/index.php

@@ -0,0 +1,27 @@
+<?php
+require_once "../public/load_lang.php";
+require_once "../path.php";
+require_once "../pcdl/html_head.php";
+?>
+<body style="margin: 0;padding: 0;" class="reader_body" >
+<script src="../nissaya/nissaya.js"></script>
+<style>
+.img_box{
+	width:720px;
+	height:1280px;
+	background-color:gray;
+}
+.book_page{
+	display:inline-block;
+	background-color:blue;
+}
+</style>
+<script>
+_nissaya_book = <?php echo $_GET["book"];?>;
+_nissaya_para = <?php echo $_GET["para"];?>;
+</script>
+
+<div id="contence">
+</div>
+	</body>
+</html>

+ 160 - 0
app/nissaya/nissaya.js

@@ -0,0 +1,160 @@
+var _nissaya_book = 0;
+var _nissaya_para = 0;
+var _nsy_book_dir = "";
+var _nsy_book_id = "";
+
+$(document).ready(function () {
+	nissaya_get(_nissaya_book, _nissaya_para);
+});
+function nissaya_get(book, para) {
+	if (book == 0 || _nissaya_para == 0) {
+		return;
+	}
+	$.get(
+		"../nissaya/get.php",
+		{
+			book: book,
+			para: para,
+		},
+		function (data) {
+			let result = JSON.parse(data);
+			if (result.error == "") {
+				if (result.data.length > 0) {
+					//找到的书的列表
+					for (const iterator of result.data) {
+					}
+					//_nsy_book_dir = data.bookid.split("_")[0];
+					//_nsy_book_id = result.data[0].nsyid;
+					$("#contence").html(render_nissaya_init(result.data[0]));
+					//insert_new_befor(1);
+					insert_new_end(1);
+				}
+			}
+		}
+	);
+}
+
+function render_on_page(params) {
+	let filename = params.dir + "/" + params.book + "_" + params.page + ".gif";
+	let html = "";
+	html += "<div class='img_box' dir='" + params.dir + "' book='" + params.book + "' page='" + params.page + "'>";
+	if (params.show) {
+		html += "<img class='book_page' src='../../tmp/nissaya/" + filename + "' />";
+	} else {
+		html += "<img class='book_page' data-src='../../tmp/nissaya/" + filename + "' />";
+	}
+	html += "</div>";
+	return html;
+}
+function render_nissaya_init(data) {
+	let dir = data.bookid.split("_")[0];
+	return render_on_page({
+		dir: dir,
+		book: data.nsyid,
+		page: data.nsypagenumber,
+		show: true,
+	});
+	/*
+	let filename = dir + "/" + data.nsyid + "_" + data.nsypagenumber + ".gif";
+	let html = "";
+	html += "<div class='img_box' dir='" + dir + "' book='" + data.nsyid + "' page='" + data.nsypagenumber + "'>";
+	html += "<img src='../../tmp/nissaya/" + filename + "' />";
+	html += "</div>";
+	return html;
+	*/
+}
+
+function insert_new_befor(num = 2) {
+	let head = $("#contence").children().first();
+	let pageid = parseInt(head.attr("page"));
+	if (pageid <= 1) {
+		return "";
+	}
+	let html = render_on_page({
+		dir: head.attr("dir"),
+		book: head.attr("book"),
+		page: parseInt(head.attr("page")) - 1,
+		show: false,
+	});
+	$("#contence").prepend(html);
+}
+function insert_new_end(num = 2) {
+	let last = $("#contence").children().last();
+	let html = render_on_page({
+		dir: last.attr("dir"),
+		book: last.attr("book"),
+		page: parseInt(last.attr("page")) + 1,
+		show: false,
+	});
+	$("#contence").append(html);
+}
+
+function check_end() {
+	let last = $(".book_page").last();
+	let attr = last.attr("src");
+	if (typeof attr == typeof undefined || attr == false || attr.length == 0) {
+		return;
+	} else {
+		insert_new_end();
+	}
+}
+function check_head() {
+	let first = $(".book_page").first();
+	let attr = first.attr("src");
+	if (typeof attr == typeof undefined || attr == false || attr.length == 0) {
+		return;
+	} else {
+		insert_new_befor();
+	}
+}
+window.onload = function () {
+	window.onscroll = () => {
+		checkImgs();
+	};
+	function checkImgs(el) {
+		const imgs = document.querySelectorAll(".book_page");
+		Array.from(imgs).forEach((el) => {
+			// 在这里更换不同的方法即可
+			if (isInViewPort(el)) loadImg(el);
+		});
+		check_end();
+		check_head();
+	}
+	function loadImg(el) {
+		if (!el.src) {
+			const source = el.dataset.src;
+			el.src = source;
+		}
+		// 这里应该是有一个优化的地方,设一个标识符标识已经加载图片的index,当滚动条滚动时就不需要遍历所有的图片,只需要遍历未加载的图片即可。
+	}
+
+	function isInViewPort(el) {
+		const viewPortHeight =
+			window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;
+		let rect = el.parentNode.getBoundingClientRect();
+		if (rect.top > viewPortHeight || rect.bottom < 0) {
+			return false;
+		} else {
+			return true;
+		}
+	}
+};
+
+/*
+作者:付出
+链接:https://juejin.cn/post/6844903725249609741
+来源:掘金
+著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。
+*/
+/*
+function isInViewPortOfOne(el) {
+	// viewPortHeight 兼容所有浏览器写法
+	const viewPortHeight = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight;
+	const offsetTop = el.offsetTop;
+	const scrollTop = document.documentElement.scrollTop;
+	const top = offsetTop - scrollTop;
+	console.log("top", top);
+	// 这里有个+100是为了提前加载+ 100
+	return top <= viewPortHeight + 100;
+}
+*/

+ 1 - 0
app/path.php

@@ -16,6 +16,7 @@ define("_FILE_DB_PALI_SENTENCE_" , __DIR__."/../tmp/appdata/palicanon/pali_sent.
 define("_FILE_DB_INDEX_"  , __DIR__."/../tmp/appdata/palicanon/index.db3");
 define("_FILE_DB_WORD_INDEX_"  , __DIR__."/../tmp/appdata/palicanon/wordindex.db3");
 define("_FILE_DB_PALI_INDEX_"  , __DIR__."/../tmp/appdata/palicanon/paliindex.db3");
+define("_FILE_DB_PAGE_INDEX_"  , __DIR__."/../tmp/appdata/palicanon/pagemap.db3");
 define("_FILE_DB_BOOK_WORD_"  , __DIR__."/../tmp/appdata/palicanon/bookword.db3");
 define("_FILE_DB_BOLD_"  , __DIR__."/../tmp/appdata/palicanon/bold.db3");
 

+ 1 - 1
app/pcdl/classroom.php

@@ -47,7 +47,7 @@ else{
 	<link type="text/css" rel="stylesheet" href="css/style.css"/>
 	<link type="text/css" rel="stylesheet" href="css/style_new.css"/>
 	<link type="text/css" rel="stylesheet" href="css/color_day.css" id="colorchange" />
-	<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:767px)">
+	<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:800px)">
 	<title>PCD Libery</title>
 	
 	<script language="javascript" src="../app/js/data.js"></script>

+ 1 - 1
app/pcdl/html_head.php

@@ -27,7 +27,7 @@ else{
     <link type="text/css" rel="stylesheet" href="../pcdl/css/basic_style.css"/>
     <link type="text/css" rel="stylesheet" href="../pcdl/css/style.css"/>
     <link type="text/css" rel="stylesheet" href="../pcdl/css/color_day.css" id="colorchange" />
-    <link type="text/css" rel="stylesheet" href="../pcdl/css/style_mobile.css" media="screen and (max-width:767px)">
+    <link type="text/css" rel="stylesheet" href="../pcdl/css/style_mobile.css" media="screen and (max-width:800px)">
 	<link href="https://fonts.googleapis.com/css2?family=Padauk:wght@400;700&display=swap" rel="stylesheet">
 
     <title>wikipāḷi</title>

+ 1 - 1
app/pcdl/reader.php

@@ -21,7 +21,7 @@ $_channal = new Channal();
 	<link type="text/css" rel="stylesheet" href="../pcdl/css/color_day.css" id="colorchange" />
 	<link type="text/css" rel="stylesheet" href="css/reader.css"/>
 	<link type="text/css" rel="stylesheet" href="../guide/guide.css"/>
-	<link type="text/css" rel="stylesheet" href="css/reader_mob.css" media="screen and (max-width:767px)">
+	<link type="text/css" rel="stylesheet" href="css/reader_mob.css" media="screen and (max-width:800px)">
 	<title id="page_title">PCD Reader</title>
 
 	<script src="js/jquery-3.3.1.min.js"></script>

+ 1 - 1
app/reader/index.php

@@ -217,7 +217,7 @@ require_once "../pcdl/html_head.php";
 	}
 	</style>
 
-<style media="screen and (max-width:767px)">
+<style media="screen and (max-width:800px)">
 	#right_pannal{
 		display:none;
 	}

+ 1 - 1
app/search/bold.php

@@ -25,7 +25,7 @@ include "../pcdl/html_head.php";
 			display:flex;
 		}
     </style>
-    <style  media="screen and (max-width:767px)">
+    <style  media="screen and (max-width:800px)">
 		#index_list{
 			display:block;
 		}

+ 1 - 1
app/search/palitext1.php

@@ -214,7 +214,7 @@ require_once "../pcdl/html_head.php";
 	}
 	</style>
 
-<style media="screen and (max-width:767px)">
+<style media="screen and (max-width:800px)">
 	#right_pannal{
 		display:none;
 	}

+ 1 - 1
app/search/paliword.php

@@ -74,7 +74,7 @@ include "../pcdl/html_head.php";
 		display:block;
 	}
     </style>
-    <style  media="screen and (max-width:767px)">
+    <style  media="screen and (max-width:800px)">
 		#index_list{
 			display:block;
 		}

+ 1 - 1
app/search/title.php

@@ -15,7 +15,7 @@ require_once "../pcdl/html_head.php";
 			display:flex;
 		}
     </style>
-    <style  media="screen and (max-width:767px)">
+    <style  media="screen and (max-width:800px)">
 		#index_list{
 			display:block;
 		}

+ 2 - 2
app/studio/album.php

@@ -66,7 +66,7 @@ switch($op)
 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
 	<link type="text/css" rel="stylesheet" href="css/style.css"/>
 	<link type="text/css" rel="stylesheet" href="css/color_day.css" id="colorchange" />
-	<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:767px)">
+	<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:800px)">
 
 </head>
 <body class="indexbody">
@@ -208,7 +208,7 @@ switch($op)
 		<meta name="viewport" content="width=device-width, initial-scale=1.0">
 		<link type="text/css" rel="stylesheet" href="css/style.css"/>
 		<link type="text/css" rel="stylesheet" href="css/color_day.css" id="colorchange" />
-		<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:767px)">
+		<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:800px)">
 	</head>
 	<body class="indexbody">
 		<br/><br/>

+ 1 - 1
app/studio/buddhist_calendar.php

@@ -54,7 +54,7 @@ $month=$_GET['m']?$_GET['m']:date('m');
 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
 	<link type="text/css" rel="stylesheet" href="css/style.css"/>
 	<link type="text/css" rel="stylesheet" href="css/color_day.css" id="colorchange" />
-	<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:767px)">
+	<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:800px)">
 	<title>PCD Studio</title>
 	<script language="javascript" src="config.js"></script>
 	<script language="javascript" src="js/common.js"></script>

+ 1 - 1
app/studio/dictionary.php

@@ -27,7 +27,7 @@ else{
 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
 	<link type="text/css" rel="stylesheet" href="css/style.css"/>
 	<link type="text/css" rel="stylesheet" href="css/color_day.css" id="colorchange" />
-	<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:767px)">
+	<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:800px)">
 	<link type="text/css" rel="stylesheet" href="css/alertify.css" id="alertifyCSS">
 	<link type="text/css" rel="stylesheet" href="../user/App/style.css"/>
 	<link type="text/css" rel="stylesheet" href="css/dictionary.css"/>

+ 1 - 1
app/studio/editor.php

@@ -25,7 +25,7 @@ else{$currDevice="computer";}
 	<link rel="shortcut icon" href="../favicon.icon" />
 	<link type="text/css" rel="stylesheet" href="css/style.css"/>
 	<link type="text/css" rel="stylesheet" href="css/color_day.css" id="colorchange" />
-	<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:767px)">
+	<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:800px)">
 	<link href="https://fonts.googleapis.com/css2?family=Padauk:wght@400;700&display=swap" rel="stylesheet">
 	<link type="text/css" rel="stylesheet" href="../public/css/notify.css"/>
 	<?php

+ 1 - 1
app/studio/filenew.php

@@ -26,7 +26,7 @@ else{$currDevice="computer";}
 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
 	<link type="text/css" rel="stylesheet" href="css/style.css"/>
 	<link type="text/css" rel="stylesheet" href="css/color_day.css" id="colorchange" />
-	<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:767px)">
+	<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:800px)">
 	<link type="text/css" rel="stylesheet" href="<?php echo $dir_user_base.$userid.$dir_myApp; ?>/style.css"/>
 	<title>PCD Studio</title>
 	<script language="javascript" src="config.js"></script>

+ 1 - 1
app/studio/index.php

@@ -210,7 +210,7 @@ else{
             }
         </style>
 
-<style  media="screen and (max-width:767px)">
+<style  media="screen and (max-width:800px)">
             #login_body {
                 flex-direction: column;
                 padding: 0.2em;

+ 1 - 1
app/studio/project.php

@@ -5,7 +5,7 @@
 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
 	<link type="text/css" rel="stylesheet" href="css/style.css"/>
 	<link type="text/css" rel="stylesheet" href="css/color_day.css" id="colorchange" />
-	<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:767px)">
+	<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:800px)">
 
 </head>
 <body>

+ 1 - 1
app/studio/search.php

@@ -44,7 +44,7 @@ else{
 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
 	<link type="text/css" rel="stylesheet" href="css/style.css"/>
 	<link type="text/css" rel="stylesheet" href="css/color_day.css" id="colorchange" />
-	<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:767px)">
+	<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:800px)">
 	<link type="text/css" rel="stylesheet" href="<?php echo $dir_user_base.$userid.$dir_myApp; ?>/style.css"/>
 	<title>PCD Studio</title>
 	<script language="javascript" src="config.js"></script>

+ 1 - 1
app/studio/term_sys_tool.php

@@ -44,7 +44,7 @@ else{
 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
 	<link type="text/css" rel="stylesheet" href="css/style.css"/>
 	<link type="text/css" rel="stylesheet" href="css/color_day.css" id="colorchange" />
-	<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:767px)">
+	<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:800px)">
 	<link type="text/css" rel="stylesheet" href="<?php echo $dir_user_base.$userid.$dir_myApp; ?>/style.css"/>
 	<title>PCD Studio</title>
 	<script language="javascript" src="config.js"></script>

+ 737 - 749
app/studio/unicode.html

@@ -1,769 +1,757 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 <html>
+	<head>
+		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
+		<link type="text/css" rel="stylesheet" href="css/style.css" />
+		<link type="text/css" rel="stylesheet" href="css/color_day.css" id="colorchange" />
+		<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:800px)" />
+		<link type="text/css" rel="stylesheet" href="css/alertify.css" id="alertifyCSS" />
+		<title>Maha Paritta</title>
+		<script language="javascript" src="js/common.js"></script>
+		<script language="javascript" src="js/xml.js"></script>
+		<script language="javascript" src="js/filenew.js"></script>
+		<script language="javascript" src="charcode/sinhala.js"></script>
+		<script language="javascript">
+			function sangayana2unicode(inStr, inM, inM2) {
+				var output = inStr;
+				output = output.replace(/ñ/g, "ṭ");
+				output = output.replace(/à/g, "ā");
+				output = output.replace(/ã/g, "ī");
+				output = output.replace(/å/g, "ū");
+				output = output.replace(/ï/g, "ṅ");
+				output = output.replace(/¤/g, "ñ");
+				output = output.replace(/ó/g, "ḍ");
+				output = output.replace(/õ/g, "ṇ");
+				output = output.replace(/ë/g, "ḷ");
+				output = output.replace(/ü/g, inM);
+				output = output.replace(/§/g, inM);
 
-<head>
-	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-	<meta name="viewport" content="width=device-width, initial-scale=1.0">
-	<link type="text/css" rel="stylesheet" href="css/style.css" />
-	<link type="text/css" rel="stylesheet" href="css/color_day.css" id="colorchange" />
-	<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:767px)">
-	<link type="text/css" rel="stylesheet" href="css/alertify.css" id="alertifyCSS">
-	<title>Maha Paritta</title>
-	<script language="javascript" src="js/common.js"></script>
-	<script language="javascript" src="js/xml.js"></script>
-	<script language="javascript" src="js/filenew.js"></script>
-	<script language="javascript" src="charcode/sinhala.js"></script>
-	<script language="javascript">
-		function sangayana2unicode(inStr, inM, inM2) {
-			var output = inStr;
-			output = output.replace(/ñ/g, "ṭ");
-			output = output.replace(/à/g, "ā");
-			output = output.replace(/ã/g, "ī");
-			output = output.replace(/å/g, "ū");
-			output = output.replace(/ï/g, "ṅ");
-			output = output.replace(/¤/g, "ñ");
-			output = output.replace(/ó/g, "ḍ");
-			output = output.replace(/õ/g, "ṇ");
-			output = output.replace(/ë/g, "ḷ");
-			output = output.replace(/ü/g, inM);
-			output = output.replace(/§/g, inM);
-
-			output = output.replace(/â/g, "Ā");
-			output = output.replace(/ä/g, "Ī");
-			output = output.replace(/æ/g, "Ū");
-			output = output.replace(/ð/g, "Ṅ");
-			output = output.replace(/¥/g, "Ñ");
-			output = output.replace(/ò/g, "Ṭ");
-			output = output.replace(/ô/g, "Ḍ");
-			output = output.replace(/ö/g, "Ṇ");
-			output = output.replace(/ì/g, "Ḷ");
-			output = output.replace(/ý/g, inM2);
-			return (output);
-		}
-
-		function s2u() {
-			mstr = document.getElementById("m_str").value;
-			mlower = mstr.split(",")[0];
-			mupper = mstr.split(",")[1];
-			txt = document.getElementById("txtInput").value;
-			document.getElementById("txtOutput").value = sangayana2unicode(txt, mlower, mupper);
-		}
-
-		function sinhala_old() {
-			txt = document.getElementById("txtInput").value;
-			output = "";
-			for (i = 0; i < char_si_a.length; i++) {
-				var src = char_si_a[i].id;
-				var dest = char_si_a[i].value;
-				var strReplace = "txt = txt.replace(/" + src + "/g, dest);";
-				eval("txt = txt.replace(/" + src + "/g, dest);");
+				output = output.replace(/â/g, "Ā");
+				output = output.replace(/ä/g, "Ī");
+				output = output.replace(/æ/g, "Ū");
+				output = output.replace(/ð/g, "Ṅ");
+				output = output.replace(/¥/g, "Ñ");
+				output = output.replace(/ò/g, "Ṭ");
+				output = output.replace(/ô/g, "Ḍ");
+				output = output.replace(/ö/g, "Ṇ");
+				output = output.replace(/ì/g, "Ḷ");
+				output = output.replace(/ý/g, inM2);
+				return output;
 			}
-			txt = txt.replace(/ර/g, "ra");
-			txt = txt.replace(/ය/g, "ya");
-			document.getElementById("txtOutput").value = txt;
-		}
-
-		function sinhala() {
-			var txt = document.getElementById("txtInput").value;
-			output = "";
-			try {
-				//replace begin
-				txt = txt.replace(/ක‍්ක්‍ර/g, "kkra");
-				txt = txt.replace(/ක‍්ක්‍ය/g, "kkya");
-				txt = txt.replace(/ක‍්ඛ්‍ර/g, "kkhra");
-				txt = txt.replace(/ක‍්ඛ්‍ය/g, "kkhya");
-				txt = txt.replace(/ක්‍ව්‍ර/g, "kvra");
-				txt = txt.replace(/ක්‍ව්‍ය/g, "kvya");
-				txt = txt.replace(/ඛ්‍ය්‍ර/g, "khyra");
-				txt = txt.replace(/ඛ්‍ය්‍ය/g, "khyya");
-				txt = txt.replace(/ඛ‍්ව්‍ර/g, "khvra");
-				txt = txt.replace(/ඛ‍්ව්‍ය/g, "khvya");
-				txt = txt.replace(/ග‍්ග්‍ර/g, "ggra");
-				txt = txt.replace(/ග‍්ග්‍ය/g, "ggya");
-				txt = txt.replace(/ග‍්ඝ්‍ර/g, "gghra");
-				txt = txt.replace(/ග‍්ඝ්‍ය/g, "gghya");
-				txt = txt.replace(/ක්ක්‍ර/g, "kkuṃ");
-				txt = txt.replace(/ක්ක්‍ය/g, "kkra");
-				txt = txt.replace(/ක‍්කිං/g, "kkiṃ");
-				txt = txt.replace(/ක‍්කුං/g, "kkuṃ");
-				txt = txt.replace(/ක්ඛ්‍ර/g, "kkhra");
-				txt = txt.replace(/ක්ඛ්‍ය/g, "kkhya");
-				txt = txt.replace(/ක‍්ඛිං/g, "kkhiṃ");
-				txt = txt.replace(/ක‍්ඛුං/g, "kkhuṃ");
-				txt = txt.replace(/ක්‍යිං/g, "kyiṃ");
-				txt = txt.replace(/ක්‍යුං/g, "kyuṃ");
-				txt = txt.replace(/ක්‍යිං/g, "kyiṃ");
-				txt = txt.replace(/ක්‍යුං/g, "kyuṃ");
-				txt = txt.replace(/ක්‍රිං/g, "kriṃ");
-				txt = txt.replace(/ක්‍රුං/g, "kruṃ");
-				txt = txt.replace(/ක්‍රිං/g, "kriṃ");
-				txt = txt.replace(/ක්‍රුං/g, "kruṃ");
-				txt = txt.replace(/ක්ව්‍ර/g, "kvra");
-				txt = txt.replace(/ක්ව්‍ය/g, "kvya");
-				txt = txt.replace(/ක්‍විං/g, "kviṃ");
-				txt = txt.replace(/ක්‍වුං/g, "kvuṃ");
-				txt = txt.replace(/ඛ්‍යිං/g, "khyiṃ");
-				txt = txt.replace(/ඛ්‍යුං/g, "khyuṃ");
-				txt = txt.replace(/ඛ‍්විං/g, "khviṃ");
-				txt = txt.replace(/ඛ‍්වුං/g, "khvuṃ");
-				txt = txt.replace(/ග‍්ගිං/g, "ggiṃ");
-				txt = txt.replace(/ග‍්ගුං/g, "gguṃ");
-				txt = txt.replace(/ග‍්ඝිං/g, "gghiṃ");
-				txt = txt.replace(/ග‍්ඝුං/g, "gghuṃ");
-				txt = txt.replace(/‍ය්‍ය/g, "yya");
-				txt = txt.replace(/ක්කිං/g, "kkaṃ");
-				txt = txt.replace(/ක්කුං/g, "kkiṃ");
-				txt = txt.replace(/ක‍්කා/g, "kkā");
-				txt = txt.replace(/ක‍්කි/g, "kki");
-				txt = txt.replace(/ක‍්කී/g, "kkī");
-				txt = txt.replace(/ක‍්කු/g, "kku");
-				txt = txt.replace(/ක‍්කූ/g, "kkū");
-				txt = txt.replace(/ක‍්කෙ/g, "kke");
-				txt = txt.replace(/ක‍්කො/g, "kko");
-				txt = txt.replace(/ක‍්කං/g, "kkaṃ");
-				txt = txt.replace(/ක්ඛිං/g, "kkhiṃ");
-				txt = txt.replace(/ක්ඛුං/g, "kkhuṃ");
-				txt = txt.replace(/ක‍්ඛා/g, "kkhā");
-				txt = txt.replace(/ක‍්ඛි/g, "kkhi");
-				txt = txt.replace(/ක‍්ඛී/g, "kkhī");
-				txt = txt.replace(/ක‍්ඛු/g, "kkhu");
-				txt = txt.replace(/ක‍්ඛූ/g, "kkhū");
-				txt = txt.replace(/ක‍්ඛෙ/g, "kkhe");
-				txt = txt.replace(/ක‍්ඛො/g, "kkho");
-				txt = txt.replace(/ක‍්ඛං/g, "kkhaṃ");
-				txt = txt.replace(/ක්‍යා/g, "kyā");
-				txt = txt.replace(/ක්‍යි/g, "kyi");
-				txt = txt.replace(/ක්‍යී/g, "kyī");
-				txt = txt.replace(/ක්‍යු/g, "kyu");
-				txt = txt.replace(/ක්‍යූ/g, "kyū");
-				txt = txt.replace(/ක්‍යෙ/g, "kye");
-				txt = txt.replace(/ක්‍යො/g, "kyo");
-				txt = txt.replace(/ක්‍යං/g, "kyaṃ");
-				txt = txt.replace(/ක්‍යා/g, "kyā");
-				txt = txt.replace(/ක්‍යි/g, "kyi");
-				txt = txt.replace(/ක්‍යී/g, "kyī");
-				txt = txt.replace(/ක්‍යු/g, "kyu");
-				txt = txt.replace(/ක්‍යූ/g, "kyū");
-				txt = txt.replace(/ක්‍යෙ/g, "kye");
-				txt = txt.replace(/ක්‍යො/g, "kyo");
-				txt = txt.replace(/ක්‍යං/g, "kyaṃ");
-				txt = txt.replace(/ක්‍රා/g, "krā");
-				txt = txt.replace(/ක්‍රි/g, "kri");
-				txt = txt.replace(/ක්‍රී/g, "krī");
-				txt = txt.replace(/ක්‍රු/g, "kru");
-				txt = txt.replace(/ක්‍රූ/g, "krū");
-				txt = txt.replace(/ක්‍රෙ/g, "kre");
-				txt = txt.replace(/ක්‍රො/g, "kro");
-				txt = txt.replace(/ක්‍රං/g, "kraṃ");
-				txt = txt.replace(/ක්‍රා/g, "krā");
-				txt = txt.replace(/ක්‍රි/g, "kri");
-				txt = txt.replace(/ක්‍රී/g, "krī");
-				txt = txt.replace(/ක්‍රු/g, "kru");
-				txt = txt.replace(/ක්‍රූ/g, "krū");
-				txt = txt.replace(/ක්‍රෙ/g, "kre");
-				txt = txt.replace(/ක්‍රො/g, "kro");
-				txt = txt.replace(/ක්‍රං/g, "kraṃ");
-				txt = txt.replace(/ක්විං/g, "kviṃ");
-				txt = txt.replace(/ක්වුං/g, "kvuṃ");
-				txt = txt.replace(/ක්‍වා/g, "kvā");
-				txt = txt.replace(/ක්‍වි/g, "kvi");
-				txt = txt.replace(/ක්‍වී/g, "kvī");
-				txt = txt.replace(/ක්‍වු/g, "kvu");
-				txt = txt.replace(/ක්‍වූ/g, "kvū");
-				txt = txt.replace(/ක්‍වෙ/g, "kve");
-				txt = txt.replace(/ක්‍වො/g, "kvo");
-				txt = txt.replace(/ක්‍වං/g, "kvaṃ");
-				txt = txt.replace(/ඛ්‍යා/g, "khyā");
-				txt = txt.replace(/ඛ්‍යි/g, "khyi");
-				txt = txt.replace(/ඛ්‍යී/g, "khyī");
-				txt = txt.replace(/ඛ්‍යු/g, "khyu");
-				txt = txt.replace(/ඛ්‍යූ/g, "khyū");
-				txt = txt.replace(/ඛ්‍යෙ/g, "khye");
-				txt = txt.replace(/ඛ්‍යො/g, "khyo");
-				txt = txt.replace(/ඛ්‍යං/g, "khyaṃ");
-				txt = txt.replace(/ඛ‍්වා/g, "khvā");
-				txt = txt.replace(/ඛ‍්වි/g, "khvi");
-				txt = txt.replace(/ඛ‍්වී/g, "khvī");
-				txt = txt.replace(/ඛ‍්වු/g, "khvu");
-				txt = txt.replace(/ඛ‍්වූ/g, "khvū");
-				txt = txt.replace(/ඛ‍්වෙ/g, "khve");
-				txt = txt.replace(/ඛ‍්වො/g, "khvo");
-				txt = txt.replace(/ඛ‍්වං/g, "khvaṃ");
-				txt = txt.replace(/ග‍්ගා/g, "ggā");
-				txt = txt.replace(/ග‍්ගි/g, "ggi");
-				txt = txt.replace(/ග‍්ගී/g, "ggī");
-				txt = txt.replace(/ග‍්ගු/g, "ggu");
-				txt = txt.replace(/ග‍්ගූ/g, "ggū");
-				txt = txt.replace(/ග‍්ගෙ/g, "gge");
-				txt = txt.replace(/ග‍්ගො/g, "ggo");
-				txt = txt.replace(/ග‍්ගං/g, "ggaṃ");
-				txt = txt.replace(/ග‍්ඝා/g, "gghā");
-				txt = txt.replace(/ග‍්ඝි/g, "gghi");
-				txt = txt.replace(/ග‍්ඝී/g, "gghī");
-				txt = txt.replace(/ග‍්ඝු/g, "gghu");
-				txt = txt.replace(/ග‍්ඝූ/g, "gghū");
-				txt = txt.replace(/ග‍්ඝෙ/g, "gghe");
-				txt = txt.replace(/ග‍්ඝො/g, "ggho");
-				txt = txt.replace(/ග‍්ඝං/g, "gghaṃ");
-				txt = txt.replace(/ක්‍ර/g, "kra");
-				txt = txt.replace(/ක්‍ය/g, "kya");
-				txt = txt.replace(/ඛ්‍ර/g, "khra");
-				txt = txt.replace(/ඛ්‍ය/g, "khya");
-				txt = txt.replace(/ග්‍ර/g, "gra");
-				txt = txt.replace(/ග්‍ය/g, "gya");
-				txt = txt.replace(/ඝ්‍ර/g, "ghra");
-				txt = txt.replace(/ඝ්‍ය/g, "ghya");
-				txt = txt.replace(/ඞ්‍ර/g, "ṅra");
-				txt = txt.replace(/ඞ්‍ය/g, "ṅya");
-				txt = txt.replace(/ච්‍ර/g, "cra");
-				txt = txt.replace(/ච්‍ය/g, "cya");
-				txt = txt.replace(/ඡ්‍ර/g, "chra");
-				txt = txt.replace(/ඡ්‍ය/g, "chya");
-				txt = txt.replace(/ජ්‍ර/g, "jra");
-				txt = txt.replace(/ජ්‍ය/g, "jya");
-				txt = txt.replace(/ඣ්‍ර/g, "jhra");
-				txt = txt.replace(/ඣ්‍ය/g, "jhya");
-				txt = txt.replace(/ඤ්‍ර/g, "ñra");
-				txt = txt.replace(/ඤ්‍ය/g, "ñya");
-				txt = txt.replace(/ට්‍ර/g, "ṭra");
-				txt = txt.replace(/ට්‍ය/g, "ṭya");
-				txt = txt.replace(/ඨ්‍ර/g, "ṭhra");
-				txt = txt.replace(/ඨ්‍ය/g, "ṭhya");
-				txt = txt.replace(/ඩ්‍ර/g, "ḍra");
-				txt = txt.replace(/ඩ්‍ය/g, "ḍya");
-				txt = txt.replace(/ඪ්‍ර/g, "ḍhra");
-				txt = txt.replace(/ඪ්‍ය/g, "ḍhya");
-				txt = txt.replace(/ණ්‍ර/g, "ṇra");
-				txt = txt.replace(/ණ්‍ය/g, "ṇya");
-				txt = txt.replace(/ත්‍ර/g, "tra");
-				txt = txt.replace(/ත්‍ය/g, "tya");
-				txt = txt.replace(/ථ්‍ර/g, "thra");
-				txt = txt.replace(/ථ්‍ය/g, "thya");
-				txt = txt.replace(/ද්‍ර/g, "dra");
-				txt = txt.replace(/ද්‍ය/g, "dya");
-				txt = txt.replace(/ධ්‍ර/g, "dhra");
-				txt = txt.replace(/ධ්‍ය/g, "dhya");
-				txt = txt.replace(/න්‍ර/g, "nra");
-				txt = txt.replace(/න්‍ය/g, "nya");
-				txt = txt.replace(/ප්‍ර/g, "pra");
-				txt = txt.replace(/ප්‍ය/g, "pya");
-				txt = txt.replace(/ඵ්‍ර/g, "phra");
-				txt = txt.replace(/ඵ්‍ය/g, "phya");
-				txt = txt.replace(/බ්‍ර/g, "bra");
-				txt = txt.replace(/බ්‍ය/g, "bya");
-				txt = txt.replace(/භ්‍ර/g, "bhra");
-				txt = txt.replace(/භ්‍ය/g, "bhya");
-				txt = txt.replace(/ම්‍ර/g, "mra");
-				txt = txt.replace(/ම්‍ය/g, "mya");
-				txt = txt.replace(/‍යිං/g, "yiṃ");
-				txt = txt.replace(/‍යුං/g, "yuṃ");
-				txt = txt.replace(/‍රිං/g, "riṃ");
-				txt = txt.replace(/‍රුං/g, "ruṃ");
-				txt = txt.replace(/ල්‍ය/g, "lya");
-				txt = txt.replace(/ව්‍ර/g, "vra");
-				txt = txt.replace(/ව්‍ය/g, "vya");
-				txt = txt.replace(/ස්‍ර/g, "sra");
-				txt = txt.replace(/ස්‍ය/g, "sya");
-				txt = txt.replace(/හ්‍ර/g, "hra");
-				txt = txt.replace(/හ්‍ය/g, "hya");
-				txt = txt.replace(/ළ්‍ය/g, "ḷya");
-				txt = txt.replace(/ක්කා/g, "kka");
-				txt = txt.replace(/ක්කි/g, "kkā");
-				txt = txt.replace(/ක්කී/g, "kki");
-				txt = txt.replace(/ක්කු/g, "kkī");
-				txt = txt.replace(/ක්කූ/g, "kku");
-				txt = txt.replace(/ක්කෙ/g, "kkū");
-				txt = txt.replace(/ක්කො/g, "kke");
-				txt = txt.replace(/ක්කං/g, "kko");
-				txt = txt.replace(/ක‍්ක/g, "kka");
-				txt = txt.replace(/ක්ඛා/g, "kkhā");
-				txt = txt.replace(/ක්ඛි/g, "kkhi");
-				txt = txt.replace(/ක්ඛී/g, "kkhī");
-				txt = txt.replace(/ක්ඛු/g, "kkhu");
-				txt = txt.replace(/ක්ඛූ/g, "kkhū");
-				txt = txt.replace(/ක්ඛෙ/g, "kkhe");
-				txt = txt.replace(/ක්ඛො/g, "kkho");
-				txt = txt.replace(/ක්ඛං/g, "kkhaṃ");
-				txt = txt.replace(/ක‍්ඛ/g, "kkha");
-				txt = txt.replace(/ක්‍ය/g, "kya");
-				txt = txt.replace(/ක්‍ය/g, "kya");
-				txt = txt.replace(/ක්‍ර/g, "kra");
-				txt = txt.replace(/ක්‍ර/g, "kra");
-				txt = txt.replace(/ක්වා/g, "kvā");
-				txt = txt.replace(/ක්වි/g, "kvi");
-				txt = txt.replace(/ක්වී/g, "kvī");
-				txt = txt.replace(/ක්වු/g, "kvu");
-				txt = txt.replace(/ක්වූ/g, "kvū");
-				txt = txt.replace(/ක්වෙ/g, "kve");
-				txt = txt.replace(/ක්වො/g, "kvo");
-				txt = txt.replace(/ක්වං/g, "kvaṃ");
-				txt = txt.replace(/ක්‍ව/g, "kva");
-				txt = txt.replace(/ඛ්‍ය/g, "khya");
-				txt = txt.replace(/ඛ‍්ව/g, "khva");
-				txt = txt.replace(/ග‍්ග/g, "gga");
-				txt = txt.replace(/ග‍්ඝ/g, "ggha");
-				txt = txt.replace(/කිං/g, "kiṃ");
-				txt = txt.replace(/කුං/g, "kuṃ");
-				txt = txt.replace(/ඛිං/g, "khiṃ");
-				txt = txt.replace(/ඛුං/g, "khuṃ");
-				txt = txt.replace(/ගිං/g, "giṃ");
-				txt = txt.replace(/ගුං/g, "guṃ");
-				txt = txt.replace(/ඝිං/g, "ghiṃ");
-				txt = txt.replace(/ඝුං/g, "ghuṃ");
-				txt = txt.replace(/ඞිං/g, "ṅiṃ");
-				txt = txt.replace(/ඞුං/g, "ṅuṃ");
-				txt = txt.replace(/චිං/g, "ciṃ");
-				txt = txt.replace(/චුං/g, "cuṃ");
-				txt = txt.replace(/ඡිං/g, "chiṃ");
-				txt = txt.replace(/ඡුං/g, "chuṃ");
-				txt = txt.replace(/ජිං/g, "jiṃ");
-				txt = txt.replace(/ජුං/g, "juṃ");
-				txt = txt.replace(/ඣිං/g, "jhiṃ");
-				txt = txt.replace(/ඣුං/g, "jhuṃ");
-				txt = txt.replace(/ඤිං/g, "ñiṃ");
-				txt = txt.replace(/ඤුං/g, "ñuṃ");
-				txt = txt.replace(/ටිං/g, "ṭiṃ");
-				txt = txt.replace(/ටුං/g, "ṭuṃ");
-				txt = txt.replace(/ඨිං/g, "ṭhiṃ");
-				txt = txt.replace(/ඨුං/g, "ṭhuṃ");
-				txt = txt.replace(/ඩිං/g, "ḍiṃ");
-				txt = txt.replace(/ඩුං/g, "ḍuṃ");
-				txt = txt.replace(/ඪිං/g, "ḍhiṃ");
-				txt = txt.replace(/ඪුං/g, "ḍhuṃ");
-				txt = txt.replace(/ණිං/g, "ṇiṃ");
-				txt = txt.replace(/ණුං/g, "ṇuṃ");
-				txt = txt.replace(/තිං/g, "tiṃ");
-				txt = txt.replace(/තුං/g, "tuṃ");
-				txt = txt.replace(/ථිං/g, "thiṃ");
-				txt = txt.replace(/ථුං/g, "thuṃ");
-				txt = txt.replace(/දිං/g, "diṃ");
-				txt = txt.replace(/දුං/g, "duṃ");
-				txt = txt.replace(/ධිං/g, "dhiṃ");
-				txt = txt.replace(/ධුං/g, "dhuṃ");
-				txt = txt.replace(/නිං/g, "niṃ");
-				txt = txt.replace(/නුං/g, "nuṃ");
-				txt = txt.replace(/පිං/g, "piṃ");
-				txt = txt.replace(/පුං/g, "puṃ");
-				txt = txt.replace(/ඵිං/g, "phiṃ");
-				txt = txt.replace(/ඵුං/g, "phuṃ");
-				txt = txt.replace(/බිං/g, "biṃ");
-				txt = txt.replace(/බුං/g, "buṃ");
-				txt = txt.replace(/භිං/g, "bhiṃ");
-				txt = txt.replace(/භුං/g, "bhuṃ");
-				txt = txt.replace(/මිං/g, "miṃ");
-				txt = txt.replace(/මුං/g, "muṃ");
-				txt = txt.replace(/‍යා/g, "yā");
-				txt = txt.replace(/‍යි/g, "yi");
-				txt = txt.replace(/‍යී/g, "yī");
-				txt = txt.replace(/‍යු/g, "yu");
-				txt = txt.replace(/‍යූ/g, "yū");
-				txt = txt.replace(/‍යං/g, "yaṃ");
-				txt = txt.replace(/‍රා/g, "rā");
-				txt = txt.replace(/‍රි/g, "ri");
-				txt = txt.replace(/‍රී/g, "rī");
-				txt = txt.replace(/‍රු/g, "ru");
-				txt = txt.replace(/‍රූ/g, "rū");
-				txt = txt.replace(/‍රං/g, "raṃ");
-				txt = txt.replace(/ලිං/g, "liṃ");
-				txt = txt.replace(/ලුං/g, "luṃ");
-				txt = txt.replace(/විං/g, "viṃ");
-				txt = txt.replace(/වුං/g, "vuṃ");
-				txt = txt.replace(/සිං/g, "siṃ");
-				txt = txt.replace(/සුං/g, "suṃ");
-				txt = txt.replace(/හිං/g, "hiṃ");
-				txt = txt.replace(/හුං/g, "huṃ");
-				txt = txt.replace(/ළිං/g, "ḷiṃ");
-				txt = txt.replace(/ළුං/g, "ḷuṃ");
-				txt = txt.replace(/ක්ක/g, "kk");
-				txt = txt.replace(/ක්ඛ/g, "kkha");
-				txt = txt.replace(/ක්ව/g, "kva");
-				txt = txt.replace(/ක්/g, "k");
-				txt = txt.replace(/කා/g, "kā");
-				txt = txt.replace(/කි/g, "ki");
-				txt = txt.replace(/කී/g, "kī");
-				txt = txt.replace(/කු/g, "ku");
-				txt = txt.replace(/කූ/g, "kū");
-				txt = txt.replace(/කෙ/g, "ke");
-				txt = txt.replace(/කො/g, "ko");
-				txt = txt.replace(/කං/g, "kaṃ");
-				txt = txt.replace(/ඛ්/g, "kh");
-				txt = txt.replace(/ඛා/g, "khā");
-				txt = txt.replace(/ඛි/g, "khi");
-				txt = txt.replace(/ඛී/g, "khī");
-				txt = txt.replace(/ඛු/g, "khu");
-				txt = txt.replace(/ඛූ/g, "khū");
-				txt = txt.replace(/ඛෙ/g, "khe");
-				txt = txt.replace(/ඛො/g, "kho");
-				txt = txt.replace(/ඛං/g, "khaṃ");
-				txt = txt.replace(/ග්/g, "g");
-				txt = txt.replace(/ගා/g, "gā");
-				txt = txt.replace(/ගි/g, "gi");
-				txt = txt.replace(/ගී/g, "gī");
-				txt = txt.replace(/ගු/g, "gu");
-				txt = txt.replace(/ගූ/g, "gū");
-				txt = txt.replace(/ගෙ/g, "ge");
-				txt = txt.replace(/ගො/g, "go");
-				txt = txt.replace(/ගං/g, "gaṃ");
-				txt = txt.replace(/ඝ්/g, "gh");
-				txt = txt.replace(/ඝා/g, "ghā");
-				txt = txt.replace(/ඝි/g, "ghi");
-				txt = txt.replace(/ඝී/g, "ghī");
-				txt = txt.replace(/ඝු/g, "ghu");
-				txt = txt.replace(/ඝූ/g, "ghū");
-				txt = txt.replace(/ඝෙ/g, "ghe");
-				txt = txt.replace(/ඝො/g, "gho");
-				txt = txt.replace(/ඝං/g, "ghaṃ");
-				txt = txt.replace(/ඞ්/g, "ṅ");
-				txt = txt.replace(/ඞා/g, "ṅā");
-				txt = txt.replace(/ඞි/g, "ṅi");
-				txt = txt.replace(/ඞී/g, "ṅī");
-				txt = txt.replace(/ඞු/g, "ṅu");
-				txt = txt.replace(/ඞූ/g, "ṅū");
-				txt = txt.replace(/ඞෙ/g, "ṅe");
-				txt = txt.replace(/ඞො/g, "ṅo");
-				txt = txt.replace(/ඞං/g, "ṅaṃ");
-				txt = txt.replace(/ච්/g, "c");
-				txt = txt.replace(/චා/g, "cā");
-				txt = txt.replace(/චි/g, "ci");
-				txt = txt.replace(/චී/g, "cī");
-				txt = txt.replace(/චු/g, "cu");
-				txt = txt.replace(/චූ/g, "cū");
-				txt = txt.replace(/චෙ/g, "ce");
-				txt = txt.replace(/චො/g, "co");
-				txt = txt.replace(/චං/g, "caṃ");
-				txt = txt.replace(/ඡ්/g, "ch");
-				txt = txt.replace(/ඡා/g, "chā");
-				txt = txt.replace(/ඡි/g, "chi");
-				txt = txt.replace(/ඡී/g, "chī");
-				txt = txt.replace(/ඡු/g, "chu");
-				txt = txt.replace(/ඡූ/g, "chū");
-				txt = txt.replace(/ඡෙ/g, "che");
-				txt = txt.replace(/ඡො/g, "cho");
-				txt = txt.replace(/ඡං/g, "chaṃ");
-				txt = txt.replace(/ජ්/g, "j");
-				txt = txt.replace(/ජා/g, "jā");
-				txt = txt.replace(/ජි/g, "ji");
-				txt = txt.replace(/ජී/g, "jī");
-				txt = txt.replace(/ජු/g, "ju");
-				txt = txt.replace(/ජූ/g, "jū");
-				txt = txt.replace(/ජෙ/g, "je");
-				txt = txt.replace(/ජො/g, "jo");
-				txt = txt.replace(/ජං/g, "jaṃ");
-				txt = txt.replace(/ඣ්/g, "jh");
-				txt = txt.replace(/ඣා/g, "jhā");
-				txt = txt.replace(/ඣි/g, "jhi");
-				txt = txt.replace(/ඣී/g, "jhī");
-				txt = txt.replace(/ඣු/g, "jhu");
-				txt = txt.replace(/ඣූ/g, "jhū");
-				txt = txt.replace(/ඣෙ/g, "jhe");
-				txt = txt.replace(/ඣො/g, "jho");
-				txt = txt.replace(/ඣං/g, "jhaṃ");
-				txt = txt.replace(/ඤ්/g, "ñ");
-				txt = txt.replace(/ඤා/g, "ñā");
-				txt = txt.replace(/ඤි/g, "ñi");
-				txt = txt.replace(/ඤී/g, "ñī");
-				txt = txt.replace(/ඤු/g, "ñu");
-				txt = txt.replace(/ඤූ/g, "ñū");
-				txt = txt.replace(/ඤෙ/g, "ñe");
-				txt = txt.replace(/ඤො/g, "ño");
-				txt = txt.replace(/ඤං/g, "ñaṃ");
-				txt = txt.replace(/ට්/g, "ṭ");
-				txt = txt.replace(/ටා/g, "ṭā");
-				txt = txt.replace(/ටි/g, "ṭi");
-				txt = txt.replace(/ටී/g, "ṭī");
-				txt = txt.replace(/ටු/g, "ṭu");
-				txt = txt.replace(/ටූ/g, "ṭū");
-				txt = txt.replace(/ටෙ/g, "ṭe");
-				txt = txt.replace(/ටො/g, "ṭo");
-				txt = txt.replace(/ටං/g, "ṭaṃ");
-				txt = txt.replace(/ඨ්/g, "ṭh");
-				txt = txt.replace(/ඨා/g, "ṭhā");
-				txt = txt.replace(/ඨි/g, "ṭhi");
-				txt = txt.replace(/ඨී/g, "ṭhī");
-				txt = txt.replace(/ඨු/g, "ṭhu");
-				txt = txt.replace(/ඨූ/g, "ṭhū");
-				txt = txt.replace(/ඨෙ/g, "ṭhe");
-				txt = txt.replace(/ඨො/g, "ṭho");
-				txt = txt.replace(/ඨං/g, "ṭhaṃ");
-				txt = txt.replace(/ඩ්/g, "ḍ");
-				txt = txt.replace(/ඩා/g, "ḍā");
-				txt = txt.replace(/ඩි/g, "ḍi");
-				txt = txt.replace(/ඩී/g, "ḍī");
-				txt = txt.replace(/ඩු/g, "ḍu");
-				txt = txt.replace(/ඩූ/g, "ḍū");
-				txt = txt.replace(/ඩෙ/g, "ḍe");
-				txt = txt.replace(/ඩො/g, "ḍo");
-				txt = txt.replace(/ඩං/g, "ḍaṃ");
-				txt = txt.replace(/ඪ්/g, "ḍh");
-				txt = txt.replace(/ඪා/g, "ḍhā");
-				txt = txt.replace(/ඪි/g, "ḍhi");
-				txt = txt.replace(/ඪී/g, "ḍhī");
-				txt = txt.replace(/ඪු/g, "ḍhu");
-				txt = txt.replace(/ඪූ/g, "ḍhū");
-				txt = txt.replace(/ඪෙ/g, "ḍhe");
-				txt = txt.replace(/ඪො/g, "ḍho");
-				txt = txt.replace(/ඪං/g, "ḍhaṃ");
-				txt = txt.replace(/ණ්/g, "ṇ");
-				txt = txt.replace(/ණා/g, "ṇā");
-				txt = txt.replace(/ණි/g, "ṇi");
-				txt = txt.replace(/ණී/g, "ṇī");
-				txt = txt.replace(/ණු/g, "ṇu");
-				txt = txt.replace(/ණූ/g, "ṇū");
-				txt = txt.replace(/ණෙ/g, "ṇe");
-				txt = txt.replace(/ණො/g, "ṇo");
-				txt = txt.replace(/ණං/g, "ṇaṃ");
-				txt = txt.replace(/ත්/g, "t");
-				txt = txt.replace(/තා/g, "tā");
-				txt = txt.replace(/ති/g, "ti");
-				txt = txt.replace(/තී/g, "tī");
-				txt = txt.replace(/තු/g, "tu");
-				txt = txt.replace(/තූ/g, "tū");
-				txt = txt.replace(/තෙ/g, "te");
-				txt = txt.replace(/තො/g, "to");
-				txt = txt.replace(/තං/g, "taṃ");
-				txt = txt.replace(/ථ්/g, "th");
-				txt = txt.replace(/ථා/g, "thā");
-				txt = txt.replace(/ථි/g, "thi");
-				txt = txt.replace(/ථී/g, "thī");
-				txt = txt.replace(/ථු/g, "thu");
-				txt = txt.replace(/ථූ/g, "thū");
-				txt = txt.replace(/ථෙ/g, "the");
-				txt = txt.replace(/ථො/g, "tho");
-				txt = txt.replace(/ථං/g, "thaṃ");
-				txt = txt.replace(/ද්/g, "d");
-				txt = txt.replace(/දා/g, "dā");
-				txt = txt.replace(/දි/g, "di");
-				txt = txt.replace(/දී/g, "dī");
-				txt = txt.replace(/දු/g, "du");
-				txt = txt.replace(/දූ/g, "dū");
-				txt = txt.replace(/දෙ/g, "de");
-				txt = txt.replace(/දො/g, "do");
-				txt = txt.replace(/දං/g, "daṃ");
-				txt = txt.replace(/ධ්/g, "dh");
-				txt = txt.replace(/ධා/g, "dhā");
-				txt = txt.replace(/ධි/g, "dhi");
-				txt = txt.replace(/ධී/g, "dhī");
-				txt = txt.replace(/ධු/g, "dhu");
-				txt = txt.replace(/ධූ/g, "dhū");
-				txt = txt.replace(/ධෙ/g, "dhe");
-				txt = txt.replace(/ධො/g, "dho");
-				txt = txt.replace(/ධං/g, "dhaṃ");
-				txt = txt.replace(/න්/g, "n");
-				txt = txt.replace(/නා/g, "nā");
-				txt = txt.replace(/නි/g, "ni");
-				txt = txt.replace(/නී/g, "nī");
-				txt = txt.replace(/නු/g, "nu");
-				txt = txt.replace(/නූ/g, "nū");
-				txt = txt.replace(/නෙ/g, "ne");
-				txt = txt.replace(/නො/g, "no");
-				txt = txt.replace(/නං/g, "naṃ");
-				txt = txt.replace(/ප්/g, "p");
-				txt = txt.replace(/පා/g, "pā");
-				txt = txt.replace(/පි/g, "pi");
-				txt = txt.replace(/පී/g, "pī");
-				txt = txt.replace(/පු/g, "pu");
-				txt = txt.replace(/පූ/g, "pū");
-				txt = txt.replace(/පෙ/g, "pe");
-				txt = txt.replace(/පො/g, "po");
-				txt = txt.replace(/පං/g, "paṃ");
-				txt = txt.replace(/ඵ්/g, "ph");
-				txt = txt.replace(/ඵා/g, "phā");
-				txt = txt.replace(/ඵි/g, "phi");
-				txt = txt.replace(/ඵී/g, "phī");
-				txt = txt.replace(/ඵු/g, "phu");
-				txt = txt.replace(/ඵූ/g, "phū");
-				txt = txt.replace(/ඵෙ/g, "phe");
-				txt = txt.replace(/ඵො/g, "pho");
-				txt = txt.replace(/ඵං/g, "phaṃ");
-				txt = txt.replace(/බ්/g, "b");
-				txt = txt.replace(/බා/g, "bā");
-				txt = txt.replace(/බි/g, "bi");
-				txt = txt.replace(/බී/g, "bī");
-				txt = txt.replace(/බු/g, "bu");
-				txt = txt.replace(/බූ/g, "bū");
-				txt = txt.replace(/බෙ/g, "be");
-				txt = txt.replace(/බො/g, "bo");
-				txt = txt.replace(/බං/g, "baṃ");
-				txt = txt.replace(/භ්/g, "bh");
-				txt = txt.replace(/භා/g, "bhā");
-				txt = txt.replace(/භි/g, "bhi");
-				txt = txt.replace(/භී/g, "bhī");
-				txt = txt.replace(/භු/g, "bhu");
-				txt = txt.replace(/භූ/g, "bhū");
-				txt = txt.replace(/භෙ/g, "bhe");
-				txt = txt.replace(/භො/g, "bho");
-				txt = txt.replace(/භං/g, "bhaṃ");
-				txt = txt.replace(/ම්/g, "m");
-				txt = txt.replace(/මා/g, "mā");
-				txt = txt.replace(/මි/g, "mi");
-				txt = txt.replace(/මී/g, "mī");
-				txt = txt.replace(/මු/g, "mu");
-				txt = txt.replace(/මූ/g, "mū");
-				txt = txt.replace(/මෙ/g, "me");
-				txt = txt.replace(/මො/g, "mo");
-				txt = txt.replace(/මං/g, "maṃ");
-				txt = txt.replace(/ය්/g, "y");
-				txt = txt.replace(/‍ය/g, "ya");
-				txt = txt.replace(/යෙ/g, "ye");
-				txt = txt.replace(/යො/g, "yo");
-				txt = txt.replace(/ර්/g, "r");
-				txt = txt.replace(/‍ර/g, "ra");
-				txt = txt.replace(/රෙ/g, "re");
-				txt = txt.replace(/රො/g, "ro");
-				txt = txt.replace(/ල්/g, "l");
-				txt = txt.replace(/ලා/g, "lā");
-				txt = txt.replace(/ලි/g, "li");
-				txt = txt.replace(/ලී/g, "lī");
-				txt = txt.replace(/ලු/g, "lu");
-				txt = txt.replace(/ලූ/g, "lū");
-				txt = txt.replace(/ලෙ/g, "le");
-				txt = txt.replace(/ලො/g, "lo");
-				txt = txt.replace(/ලං/g, "laṃ");
-				txt = txt.replace(/ව්/g, "v");
-				txt = txt.replace(/වා/g, "vā");
-				txt = txt.replace(/වි/g, "vi");
-				txt = txt.replace(/වී/g, "vī");
-				txt = txt.replace(/වු/g, "vu");
-				txt = txt.replace(/වූ/g, "vū");
-				txt = txt.replace(/වෙ/g, "ve");
-				txt = txt.replace(/වො/g, "vo");
-				txt = txt.replace(/වං/g, "vaṃ");
-				txt = txt.replace(/ස්/g, "s");
-				txt = txt.replace(/සා/g, "sā");
-				txt = txt.replace(/සි/g, "si");
-				txt = txt.replace(/සී/g, "sī");
-				txt = txt.replace(/සු/g, "su");
-				txt = txt.replace(/සූ/g, "sū");
-				txt = txt.replace(/සෙ/g, "se");
-				txt = txt.replace(/සො/g, "so");
-				txt = txt.replace(/සං/g, "saṃ");
-				txt = txt.replace(/හ්/g, "h");
-				txt = txt.replace(/හා/g, "hā");
-				txt = txt.replace(/හි/g, "hi");
-				txt = txt.replace(/හී/g, "hī");
-				txt = txt.replace(/හු/g, "hu");
-				txt = txt.replace(/හූ/g, "hū");
-				txt = txt.replace(/හෙ/g, "he");
-				txt = txt.replace(/හො/g, "ho");
-				txt = txt.replace(/හං/g, "haṃ");
-				txt = txt.replace(/ළ්/g, "ḷ");
-				txt = txt.replace(/ළා/g, "ḷā");
-				txt = txt.replace(/ළි/g, "ḷi");
-				txt = txt.replace(/ළී/g, "ḷī");
-				txt = txt.replace(/ළු/g, "ḷu");
-				txt = txt.replace(/ළූ/g, "ḷū");
-				txt = txt.replace(/ළෙ/g, "ḷe");
-				txt = txt.replace(/ළො/g, "ḷo");
-				txt = txt.replace(/ළං/g, "ḷaṃ");
-				txt = txt.replace(/අ/g, "a");
-				txt = txt.replace(/ආ/g, "ā");
-				txt = txt.replace(/ඉ/g, "i");
-				txt = txt.replace(/ඊ/g, "ī");
-				txt = txt.replace(/උ/g, "u");
-				txt = txt.replace(/ඌ/g, "ū");
-				txt = txt.replace(/එ/g, "e");
-				txt = txt.replace(/ඔ/g, "o");
-				txt = txt.replace(/ක/g, "ka");
-				txt = txt.replace(/ඛ/g, "kha");
-				txt = txt.replace(/ග/g, "ga");
-				txt = txt.replace(/ඝ/g, "gha");
-				txt = txt.replace(/ඞ/g, "ṅa");
-				txt = txt.replace(/ච/g, "ca");
-				txt = txt.replace(/ඡ/g, "cha");
-				txt = txt.replace(/ජ/g, "ja");
-				txt = txt.replace(/ඣ/g, "jha");
-				txt = txt.replace(/ඤ/g, "ña");
-				txt = txt.replace(/ට/g, "ṭa");
-				txt = txt.replace(/ඨ/g, "ṭha");
-				txt = txt.replace(/ඩ/g, "ḍa");
-				txt = txt.replace(/ඪ/g, "ḍha");
-				txt = txt.replace(/ණ/g, "ṇa");
-				txt = txt.replace(/ත/g, "ta");
-				txt = txt.replace(/ථ/g, "tha");
-				txt = txt.replace(/ද/g, "da");
-				txt = txt.replace(/ධ/g, "dha");
-				txt = txt.replace(/න/g, "na");
-				txt = txt.replace(/ප/g, "pa");
-				txt = txt.replace(/ඵ/g, "pha");
-				txt = txt.replace(/බ/g, "ba");
-				txt = txt.replace(/භ/g, "bha");
-				txt = txt.replace(/ම/g, "ma");
-				txt = txt.replace(/ල/g, "la");
-				txt = txt.replace(/ව/g, "va");
-				txt = txt.replace(/ස/g, "sa");
-				txt = txt.replace(/හ/g, "ha");
-				txt = txt.replace(/ළ/g, "ḷa");
 
-				//replace end
+			function s2u() {
+				mstr = document.getElementById("m_str").value;
+				mlower = mstr.split(",")[0];
+				mupper = mstr.split(",")[1];
+				txt = document.getElementById("txtInput").value;
+				document.getElementById("txtOutput").value = sangayana2unicode(txt, mlower, mupper);
 			}
-			catch (err) {
-				//error
-				alert(err.message);
-			}
-			document.getElementById("txtOutput").value = txt;
-		}
-	</script>
-	<style>
-		.bg0 {
-			background-color: #FF9;
-		}
-
-		.bg1 {
-			background-color: #AAA;
-		}
-	</style>
-</head>
 
-<body class="mainbody" id="mbody">
-	<!-- tool bar begin-->
+			function sinhala_old() {
+				txt = document.getElementById("txtInput").value;
+				output = "";
+				for (i = 0; i < char_si_a.length; i++) {
+					var src = char_si_a[i].id;
+					var dest = char_si_a[i].value;
+					var strReplace = "txt = txt.replace(/" + src + "/g, dest);";
+					eval("txt = txt.replace(/" + src + "/g, dest);");
+				}
+				txt = txt.replace(/ර/g, "ra");
+				txt = txt.replace(/ය/g, "ya");
+				document.getElementById("txtOutput").value = txt;
+			}
 
-	<div class='toolbar'>
+			function sinhala() {
+				var txt = document.getElementById("txtInput").value;
+				output = "";
+				try {
+					//replace begin
+					txt = txt.replace(/ක‍්ක්‍ර/g, "kkra");
+					txt = txt.replace(/ක‍්ක්‍ය/g, "kkya");
+					txt = txt.replace(/ක‍්ඛ්‍ර/g, "kkhra");
+					txt = txt.replace(/ක‍්ඛ්‍ය/g, "kkhya");
+					txt = txt.replace(/ක්‍ව්‍ර/g, "kvra");
+					txt = txt.replace(/ක්‍ව්‍ය/g, "kvya");
+					txt = txt.replace(/ඛ්‍ය්‍ර/g, "khyra");
+					txt = txt.replace(/ඛ්‍ය්‍ය/g, "khyya");
+					txt = txt.replace(/ඛ‍්ව්‍ර/g, "khvra");
+					txt = txt.replace(/ඛ‍්ව්‍ය/g, "khvya");
+					txt = txt.replace(/ග‍්ග්‍ර/g, "ggra");
+					txt = txt.replace(/ග‍්ග්‍ය/g, "ggya");
+					txt = txt.replace(/ග‍්ඝ්‍ර/g, "gghra");
+					txt = txt.replace(/ග‍්ඝ්‍ය/g, "gghya");
+					txt = txt.replace(/ක්ක්‍ර/g, "kkuṃ");
+					txt = txt.replace(/ක්ක්‍ය/g, "kkra");
+					txt = txt.replace(/ක‍්කිං/g, "kkiṃ");
+					txt = txt.replace(/ක‍්කුං/g, "kkuṃ");
+					txt = txt.replace(/ක්ඛ්‍ර/g, "kkhra");
+					txt = txt.replace(/ක්ඛ්‍ය/g, "kkhya");
+					txt = txt.replace(/ක‍්ඛිං/g, "kkhiṃ");
+					txt = txt.replace(/ක‍්ඛුං/g, "kkhuṃ");
+					txt = txt.replace(/ක්‍යිං/g, "kyiṃ");
+					txt = txt.replace(/ක්‍යුං/g, "kyuṃ");
+					txt = txt.replace(/ක්‍යිං/g, "kyiṃ");
+					txt = txt.replace(/ක්‍යුං/g, "kyuṃ");
+					txt = txt.replace(/ක්‍රිං/g, "kriṃ");
+					txt = txt.replace(/ක්‍රුං/g, "kruṃ");
+					txt = txt.replace(/ක්‍රිං/g, "kriṃ");
+					txt = txt.replace(/ක්‍රුං/g, "kruṃ");
+					txt = txt.replace(/ක්ව්‍ර/g, "kvra");
+					txt = txt.replace(/ක්ව්‍ය/g, "kvya");
+					txt = txt.replace(/ක්‍විං/g, "kviṃ");
+					txt = txt.replace(/ක්‍වුං/g, "kvuṃ");
+					txt = txt.replace(/ඛ්‍යිං/g, "khyiṃ");
+					txt = txt.replace(/ඛ්‍යුං/g, "khyuṃ");
+					txt = txt.replace(/ඛ‍්විං/g, "khviṃ");
+					txt = txt.replace(/ඛ‍්වුං/g, "khvuṃ");
+					txt = txt.replace(/ග‍්ගිං/g, "ggiṃ");
+					txt = txt.replace(/ග‍්ගුං/g, "gguṃ");
+					txt = txt.replace(/ග‍්ඝිං/g, "gghiṃ");
+					txt = txt.replace(/ග‍්ඝුං/g, "gghuṃ");
+					txt = txt.replace(/‍ය්‍ය/g, "yya");
+					txt = txt.replace(/ක්කිං/g, "kkaṃ");
+					txt = txt.replace(/ක්කුං/g, "kkiṃ");
+					txt = txt.replace(/ක‍්කා/g, "kkā");
+					txt = txt.replace(/ක‍්කි/g, "kki");
+					txt = txt.replace(/ක‍්කී/g, "kkī");
+					txt = txt.replace(/ක‍්කු/g, "kku");
+					txt = txt.replace(/ක‍්කූ/g, "kkū");
+					txt = txt.replace(/ක‍්කෙ/g, "kke");
+					txt = txt.replace(/ක‍්කො/g, "kko");
+					txt = txt.replace(/ක‍්කං/g, "kkaṃ");
+					txt = txt.replace(/ක්ඛිං/g, "kkhiṃ");
+					txt = txt.replace(/ක්ඛුං/g, "kkhuṃ");
+					txt = txt.replace(/ක‍්ඛා/g, "kkhā");
+					txt = txt.replace(/ක‍්ඛි/g, "kkhi");
+					txt = txt.replace(/ක‍්ඛී/g, "kkhī");
+					txt = txt.replace(/ක‍්ඛු/g, "kkhu");
+					txt = txt.replace(/ක‍්ඛූ/g, "kkhū");
+					txt = txt.replace(/ක‍්ඛෙ/g, "kkhe");
+					txt = txt.replace(/ක‍්ඛො/g, "kkho");
+					txt = txt.replace(/ක‍්ඛං/g, "kkhaṃ");
+					txt = txt.replace(/ක්‍යා/g, "kyā");
+					txt = txt.replace(/ක්‍යි/g, "kyi");
+					txt = txt.replace(/ක්‍යී/g, "kyī");
+					txt = txt.replace(/ක්‍යු/g, "kyu");
+					txt = txt.replace(/ක්‍යූ/g, "kyū");
+					txt = txt.replace(/ක්‍යෙ/g, "kye");
+					txt = txt.replace(/ක්‍යො/g, "kyo");
+					txt = txt.replace(/ක්‍යං/g, "kyaṃ");
+					txt = txt.replace(/ක්‍යා/g, "kyā");
+					txt = txt.replace(/ක්‍යි/g, "kyi");
+					txt = txt.replace(/ක්‍යී/g, "kyī");
+					txt = txt.replace(/ක්‍යු/g, "kyu");
+					txt = txt.replace(/ක්‍යූ/g, "kyū");
+					txt = txt.replace(/ක්‍යෙ/g, "kye");
+					txt = txt.replace(/ක්‍යො/g, "kyo");
+					txt = txt.replace(/ක්‍යං/g, "kyaṃ");
+					txt = txt.replace(/ක්‍රා/g, "krā");
+					txt = txt.replace(/ක්‍රි/g, "kri");
+					txt = txt.replace(/ක්‍රී/g, "krī");
+					txt = txt.replace(/ක්‍රු/g, "kru");
+					txt = txt.replace(/ක්‍රූ/g, "krū");
+					txt = txt.replace(/ක්‍රෙ/g, "kre");
+					txt = txt.replace(/ක්‍රො/g, "kro");
+					txt = txt.replace(/ක්‍රං/g, "kraṃ");
+					txt = txt.replace(/ක්‍රා/g, "krā");
+					txt = txt.replace(/ක්‍රි/g, "kri");
+					txt = txt.replace(/ක්‍රී/g, "krī");
+					txt = txt.replace(/ක්‍රු/g, "kru");
+					txt = txt.replace(/ක්‍රූ/g, "krū");
+					txt = txt.replace(/ක්‍රෙ/g, "kre");
+					txt = txt.replace(/ක්‍රො/g, "kro");
+					txt = txt.replace(/ක්‍රං/g, "kraṃ");
+					txt = txt.replace(/ක්විං/g, "kviṃ");
+					txt = txt.replace(/ක්වුං/g, "kvuṃ");
+					txt = txt.replace(/ක්‍වා/g, "kvā");
+					txt = txt.replace(/ක්‍වි/g, "kvi");
+					txt = txt.replace(/ක්‍වී/g, "kvī");
+					txt = txt.replace(/ක්‍වු/g, "kvu");
+					txt = txt.replace(/ක්‍වූ/g, "kvū");
+					txt = txt.replace(/ක්‍වෙ/g, "kve");
+					txt = txt.replace(/ක්‍වො/g, "kvo");
+					txt = txt.replace(/ක්‍වං/g, "kvaṃ");
+					txt = txt.replace(/ඛ්‍යා/g, "khyā");
+					txt = txt.replace(/ඛ්‍යි/g, "khyi");
+					txt = txt.replace(/ඛ්‍යී/g, "khyī");
+					txt = txt.replace(/ඛ්‍යු/g, "khyu");
+					txt = txt.replace(/ඛ්‍යූ/g, "khyū");
+					txt = txt.replace(/ඛ්‍යෙ/g, "khye");
+					txt = txt.replace(/ඛ්‍යො/g, "khyo");
+					txt = txt.replace(/ඛ්‍යං/g, "khyaṃ");
+					txt = txt.replace(/ඛ‍්වා/g, "khvā");
+					txt = txt.replace(/ඛ‍්වි/g, "khvi");
+					txt = txt.replace(/ඛ‍්වී/g, "khvī");
+					txt = txt.replace(/ඛ‍්වු/g, "khvu");
+					txt = txt.replace(/ඛ‍්වූ/g, "khvū");
+					txt = txt.replace(/ඛ‍්වෙ/g, "khve");
+					txt = txt.replace(/ඛ‍්වො/g, "khvo");
+					txt = txt.replace(/ඛ‍්වං/g, "khvaṃ");
+					txt = txt.replace(/ග‍්ගා/g, "ggā");
+					txt = txt.replace(/ග‍්ගි/g, "ggi");
+					txt = txt.replace(/ග‍්ගී/g, "ggī");
+					txt = txt.replace(/ග‍්ගු/g, "ggu");
+					txt = txt.replace(/ග‍්ගූ/g, "ggū");
+					txt = txt.replace(/ග‍්ගෙ/g, "gge");
+					txt = txt.replace(/ග‍්ගො/g, "ggo");
+					txt = txt.replace(/ග‍්ගං/g, "ggaṃ");
+					txt = txt.replace(/ග‍්ඝා/g, "gghā");
+					txt = txt.replace(/ග‍්ඝි/g, "gghi");
+					txt = txt.replace(/ග‍්ඝී/g, "gghī");
+					txt = txt.replace(/ග‍්ඝු/g, "gghu");
+					txt = txt.replace(/ග‍්ඝූ/g, "gghū");
+					txt = txt.replace(/ග‍්ඝෙ/g, "gghe");
+					txt = txt.replace(/ග‍්ඝො/g, "ggho");
+					txt = txt.replace(/ග‍්ඝං/g, "gghaṃ");
+					txt = txt.replace(/ක්‍ර/g, "kra");
+					txt = txt.replace(/ක්‍ය/g, "kya");
+					txt = txt.replace(/ඛ්‍ර/g, "khra");
+					txt = txt.replace(/ඛ්‍ය/g, "khya");
+					txt = txt.replace(/ග්‍ර/g, "gra");
+					txt = txt.replace(/ග්‍ය/g, "gya");
+					txt = txt.replace(/ඝ්‍ර/g, "ghra");
+					txt = txt.replace(/ඝ්‍ය/g, "ghya");
+					txt = txt.replace(/ඞ්‍ර/g, "ṅra");
+					txt = txt.replace(/ඞ්‍ය/g, "ṅya");
+					txt = txt.replace(/ච්‍ර/g, "cra");
+					txt = txt.replace(/ච්‍ය/g, "cya");
+					txt = txt.replace(/ඡ්‍ර/g, "chra");
+					txt = txt.replace(/ඡ්‍ය/g, "chya");
+					txt = txt.replace(/ජ්‍ර/g, "jra");
+					txt = txt.replace(/ජ්‍ය/g, "jya");
+					txt = txt.replace(/ඣ්‍ර/g, "jhra");
+					txt = txt.replace(/ඣ්‍ය/g, "jhya");
+					txt = txt.replace(/ඤ්‍ර/g, "ñra");
+					txt = txt.replace(/ඤ්‍ය/g, "ñya");
+					txt = txt.replace(/ට්‍ර/g, "ṭra");
+					txt = txt.replace(/ට්‍ය/g, "ṭya");
+					txt = txt.replace(/ඨ්‍ර/g, "ṭhra");
+					txt = txt.replace(/ඨ්‍ය/g, "ṭhya");
+					txt = txt.replace(/ඩ්‍ර/g, "ḍra");
+					txt = txt.replace(/ඩ්‍ය/g, "ḍya");
+					txt = txt.replace(/ඪ්‍ර/g, "ḍhra");
+					txt = txt.replace(/ඪ්‍ය/g, "ḍhya");
+					txt = txt.replace(/ණ්‍ර/g, "ṇra");
+					txt = txt.replace(/ණ්‍ය/g, "ṇya");
+					txt = txt.replace(/ත්‍ර/g, "tra");
+					txt = txt.replace(/ත්‍ය/g, "tya");
+					txt = txt.replace(/ථ්‍ර/g, "thra");
+					txt = txt.replace(/ථ්‍ය/g, "thya");
+					txt = txt.replace(/ද්‍ර/g, "dra");
+					txt = txt.replace(/ද්‍ය/g, "dya");
+					txt = txt.replace(/ධ්‍ර/g, "dhra");
+					txt = txt.replace(/ධ්‍ය/g, "dhya");
+					txt = txt.replace(/න්‍ර/g, "nra");
+					txt = txt.replace(/න්‍ය/g, "nya");
+					txt = txt.replace(/ප්‍ර/g, "pra");
+					txt = txt.replace(/ප්‍ය/g, "pya");
+					txt = txt.replace(/ඵ්‍ර/g, "phra");
+					txt = txt.replace(/ඵ්‍ය/g, "phya");
+					txt = txt.replace(/බ්‍ර/g, "bra");
+					txt = txt.replace(/බ්‍ය/g, "bya");
+					txt = txt.replace(/භ්‍ර/g, "bhra");
+					txt = txt.replace(/භ්‍ය/g, "bhya");
+					txt = txt.replace(/ම්‍ර/g, "mra");
+					txt = txt.replace(/ම්‍ය/g, "mya");
+					txt = txt.replace(/‍යිං/g, "yiṃ");
+					txt = txt.replace(/‍යුං/g, "yuṃ");
+					txt = txt.replace(/‍රිං/g, "riṃ");
+					txt = txt.replace(/‍රුං/g, "ruṃ");
+					txt = txt.replace(/ල්‍ය/g, "lya");
+					txt = txt.replace(/ව්‍ර/g, "vra");
+					txt = txt.replace(/ව්‍ය/g, "vya");
+					txt = txt.replace(/ස්‍ර/g, "sra");
+					txt = txt.replace(/ස්‍ය/g, "sya");
+					txt = txt.replace(/හ්‍ර/g, "hra");
+					txt = txt.replace(/හ්‍ය/g, "hya");
+					txt = txt.replace(/ළ්‍ය/g, "ḷya");
+					txt = txt.replace(/ක්කා/g, "kka");
+					txt = txt.replace(/ක්කි/g, "kkā");
+					txt = txt.replace(/ක්කී/g, "kki");
+					txt = txt.replace(/ක්කු/g, "kkī");
+					txt = txt.replace(/ක්කූ/g, "kku");
+					txt = txt.replace(/ක්කෙ/g, "kkū");
+					txt = txt.replace(/ක්කො/g, "kke");
+					txt = txt.replace(/ක්කං/g, "kko");
+					txt = txt.replace(/ක‍්ක/g, "kka");
+					txt = txt.replace(/ක්ඛා/g, "kkhā");
+					txt = txt.replace(/ක්ඛි/g, "kkhi");
+					txt = txt.replace(/ක්ඛී/g, "kkhī");
+					txt = txt.replace(/ක්ඛු/g, "kkhu");
+					txt = txt.replace(/ක්ඛූ/g, "kkhū");
+					txt = txt.replace(/ක්ඛෙ/g, "kkhe");
+					txt = txt.replace(/ක්ඛො/g, "kkho");
+					txt = txt.replace(/ක්ඛං/g, "kkhaṃ");
+					txt = txt.replace(/ක‍්ඛ/g, "kkha");
+					txt = txt.replace(/ක්‍ය/g, "kya");
+					txt = txt.replace(/ක්‍ය/g, "kya");
+					txt = txt.replace(/ක්‍ර/g, "kra");
+					txt = txt.replace(/ක්‍ර/g, "kra");
+					txt = txt.replace(/ක්වා/g, "kvā");
+					txt = txt.replace(/ක්වි/g, "kvi");
+					txt = txt.replace(/ක්වී/g, "kvī");
+					txt = txt.replace(/ක්වු/g, "kvu");
+					txt = txt.replace(/ක්වූ/g, "kvū");
+					txt = txt.replace(/ක්වෙ/g, "kve");
+					txt = txt.replace(/ක්වො/g, "kvo");
+					txt = txt.replace(/ක්වං/g, "kvaṃ");
+					txt = txt.replace(/ක්‍ව/g, "kva");
+					txt = txt.replace(/ඛ්‍ය/g, "khya");
+					txt = txt.replace(/ඛ‍්ව/g, "khva");
+					txt = txt.replace(/ග‍්ග/g, "gga");
+					txt = txt.replace(/ග‍්ඝ/g, "ggha");
+					txt = txt.replace(/කිං/g, "kiṃ");
+					txt = txt.replace(/කුං/g, "kuṃ");
+					txt = txt.replace(/ඛිං/g, "khiṃ");
+					txt = txt.replace(/ඛුං/g, "khuṃ");
+					txt = txt.replace(/ගිං/g, "giṃ");
+					txt = txt.replace(/ගුං/g, "guṃ");
+					txt = txt.replace(/ඝිං/g, "ghiṃ");
+					txt = txt.replace(/ඝුං/g, "ghuṃ");
+					txt = txt.replace(/ඞිං/g, "ṅiṃ");
+					txt = txt.replace(/ඞුං/g, "ṅuṃ");
+					txt = txt.replace(/චිං/g, "ciṃ");
+					txt = txt.replace(/චුං/g, "cuṃ");
+					txt = txt.replace(/ඡිං/g, "chiṃ");
+					txt = txt.replace(/ඡුං/g, "chuṃ");
+					txt = txt.replace(/ජිං/g, "jiṃ");
+					txt = txt.replace(/ජුං/g, "juṃ");
+					txt = txt.replace(/ඣිං/g, "jhiṃ");
+					txt = txt.replace(/ඣුං/g, "jhuṃ");
+					txt = txt.replace(/ඤිං/g, "ñiṃ");
+					txt = txt.replace(/ඤුං/g, "ñuṃ");
+					txt = txt.replace(/ටිං/g, "ṭiṃ");
+					txt = txt.replace(/ටුං/g, "ṭuṃ");
+					txt = txt.replace(/ඨිං/g, "ṭhiṃ");
+					txt = txt.replace(/ඨුං/g, "ṭhuṃ");
+					txt = txt.replace(/ඩිං/g, "ḍiṃ");
+					txt = txt.replace(/ඩුං/g, "ḍuṃ");
+					txt = txt.replace(/ඪිං/g, "ḍhiṃ");
+					txt = txt.replace(/ඪුං/g, "ḍhuṃ");
+					txt = txt.replace(/ණිං/g, "ṇiṃ");
+					txt = txt.replace(/ණුං/g, "ṇuṃ");
+					txt = txt.replace(/තිං/g, "tiṃ");
+					txt = txt.replace(/තුං/g, "tuṃ");
+					txt = txt.replace(/ථිං/g, "thiṃ");
+					txt = txt.replace(/ථුං/g, "thuṃ");
+					txt = txt.replace(/දිං/g, "diṃ");
+					txt = txt.replace(/දුං/g, "duṃ");
+					txt = txt.replace(/ධිං/g, "dhiṃ");
+					txt = txt.replace(/ධුං/g, "dhuṃ");
+					txt = txt.replace(/නිං/g, "niṃ");
+					txt = txt.replace(/නුං/g, "nuṃ");
+					txt = txt.replace(/පිං/g, "piṃ");
+					txt = txt.replace(/පුං/g, "puṃ");
+					txt = txt.replace(/ඵිං/g, "phiṃ");
+					txt = txt.replace(/ඵුං/g, "phuṃ");
+					txt = txt.replace(/බිං/g, "biṃ");
+					txt = txt.replace(/බුං/g, "buṃ");
+					txt = txt.replace(/භිං/g, "bhiṃ");
+					txt = txt.replace(/භුං/g, "bhuṃ");
+					txt = txt.replace(/මිං/g, "miṃ");
+					txt = txt.replace(/මුං/g, "muṃ");
+					txt = txt.replace(/‍යා/g, "yā");
+					txt = txt.replace(/‍යි/g, "yi");
+					txt = txt.replace(/‍යී/g, "yī");
+					txt = txt.replace(/‍යු/g, "yu");
+					txt = txt.replace(/‍යූ/g, "yū");
+					txt = txt.replace(/‍යං/g, "yaṃ");
+					txt = txt.replace(/‍රා/g, "rā");
+					txt = txt.replace(/‍රි/g, "ri");
+					txt = txt.replace(/‍රී/g, "rī");
+					txt = txt.replace(/‍රු/g, "ru");
+					txt = txt.replace(/‍රූ/g, "rū");
+					txt = txt.replace(/‍රං/g, "raṃ");
+					txt = txt.replace(/ලිං/g, "liṃ");
+					txt = txt.replace(/ලුං/g, "luṃ");
+					txt = txt.replace(/විං/g, "viṃ");
+					txt = txt.replace(/වුං/g, "vuṃ");
+					txt = txt.replace(/සිං/g, "siṃ");
+					txt = txt.replace(/සුං/g, "suṃ");
+					txt = txt.replace(/හිං/g, "hiṃ");
+					txt = txt.replace(/හුං/g, "huṃ");
+					txt = txt.replace(/ළිං/g, "ḷiṃ");
+					txt = txt.replace(/ළුං/g, "ḷuṃ");
+					txt = txt.replace(/ක්ක/g, "kk");
+					txt = txt.replace(/ක්ඛ/g, "kkha");
+					txt = txt.replace(/ක්ව/g, "kva");
+					txt = txt.replace(/ක්/g, "k");
+					txt = txt.replace(/කා/g, "kā");
+					txt = txt.replace(/කි/g, "ki");
+					txt = txt.replace(/කී/g, "kī");
+					txt = txt.replace(/කු/g, "ku");
+					txt = txt.replace(/කූ/g, "kū");
+					txt = txt.replace(/කෙ/g, "ke");
+					txt = txt.replace(/කො/g, "ko");
+					txt = txt.replace(/කං/g, "kaṃ");
+					txt = txt.replace(/ඛ්/g, "kh");
+					txt = txt.replace(/ඛා/g, "khā");
+					txt = txt.replace(/ඛි/g, "khi");
+					txt = txt.replace(/ඛී/g, "khī");
+					txt = txt.replace(/ඛු/g, "khu");
+					txt = txt.replace(/ඛූ/g, "khū");
+					txt = txt.replace(/ඛෙ/g, "khe");
+					txt = txt.replace(/ඛො/g, "kho");
+					txt = txt.replace(/ඛං/g, "khaṃ");
+					txt = txt.replace(/ග්/g, "g");
+					txt = txt.replace(/ගා/g, "gā");
+					txt = txt.replace(/ගි/g, "gi");
+					txt = txt.replace(/ගී/g, "gī");
+					txt = txt.replace(/ගු/g, "gu");
+					txt = txt.replace(/ගූ/g, "gū");
+					txt = txt.replace(/ගෙ/g, "ge");
+					txt = txt.replace(/ගො/g, "go");
+					txt = txt.replace(/ගං/g, "gaṃ");
+					txt = txt.replace(/ඝ්/g, "gh");
+					txt = txt.replace(/ඝා/g, "ghā");
+					txt = txt.replace(/ඝි/g, "ghi");
+					txt = txt.replace(/ඝී/g, "ghī");
+					txt = txt.replace(/ඝු/g, "ghu");
+					txt = txt.replace(/ඝූ/g, "ghū");
+					txt = txt.replace(/ඝෙ/g, "ghe");
+					txt = txt.replace(/ඝො/g, "gho");
+					txt = txt.replace(/ඝං/g, "ghaṃ");
+					txt = txt.replace(/ඞ්/g, "ṅ");
+					txt = txt.replace(/ඞා/g, "ṅā");
+					txt = txt.replace(/ඞි/g, "ṅi");
+					txt = txt.replace(/ඞී/g, "ṅī");
+					txt = txt.replace(/ඞු/g, "ṅu");
+					txt = txt.replace(/ඞූ/g, "ṅū");
+					txt = txt.replace(/ඞෙ/g, "ṅe");
+					txt = txt.replace(/ඞො/g, "ṅo");
+					txt = txt.replace(/ඞං/g, "ṅaṃ");
+					txt = txt.replace(/ච්/g, "c");
+					txt = txt.replace(/චා/g, "cā");
+					txt = txt.replace(/චි/g, "ci");
+					txt = txt.replace(/චී/g, "cī");
+					txt = txt.replace(/චු/g, "cu");
+					txt = txt.replace(/චූ/g, "cū");
+					txt = txt.replace(/චෙ/g, "ce");
+					txt = txt.replace(/චො/g, "co");
+					txt = txt.replace(/චං/g, "caṃ");
+					txt = txt.replace(/ඡ්/g, "ch");
+					txt = txt.replace(/ඡා/g, "chā");
+					txt = txt.replace(/ඡි/g, "chi");
+					txt = txt.replace(/ඡී/g, "chī");
+					txt = txt.replace(/ඡු/g, "chu");
+					txt = txt.replace(/ඡූ/g, "chū");
+					txt = txt.replace(/ඡෙ/g, "che");
+					txt = txt.replace(/ඡො/g, "cho");
+					txt = txt.replace(/ඡං/g, "chaṃ");
+					txt = txt.replace(/ජ්/g, "j");
+					txt = txt.replace(/ජා/g, "jā");
+					txt = txt.replace(/ජි/g, "ji");
+					txt = txt.replace(/ජී/g, "jī");
+					txt = txt.replace(/ජු/g, "ju");
+					txt = txt.replace(/ජූ/g, "jū");
+					txt = txt.replace(/ජෙ/g, "je");
+					txt = txt.replace(/ජො/g, "jo");
+					txt = txt.replace(/ජං/g, "jaṃ");
+					txt = txt.replace(/ඣ්/g, "jh");
+					txt = txt.replace(/ඣා/g, "jhā");
+					txt = txt.replace(/ඣි/g, "jhi");
+					txt = txt.replace(/ඣී/g, "jhī");
+					txt = txt.replace(/ඣු/g, "jhu");
+					txt = txt.replace(/ඣූ/g, "jhū");
+					txt = txt.replace(/ඣෙ/g, "jhe");
+					txt = txt.replace(/ඣො/g, "jho");
+					txt = txt.replace(/ඣං/g, "jhaṃ");
+					txt = txt.replace(/ඤ්/g, "ñ");
+					txt = txt.replace(/ඤා/g, "ñā");
+					txt = txt.replace(/ඤි/g, "ñi");
+					txt = txt.replace(/ඤී/g, "ñī");
+					txt = txt.replace(/ඤු/g, "ñu");
+					txt = txt.replace(/ඤූ/g, "ñū");
+					txt = txt.replace(/ඤෙ/g, "ñe");
+					txt = txt.replace(/ඤො/g, "ño");
+					txt = txt.replace(/ඤං/g, "ñaṃ");
+					txt = txt.replace(/ට්/g, "ṭ");
+					txt = txt.replace(/ටා/g, "ṭā");
+					txt = txt.replace(/ටි/g, "ṭi");
+					txt = txt.replace(/ටී/g, "ṭī");
+					txt = txt.replace(/ටු/g, "ṭu");
+					txt = txt.replace(/ටූ/g, "ṭū");
+					txt = txt.replace(/ටෙ/g, "ṭe");
+					txt = txt.replace(/ටො/g, "ṭo");
+					txt = txt.replace(/ටං/g, "ṭaṃ");
+					txt = txt.replace(/ඨ්/g, "ṭh");
+					txt = txt.replace(/ඨා/g, "ṭhā");
+					txt = txt.replace(/ඨි/g, "ṭhi");
+					txt = txt.replace(/ඨී/g, "ṭhī");
+					txt = txt.replace(/ඨු/g, "ṭhu");
+					txt = txt.replace(/ඨූ/g, "ṭhū");
+					txt = txt.replace(/ඨෙ/g, "ṭhe");
+					txt = txt.replace(/ඨො/g, "ṭho");
+					txt = txt.replace(/ඨං/g, "ṭhaṃ");
+					txt = txt.replace(/ඩ්/g, "ḍ");
+					txt = txt.replace(/ඩා/g, "ḍā");
+					txt = txt.replace(/ඩි/g, "ḍi");
+					txt = txt.replace(/ඩී/g, "ḍī");
+					txt = txt.replace(/ඩු/g, "ḍu");
+					txt = txt.replace(/ඩූ/g, "ḍū");
+					txt = txt.replace(/ඩෙ/g, "ḍe");
+					txt = txt.replace(/ඩො/g, "ḍo");
+					txt = txt.replace(/ඩං/g, "ḍaṃ");
+					txt = txt.replace(/ඪ්/g, "ḍh");
+					txt = txt.replace(/ඪා/g, "ḍhā");
+					txt = txt.replace(/ඪි/g, "ḍhi");
+					txt = txt.replace(/ඪී/g, "ḍhī");
+					txt = txt.replace(/ඪු/g, "ḍhu");
+					txt = txt.replace(/ඪූ/g, "ḍhū");
+					txt = txt.replace(/ඪෙ/g, "ḍhe");
+					txt = txt.replace(/ඪො/g, "ḍho");
+					txt = txt.replace(/ඪං/g, "ḍhaṃ");
+					txt = txt.replace(/ණ්/g, "ṇ");
+					txt = txt.replace(/ණා/g, "ṇā");
+					txt = txt.replace(/ණි/g, "ṇi");
+					txt = txt.replace(/ණී/g, "ṇī");
+					txt = txt.replace(/ණු/g, "ṇu");
+					txt = txt.replace(/ණූ/g, "ṇū");
+					txt = txt.replace(/ණෙ/g, "ṇe");
+					txt = txt.replace(/ණො/g, "ṇo");
+					txt = txt.replace(/ණං/g, "ṇaṃ");
+					txt = txt.replace(/ත්/g, "t");
+					txt = txt.replace(/තා/g, "tā");
+					txt = txt.replace(/ති/g, "ti");
+					txt = txt.replace(/තී/g, "tī");
+					txt = txt.replace(/තු/g, "tu");
+					txt = txt.replace(/තූ/g, "tū");
+					txt = txt.replace(/තෙ/g, "te");
+					txt = txt.replace(/තො/g, "to");
+					txt = txt.replace(/තං/g, "taṃ");
+					txt = txt.replace(/ථ්/g, "th");
+					txt = txt.replace(/ථා/g, "thā");
+					txt = txt.replace(/ථි/g, "thi");
+					txt = txt.replace(/ථී/g, "thī");
+					txt = txt.replace(/ථු/g, "thu");
+					txt = txt.replace(/ථූ/g, "thū");
+					txt = txt.replace(/ථෙ/g, "the");
+					txt = txt.replace(/ථො/g, "tho");
+					txt = txt.replace(/ථං/g, "thaṃ");
+					txt = txt.replace(/ද්/g, "d");
+					txt = txt.replace(/දා/g, "dā");
+					txt = txt.replace(/දි/g, "di");
+					txt = txt.replace(/දී/g, "dī");
+					txt = txt.replace(/දු/g, "du");
+					txt = txt.replace(/දූ/g, "dū");
+					txt = txt.replace(/දෙ/g, "de");
+					txt = txt.replace(/දො/g, "do");
+					txt = txt.replace(/දං/g, "daṃ");
+					txt = txt.replace(/ධ්/g, "dh");
+					txt = txt.replace(/ධා/g, "dhā");
+					txt = txt.replace(/ධි/g, "dhi");
+					txt = txt.replace(/ධී/g, "dhī");
+					txt = txt.replace(/ධු/g, "dhu");
+					txt = txt.replace(/ධූ/g, "dhū");
+					txt = txt.replace(/ධෙ/g, "dhe");
+					txt = txt.replace(/ධො/g, "dho");
+					txt = txt.replace(/ධං/g, "dhaṃ");
+					txt = txt.replace(/න්/g, "n");
+					txt = txt.replace(/නා/g, "nā");
+					txt = txt.replace(/නි/g, "ni");
+					txt = txt.replace(/නී/g, "nī");
+					txt = txt.replace(/නු/g, "nu");
+					txt = txt.replace(/නූ/g, "nū");
+					txt = txt.replace(/නෙ/g, "ne");
+					txt = txt.replace(/නො/g, "no");
+					txt = txt.replace(/නං/g, "naṃ");
+					txt = txt.replace(/ප්/g, "p");
+					txt = txt.replace(/පා/g, "pā");
+					txt = txt.replace(/පි/g, "pi");
+					txt = txt.replace(/පී/g, "pī");
+					txt = txt.replace(/පු/g, "pu");
+					txt = txt.replace(/පූ/g, "pū");
+					txt = txt.replace(/පෙ/g, "pe");
+					txt = txt.replace(/පො/g, "po");
+					txt = txt.replace(/පං/g, "paṃ");
+					txt = txt.replace(/ඵ්/g, "ph");
+					txt = txt.replace(/ඵා/g, "phā");
+					txt = txt.replace(/ඵි/g, "phi");
+					txt = txt.replace(/ඵී/g, "phī");
+					txt = txt.replace(/ඵු/g, "phu");
+					txt = txt.replace(/ඵූ/g, "phū");
+					txt = txt.replace(/ඵෙ/g, "phe");
+					txt = txt.replace(/ඵො/g, "pho");
+					txt = txt.replace(/ඵං/g, "phaṃ");
+					txt = txt.replace(/බ්/g, "b");
+					txt = txt.replace(/බා/g, "bā");
+					txt = txt.replace(/බි/g, "bi");
+					txt = txt.replace(/බී/g, "bī");
+					txt = txt.replace(/බු/g, "bu");
+					txt = txt.replace(/බූ/g, "bū");
+					txt = txt.replace(/බෙ/g, "be");
+					txt = txt.replace(/බො/g, "bo");
+					txt = txt.replace(/බං/g, "baṃ");
+					txt = txt.replace(/භ්/g, "bh");
+					txt = txt.replace(/භා/g, "bhā");
+					txt = txt.replace(/භි/g, "bhi");
+					txt = txt.replace(/භී/g, "bhī");
+					txt = txt.replace(/භු/g, "bhu");
+					txt = txt.replace(/භූ/g, "bhū");
+					txt = txt.replace(/භෙ/g, "bhe");
+					txt = txt.replace(/භො/g, "bho");
+					txt = txt.replace(/භං/g, "bhaṃ");
+					txt = txt.replace(/ම්/g, "m");
+					txt = txt.replace(/මා/g, "mā");
+					txt = txt.replace(/මි/g, "mi");
+					txt = txt.replace(/මී/g, "mī");
+					txt = txt.replace(/මු/g, "mu");
+					txt = txt.replace(/මූ/g, "mū");
+					txt = txt.replace(/මෙ/g, "me");
+					txt = txt.replace(/මො/g, "mo");
+					txt = txt.replace(/මං/g, "maṃ");
+					txt = txt.replace(/ය්/g, "y");
+					txt = txt.replace(/‍ය/g, "ya");
+					txt = txt.replace(/යෙ/g, "ye");
+					txt = txt.replace(/යො/g, "yo");
+					txt = txt.replace(/ර්/g, "r");
+					txt = txt.replace(/‍ර/g, "ra");
+					txt = txt.replace(/රෙ/g, "re");
+					txt = txt.replace(/රො/g, "ro");
+					txt = txt.replace(/ල්/g, "l");
+					txt = txt.replace(/ලා/g, "lā");
+					txt = txt.replace(/ලි/g, "li");
+					txt = txt.replace(/ලී/g, "lī");
+					txt = txt.replace(/ලු/g, "lu");
+					txt = txt.replace(/ලූ/g, "lū");
+					txt = txt.replace(/ලෙ/g, "le");
+					txt = txt.replace(/ලො/g, "lo");
+					txt = txt.replace(/ලං/g, "laṃ");
+					txt = txt.replace(/ව්/g, "v");
+					txt = txt.replace(/වා/g, "vā");
+					txt = txt.replace(/වි/g, "vi");
+					txt = txt.replace(/වී/g, "vī");
+					txt = txt.replace(/වු/g, "vu");
+					txt = txt.replace(/වූ/g, "vū");
+					txt = txt.replace(/වෙ/g, "ve");
+					txt = txt.replace(/වො/g, "vo");
+					txt = txt.replace(/වං/g, "vaṃ");
+					txt = txt.replace(/ස්/g, "s");
+					txt = txt.replace(/සා/g, "sā");
+					txt = txt.replace(/සි/g, "si");
+					txt = txt.replace(/සී/g, "sī");
+					txt = txt.replace(/සු/g, "su");
+					txt = txt.replace(/සූ/g, "sū");
+					txt = txt.replace(/සෙ/g, "se");
+					txt = txt.replace(/සො/g, "so");
+					txt = txt.replace(/සං/g, "saṃ");
+					txt = txt.replace(/හ්/g, "h");
+					txt = txt.replace(/හා/g, "hā");
+					txt = txt.replace(/හි/g, "hi");
+					txt = txt.replace(/හී/g, "hī");
+					txt = txt.replace(/හු/g, "hu");
+					txt = txt.replace(/හූ/g, "hū");
+					txt = txt.replace(/හෙ/g, "he");
+					txt = txt.replace(/හො/g, "ho");
+					txt = txt.replace(/හං/g, "haṃ");
+					txt = txt.replace(/ළ්/g, "ḷ");
+					txt = txt.replace(/ළා/g, "ḷā");
+					txt = txt.replace(/ළි/g, "ḷi");
+					txt = txt.replace(/ළී/g, "ḷī");
+					txt = txt.replace(/ළු/g, "ḷu");
+					txt = txt.replace(/ළූ/g, "ḷū");
+					txt = txt.replace(/ළෙ/g, "ḷe");
+					txt = txt.replace(/ළො/g, "ḷo");
+					txt = txt.replace(/ළං/g, "ḷaṃ");
+					txt = txt.replace(/අ/g, "a");
+					txt = txt.replace(/ආ/g, "ā");
+					txt = txt.replace(/ඉ/g, "i");
+					txt = txt.replace(/ඊ/g, "ī");
+					txt = txt.replace(/උ/g, "u");
+					txt = txt.replace(/ඌ/g, "ū");
+					txt = txt.replace(/එ/g, "e");
+					txt = txt.replace(/ඔ/g, "o");
+					txt = txt.replace(/ක/g, "ka");
+					txt = txt.replace(/ඛ/g, "kha");
+					txt = txt.replace(/ග/g, "ga");
+					txt = txt.replace(/ඝ/g, "gha");
+					txt = txt.replace(/ඞ/g, "ṅa");
+					txt = txt.replace(/ච/g, "ca");
+					txt = txt.replace(/ඡ/g, "cha");
+					txt = txt.replace(/ජ/g, "ja");
+					txt = txt.replace(/ඣ/g, "jha");
+					txt = txt.replace(/ඤ/g, "ña");
+					txt = txt.replace(/ට/g, "ṭa");
+					txt = txt.replace(/ඨ/g, "ṭha");
+					txt = txt.replace(/ඩ/g, "ḍa");
+					txt = txt.replace(/ඪ/g, "ḍha");
+					txt = txt.replace(/ණ/g, "ṇa");
+					txt = txt.replace(/ත/g, "ta");
+					txt = txt.replace(/ථ/g, "tha");
+					txt = txt.replace(/ද/g, "da");
+					txt = txt.replace(/ධ/g, "dha");
+					txt = txt.replace(/න/g, "na");
+					txt = txt.replace(/ප/g, "pa");
+					txt = txt.replace(/ඵ/g, "pha");
+					txt = txt.replace(/බ/g, "ba");
+					txt = txt.replace(/භ/g, "bha");
+					txt = txt.replace(/ම/g, "ma");
+					txt = txt.replace(/ල/g, "la");
+					txt = txt.replace(/ව/g, "va");
+					txt = txt.replace(/ස/g, "sa");
+					txt = txt.replace(/හ/g, "ha");
+					txt = txt.replace(/ළ/g, "ḷa");
 
-		<script language="javascript">
-			if (!g_is_mobile) {
-				document.write("<button id=\"B_Navi\" onclick=\"setNaviVisibility()\" type=\"button\">≡</button> ");
+					//replace end
+				} catch (err) {
+					//error
+					alert(err.message);
+				}
+				document.getElementById("txtOutput").value = txt;
 			}
 		</script>
-		<button id="menu_button_home" onclick="goHome()" type="button">Home</button>
-		<button id="B_FontReduce" type="button" onclick="setPageFontSize(0.9)">A-</button>
-		<button id="B_FontGain" type="button" onclick="setPageFontSize(1.1)">A+</button>
-		<button id="B_Day" type="button" onclick="setPageColor(0)">白色</button>
-		<button id="B_Sunset" type="button" onclick="setPageColor(1)">黄昏</button>
-		<button id="B_Night" type="button" onclick="setPageColor(2)">夜间</button>
-		<script language="javascript">
-		</script>
-		<span id="debug"></span>
-
-	</div>
-	<!--tool bar end -->
-
-	<div class="main">
-
-		<p><textarea id="txtInput" rows="30" cols="80"></textarea></p>
-		<button id="file_new" type="button" onclick="s2u()">Sangayana To Unicode</button>
-		<button id="file_new" type="button" onclick="u2s()">Unicode To Sangayana</button>
-		<select id="m_str">
-			<option value="ṃ,Ṃ">ṃ</option>
-			<option value="ṁ,Ṁ">ṁ</option>
-			<option value="ŋ,Ŋ">ŋ</option>
-		</select>
-
-		<button id="file_new" type="button" onclick="sinhala()">Sinhala To English</button>
-		<p><textarea id="txtOutput" rows="30" cols="80"></textarea></p>
+		<style>
+			.bg0 {
+				background-color: #ff9;
+			}
 
+			.bg1 {
+				background-color: #aaa;
+			}
+		</style>
+	</head>
 
-		<div class="debugMsg" id="xmldata">
-			<!--调试信息-->
+	<body class="mainbody" id="mbody">
+		<!-- tool bar begin-->
 
+		<div class="toolbar">
+			<script language="javascript">
+				if (!g_is_mobile) {
+					document.write('<button id="B_Navi" onclick="setNaviVisibility()" type="button">≡</button> ');
+				}
+			</script>
+			<button id="menu_button_home" onclick="goHome()" type="button">Home</button>
+			<button id="B_FontReduce" type="button" onclick="setPageFontSize(0.9)">A-</button>
+			<button id="B_FontGain" type="button" onclick="setPageFontSize(1.1)">A+</button>
+			<button id="B_Day" type="button" onclick="setPageColor(0)">白色</button>
+			<button id="B_Sunset" type="button" onclick="setPageColor(1)">黄昏</button>
+			<button id="B_Night" type="button" onclick="setPageColor(2)">夜间</button>
+			<script language="javascript"></script>
+			<span id="debug"></span>
 		</div>
+		<!--tool bar end -->
 
-		<!--right side end-->
-	</div>
+		<div class="main">
+			<p><textarea id="txtInput" rows="30" cols="80"></textarea></p>
+			<button id="file_new" type="button" onclick="s2u()">Sangayana To Unicode</button>
+			<button id="file_new" type="button" onclick="u2s()">Unicode To Sangayana</button>
+			<select id="m_str">
+				<option value="ṃ,Ṃ">ṃ</option>
+				<option value="ṁ,Ṁ">ṁ</option>
+				<option value="ŋ,Ŋ">ŋ</option>
+			</select>
 
-	<div id="modifywin">
+			<button id="file_new" type="button" onclick="sinhala()">Sinhala To English</button>
+			<p><textarea id="txtOutput" rows="30" cols="80"></textarea></p>
 
-	</div>
+			<div class="debugMsg" id="xmldata">
+				<!--调试信息-->
+			</div>
 
-</body>
+			<!--right side end-->
+		</div>
 
-</html>
+		<div id="modifywin"></div>
+	</body>
+</html>

+ 1 - 1
app/tools/tree_designer.php

@@ -44,7 +44,7 @@ else{
 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
 	<link type="text/css" rel="stylesheet" href="css/style.css"/>
 	<link type="text/css" rel="stylesheet" href="css/color_day.css" id="colorchange" />
-	<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:767px)">
+	<link type="text/css" rel="stylesheet" href="css/style_mobile.css" media="screen and (max-width:800px)">
 	<link type="text/css" rel="stylesheet" href="<?php echo $dir_user_base.$userid.$dir_myApp; ?>/style.css"/>
 	<title>PCD Studio</title>
 	<script language="javascript" src="config.js"></script>

+ 1 - 1
app/ucenter/index.php

@@ -297,7 +297,7 @@ require_once "../public/function.php";
 			
 		}
 		</script>
-	<link type="text/css" rel="stylesheet" href="mobile.css" media="screen and (max-width:767px)">
+	<link type="text/css" rel="stylesheet" href="mobile.css" media="screen and (max-width:800px)">
 	</head>
 	<body id="ucenter_body" onload="login_init()">
 	<div id="tool_bar">

+ 1 - 1
app/ucenter/setting.php

@@ -50,7 +50,7 @@ require_once '../public/function.php';
 	<meta name="viewport" content="width=device-width, initial-scale=1.0">
 	<link type="text/css" rel="stylesheet" href="../studio/css/font.css"/>
 	<link type="text/css" rel="stylesheet" href="../pcdl/css/reader.css"/>
-	<link type="text/css" rel="stylesheet" href="../pcdl/css/reader_mob.css" media="screen and (max-width:767px)">
+	<link type="text/css" rel="stylesheet" href="../pcdl/css/reader_mob.css" media="screen and (max-width:800px)">
 	<link type="text/css" rel="stylesheet" href="../public/css/notify.css"/>
 	<title id="page_title">Setting</title>
 

+ 1 - 1
app/wiki/index.php

@@ -51,7 +51,7 @@ include "../pcdl/html_head.php";
 			display:flex;
 		}
 	</style>
-	<style  media="screen and (max-width:767px)">
+	<style  media="screen and (max-width:800px)">
 		#index_list{
 			display:block;
 		}

+ 1 - 1
app/wiki/wiki.php

@@ -253,7 +253,7 @@ echo "wiki_load_word('{$_get_word}')";
 	}
 	</style>
 
-<style media="screen and (max-width:767px)">
+<style media="screen and (max-width:800px)">
 #term_list_right{
 	display:none;
 }

+ 50 - 0
documents/log/2020-11-29.txt

@@ -0,0 +1,50 @@
+德威工作组雨安居期间工作总结
+
+已经进行和正在进行的巴利语翻译课程(授课教师—U Kun 西亚多):
+    1. 8月初开始每周三次《转法轮经》详解巴利语课程网络直播(进行中)
+	2. 依照《清净道论》和《大疏抄》《疑惑解除》讲解数息课程。(已完成)
+	3.  《库鲁法本生》课程(已完成)
+	4. 咖提那因缘系列讲座(部分已完成)—《猪鼻本生》《bhaddavaggiya的故事》《三十人经》
+	5. 实验课——依照帕奥西亚多《趣向涅槃之道》讲解Moha心所(进行中)
+	范例文档见下文 相关链接
+
+软件的研发进展
+    1. wikipali 研发版上线
+	2. 网站整体结构设计完成
+	3. 增加了译文发布功能
+	4. 重新设计了经文阅读器,可以显示不同作者对于同一篇经文的贡献度。
+	5. 重新设计了巴利语搜索功能,按照关键词重要程度排序,注疏解释优先展示。
+	6. 添加了缅文版三藏逐词解析(扫描版8万页)
+
+总结:
+    1. 验证网络直播授课的可行性。有一些参与网络远程学习的学生已经开始在平台上贡献译文。
+	2. 使用更加广泛的语料进行授课,进一步验证翻译计划的可行性。语料已经涉及律藏,经藏,故事,正在进行中的还包括阿毗达摩。
+	3. 在巴利语经文的协作翻译基础上,进一步实现了任意语言的翻译协作。
+	
+下一步构想:
+	1. 提高平台的安全性
+	2. 加入人工智能,提高程序自动逐词解析的准确率
+	3. 优化用户操作界面,提升用户体验。
+	4. 逐步向专业用户和巴利语学习者开放
+	5. 缅文版三藏逐词解析的电子化,翻译为英文和中文
+
+感谢您一直以来对平台建设的关心和支持。欢迎您继续参与平台建设并提出意见和建议。
+我们期待您参与:
+    1. 软件功能的设计,优化,程序编写
+	2. 人工智能(复合词拆分,自动逐词解析)的算法设计和程序实现
+    3. 基础数据的完善
+    4. 也欢迎您试用现有功能进行教学和翻译。以便帮助我们改善用户体验。
+    5. 缅文版三藏逐词解析包含全部三藏及大部分义注复注,电子化将给非缅语使用者的研究和学习带来很大的便利。同样期待您的参与。
+
+相关链接:
+请在电脑上打开链接。并注意,右侧的进度条代表不同用户的贡献度。点击切换不同翻译者的译文。支持多选,译文比较阅读。
+《数息》(中英双语已完成)https://www.wikipali.org/app/article/index.php?id=359e4d98-7803-46ee-843f-c8216fe4457d&channal=a1af31a1-97d8-44ee-8a58-77ab681bdc04
+《转法轮经》课程进行中 https://www.wikipali.org/app/article/?id=54168c4a-0a53-452d-85fb-768485fc371b
+《Kurudhammajātak》(英文)https://www.wikipali.org/app/reader/?view=chapter&book=111&para=2411&channal=838aabe8-d09d-4bde-b2e2-c47d2d6bda7a&display=para
+《五戒长老传记》(中文)https://www.wikipali.org/app/article/?id=c4d60e6a-b71b-4016-9828-1c82027173e2&channal=7fea264d-7a26-40f8-bef7-bc95102760fb&display=para
+《咖提那因缘系列》(中文,英文 制作中)https://www.wikipali.org/app/article/index.php?id=10ffd540-8342-455b-8050-e4985d898e89&channal=7fea264d-7a26-40f8-bef7-bc95102760fb
+
+问题:
+1. 在家人业余时间参与课程,无法期待翻译成果。
+2. 老师不足。只有西亚多一人授课,每节课1-1.5小时。
+3. 程序设计只有我和kosalla。人员不足。最近慧欣会参与工作。