Saudi Arabia Flag
A government website registered with the Digital Government Authority.
Live Stream LinkLive Stream
Official Saudi Government websites URL ends with.gov.sa .

Website belongs to an official government organization in the Kingdom ofSaudi Arabia always ends with .gov.sa .

Official Reliable websites useHTTPS

Ensure the website is using the HTTPS protocol.

Dga Logo

Registered on Digital Government Authority:

20250724844

Statistics

Statistics

Category
An error occurred while processing the template.
Can't convert this string to number: "120038tab=436312"
The blamed expression:
==> request.getParameter("category")?number  [in template "11099719610328#20119#500671" at line 6, column 29]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign category = request.getParamet...  [in template "11099719610328#20119#500671" at line 6, column 9]
----
1<#if entries?has_content> 
2    <#assign categories = [] /> 
3    <#assign hasChildCategoriesWithContent = false /> 
4 
5    <#if (request.getParameter("category")?has_content)> 
6        <#assign category = request.getParameter("category")?number /> 
7        <#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService") /> 
8        <#assign curCategory = assetCategoryLocalService.fetchAssetCategory(category) /> 
9        <#assign assetCategoryPropService = serviceLocator.findService("com.liferay.asset.category.property.service.AssetCategoryPropertyLocalService") /> 
10        <#assign categories = assetCategoryLocalService.getChildCategories(curCategory.categoryId) /> 
11    </#if> <!-- End of checking for category parameter --> 
12 
13    <#if (request.getParameter("tab")?has_content)> 
14        <#assign tab = request.getParameter("tab")?number /> 
15 
16        <#if tab == 436312> 
17            <#list categories as cat> 
18                <#assign filterCounter = articleService.getContentCountByCategoriesIds(tab, cat.categoryId) /> 
19                <#if filterCounter?number gt 0> 
20                    <#assign hasChildCategoriesWithContent = true /> 
21                </#if> 
22            </#list> <!-- End of checking categories for content --> 
23 
24            <#if !hasChildCategoriesWithContent> 
25                <#assign monthMatched = false /> 
26                <#assign yearMatched = false /> 
27							  <#assign periodicityMatched = false /> 
28 
29 
30                <#if (request.getParameter("year")?has_content) || (request.getParameter("month")?has_content) || (request.getParameter("periodicity")?has_content)> 
31                    <#assign year = request.getParameter("year")! -1 /> 
32                    <#assign month = request.getParameter("month")! -1 /> 
33								  	<#assign periodicity = request.getParameter("periodicity")! -1 /> 
34 
35                    <#assign entryCategories = assetCategoryLocalService.getCategories("com.liferay.journal.model.JournalArticle", entries[0].classPK?number) /> 
36                        <#list entryCategories as articleCat> 
37													 
38													   <!-- periodicity --> 
39                            <#if periodicity?number != -1> 
40                                <#if articleCat.vocabularyId == 120045 && articleCat.categoryId == periodicity?number> 
41                                    <#assign periodicityMatched = true /> 
42                                </#if> 
43                            <#else> 
44                                <#assign periodicityMatched = true /> 
45                            </#if> 
46															 
47                            <!-- year --> 
48                            <#if year?number != -1> 
49                                <#if articleCat.vocabularyId == 120041 && articleCat.categoryId == year?number> 
50                                    <#assign yearMatched = true /> 
51                                </#if> 
52                            <#else> 
53                                <#assign yearMatched = true /> 
54                            </#if> 
55 
56                            <!-- month --> 
57                            <#if month?number != -1> 
58                                <#if articleCat.vocabularyId == 120049 && articleCat.categoryId == month?number> 
59                                    <#assign monthMatched = true /> 
60                                </#if> 
61                            <#else> 
62                                <#assign monthMatched = true /> 
63                            </#if> 
64                        </#list> <!-- End of processing entry categories --> 
65                    <#else> 
66                        <#assign monthMatched = true /> 
67                        <#assign yearMatched = true /> 
68											 <#assign periodicityMatched = true /> 
69                    </#if> 
70 
71                    <#if monthMatched && yearMatched && periodicityMatched> 
72                        <div id="latest-publication-container"> 
73                            <div class="dl-box publications-box mb-4 d-md-block d-none"> 
74                                <div class="box"> 
75                                    <div class="box-header"> 
76                                        <h3 class="box-title"> 
77                                            <@liferay.language key="latest-publication" /> 
78                                        </h3> 
79                                    </div> 
80                                    <#list entries as curEntry> 
81                                        ${articleService.getContentByClassPK(curEntry.classPK?number, "239120")} 
82                                    </#list> 
83                                </div> 
84                            </div> 
85                        </div> 
86                    </#if> <!-- End of checking month and year match --> 
87                </#if> <!-- End of checking year or month parameter --> 
88        </#if> <!-- End of checking if tab is 436312 --> 
89    </#if> <!-- End of checking for tab parameter --> 
90</#if> <!-- End of checking if entries have content -->