ပြည်ထောင်စုရှေ့နေချုပ်ရုံး၏ စာအုပ်အရောင်းဆိုင်နှင် သက်ဆိုင်ရာတိုင်းဒေသကြီးနှင့် ပြည်နယ်ဥပဒေချုပ်ရုံးတွင် ၂၀၁၈ Myanmar Law ၊၂၀၁၉ ခုနှစ် ဥပဒေများ၊ ၂၀၁၉ ခုနှစ် နည်းဥပဒေများ နှင့် ဥပဒေဂျာနယ် ၁၂/၁ တို့ကို ဝယ်ယူနိုင်ပါကြောင်း
An error occurred while processing the template.
Java method "com.sun.proxy.$Proxy540.getArticle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy540 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@32cde10e"; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: journalArticle = journalArticleLocalS... [in template "20116#20152#47530" at line 7, column 9] - Reached through: #assign-container [in template "20116#20152#47530" at line 1, column 1] ----
1<#assign
2 displaydate = .vars['reserved-article-display-date'].data
3 displaydate = displaydate?datetime("EEE, d MMM yyyy HH:mm:ss Z")
4 articleId = .vars['reserved-article-id'].data
5 assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")
6 journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")
7 journalArticle = journalArticleLocalService.getArticle(20143,articleId)
8 resourcePrimKey = journalArticle.getResourcePrimKey()
9 listCategories = assetCategoryLocalService.getCategories("com.liferay.journal.model.JournalArticle",resourcePrimKey)
10 ministry = ""
11/>
12<#list listCategories as category>
13 <#if category.getVocabularyId() == 80291>
14 <#assign ministry = category.getTitle(locale)>
15 <#break>
16 </#if>
17</#list>
18
19<h2 class="title bigheight">${.vars['reserved-article-title'].data}</h2>
20<br>
21<#assign locationMy = location.getData()>
22
23<#if locationMy == "">
24 <#assign locationMy = "location">
25</#if>
26<h5 class="redcolor uppercasetext">${ministry}/ ${locationMy} / ${displaydate?string["MMMM dd, yyyy"]}</h5>
27
28<div class="l2news_detail_imgWrapper">
29
30
31<#attempt>
32 <div class="l2news_detail_imgWrapper">
33
34 <#if image.getData()?? && image.getData() != "">
35 <#list image.getData()?split(",") as img >
36 <#if img?? && img?has_content>
37 <#if img?contains("moi.gov.mm")>
38 <#assign
39 imageUrl = "http://www.moi.gov.mm/" + img?replace("https", "http")?replace("http://www.moi.gov.mm/", "")?replace(" ", "")
40 />
41 <#else>
42 <#assign
43 imageUrl = img
44 />
45 </#if>
46 <img class="fullwidth topmargin20" data-fileentryid="${image.getAttribute("fileEntryId")}" alt="image" src="${imageUrl}" />
47 </#if>
48 </#list>
49 </#if>
50 <#-- <img class="fullwidth topmargin20" data-fileentryid="${image.getAttribute("fileEntryId")}" alt="${image.getAttribute("alt")}" src="${image.getData()}" /> -->
51 </div>
52<#recover>
53
54</#attempt>
55</div>
56 <div class="clearifx"></div><br/><br/>
57 <p>${Content.getData()?replace('src="/sites/default/files', 'src="https://www.moi.gov.mm/sites/default/files')}</p>
58
59 <#assign type = "">
60 <#if pdfFileType??>
61 <#assign type = pdfFileType.getData()>
62 </#if>
63
64 <#if type != "" && (type == '["externalURL"]' || type == '["externalUrl"]') >
65 <#if externalURL.getData()?has_content>
66 <a href="${externalURL.getData()}" class="btn blueColor3">Download</a>
67 </#if>
68 </#if>
69
70 <#if type != "" && type == '["uploadPDF"]' >
71 <#if uploadPDF.getData()?has_content>
72 <a href="${uploadPDF.getData()}" class="btn blueColor3">Download</a>
73 </#if>
74 </#if>
75
76
77
78
79
80
81<style>
82#column-2,#column-4,#column-5,#layout-column_column-1,#form_wrapper,#hometab1,#column-8,#column-7 {
83 display : none;
84}
85.mnp_body h2.title{
86 margin: 0 !important;
87}
88.mnp_body p {
89 color: #303030;
90 font-size: 14pt !important;
91 line-height: 32px !important;
92}
93p span {
94 font-size: 14pt !important;
95 line-height: 32px !important;
96}
97.mnp_body h2{
98 font-size: 20px!important;
99 text-align: justify!important;
100 line-height: 30px!important;
101
102</style>