Trang chủ - Xã Triệu Độ - Triệu Phong

Chảo mừng kỷ niệm 78 năm Ngày cách mạng tháng Tám (19/8/1945 - 19/8/2023) và Quốc khánh nước Cộng hoà xã hội chủ nghĩa Việt Nam (02/9/1945 - 02/9/2023)

 

Hình ảnh
Video clip
Thống kê truy cập
  • Đang truy cập 1
  • Hôm nay 65
  • Tổng truy cập 1.254.409
Có lỗi xảy ra trong quá trình xử lý biểu mẫu.
The following has evaluated to null or missing:
==> catalogue  [in template "10131#10164#872873" at line 8, column 39]

----
Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)??
----

----
FTL stack trace ("~" means nesting-related):
	- Failed at: ${catalogue.name_vn}  [in template "10131#10164#872873" at line 8, column 37]
----
1<style> 
2    .number { 
3        margin: 5px; 
4
5    </style> 
6    <!-- Tin tức - Sự kiện - QT Thumbnail --> 
7    <#if catalogues?has_content> 
8    <#list catalogues as catalogue> ${catalogue.name_vn} </#list> 
9</#if> 
10 
11<#global articlesObject = []/> 
12<#list catalogues as catalogue> 
13    <#assign articles=articleService.getArticles( catalogue.catalogueid, organizationId, numberArticle, numberRelation)/> 
14    <#list articles[0] as article> 
15        <#if article.viewable??> 
16            <#assign viewable_ = article.viewable> 
17        <#else> 
18        <#assign viewable_ = 0> 
19        </#if> 
20 
21        <#assign articlesObject = articlesObject + [{ 
22            "createdatetime": article.createdatetime, 
23            "articleid": article.articleid, 
24            "imagename": article.imagename, 
25            "title_vn": article.title_vn, 
26            "viewable": viewable_, 
27            "summarycontent_vn": article.summarycontent_vn, 
28            "catalogueid": catalogue.catalogueid 
29        }]/> 
30    </#list> 
31</#list> 
32 
33            <div id="topnews" class="panel panel-default clearfix" style=""> 
34                <div class="row" style="display:flex;flex-wrap:wrap;margin-right:-12px;margin-left:-12px"> 
35                    <div class="col-md-7" > 
36                        <div id="slider1" class="sliderwrapper"> 
37                            <#list articlesObject?sort_by("createdatetime")?reverse as article> 
38                            <#if (article?index < 10)> 
39                                <div class="contentdiv clearfix" 
40                                    style="display: none; z-index: 29; opacity: 1; visibility: visible;"> 
41                                    <a title="${freemakerUtil.removeHTML(localization.getLocalization(article.title_vn, "${languageId}"), 95)}" 
42                                        href="${freemakerUtil.getArticleDetailURL(article.catalogueid, article.articleid,"chi-tiet-tin")}"> 
43                                        <#if article.title_en?has_content && article.title_en?length == 1000> 
44                                                <img class="img-responsive" id="slImg0" src="/o/3cmsnew-portlet/ViewImage?imagename=${article.title_en}" 
45                                                    alt="${freemakerUtil.removeHTML(localization.getLocalization(article.title_vn, "${languageId}"), 95)}"> 
46                                        <#else> 
47                                             
48                                            <#if article.imagename?has_content && article.imagename?length != 0> 
49                                            <img class="img-responsive" id="slImg0" src="/o/3cmsnew-portlet/ViewImage?imagename=${article.imagename}" 
50                                                alt="${freemakerUtil.removeHTML(localization.getLocalization(article.title_vn, "${languageId}"), 95)}"> 
51                                            <#else> 
52                                            <img class="img-responsive" id="slImg0" src="/3cms/common/asset/thixaquangtri/ViewImage.jpg"> 
53                                            </#if> 
54                                        </#if> 
55                                         
56                                    </a> 
57                                    <h3 style=" 
58                                    font-size:13px !important; 
59                                    margin:10px;width:92%; 
60                                    font-weight:bold; 
61                                    background:url(/3cms/common/asset/thixaquangtri//transparent.png) repeat-x; 
62     
63                                    "> 
64                                        <a style="color:white !important;"title="${freemakerUtil.removeHTML(localization.getLocalization(article.title_vn, "${languageId}"), 95)}" 
65                                            href="${freemakerUtil.getArticleDetailURL(article.catalogueid, article.articleid,"chi-tiet-tin")}">${freemakerUtil.removeHTML(localization.getLocalization(article.title_vn, "${languageId}"), 150)}</a> 
66                                    </h3> 
67                                </div> 
68                                </#if> 
69                            </#list> 
70                        </div> 
71                        <div id="paginate-slider1" class="pagination" style="padding-left:30%"> 
72                            <a style ="margin-right:5px" href="#prev" onclick = "pre(-1)" class="prev">&nbsp;</a>  
73                            <#list articlesObject?sort_by("createdatetime")?reverse as article> 
74                            <#if (article?index < 10)> 
75                                <a href="#${(article?index + 1)}" class="number" onclick = "slider('${(article?index + 1)}')"class="toc selected" rel="${(article?index + 1)}">${(article?index + 1)}</a>  
76                                </#if> 
77                                </#list> 
78                            <a style ="margin-left:5px" href="#next"  onclick = "next(1)" class="next">&nbsp;</a> 
79                        </div> 
80                    </div> 
81                    <div id="tabs" class="col-md-5 tabs ui-tabs ui-corner-all ui-widget ui-widget-content"> 
82                        <ul role="tablist" 
83                            class="ui-tabs-nav ui-corner-all ui-helper-reset ui-helper-clearfix ui-widget-header"> 
84                        </ul> 
85                        <div class="bg-hot-news-title"> 
86                            <h3>TIN NỔI BẬT</h3> 
87                        </div> 
88                        <div id="tabs-1"> 
89                            <div style="width:320px; margin-right:5px; display:block; 
90                                padding:5px; 
91                                margin-top:3px; 
92                                width:auto; 
93                                height:250px; 
94                                overflow:auto;"> 
95                                <ul class="lastest-news" style="padding-left:2px;list-style-type: none;"> 
96                                    <#list articlesObject?sort_by("createdatetime")?reverse as article> 
97                                    <#if (article?index < 15)> 
98                                    <li style="margin-bottom:10px;border-bottom: 1px dotted #bbdbf6"> 
99                                        <a class="show" 
100                                            href="${freemakerUtil.getArticleDetailURL(article.catalogueid, article.articleid,"chi-tiet-tin")}" 
101                                            data-content="${freemakerUtil.removeHTML(localization.getLocalization(article.title_vn, "${languageId}"), 300)}" 
102                                            data-img="/o/3cmsnew-portlet/ViewImage?imagename=${article.imagename}" data-rel="block_headline_tooltip" 
103                                            data-original-title="" title="">${freemakerUtil.removeHTML(localization.getLocalization(article.title_vn, "${languageId}"), 95)}</a> 
104                                    </li> 
105                                    </#if> 
106                                    </#list> 
107                                </ul> 
108                            </div> 
109                        </div> 
110                    </div> 
111                </div> 
112            </div> 
113    <script> 
114        getfirst(); 
115        slider(); 
116        var current = 1;  
117        var time; 
118        function getfirst(){ 
119            var a = document.getElementsByClassName("contentdiv"); 
120            var b = a[0].getElementsByTagName("h3"); 
121            b[0].style.bottom="10%"; 
122            b[0].style.position="absolute"; 
123            var number = document.getElementsByClassName("number"); 
124            a[0].style.display="block"; 
125            number[0].style.backgroundColor="#ccc"; 
126
127        function auto() 
128
129            if(current == document.getElementsByClassName("number").length) 
130
131                current = 0; 
132
133            slider(++current); 
134
135        var n = 0; 
136        function slider(n) 
137
138            clearTimeout(time); 
139            var a = document.getElementsByClassName("contentdiv"); 
140            var number = document.getElementsByClassName("number"); 
141            if(n>0) 
142
143                for(i = 0;i < a.length;i++) 
144
145                    a[i].style.display="none"; 
146                    number[i].style.backgroundColor="white"; 
147                     
148
149                a[n-1].style.display="block"; 
150                var b = a[n-1].getElementsByTagName("h3"); 
151                b[0].style.bottom="10%"; 
152                b[0].style.position="absolute"; 
153                number[n-1].style.backgroundColor="#ccc"; 
154                current = ++n-1; 
155
156            else 
157
158                a[0].style.display="block"; 
159                number[0].style.backgroundColor="#ccc"; 
160
161            time = setTimeout(auto,3000); 
162             
163
164        function pre(n) 
165
166            clearTimeout(time); 
167            if(current >= 2) 
168
169                slider(current+=n); 
170
171
172        function next(n) 
173
174            clearTimeout(time); 
175            if(current < document.getElementsByClassName("number").length) 
176
177                slider(current+=n); 
178
179     
180
181    </script> 
182    <script type="text/javascript"> 
183    $(document).ready(function($) { 
184        var jssor_1_SlideshowTransitions = [{ 
185                $Duration: 1200, 
186                y: 1, 
187                $Easing: { 
188                    $Top: $Jease$.$InOutQuart, 
189                    $Opacity: $Jease$.$Linear 
190                }, 
191                $Opacity: 2, 
192                $Brother: { 
193                    $Duration: 1200, 
194                    y: -1, 
195                    $Easing: { 
196                        $Top: $Jease$.$InOutQuart, 
197                        $Opacity: $Jease$.$Linear 
198                    }, 
199                    $Opacity: 2 
200
201            }, { 
202                $Duration: 1200, 
203                x: 1, 
204                $Easing: { 
205                    $Left: $Jease$.$InOutQuart, 
206                    $Opacity: $Jease$.$Linear 
207                }, 
208                $Opacity: 2, 
209                $Brother: { 
210                    $Duration: 1200, 
211                    x: -1, 
212                    $Easing: { 
213                        $Left: $Jease$.$InOutQuart, 
214                        $Opacity: $Jease$.$Linear 
215                    }, 
216                    $Opacity: 2 
217
218            }, { 
219                $Duration: 1200, 
220                y: -1, 
221                $Easing: { 
222                    $Top: $Jease$.$InOutQuart, 
223                    $Opacity: $Jease$.$Linear 
224                }, 
225                $Opacity: 2, 
226                $ZIndex: -10, 
227                $Brother: { 
228                    $Duration: 1200, 
229                    y: -1, 
230                    $Easing: { 
231                        $Top: $Jease$.$InOutQuart, 
232                        $Opacity: $Jease$.$Linear 
233                    }, 
234                    $Opacity: 2, 
235                    $ZIndex: -10, 
236                    $Shift: -100 
237
238            }, { 
239                $Duration: 1200, 
240                x: 1, 
241                $Delay: 40, 
242                $Cols: 6, 
243                $Formation: $JssorSlideshowFormations$.$FormationStraight, 
244                $Easing: { 
245                    $Left: $Jease$.$InOutQuart, 
246                    $Opacity: $Jease$.$Linear 
247                }, 
248                $Opacity: 2, 
249                $ZIndex: -10, 
250                $Brother: { 
251                    $Duration: 1200, 
252                    x: 1, 
253                    $Delay: 40, 
254                    $Cols: 6, 
255                    $Formation: $JssorSlideshowFormations$.$FormationStraight, 
256                    $Easing: { 
257                        $Top: $Jease$.$InOutQuart, 
258                        $Opacity: $Jease$.$Linear 
259                    }, 
260                    $Opacity: 2, 
261                    $ZIndex: -10, 
262                    $Shift: -100 
263
264            }, 
265        ]; 
266     
267        var jssor_1_options = { 
268            $AutoPlay: true, 
269            $FillMode: 5, 
270            $SlideshowOptions: { 
271                $Class: $JssorSlideshowRunner$, 
272                $Transitions: jssor_1_SlideshowTransitions, 
273                $TransitionsOrder: 1 
274            }, 
275            $ArrowNavigatorOptions: { 
276                $Class: $JssorArrowNavigator$ 
277            }, 
278            $BulletNavigatorOptions: { 
279                $Class: $JssorBulletNavigator$ 
280
281        }; 
282     
283        var jssor_1_slider = new $JssorSlider$("jssor_2", jssor_1_options); 
284     
285        function ScaleSlider() { 
286            var refSize = jssor_1_slider.$Elmt.parentNode.clientWidth; 
287            if (refSize) { 
288                refSize = Math.min(refSize, 1366); 
289                jssor_1_slider.$ScaleWidth(refSize); 
290            } else { 
291                window.setTimeout(ScaleSlider, 30); 
292
293
294        ScaleSlider(); 
295        $(window).bind("load", ScaleSlider); 
296        $(window).bind("resize", ScaleSlider); 
297        $(window).bind("orientationchange", ScaleSlider); 
298    }); 
299    </script> 
300    <script> 
301         
302    </script> 

TỔNG QUAN VỀ XÃ TRIỆU ĐỘ

  • Ngày đăng: 17-06-2024
  •   Lượt xem: 2