CINXE.COM
RACA Website- Home
<!DOCTYPE html > <html dir="ltr" lang="en-US"> <head><meta content="IE=Edge,chrome=1" http-equiv="X-UA-Compatible" /><meta content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" name="viewport" /><meta charset="utf-8" /><meta name="GENERATOR" content="Microsoft SharePoint" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="Expires" content="0" /><title> RACA Website- Home </title><link id="CssLink-0f030bd054a743a6b228e0a5ec93b6df" rel="stylesheet" type="text/css" href="/_layouts/15/1033/styles/Themable/corev15.css?rev=81LKB2rtyOe2nhEYl18yiw%3D%3DTAG0"/> <link id="CssLink-fa93455e21ba4f5db0b61ad3505f4416" rel="stylesheet" type="text/css" href="/_layouts/15/1033/styles/Themable/search.css?rev=0j7sngZjexrBV5VNYukliw%3D%3DTAG0"/> <link id="CssLink-3e407da148b349138518fd6e6d602154" rel="stylesheet" type="text/css" href="/Style%20Library/CSS/SystemAlternate.css"/> <link id="CssLink-4046ed73e5b7495ab81ced45e442ad25" rel="stylesheet" type="text/css" href="/Style%20Library/RACA/CSS/bootstrap.css"/> <link id="CssLink-62184914794b4725afd4d7a430b80c7a" rel="stylesheet" type="text/css" href="/Style%20Library/CSS/bootstrap.min.css"/> <link id="CssLink-c28b2a96bfdd4054820e1fb64271a6f2" rel="stylesheet" type="text/css" href="/Style%20Library/CSS/fontawesome.min.css"/> <link id="CssLink-aad2a0907a5a47e68e37b8b9f3b0060e" rel="stylesheet" type="text/css" href="/Style%20Library/CSS/lightslider.css"/> <link id="CssLink-f281fc68c46d414b8f3fd542fd3756be" rel="stylesheet" type="text/css" href="/Style%20Library/RACA/CSS/all.css"/> <link id="CssLink-f7b7afba3f594a9c8a50a41424b4c6a7" rel="stylesheet" type="text/css" href="/Style%20Library/RACA/CSS/slick.css"/> <link id="CssLink-174813ad4042420da49a1e14c8a252ce" rel="stylesheet" type="text/css" href="/Style%20Library/RACA/CSS/style.css"/> <link id="CssLink-78295baf01254063bea786215c896211" rel="stylesheet" type="text/css" href="/Style%20Library/RACA/CSS/jquery-ui.css"/> <link id="CssLink-4ae7e707eec5457cb376b2f7748ad0b0" rel="stylesheet" type="text/css" href="/Style%20Library/RACA/CSS/en-US/style.css"/> <link id="CssLink-e1a54885bd274332a9a8d208b50bf212" rel="stylesheet" type="text/css" href="/Style%20Library/RACA/CSS/responsive.css"/> <link id="CssLink-8ee4b77fddda4b91a9882ce9f50829b9" rel="stylesheet" type="text/css" href="/Style%20Library/RACA/CSS/Designer02.css"/> <link id="CssLink-fdfb0dc76b934cc2ade9e3dbbe503aea" rel="stylesheet" type="text/css" href="/Style%20Library/CSS/main.css"/> <style id="SPThemeHideForms" type="text/css">body {opacity:0 !important}</style><script type="text/javascript">// <![CDATA[ var g_SPOffSwitches={}; // ]]> </script> <script type="text/javascript" src="/_layouts/15/1033/initstrings.js?rev=a4YVJaejVyc0j3ScXpSkyA%3D%3DTAG0"></script> <script type="text/javascript" src="/_layouts/15/init.js?rev=k%2Bl48SHabAkaQAmDmVUUbA%3D%3DTAG0"></script> <script type="text/javascript" src="/_layouts/15/theming.js?rev=SuLUbbwTXcxFWOWLFUsOkw%3D%3DTAG0"></script> <script type="text/javascript" src="/ScriptResource.axd?d=Y4RiVT42t9uNBy9xjb9_QOQtgbS0SNP0mLcK_h-aptIO7esd2rZkE4OzXwEO4Jm1x-6mcz83y9ocpoCodccefnVGhM9uJIacaH6LxYQFLqJkS8xgbPhlEzmbV84e05iu33BMYpYlyLeDi3HgndPF79n5YiVjVuvw82dHFIY5z_mGb_d66yutyE9N2uArG8iZ0&t=ffffffffc820c398"></script> <script type="text/javascript" src="/_layouts/15/blank.js?rev=4H%2FxztISBaAK9om5DwyJ2w%3D%3DTAG0"></script> <script type="text/javascript" src="/ScriptResource.axd?d=q7KS0M84jF06XasTDx52lC1x9VaIvnPB-aNluAiefPv2vlyhRe-OJO1PyY8rso80emY04W-VSKcL3gceu51gBGuoKL6oxpkYwFlWS1Kgw_u459VULw1IXnHB7pB2P6ALRXefIom5HRBaVvZIvp6OT_vKsW0Ft5TTSIfQNw0tLo0Bnx1LhcCNJg3VHLNBqyYi0&t=ffffffffc820c398"></script> <script type="text/javascript">RegisterSod("require.js", "\u002f_layouts\u002f15\u002frequire.js?rev=bv3fWJhk0uFGpVwBxnZKNQ\u00253D\u00253DTAG0");</script> <script type="text/javascript">RegisterSod("strings.js", "\u002f_layouts\u002f15\u002f1033\u002fstrings.js?rev=hY3041BG4BILn6W9Pqey1A\u00253D\u00253DTAG0");</script> <script type="text/javascript">RegisterSod("sp.res.resx", "\u002f_layouts\u002f15\u002f1033\u002fsp.res.js?rev=FnWveYddVjlqQYS2ZBOOzA\u00253D\u00253DTAG0");</script> <script type="text/javascript">RegisterSod("sp.runtime.js", "\u002f_layouts\u002f15\u002fsp.runtime.js?rev=pHzSuD6\u00252FXTlKWDgDnS1zpw\u00253D\u00253DTAG0");RegisterSodDep("sp.runtime.js", "sp.res.resx");</script> <script type="text/javascript">RegisterSod("sp.js", "\u002f_layouts\u002f15\u002fsp.js?rev=sblN8g51OoSSlgzCCUdicw\u00253D\u00253DTAG0");RegisterSodDep("sp.js", "sp.runtime.js");RegisterSodDep("sp.js", "sp.ui.dialog.js");RegisterSodDep("sp.js", "sp.res.resx");</script> <script type="text/javascript">RegisterSod("sp.init.js", "\u002f_layouts\u002f15\u002fsp.init.js?rev=ese15DmwGl\u00252BtyCpugUH\u00252B0g\u00253D\u00253DTAG0");</script> <script type="text/javascript">RegisterSod("sp.ui.dialog.js", "\u002f_layouts\u002f15\u002fsp.ui.dialog.js?rev=AylXDVTvdTuS5rvh7F71OA\u00253D\u00253DTAG0");RegisterSodDep("sp.ui.dialog.js", "sp.init.js");RegisterSodDep("sp.ui.dialog.js", "sp.res.resx");</script> <script type="text/javascript">RegisterSod("core.js", "\u002f_layouts\u002f15\u002fcore.js?rev=\u00252BgxKCQdlXpPWqV4jGgLZRQ\u00253D\u00253DTAG0");RegisterSodDep("core.js", "strings.js");</script> <script type="text/javascript">RegisterSod("menu.js", "\u002f_layouts\u002f15\u002fmenu.js?rev=Se1TmUD7RlimWI6fFWcxpw\u00253D\u00253DTAG0");</script> <script type="text/javascript">RegisterSod("mQuery.js", "\u002f_layouts\u002f15\u002fmquery.js?rev=NnSV040RBTVhuYr8yq39iA\u00253D\u00253DTAG0");</script> <script type="text/javascript">RegisterSod("callout.js", "\u002f_layouts\u002f15\u002fcallout.js?rev=lhfXrElPcq2lv7i9me91Pg\u00253D\u00253DTAG0");RegisterSodDep("callout.js", "strings.js");RegisterSodDep("callout.js", "mQuery.js");RegisterSodDep("callout.js", "core.js");</script> <script type="text/javascript">RegisterSod("sp.core.js", "\u002f_layouts\u002f15\u002fsp.core.js?rev=RpaBreyXpWhQ2vyUrTBYzw\u00253D\u00253DTAG0");RegisterSodDep("sp.core.js", "strings.js");RegisterSodDep("sp.core.js", "sp.init.js");RegisterSodDep("sp.core.js", "core.js");</script> <script type="text/javascript">RegisterSod("sharedhovercard.strings.js", "\u002f_layouts\u002f15\u002f1033\u002fsharedhovercard.strings.js?rev=sLsS\u00252FNPqFzOSO42e3s6lgw\u00253D\u00253DTAG0");</script> <script type="text/javascript">RegisterSod("sharedhovercard.js", "\u002f_layouts\u002f15\u002fsharedhovercard.js?rev=uB89up9szoXj8bAMKPkPSg\u00253D\u00253DTAG0");RegisterSodDep("sharedhovercard.js", "sharedhovercard.strings.js");</script> <script type="text/javascript">RegisterSod("clienttemplates.js", "\u002f_layouts\u002f15\u002fclienttemplates.js?rev=IlAvIdte2K1VfvmmuR\u00252FwHQ\u00253D\u00253DTAG0");</script> <script type="text/javascript">RegisterSod("sharing.js", "\u002f_layouts\u002f15\u002fsharing.js?rev=mJhkd6qnT2Hf2RLaGDYYcw\u00253D\u00253DTAG0");RegisterSodDep("sharing.js", "strings.js");RegisterSodDep("sharing.js", "mQuery.js");RegisterSodDep("sharing.js", "clienttemplates.js");RegisterSodDep("sharing.js", "core.js");</script> <script type="text/javascript">RegisterSod("suitelinks.js", "\u002f_layouts\u002f15\u002fsuitelinks.js?rev=Lp8rZwRUSp1O5X2UvtvY\u00252BA\u00253D\u00253DTAG0");RegisterSodDep("suitelinks.js", "strings.js");RegisterSodDep("suitelinks.js", "core.js");</script> <script type="text/javascript">RegisterSod("userprofile", "\u002f_layouts\u002f15\u002fsp.userprofiles.js?rev=J0M1pzLkfDXcJflabMvTYA\u00253D\u00253DTAG0");RegisterSodDep("userprofile", "sp.runtime.js");</script> <script type="text/javascript">RegisterSod("followingcommon.js", "\u002f_layouts\u002f15\u002ffollowingcommon.js?rev=zsEr5oSOACP9mNpxXdyuUg\u00253D\u00253DTAG0");RegisterSodDep("followingcommon.js", "strings.js");RegisterSodDep("followingcommon.js", "sp.js");RegisterSodDep("followingcommon.js", "userprofile");RegisterSodDep("followingcommon.js", "core.js");RegisterSodDep("followingcommon.js", "mQuery.js");</script> <script type="text/javascript">RegisterSod("profilebrowserscriptres.resx", "\u002f_layouts\u002f15\u002f1033\u002fprofilebrowserscriptres.js?rev=qwf69WaVc1mYlJLXqmZmVA\u00253D\u00253DTAG0");</script> <script type="text/javascript">RegisterSod("sp.ui.mysitecommon.js", "\u002f_layouts\u002f15\u002fsp.ui.mysitecommon.js?rev=iQUyIjz5m7XrtVrnCqGLlA\u00253D\u00253DTAG0");RegisterSodDep("sp.ui.mysitecommon.js", "sp.init.js");RegisterSodDep("sp.ui.mysitecommon.js", "sp.runtime.js");RegisterSodDep("sp.ui.mysitecommon.js", "userprofile");RegisterSodDep("sp.ui.mysitecommon.js", "profilebrowserscriptres.resx");</script> <script type="text/javascript">RegisterSod("browserScript", "\u002f_layouts\u002f15\u002fie55up.js?rev=HLWJZpP4dVe5ZYJ7GkPAEQ\u00253D\u00253DTAG0");RegisterSodDep("browserScript", "strings.js");</script> <script type="text/javascript">RegisterSod("inplview", "\u002f_layouts\u002f15\u002finplview.js?rev=7k8vfggqYEBONI51\u00252BvGElg\u00253D\u00253DTAG0");RegisterSodDep("inplview", "strings.js");RegisterSodDep("inplview", "core.js");RegisterSodDep("inplview", "clienttemplates.js");RegisterSodDep("inplview", "sp.js");</script> <script type="text/javascript">RegisterSod("search.js", "\u002f_layouts\u002f15\u002fsearch.js?rev=UfuJoD3t0\u00252BRVP0jzSKcH4g\u00253D\u00253DTAG0");</script> <link type="text/xml" rel="alternate" href="/English/_vti_bin/spsdisco.aspx" /> <link rel="canonical" href="https://www.raca.gov.qa:443/English/Pages/default.aspx" /> <span id="DeltaSPWebPartManager"> </span> <script type="text/javascript" src="/Style%20Library/RACA/JS/jquery_v3.5.1.min.js">//<![CDATA[ //]]></script> <script type="text/javascript" src="/Style%20Library/RACA/JS/bootstrap.min.js">//<![CDATA[ //]]></script> <script type="text/javascript" src="/Style%20Library/RACA/JS/jquery.colorbox-min.js">//<![CDATA[ //]]></script> <script type="text/javascript" src="/Style%20Library/RACA/JS/jquery-ui.min.js">//<![CDATA[ //]]></script> <script type="text/javascript" src="/Style%20Library/ClientLisAssets/js/handlebars.js">//<![CDATA[ //]]></script> <script type="text/javascript" src="/Style%20Library/ClientLisAssets/js/jquery-serializeFields.js">//<![CDATA[ //]]></script> <script type="text/javascript" src="/Style%20Library/ClientLisAssets/js/ClientControls.js?v=1">//<![CDATA[ //]]></script> <script type="text/javascript" src="/Style%20Library/ClientLisAssets/js/ListViewViewer.js">//<![CDATA[ //]]></script> <script type="text/javascript" src="/Style%20Library/javascripts/moment.js">//<![CDATA[ //]]></script> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.21.0/locale/ar-sa.js">//<![CDATA[ //]]></script> <script type="text/javascript" src="/Style%20Library/RACA/JS/slick.js" charset="utf-8">//<![CDATA[ //]]></script> <script type="text/javascript" src="/Style%20Library/RACA/JS/Portal.js" charset="utf-8">//<![CDATA[ //]]></script> <script type="text/javascript" src="/Style%20Library/JavaScripts/ServiceMenu.js" charset="utf-8">//<![CDATA[ //]]></script> </head> <body onhashchange="if (typeof(_spBodyOnHashChange) != 'undefined') _spBodyOnHashChange();"> <div id="imgPrefetch" style="display:none"> <img src="/_layouts/15/images/spcommon.png" /> </div> <form method="post" action="./default.aspx" onsubmit="javascript:return WebForm_OnSubmit();" id="aspnetForm"> <div class="aspNetHidden"> <input type="hidden" name="_wpcmWpid" id="_wpcmWpid" value="" /> <input type="hidden" name="wpcmVal" id="wpcmVal" value="" /> <input type="hidden" name="MSOWebPartPage_PostbackSource" id="MSOWebPartPage_PostbackSource" value="" /> <input type="hidden" name="MSOTlPn_SelectedWpId" id="MSOTlPn_SelectedWpId" value="" /> <input type="hidden" name="MSOTlPn_View" id="MSOTlPn_View" value="0" /> <input type="hidden" name="MSOTlPn_ShowSettings" id="MSOTlPn_ShowSettings" value="False" /> <input type="hidden" name="MSOGallery_SelectedLibrary" id="MSOGallery_SelectedLibrary" value="" /> <input type="hidden" name="MSOGallery_FilterString" id="MSOGallery_FilterString" value="" /> <input type="hidden" name="MSOTlPn_Button" id="MSOTlPn_Button" value="none" /> <input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" /> <input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" /> <input type="hidden" name="__REQUESTDIGEST" id="__REQUESTDIGEST" value="noDigest" /> <input type="hidden" name="MSOSPWebPartManager_DisplayModeName" id="MSOSPWebPartManager_DisplayModeName" value="Browse" /> <input type="hidden" name="MSOSPWebPartManager_ExitingDesignMode" id="MSOSPWebPartManager_ExitingDesignMode" value="false" /> <input type="hidden" name="MSOWebPartPage_Shared" id="MSOWebPartPage_Shared" value="" /> <input type="hidden" name="MSOLayout_LayoutChanges" id="MSOLayout_LayoutChanges" value="" /> <input type="hidden" name="MSOLayout_InDesignMode" id="MSOLayout_InDesignMode" value="" /> <input type="hidden" name="_wpSelected" id="_wpSelected" value="" /> <input type="hidden" name="_wzSelected" id="_wzSelected" value="" /> <input type="hidden" name="MSOSPWebPartManager_OldDisplayModeName" id="MSOSPWebPartManager_OldDisplayModeName" value="Browse" /> <input type="hidden" name="MSOSPWebPartManager_StartWebPartEditingName" id="MSOSPWebPartManager_StartWebPartEditingName" value="false" /> <input type="hidden" name="MSOSPWebPartManager_EndWebPartEditing" id="MSOSPWebPartManager_EndWebPartEditing" value="false" /> <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUBMA9kFgJmD2QWAgIBD2QWBAIBD2QWBAITD2QWAgIDD2QWAmYPZBYCZg88KwAGAGQCFQ9kFgICAQ9kFggFJmdfODg0YjFiMTNfZmFjZl80MTdiX2IyYTdfYmJjNGEzMjliZGI1D2QWBGYPFgIeB1Zpc2libGVoZAIBDxYCHwBoZAUmZ19hNmQwNDIyNF8zM2NiXzQ1NmZfOTZmYl80YjlmMDllNTM2ZjMPZBYEZg8WAh8AaGQCAQ8WAh8AaGQFJmdfYTRlZWM0MGZfNzI3NV80YjQyX2I3ZjBfNWE4NDZlMzZmYjNkD2QWBGYPFgIfAGhkAgEPFgIfAGhkBSZnXzFkNzVmNzZlXzM3ZGRfNDA3Yl84ZmQ5X2Y2NDRkZjZiZGRmYQ9kFgRmDxYCHwBoZAIBDxYCHwBoZAIGD2QWBgICD2QWAgICD2QWAgIBD2QWAgIDDxYCHwBoFgJmD2QWBAIDD2QWBgIBDxYCHwBoZAIDDxYCHwBoZAIFDxYCHwBoZAIEDw8WAh4JQWNjZXNzS2V5BQEvZGQCBg9kFgQCAQ8WAh8AaBYCAgMPZBYEAgEPFgQeCWlubmVyaHRtbAUPQ2hhbmdlIFBhc3N3b3JkHgRocmVmBTlodHRwczovL3d3dy5yYWNhLmdvdi5xYS9FbmdsaXNoL1BhZ2VzL0NoYW5nZVBhc3N3b3JkLmFzcHhkAgMPFgQfAgUST3JnYW5pemF0aW9ucyBEYXRhHwMFNGh0dHBzOi8vd3d3LnJhY2EuZ292LnFhL0VuZ2xpc2gvUGFnZXMvRGFzaGJvYXJkLmFzcHhkAgMPDxYKHgtQb3N0QmFja1VybAU/L0VuZ2xpc2gvUGFnZXMvTG9naW4uYXNweD9SZXR1cm5Vcmw9L0VuZ2xpc2gvUGFnZXMvRGVmYXVsdC5hc3B4HghDc3NDbGFzcwUIbG5rTG9naW4eBFRleHQFB1NpZ24gSW4eDU9uQ2xpZW50Q2xpY2tlHgRfIVNCAgJkZAIQD2QWAmYPD2QWBh4FY2xhc3MFGG1zLXNidGFibGUgbXMtc2J0YWJsZS1leB4LY2VsbHBhZGRpbmcFATAeC2NlbGxzcGFjaW5nBQEwZGSdV0DKqWRlfpkkJgDLgCYLija6cojB1lY2H/olkRITnQ==" /> </div> <script type="text/javascript"> //<![CDATA[ var theForm = document.forms['aspnetForm']; if (!theForm) { theForm = document.aspnetForm; } function __doPostBack(eventTarget, eventArgument) { if (!theForm.onsubmit || (theForm.onsubmit() != false)) { theForm.__EVENTTARGET.value = eventTarget; theForm.__EVENTARGUMENT.value = eventArgument; theForm.submit(); } } //]]> </script> <script src="/WebResource.axd?d=pFBwP9v-v5ATMR5KwSfF0PGg4OBDmd6TJyA5D5zb4mlLbwGK_Od-b-TlRMsXF5ohjePtyfWYSGn65hcxvNaX7q9UGUEZ5M7QPQ2mNqDOInc1&t=638563379773552689" type="text/javascript"></script> <script type="text/javascript"> //<![CDATA[ var MSOWebPartPageFormName = 'aspnetForm'; var g_presenceEnabled = true; var g_wsaEnabled = false; var g_correlationId = '4c2868a1-bea1-6097-d24d-a14494f927a7'; var g_wsaQoSEnabled = false; var g_wsaQoSDataPoints = []; var g_wsaRUMEnabled = false; var g_wsaLCID = 1033; var g_wsaListTemplateId = 850; var g_wsaSiteTemplateId = 'BLANKINTERNET#2'; var _spPageContextInfo={"webServerRelativeUrl":"/English","webAbsoluteUrl":"https://www.raca.gov.qa/English","viewId":"","listId":"{1c8950e4-be58-4f97-8ccd-8922a8eb109d}","listPermsMask":{"High":16,"Low":196673},"listUrl":"/English/Pages","listTitle":"Pages","listBaseTemplate":850,"viewOnlyExperienceEnabled":false,"blockDownloadsExperienceEnabled":false,"idleSessionSignOutEnabled":false,"cdnPrefix":"","siteAbsoluteUrl":"https://www.raca.gov.qa","siteId":"{0ea807a0-e0a7-4652-ad89-c13c36d0d7b3}","showNGSCDialogForSyncOnTS":false,"supportPoundStorePath":true,"supportPercentStorePath":true,"siteSubscriptionId":null,"CustomMarkupInCalculatedFieldDisabled":true,"AllowCustomMarkupInCalculatedField":false,"isSPO":false,"farmLabel":null,"serverRequestPath":"/English/Pages/default.aspx","layoutsUrl":"_layouts/15","webId":"{f36a836f-008b-4c44-88da-1a5c15198eca}","webTitle":"Home","webTemplate":"53","webTemplateConfiguration":"BLANKINTERNET#2","webDescription":"","tenantAppVersion":"0","isAppWeb":false,"webLogoUrl":"/Style%20Library/Portal_Images/RACALogoEn.jpg","webLanguage":1033,"currentLanguage":1033,"currentUICultureName":"en-US","currentCultureName":"en-US","currentCultureLCID":1033,"env":null,"nid":0,"fid":0,"serverTime":"2024-11-28T01:17:12.1938044Z","siteClientTag":"4199$$16.0.10379.20000","crossDomainPhotosEnabled":false,"openInClient":true,"Has2019Era":true,"webUIVersion":15,"webPermMasks":{"High":16,"Low":196673},"pageListId":"{1c8950e4-be58-4f97-8ccd-8922a8eb109d}","pageItemId":1,"pagePermsMask":{"High":16,"Low":196673},"pagePersonalizationScope":1,"userEmail":"","userId":0,"userLoginName":null,"userDisplayName":null,"isAnonymousUser":true,"isAnonymousGuestUser":false,"isEmailAuthenticationGuestUser":false,"isExternalGuestUser":false,"systemUserKey":null,"alertsEnabled":true,"siteServerRelativeUrl":"/","allowSilverlightPrompt":"True","themeCacheToken":"/English:/_catalogs/theme/Themed/626BDBFA:5:","themedCssFolderUrl":"/_catalogs/theme/Themed/626BDBFA","themedImageFileNames":{"spcommon.png":"spcommon-B35BB0A9.themedpng?ctag=5","ellipsis.11x11x32.png":"ellipsis.11x11x32-2F01F47D.themedpng?ctag=5","O365BrandSuite.95x30x32.png":"O365BrandSuite.95x30x32-C212E2FD.themedpng?ctag=5","socialcommon.png":"socialcommon-6F3394A9.themedpng?ctag=5","spnav.png":"spnav-230C537D.themedpng?ctag=5"},"modernThemingEnabled":true,"isSiteAdmin":false,"ExpFeatures":[480216468,1884350801,1158731092,62197791,538521105,335811073,4194306,34614301,268500996,-1946025984,28445328,-2147475455,134291456,65536,288,950272,1282,808326148,134217873,0,0,-1073217536,545285252,18350656,-467402752,6291457,-2147483644,1074794496,-1728053184,1845537108,622628,4102,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"killSwitches":{},"CorrelationId":"4c2868a1-bea1-6097-d24d-a14494f927a7","hasManageWebPermissions":false,"isNoScriptEnabled":false,"groupId":null,"groupHasHomepage":true,"groupHasQuickLaunchConversationsLink":false,"departmentId":null,"hubSiteId":null,"hasPendingWebTemplateExtension":false,"isHubSite":false,"isWebWelcomePage":true,"siteClassification":"","hideSyncButtonOnODB":false,"showNGSCDialogForSyncOnODB":false,"sitePagesEnabled":false,"sitePagesFeatureVersion":0,"DesignPackageId":"00000000-0000-0000-0000-000000000000","groupType":null,"groupColor":"#ee0410","siteColor":"#ee0410","headerEmphasis":0,"navigationInfo":null,"guestsEnabled":false,"MenuData":{"SignInUrl":"/English/_layouts/15/Authenticate.aspx?Source=%2FEnglish%2FPages%2Fdefault%2Easpx"},"RecycleBinItemCount":-1,"PublishingFeatureOn":true,"PreviewFeaturesEnabled":false,"disableAppViews":false,"disableFlows":false,"serverRedirectedUrl":null,"formDigestValue":"0xF32870BE21A1C3419C90CDFDBD8D81EF04CA15F4AE975B9E11243BA0C221BF8AE14E51C3C06A5DE631782F43901BEFEE2B4D635E1E4156A9BDB309B717C704B0,28 Nov 2024 01:17:12 -0000","maximumFileSize":10240,"formDigestTimeoutSeconds":1800,"canUserCreateMicrosoftForm":false,"canUserCreateVisioDrawing":true,"readOnlyState":null,"isTenantDevSite":false,"preferUserTimeZone":false,"userTimeZoneData":null,"userTime24":false,"userFirstDayOfWeek":null,"webTimeZoneData":null,"webTime24":false,"webFirstDayOfWeek":null,"isSelfServiceSiteCreationEnabled":null,"alternateWebAppHost":"","aadTenantId":"","aadUserId":"","aadInstanceUrl":"","msGraphEndpointUrl":"https://","allowInfectedDownload":true};_spPageContextInfo.updateFormDigestPageLoaded=new Date();_spPageContextInfo.clientServerTimeDelta=new Date(_spPageContextInfo.serverTime)-new Date();if(typeof(define)=='function'){define('SPPageContextInfo',[],function(){return _spPageContextInfo;});}var L_Menu_BaseUrl="/English"; var L_Menu_LCID="1033"; var L_Menu_SiteTheme="null"; document.onreadystatechange=fnRemoveAllStatus; function fnRemoveAllStatus(){removeAllStatus(true)};Flighting.ExpFeatures = [480216468,1884350801,1158731092,62197791,538521105,335811073,4194306,34614301,268500996,-1946025984,28445328,-2147475455,134291456,65536,288,950272,1282,808326148,134217873,0,0,-1073217536,545285252,18350656,-467402752,6291457,-2147483644,1074794496,-1728053184,1845537108,622628,4102,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]; (function() { if(typeof(window.SP) == "undefined") window.SP = {}; if(typeof(window.SP.YammerSwitch) == "undefined") window.SP.YammerSwitch = {}; var ysObj = window.SP.YammerSwitch; ysObj.IsEnabled = false; ysObj.TargetYammerHostName = "www.yammer.com"; } )(); var _spWebPartComponents = new Object();//]]> </script> <script src="/_layouts/15/blank.js?rev=4H%2FxztISBaAK9om5DwyJ2w%3D%3DTAG0" type="text/javascript"></script> <script type="text/javascript"> //<![CDATA[ window.SPThemeUtils && SPThemeUtils.RegisterCssReferences([{"Url":"\u002f_layouts\u002f15\u002f1033\u002fstyles\u002fThemable\u002fcorev15.css?rev=81LKB2rtyOe2nhEYl18yiw\u00253D\u00253DTAG0","OriginalUrl":"\u002f_layouts\u002f15\u002f1033\u002fstyles\u002fThemable\u002fcorev15.css?rev=81LKB2rtyOe2nhEYl18yiw\u00253D\u00253DTAG0","Id":"CssLink-0f030bd054a743a6b228e0a5ec93b6df","ConditionalExpression":"","After":"","RevealToNonIE":"false"},{"Url":"\u002f_layouts\u002f15\u002f1033\u002fstyles\u002fThemable\u002fsearch.css?rev=0j7sngZjexrBV5VNYukliw\u00253D\u00253DTAG0","OriginalUrl":"\u002f_layouts\u002f15\u002f1033\u002fstyles\u002fThemable\u002fsearch.css?rev=0j7sngZjexrBV5VNYukliw\u00253D\u00253DTAG0","Id":"CssLink-fa93455e21ba4f5db0b61ad3505f4416","ConditionalExpression":"","After":"","RevealToNonIE":"false"},{"Url":"\u002fStyle Library\u002fCSS\u002fSystemAlternate.css","OriginalUrl":"\u002fStyle Library\u002fCSS\u002fSystemAlternate.css","Id":"CssLink-3e407da148b349138518fd6e6d602154","ConditionalExpression":"","After":"","RevealToNonIE":"false"},{"Url":"\u002fStyle Library\u002fRACA\u002fCSS\u002fbootstrap.css","OriginalUrl":"\u002fStyle Library\u002fRACA\u002fCSS\u002fbootstrap.css","Id":"CssLink-4046ed73e5b7495ab81ced45e442ad25","ConditionalExpression":"","After":"System.String[]","RevealToNonIE":"false"},{"Url":"\u002fStyle Library\u002fCSS\u002fbootstrap.min.css","OriginalUrl":"\u002fStyle Library\u002fCSS\u002fbootstrap.min.css","Id":"CssLink-62184914794b4725afd4d7a430b80c7a","ConditionalExpression":"","After":"System.String[]","RevealToNonIE":"false"},{"Url":"\u002fStyle Library\u002fCSS\u002ffontawesome.min.css","OriginalUrl":"\u002fStyle Library\u002fCSS\u002ffontawesome.min.css","Id":"CssLink-c28b2a96bfdd4054820e1fb64271a6f2","ConditionalExpression":"","After":"System.String[]","RevealToNonIE":"false"},{"Url":"\u002fStyle Library\u002fCSS\u002flightslider.css","OriginalUrl":"\u002fStyle Library\u002fCSS\u002flightslider.css","Id":"CssLink-aad2a0907a5a47e68e37b8b9f3b0060e","ConditionalExpression":"","After":"System.String[]","RevealToNonIE":"false"},{"Url":"\u002fStyle Library\u002fRACA\u002fCSS\u002fall.css","OriginalUrl":"\u002fStyle Library\u002fRACA\u002fCSS\u002fall.css","Id":"CssLink-f281fc68c46d414b8f3fd542fd3756be","ConditionalExpression":"","After":"System.String[]","RevealToNonIE":"false"},{"Url":"\u002fStyle Library\u002fRACA\u002fCSS\u002fslick.css","OriginalUrl":"\u002fStyle Library\u002fRACA\u002fCSS\u002fslick.css","Id":"CssLink-f7b7afba3f594a9c8a50a41424b4c6a7","ConditionalExpression":"","After":"System.String[]","RevealToNonIE":"false"},{"Url":"\u002fStyle Library\u002fRACA\u002fCSS\u002fstyle.css","OriginalUrl":"\u002fStyle Library\u002fRACA\u002fCSS\u002fstyle.css","Id":"CssLink-174813ad4042420da49a1e14c8a252ce","ConditionalExpression":"","After":"System.String[]","RevealToNonIE":"false"},{"Url":"\u002fStyle Library\u002fRACA\u002fCSS\u002fjquery-ui.css","OriginalUrl":"\u002fStyle Library\u002fRACA\u002fCSS\u002fjquery-ui.css","Id":"CssLink-78295baf01254063bea786215c896211","ConditionalExpression":"","After":"System.String[]","RevealToNonIE":"false"},{"Url":"\u002fStyle Library\u002fRACA\u002fCSS\u002fen-US\u002fstyle.css","OriginalUrl":"\u002fStyle Library\u002fRACA\u002fCSS\u002fen-US\u002fstyle.css","Id":"CssLink-4ae7e707eec5457cb376b2f7748ad0b0","ConditionalExpression":"","After":"System.String[]","RevealToNonIE":"false"},{"Url":"\u002fStyle Library\u002fRACA\u002fCSS\u002fresponsive.css","OriginalUrl":"\u002fStyle Library\u002fRACA\u002fCSS\u002fresponsive.css","Id":"CssLink-e1a54885bd274332a9a8d208b50bf212","ConditionalExpression":"","After":"System.String[]","RevealToNonIE":"false"},{"Url":"\u002fStyle Library\u002fRACA\u002fCSS\u002fDesigner02.css","OriginalUrl":"\u002fStyle Library\u002fRACA\u002fCSS\u002fDesigner02.css","Id":"CssLink-8ee4b77fddda4b91a9882ce9f50829b9","ConditionalExpression":"","After":"System.String[]","RevealToNonIE":"false"},{"Url":"\u002fStyle Library\u002fCSS\u002fmain.css","OriginalUrl":"\u002fStyle Library\u002fCSS\u002fmain.css","Id":"CssLink-fdfb0dc76b934cc2ade9e3dbbe503aea","ConditionalExpression":"","After":"System.String[]","RevealToNonIE":"false"}]); (function(){ if (typeof(_spBodyOnLoadFunctions) === 'undefined' || _spBodyOnLoadFunctions === null) { return; } _spBodyOnLoadFunctions.push(function() { SP.SOD.executeFunc('core.js', 'FollowingDocument', function() { FollowingDocument(); }); }); })();(function(){ if (typeof(_spBodyOnLoadFunctions) === 'undefined' || _spBodyOnLoadFunctions === null) { return; } _spBodyOnLoadFunctions.push(function() { SP.SOD.executeFunc('core.js', 'FollowingCallout', function() { FollowingCallout(); }); }); })();if (typeof(DeferWebFormInitCallback) == 'function') DeferWebFormInitCallback();function WebForm_OnSubmit() { UpdateFormDigest('\u002fEnglish', 1440000);if (typeof(_spFormOnSubmitWrapper) != 'undefined') {return _spFormOnSubmitWrapper();} else {return true;}; return true; } //]]> </script> <div class="aspNetHidden"> <input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="BAB98CB3" /> <input type="hidden" name="__PREVIOUSPAGE" id="__PREVIOUSPAGE" value="eXAgoPIEfbvZbQgqZgbUilHWOhJr6eIgxaE-oBdRaiH7yBApQQj8HsV5ok-RUN0iVdtitxCyEMWyLAd32djeGgVen6VYnY6zGxD9ef7uBIkRzwuhccO0tzpG8za6DiK20" /> <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEdAANJ40rhhCWZ7ns3QPHC/6t+s/8QRevXArqlByP7R58NtHOqB6+Z1t+0bCdd+SyqB8IDaKGpBtZ7S9w+RUhHl7qNSS3SLRbzqP8BUxfzV+ZTLw==" /> </div><script type="text/javascript"> //<![CDATA[ Sys.WebForms.PageRequestManager._initialize('ctl00$ScriptManager', 'aspnetForm', [], [], [], 90, 'ctl00'); //]]> </script> <div id="ms-designer-ribbon"> <div> <div id="s4-ribbonrow" style="visibility:hidden;display:none"></div> </div> </div> <div class="webPage"> <div id="s4-workspace"> <div id="s4-bodyContainer"> <div class="holdMenuPlace"> <div class="accessibality"> <div class="container"> <div class="row"> <div class="col-12"> <div class="holdAccess "> <div class="searchScreen search"> </div> <div class="separateBlk"> <div id="RACAWelcomeHolder"> <a id="ctl00_CurrentUserControl_lnkLogout" class="lnkLogin" href="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$CurrentUserControl$lnkLogout", "", false, "", "/English/Pages/Login.aspx?ReturnUrl=/English/Pages/Default.aspx", false, true))">Sign In</a> </div> </div> <div class="accessability separateBlk" title="Contrast"> <img id="themechange" class="contrast" src="/Style%20Library/RACA/Images/eye.png" /> </div> <div class="fontSize separateBlk" title="Change font size"> <span id="linkDecrease" class="minusFont">- </span> <span id="linkIncrease" class="plusFont">+ </span> </div> <div class="language separateBlk"> <a title="Chnage site language" href="javascript:SwitchLanguage('english','arabic');">毓乇亘賷</a> </div> </div> </div> </div> </div> </div> <div class="header"> <div class="container"> <div class="row"> <div class="col-12"> <div class="navTheme"> <div class="holdSearch"> <div class="Mlanguage"> </div> <div class="search searchRemove"> <div id="SRSB"> <div id="ctl00_SearchBox" class="s4-search"> <table class="ms-sbtable ms-sbtable-ex" cellpadding="0" cellspacing="0"> <tr class="ms-sbrow"> <td class="ms-sbcell"><input name="ctl00$SearchBox$S6F789EBA_InputKeywords" type="text" maxlength="200" id="ctl00_SearchBox_S6F789EBA_InputKeywords" accesskey="S" title="Search..." class="ms-sbplain" alt="Search..." onkeypress="javascript: return S6F789EBA_OSBEK(event);" style="width:100px;" /></td><td class="ms-sbgo ms-sbcell"><a id="ctl00_SearchBox_S6F789EBA_go" title="Search" href="javascript:S6F789EBA_Submit()"><img title="Search" onmouseover="this.src='\u002f_layouts\u002fimages\u002fgosearch.gif'" onmouseout="this.src='\u002f_layouts\u002fimages\u002fgosearch.gif'" class="srch-gosearchimg" alt="Search" src="/_layouts/images/gosearch.gif" /></a></td><td class="ms-sbLastcell"></td> </tr> </table> </div></div> </div> </div> <ul id="menuLevel1"> <li> <a href="javascript:void(0);" onmouseover="changeUrl(this,1)" class="activeLiMenu"> <p>丕賱鬲毓乇賷賮 亘丕賱賴賷卅丞 </p> <div class="onHoverLine"> </div> </a> </li> <li> <a href="javascript:void(0);" onmouseover="changeUrl(this,2)"> <p>丕賱禺丿賲丕鬲 賵丕賱賳賲丕匕噩 </p> <div class="onHoverLine"> </div> </a> </li> <li> <a href="javascript:void(0);" onmouseover="changeUrl(this,3)"> <p>丕賱賲賳馗賲丕鬲 丕賱禺賷乇賷丞 </p> <div class="onHoverLine"> </div> </a> </li> <li> <a href="javascript:void(0);" onmouseover="changeUrl(this,4)"> <p>丕賱鬲毓賱賷賲丕鬲 賵丕賱廿乇卮丕丿丕鬲 </p> <div class="onHoverLine"> </div> </a> </li> <li> <a href="javascript:void(0);" onmouseover="changeUrl(this,5)"> <p>丕賱鬲賵丕氐賱 賲毓 丕賱賴賷卅丞 </p> <div class="onHoverLine"> </div> </a> </li> </ul> <div class="menuHoldLogo"> <a href="/English/Pages/default.aspx"> <img src="/Style%20Library/RACA/Images/logo.png" class="logoChange" /> </a> <i class="fa fa-bars menuBar" onclick="showMenu()"> </i> </div> </div> </div> </div> </div> </div> <div class="menu"> <div class="container"> <div class="row"> <div class="col-12 relativePosition"> <div class="holdMenuAbs"> <ul id="listMenu-5" class="listParentList"> <li> <a href="">丕賱兀爻卅賱丞 丕賱卮丕卅毓丞 </a> </li> <li> <a href="">丕賱廿爻鬲賮爻丕乇丕鬲 賵丕賱卮賰丕賵賷 </a> </li> <li> <a href="">丕賱鬲賳爻賷賯 丕賱賵胤賳賷 </a> </li> <li> <a href="">丕賱鬲毓丕賵賳 丕賱丿賵賱賷 </a> </li> </ul> <ul id="listMenu-4" class="listParentList"> <li> <a href="">丕賱賯賵丕賳賷賳 賵 丕賱賯乇丕乇丕鬲 </a> </li> <li> <a href="">丕賱鬲毓丕賲賷賲 賵 丕賱兀丿賱丞 丕賱鬲賳馗賷賲賷丞 </a> </li> <li> <a href="">丕賱賲賲丕乇爻丕鬲 丕賱丿賵賱賷丞 </a> </li> <li> <a href="">丕賱賳卮乇丕鬲 丕賱鬲賵毓賵賷丞 </a> </li> <li> <a href="">丕賱噩夭丕亍丕鬲 賵 丕賱毓賯賵亘丕鬲 </a> </li> </ul> <ul id="listMenu-3" class="listParentList"> <li> <a href="">丕賱噩賲毓賷丕鬲 丕賱禺賷乇賷丞 </a> </li> <li> <a href="">丕賱賲丐爻爻丕鬲 丕賱禺丕氐丞 丕賱禺賷乇賷丞 </a> </li> <li> <a href="">丕賱賲賳馗賲丕鬲 丕賱兀禺乇賶 丕賱睾賷乇 賴丕丿賮丞 賱賱乇亘丨 </a> </li> </ul> <ul id="listMenu-2" class="listParentList"> <li> <a href="">鬲爻噩賷賱 賲賳馗賲丞 禺賷乇賷丞 噩丿賷丿丞 </a> <ul> <li> <a href="">鬲爻噩賷賱 噩賲毓賷丞 禺賷乇賷丞 <div class="onHoverLine"> </div> </a> </li> <li> <a href="">鬲爻噩賷賱 賲丐爻爻丞 禺丕氐丞 禺賷乇賷丞 <div class="onHoverLine"> </div> </a> </li> </ul> <i class="fas fa-chevron-down"> </i> </li> <li> <a href="">鬲毓丿賷賱 亘賷丕賳丕鬲 賲賳馗賲丞 賲爻噩賱丞 </a> </li> <li> <a href="">爻賳丿賷 (丕賱賲亘丕丿乇丞 丕賱賵胤賳賷丞 賱鬲賳爻賷賯 丕賱賲爻丕毓丿丕鬲 丕賱丿丕禺賱賷丞) </a> </li> </ul> <ul id="listMenu-1" class="listParentList"> <li> <a href="">賳亘匕丞 鬲毓乇賷賮賷丞 </a> <ul> <li> <a href="">賲噩賱爻 廿丿丕乇丞 丕賱賴賷卅丞 <div class="onHoverLine"> </div> </a> </li> <li> <a href="">丕賱賲丿賷乇 丕賱毓丕賲 <div class="onHoverLine"> </div> </a> </li> <li> <a href="">廿禺鬲氐丕氐丕鬲 丕賱賴賷卅丞 <div class="onHoverLine"> </div> </a> </li> <li> <a href="">丕賱賴賷賰賱 丕賱鬲賳馗賷賲賷 <div class="onHoverLine"> </div> </a> </li> </ul> <i class="fas fa-chevron-down"> </i> </li> <li> <a href="">丕賱兀禺亘丕乇 賵丕賱賮毓丕賱賷丕鬲 </a> <ul> <li> <a href="">兀禺亘丕乇 丕賱賴賷卅丞 <div class="onHoverLine"> </div> </a> </li> <li> <a href="">丕賱賮毓丕賱賷丕鬲 丕賱鬲賵毓賵賷丞 <div class="onHoverLine"> </div> </a> </li> <li> <a href="">兀禺亘丕乇 丕賱毓賲賱 丕賱禺賷乇賷 <div class="onHoverLine"> </div> </a> </li> </ul> <i class="fas fa-chevron-down"> </i> </li> <li> <a href="">丕賱鬲賯丕乇賷乇 賵丕賱丿乇丕爻丕鬲 </a> <ul> <li> <a href="">鬲賯丕乇賷乇 丕賱廿賳噩丕夭 丕賱爻賳賵賷丞 <div class="onHoverLine"> </div> </a> </li> <li> <a href="">丿乇丕爻丕鬲 賵兀亘丨丕孬 <div class="onHoverLine"> </div> </a> </li> <li> <a href="">鬲賯丕乇賷乇 廿丨氐丕卅賷丞 <div class="onHoverLine"> </div> </a> </li> <li> <a href="">廿爻鬲乇丕鬲賷噩賷丞 丕賱賴賷卅丞 <div class="onHoverLine"> </div> </a> </li> </ul> <i class="fas fa-chevron-down"> </i> </li> </ul> </div> </div> </div> </div> </div> </div> <div class="webcontent"> </div> <div class="contentOfWebsite"> <span id="DeltaPlaceHolderMain"> <div style='display:none' id='hidZone'><menu class="ms-hide"> <ie:menuitem id="MSOMenu_Help" iconsrc="/_layouts/15/images/HelpIcon.gif" onmenuclick="MSOWebPartPage_SetNewWindowLocation(MenuWebPart.getAttribute('helpLink'), MenuWebPart.getAttribute('helpMode'))" text="Help" type="option" style="display:none"> </ie:menuitem> </menu></div> <div class="ms-webpart-zone ms-fullWidth"> <div id="MSOZoneCell_WebPartWPQ2" class="s4-wpcell-plain ms-webpartzone-cell ms-webpart-cell-vertical-inline-table ms-webpart-cell-vertical ms-fullWidth "> <div class="ms-webpart-chrome ms-webpart-chrome-vertical ms-webpart-chrome-fullWidth "> <div WebPartID="884b1b13-facf-417b-b2a7-bbc4a329bdb5" HasPers="false" id="WebPartWPQ2" width="100%" class="ms-WPBody noindex " allowDelete="false" style="" ><div class="ms-rtestate-field"><div id="divLoading"></div> <div class="homepageBanner" id="banners"> <script id="rows-template" type="text/x-handlebars-template"> <img src="/Style Library/Raca/images/arrowBl.png" class="arrowL commonArrowBanner" onclick="moveBanner(1)"> <img src="/Style Library/Raca/images/arrowBr.png" class="arrowR commonArrowBanner" onclick="moveBanner(2)"> {{#Row}} <a href="{{GetStringByLang2 English_x0020_Link.Url Arabic_x0020_Link.Url}}" target="{{GetTargetLink NewWindow '_blank' '_parent'}}"> <div class="banner" style="background:url('{{GetPublishingHyperlinkByLang UploadEnglishDoc UploadArabicDoc}}') no-repeat top center;" id="banner-{{inc @index}}"> <div class="container"> <div class="row"> <div class="col-12"> <div class="headerBanner headerH2Active"> <h2>{{GetStringByLang2 Title Arabic_x0020_Title}}</h2> <p>{{GetStringByLang2 Description Arabic_x0020_Description}}<p> </div> </div> </div> </div> </div> </a> {{/Row}} </script> </div> <script> StartContentLoading($('#divLoading')); $(document).ready( function () { GetUserTargetAudiences(function (targetAudiences) { RenderBanners(targetAudiences); }); } ); function RenderBanners(targetAudiences) { var filterBy = []; var filterByOr = []; filterBy.push("OData__ModerationStatus eq 0"); filterBy.push("Hide eq 0"); var request = { siteName: "/", listName: "HomeBanners", selectFields: ["Id", "Title", "Arabic_x0020_Title", "English_x0020_Link", "Arabic_x0020_Link", "Description", "Arabic_x0020_Description,NewWindow", "RACATargetAudiences/ID" ], expandFields: ["RACATargetAudiences"], selectPublishedFields: ["UploadArabicDoc", "UploadEnglishDoc"], filterBy: filterBy, orderBy: "ForPublic desc,Order", orderType: "asc", } filterByOr.push("ForPublic eq '1'"); $.each(targetAudiences, function (key, value) { filterByOr.push("RACATargetAudiences/ID eq '" + value.ID + "'"); }); request.filterByOr = filterByOr; GetListItems(request, function (results) { BindhandlerBarHtmlTemplate(results, $('#rows-template').html(), $('#banners')); $('#divLoading').empty(); if ($('.banner').length > 1) { // Timer = setTimeout('moveBanner(1)', 8000000000); } else { $('.commonArrowBanner').hide(); } }); } function GetListItems(request, callbackMethod) { var siteUrl = _spPageContextInfo.siteAbsoluteUrl; var apiUrl = siteUrl + "/_api/Web/GetList('/Lists/" + request.listName + "')/items?"; if (request.selectFields != null) apiUrl = apiUrl + "$select=" + request.selectFields.join(',') + "&"; if (request.expandFields != null) apiUrl = apiUrl + "$expand=" + request.expandFields.join(',') + "&"; if (request.filterBy != null && request.filterBy.length > 0) { var filter = ""; for (i = 0; i < request.filterBy.length; i++) filter = filter + request.filterBy[i] + " and "; var lastIndex = filter.lastIndexOf(" and "); filter = filter.substring(0, lastIndex); if (request.filterByOr != null && request.filterByOr.length > 0) apiUrl = apiUrl + "$filter=(" + filter + ")"; else apiUrl = apiUrl + "$filter=(" + filter + ")" + "&"; } if (request.filterByOr != null && request.filterByOr.length > 0) { var filter = ""; for (i = 0; i < request.filterByOr.length; i++) filter = filter + request.filterByOr[i] + " or "; var lastIndex = filter.lastIndexOf(" or "); filter = filter.substring(0, lastIndex); if (request.filterBy != null && request.filterBy.length > 0) apiUrl = apiUrl + " and (" + filter + ")" + "&"; else apiUrl = apiUrl + "$filter=(" + filter + ")" + "&"; } if (request.orderBy != null) { apiUrl = apiUrl + "$orderby= " + request.orderBy; if (request.orderType != null) apiUrl = apiUrl + " " + request.orderType + "&"; else apiUrl = apiUrl + "&"; } if (request.pager != null && request.pager.startWith != '') apiUrl = apiUrl + "$skiptoken=" + encodeURIComponent('Paged=TRUE&' + request.pager.startWith) + '&$top=' + request.pager.pageSize; else if (request.topCount > 0) apiUrl = apiUrl + '&$top=' + request.topCount; $.ajax({ url: apiUrl, method: "GET", headers: { "accept": "application/json;odata=verbose", "content-type": "application/json;odata=verbose" }, success: function (response) { var results = response.d.results; if (results.length == 0) { callbackMethod(results); return; } if (request.selectPublishedFields != null && request.selectPublishedFields .length > 0) { var index = 0; results.forEach(function (item) { var query = '/FieldValuesAsHtml?$select=' + request .selectPublishedFields.join(','); var endpointUri = item['__metadata'].uri + query; $.ajax({ url: endpointUri, method: "GET", headers: { "accept": "application/json;odata=verbose", "content-type": "application/json;odata=verbose" }, success: function (data) { for (var property in data.d) { if (property == "__metadata") continue; item[property] = data.d[property]; } index++; if (index == results.length) callbackMethod(results); }, error: function (error) { console.error(JSON.stringify(error)); } }); }); } else { callbackMethod(results); } }, error: function (error) { console.error(JSON.stringify(error)); } }); } </script></div><div class="ms-clear"></div></div> </div> </div> </div> <!--horizondal Navigation--> <div class="centered"> <div class="mainItems"> <div class="container"><div class="row"> <div class="col-12"> <div class="ms-webpart-zone ms-fullWidth"> <div id="MSOZoneCell_WebPartWPQ4" class="s4-wpcell-plain ms-webpartzone-cell ms-webpart-cell-vertical-inline-table ms-webpart-cell-vertical ms-fullWidth "> <div class="ms-webpart-chrome ms-webpart-chrome-vertical ms-webpart-chrome-fullWidth "> <div WebPartID="a4eec40f-7275-4b42-b7f0-5a846e36fb3d" HasPers="false" id="WebPartWPQ4" width="100%" class="ms-WPBody noindex " allowDelete="false" style="" ><div class="ms-rtestate-field"> <div class="row" id="divHomeNavigationTemplate"> {{#iif culture '()' 'en'}} {{#Row}} <div class="col-3"><div class="blockMain"><div class="boxMain"><a href="{{{URL}}}" title="{{Title}}"><div class="boxItem"><img src='{{GetPublishingImage PublishingPageImage }}' class="loadImage"><img src='{{GetPublishingImage PublishingRollupImage}}' class="loadImagehover"></div><span>{{Title}}</span></a></div></div></div> {{/Row}} {{else}} {{#Row}} <div class="col-3"><div class="blockMain"><div class="boxMain"><a href="{{{URLAR}}}" title="{{TitleAR}}"><div class="boxItem"><img src='{{GetPublishingImage PublishingPageImage }}' class="loadImage"><img src='{{GetPublishingImage PublishingRollupImage}}' class="loadImagehover"></div><span>{{TitleAR}}</span></a></div></div></div> {{/Row}} {{/iif}} </div> <script type="text/javascript"> $(document).ready(function(){ var divHomeNavigationTemplateHtml=$('#divHomeNavigationTemplate').html(); var filterBy = []; filterBy.push("OData__ModerationStatus eq 0"); filterBy.push("(HomeLink eq 16 or HomeLink eq null)"); filterBy.push("Show eq '1'"); var request = { siteName: "/", listName: "Home Navigation List", selectFields: ["ID","Title","TitleAR","URLAR","URL"], selectPublishedFields: ["PublishingPageImage","PublishingRollupImage"], orderBy: "ItemOrder", orderType: "asc", } request.filterBy = filterBy; StartContentLoading($('#divHomeNavigationTemplate')); BindListItems(request,divHomeNavigationTemplateHtml, $('#divHomeNavigationTemplate'),function (e) {}); }); </script> </div><div class="ms-clear"></div></div> </div> </div> </div></div> </div></div></div></div> <div class="newsBanner"> <div class="container"><div class="row"> <div class="col-6"> <div class="ms-webpart-zone ms-fullWidth"> <div id="MSOZoneCell_WebPartctl00_ctl38_g_e6704af1_9df2_41ee_a36f_d82fe239bf57" class="s4-wpcell-plain ms-webpartzone-cell ms-webpart-cell-vertical-inline-table ms-webpart-cell-vertical ms-fullWidth "> <div class="ms-webpart-chrome ms-webpart-chrome-vertical ms-webpart-chrome-fullWidth "> <div WebPartID="e6704af1-9df2-41ee-a36f-d82fe239bf57" HasPers="false" id="WebPartctl00_ctl38_g_e6704af1_9df2_41ee_a36f_d82fe239bf57" width="100%" class="ms-WPBody noindex " allowDelete="false" style="" ><div id="ctl00_ctl38_g_e6704af1_9df2_41ee_a36f_d82fe239bf57"> <script> $(document).ready(function () { var moduleName = "RACANews"; var divName = 'AllHtmlDiv' +"divNews"; var templateType = "HomeListing"; var filterClass = 'listFiewFilter' + "divNews"; var pagerClass = 'ListViewViewerNextPrev' + "divNews"; var pagerFun = 'GetPager' + "divNews"; var view; var replacedView; var list; var DataSettings; // var hashObj = GetHashesObject(); var searchUrl; var htmlID; var pagerHtmlId; var progressHtmlID; var filterHtmlID; var listSite; var templateResponse; var pagingTemplateResponse; var progressTemplateResponse; var notFoundTemplateResponse; var TemplatesFolderPath = "/Style Library/ClientList/" + moduleName + "/"; var listName; var templateName = ""; var filtersCount; var viewName; var listID; var viewID; //Load All html templates var AllHtmlTemplateResponse var AllHtmlTemplateSettings = { "url": TemplatesFolderPath + "Template.html", "method": "GET", } var AllListDetailsResponse; $(window).on('hashchange', function () { GetAllData(); }); function Prepare() { var templateSettings = { "url": "", "method": "GET", } //load all & pager template templateSettings.url = TemplatesFolderPath + templateName; $.ajax(templateSettings).done(function (Response) { templateResponse = Response; if (pagerHtmlId != null) { var pagerTemplateDiv = $('#' + divName + ' #' + pagerHtmlId); if (pagerTemplateDiv.length > 0) { var pagerTemplate = $('#' + divName + ' #' + pagerHtmlId).attr('vl-Template'); if (pagerTemplate != null) { templateSettings.url = TemplatesFolderPath + pagerTemplate; $.ajax(templateSettings).done(function (pagerResponse) { pagingTemplateResponse = pagerResponse; pagingTemplateResponse = "{{#" + pagerFun + " this}}" + pagingTemplateResponse + "{{/" + pagerFun + "}}"; GetAllData(); }); } else { console.log('%c' + moduleName + ': pager html element ' + pagerHtmlId + ' does not have this attribute : vl-Template', 'color: DodgerBlue'); GetAllData(); } } else { console.log('%c' + moduleName + ': pager html element ' + pagerHtmlId + ' is not found', 'color: DodgerBlue'); GetAllData(); } } else { console.log('%c' + moduleName + ': this attribute "vl-pagerhtmlid" is not found in root div', 'color: Orange'); GetAllData(); } }); } $.ajax(AllHtmlTemplateSettings).done(function (AllHtmlTemplateResponse) { var tempHtml = AllHtmlTemplateResponse; var tmpl = Handlebars.compile(tempHtml + "<a style='display:none;' id='dwnldLnk" + moduleName + "' ></a>"); $('#' + divName).html(tmpl({ culture: GetCurrentCulture() })); $('#' + divName).css("text-align", 'inherit'); if (templateType == '') templateType = "ViewListing"; var $ListingDivsList = $('#' + divName + ' [vl-Type="' + templateType + '"]'); if ($ListingDivsList.length == 0) { console.log('%c' + moduleName + ': this html element with this attribute is not found : vl-Type="Listing"', 'color: Red') return; } $.each($ListingDivsList, function (key, value) { var $ListDiv = $ListingDivsList[key]; //validations on attributes if ($ListDiv.attributes['vl-Template'] != null) { var template = $ListDiv.attributes['vl-Template'].value; templateName = template; } else { console.log('%c' + moduleName + ':this html element :' + $ListDiv.id + ' - does not have this attribute : vl-Template', 'color: Red'); return; } if ($ListDiv.attributes['vl-ListName'] != null) listName = $ListDiv.attributes['vl-ListName'].value; else { console.log('%c' + moduleName + ':this attribute is not found : vl-ListName', 'color: Red') return; } if ($ListDiv.attributes['vl-ViewName'] != null) viewName = $ListDiv.attributes['vl-ViewName'].value; else { console.log('%c' + moduleName + ':this attribute is not found : vl-ViewName', 'color: Red') return; } if ($ListDiv.attributes['vl-ListSite'] != null) listSite = $ListDiv.attributes['vl-ListSite'].value; else { console.log('%c' + moduleName + ':this attribute is not found : vl-ListSite', 'color: Red') return; } if ($ListDiv.attributes['vl-ListHtmlID'] != null) htmlID = $ListDiv.attributes['vl-ListHtmlID'].value; else { console.log('%c' + moduleName + ':this attribute is not found : vl-ListHtmlID', 'color: Red') return; } if ($ListDiv.attributes['vl-PagerHtmlID'] != null) pagerHtmlId = $ListDiv.attributes['vl-PagerHtmlID'].value; else { console.log('%c' + moduleName + ':this attribute is not found : vl-PagerHtmlID', 'color: Orange') } if ($ListDiv.attributes['vl-FilterHtmlID'] != null) { filterHtmlID = $ListDiv.attributes['vl-FilterHtmlID'].value; } else { console.log('%c' + moduleName + ':this attribute is not found : vl-FilterHtmlID', 'color: Orange') } if ($ListDiv.attributes['vl-notFoundTemplate'] != null) { var notfoundtemplatename = $ListDiv.attributes['vl-notFoundTemplate'].value; AllHtmlTemplateSettings.url = TemplatesFolderPath + notfoundtemplatename; $.ajax(AllHtmlTemplateSettings).done(function (notfoundTempResponse) { notFoundTemplateResponse = notfoundTempResponse; }); } else { console.log('%c' + moduleName + ':this attribute is not found : vl-notFoundTemplate', 'color: Orange') } //get all list details var AllListDetailsSettings = { "url": "/_api/Web/lists/GetByTitle('" + listName + "')?$select=Views/title,Views/id,id&$expand=views", "method": "GET", "headers": { "accept": "application/json;odata=verbose", } } if (listSite != "/") AllListDetailsSettings.url = listSite + "/_api/Web/lists/GetByTitle('" + listName + "')?$select=Views/title,Views/id,id&$expand=views"; $.ajax(AllListDetailsSettings).done(function (ListDetailsResponse) { AllListDetailsResponse = ListDetailsResponse; //list Id listID = ListDetailsResponse.d.Id.toUpperCase(); //view Id for (var i = 0; i < AllListDetailsResponse.d.Views.results.length; i++) { if (AllListDetailsResponse.d.Views.results[i].Title == viewName) { viewID = AllListDetailsResponse.d.Views.results[i].Id.toUpperCase(); } } if (viewID == null) { console.log('%c' + moduleName + ':viw name ' + viewName + ' is not found', 'color: Red'); return; } var templateSettings = { "url": "", "method": "GET", } LoadAllProgressDetails($ListDiv); view = 'View={' + viewID + '}'; replacedView = 'View=' + viewID.toLowerCase(); list = 'List={' + listID + '}'; searchUrl = "/_layouts/15/inplview.aspx?" + list + "&ViewCount=12&IsXslView=TRUE&IsCSR=TRUE"; if (listSite != "/") searchUrl = listSite + "/_layouts/15/inplview.aspx?" + list + "&ViewCount=12&IsXslView=TRUE&IsCSR=TRUE"; //if (filterHtmlID == null) { // return; //} //Prepare filter Part var $FilterFivsList = $('#' + divName + ' #' + filterHtmlID + ' [vl-type="filter"]'); if ($FilterFivsList.length > 0) { filtersCount = $FilterFivsList.length; $('#' + divName + ' [vl-type="filter"]').addClass(filterClass); $.each($FilterFivsList, function (key, value) { var $FilterDiv = $FilterFivsList[key]; if ($FilterDiv.attributes['id'] == null) { console.log('%c' + moduleName + ":attribut 'id' not found in html elemnt with this id" + $FilterDiv.id, 'color: Orange'); return true; } if ($FilterDiv.attributes['name'] == null) { console.log('%c' + moduleName + ":attribut 'name' not found in html elemnt with this id" + $FilterDiv.id, 'color: Orange'); return true; } if ($FilterDiv.attributes['vl-filtersource'] == null) { console.log('%c' + moduleName + ":attribut vl-filtersource not found in html elemnt with this id" + $FilterDiv.id, 'color: Orange'); return true; } if ($FilterDiv.attributes['vl-FilterBind'] == null) { console.log('%c' + moduleName + ":attribut vl-FilterBind not found in html elemnt with this id" + $FilterDiv.id, 'color: Orange'); return true; } if ($FilterDiv.attributes['vl-filterquery'] == null) { console.log('%c' + moduleName + ":attribut vl-filterquery not found in html elemnt with this id" + $FilterDiv.id, 'color: Orange'); return true; } if ($FilterDiv.attributes['vl-FilterBind'].value == "column") { $FilterDiv.attributes['name'].value = "C-" + moduleName + "-" + $FilterDiv.attributes['vl-FilterQuery'].value; } else if ($FilterDiv.attributes['vl-FilterBind'].value == "QueryString") { $FilterDiv.attributes['name'].value = "Q-" + moduleName + "-" + $FilterDiv.attributes['vl-FilterQuery'].value; } if ($FilterDiv.attributes['vl-FilterSource'].value.toLowerCase() == "list") { var filterTemplate; if ($FilterDiv.attributes['vl-Template'] != null) filterTemplate = $FilterDiv.attributes['vl-Template'].value; else { console.log('%c' + moduleName + ":attribut vl-Template not found in html elemnt with this id" + $FilterDiv.id, 'color: Orange'); return true; } var filterList; if ($FilterDiv.attributes['vl-ListName'] != null) filterList = $FilterDiv.attributes['vl-ListName'].value; else { console.log('%c' + moduleName + ":attribut vl-ListName not found in html elemnt with this id" + $FilterDiv.id, 'color: Orange'); return true; } var filterListSite; if ($FilterDiv.attributes['vl-ListSite'] != null) filterListSite = $FilterDiv.attributes['vl-ListSite'].value; else { console.log('%c' + moduleName + ":attribut vl-ListSite not found in html elemnt with this id" + $FilterDiv.id, 'color: Orange'); return true; } var filterTemplateSettings = { "url": TemplatesFolderPath + filterTemplate, "method": "GET", } var filterDataSettings = { "url": filterListSite + "_api/lists/getbytitle('" + filterList + "')/items", "method": "GET", "headers": { "accept": "application/json;odata=verbose", } } $.ajax(filterDataSettings).done(function (response) { $.ajax(filterTemplateSettings).done(function (templateResponse) { var tmpl = Handlebars.compile(templateResponse); response['culture'] = GetCurrentCulture(); $('#' + divName + ' #' + $FilterDiv.attributes['id'].value).html(tmpl(response)); var map = {}; $('#' + divName + ' #' + $FilterDiv.attributes['id'].value).find('option').each(function () { if (map[this.value] || this.value == "") { $(this).remove() } map[this.value] = true; }) GetHashesObject(); filtersCount--; if (filtersCount <= 0) { Prepare(); } }); }); } else if ($FilterDiv.attributes['vl-FilterSource'].value.toLowerCase() == "column") { var coloumName; if ($FilterDiv.attributes['vl-FilterQuery'] != null) coloumName = $FilterDiv.attributes['vl-FilterQuery'].value; else { console.log('%c' + moduleName + ":attribut vl-FilterQuery not found in html elemnt with this id" + $FilterDiv.id, 'color: Orange'); return true; } filterViewId = viewID; if ($FilterDiv.attributes['vl-viewName'] != null) { var filterViewName = $FilterDiv.attributes['vl-viewName'].value; var find = false; for (var i = 0; i < AllListDetailsResponse.d.Views.results.length; i++) { if (AllListDetailsResponse.d.Views.results[i].Title == filterViewName) { find = true; filterViewId = AllListDetailsResponse.d.Views.results[i].Id.toUpperCase(); } } if (find == false) { console.log('%c' + moduleName + ":for this filter" + $FilterDiv.id + " cannot get view with this name " + filterViewName, 'color: Orange'); return true; } } var filterDataSettings = { "url": listSite + "_layouts/15/filter.aspx?ListId=" + listID + "&ViewId=" + filterViewId + "&FieldInternalName=" + coloumName + "&FilterOnly=1&Filter=1", "method": "GET", } $.ajax(filterDataSettings).done(function (response) { var html = $.parseHTML(response); $('#' + divName + ' #' + $FilterDiv.attributes['id'].value).html($("<div>" + response + "</div>").find('#diidFilter' + coloumName).html()); GetHashesObject(); filtersCount--; if (filtersCount <= 0) { Prepare(); } //$.each(html, function (i, el) { // if (el.id == "diidFilter" + coloumName) { // $('#' + divName + ' #' + $FilterDiv.attributes['id'].value).html(el.innerHTML); // GetHashesObject(); // } //}); }); } if ($FilterDiv.attributes['vl-FilterSource'].value.toLowerCase() == "text") { filtersCount--; if (filtersCount <= 0) { Prepare(); } } }); } else { console.log('%c' + moduleName + ': no element with this attribute vl-type="filter"', 'color: DodgerBlue'); Prepare(); } }); }); }); $('body').on('change', '.' + filterClass, function () { var notChange = $('#' + divName + ' #' + filterHtmlID + ' #' + $(this).attr('id')).attr('vl-not-change'); if (notChange != null) return; window.location = SearchChange(moduleName, filterClass); }); $('body').on('click', '.' + pagerClass, function () { if (calls.length > 0) { return; } var hash = GetHashesObject(); var query = ''; if (hash != null) { if (hash.search != null) { query = '&query=' + hash.search } if (hash.from != null) { query = '&from=' + hash.from } if (hash.to != null) { query = '&to=' + hash.to } } var keyword1 = $('#' + divName).find(this).attr('path'); nextPrevClicked = true; NexPrev(searchUrl, keyword1.replace(replacedView, view) + query); }); var nextPrevClicked = false; function LoadAllProgressDetails($ListDiv) { if ($ListDiv.attributes['vl-ProgressHtmlID'] != null) { progressHtmlID = $ListDiv.attributes['vl-ProgressHtmlID'].value; $('#' + divName + ' #' + progressHtmlID).css('display', 'inherit'); //load progress template var progressDiv = $('#' + divName + ' #' + progressHtmlID); if (progressDiv.length > 0) { var progressTemplate = $('#' + divName + ' #' + progressHtmlID).attr('vl-Template'); if (progressTemplate != null) { var templateSettings = { "url": TemplatesFolderPath + progressTemplate, "method": "GET", } $.ajax(templateSettings).done(function (Response) { progressTemplateResponse = Response; var tmpl = Handlebars.compile(progressTemplateResponse); $('#' + divName + ' #' + progressHtmlID).html(tmpl({ culture: GetCurrentCulture() })); }); } else { console.log('%c' + moduleName + ":attribut vl-Template not found in html elemnt with this id" + progressHtmlID, 'color: DodgerBlue'); } } else { console.log('%c' + moduleName + ': progress html element ' + progressHtmlID + ' is not found', 'color: DodgerBlue'); } } else { console.log('%c' + moduleName + ":attribute vl-ProgressHtmlID not found on root div", 'color: Orange') } } function RemoveDuplicated(data) { var uniqueList = data.split('&').filter(function (allItems, i, a) { return i == a.indexOf(allItems); }).join('&'); return uniqueList; } var currentFilters = "d"; function GetAllData() { var jsonObj = GetHashesObject(); var currentJsonFilters = $('#' + divName + ' #' + filterHtmlID).serializeFields(); if (currentJsonFilters == null && jsonObj != null && jsonObj[0] != null) { console.log('%c' + moduleName + ": you try to get data with specific filter but you did not defined any filters", 'color: orange'); currentJsonFilters = {}; } var requireds = $('#' + divName + ' #' + filterHtmlID + ' [vl-required="true"]'); var confirmed = true; if (requireds.length > 0) { for (var i = 0; i < requireds.length; i++) { var name = $(requireds[i]).attr('name'); var found = false; $.each(jsonObj, function (key, value) { if (key.toLowerCase() == name.toLowerCase() && value != null && value != "") { found = true; } }); if (!found) confirmed = false; } } $.each(jsonObj, function (key, value) { var $fieldWithKeys = $('#' + divName + ' #' + filterHtmlID + ' [name="' + key + '"]'); if ($fieldWithKeys.length > 0) { var $fieldWithKey = $fieldWithKeys[0]; if ($fieldWithKey.attributes['vl-FilterSource'].value.toLowerCase() == "list" || $fieldWithKey.attributes['vl-FilterSource'].value.toLowerCase() == "column" ) { if ($($fieldWithKey).find("[value='" + decodeURI(value) + "']").length <= 0) { confirmed = false; } } else if ($fieldWithKey.attributes['vl-FilterSource'].value.toLowerCase() == "text") { if ($fieldWithKey.tagName.toLowerCase() != "input" && $fieldWithKey.type.toLowerCase() != "text") { if ($($fieldWithKey).find("[value='" + decodeURI(value) + "']").length <= 0) { confirmed = false; } } } } }); if (confirmed == false) { if (notFoundTemplateResponse != null) { currentFilters = "d" var tmpl = Handlebars.compile("<div id='notFound" + moduleName + "'>" + notFoundTemplateResponse + "</div>"); $('#' + divName + ' #' + htmlID).html(tmpl({ culture: GetCurrentCulture() })); } else { $('#' + divName + ' #' + htmlID).html("Data Not Found"); } return; } var filters = ""; var i = 1; $.each(jsonObj, function (key, value) { if (key.indexOf("-" + moduleName + "-") == 1 && value != -1 && value != "" && (currentJsonFilters.hasOwnProperty(key) || currentFilters == "d")) { filters += GetFilter(key, value, i) if (key.substr(0, 1) == "C") { i++; } } else { if (key.indexOf("-" + moduleName + "-") > 0) { console.log('%c' + moduleName + ": you try to get data with specific filter '" + key + "' but you did not defined this filter", 'color: orange'); } } }); if (currentFilters != filters || (filters == "" && currentFilters == "d")) { currentFilters = filters; nextPrevClicked = false; NexPrev(searchUrl, '&' + view + filters); } } //get json object from current routing hash and affect on filters inputs function GetHashesObject() { var hash = window.location.hash; var ua = navigator.userAgent; var is_ie = ua.indexOf("MSIE ") > -1 || ua.indexOf("Trident") > -1; var jsonObj; if (hash.length > 3) { var urlWithoutHash = hash.substr(1, hash.length - 1); var urls = urlWithoutHash.split('/'); if (urls.length % 2 == 0) { urls.pop() } var obj = "{"; for (var i = 1; i < urls.length; i++) { if (i % 2 == 1) { obj += '"' + urls[i] + '":'; } else { if (urls[i].lastIndexOf('&T&') > 0) { obj += '"' + fromHex(urls[i]) + '"'; } else { if (is_ie == false) { obj += '"' + urls[i] + '"'; } else { obj += '"' + encodeURI(urls[i]) + '"'; } } if (urls.length - 2 != i) { obj += "," } } } obj = obj.slice(0, -1); obj += "}"; if (obj != "}") jsonObj = JSON.parse(obj); else obj = null; } filterItems = $('#' + divName + ' #' + filterHtmlID + ' .' + filterClass); for (var i = 0; i < $('#' + divName + ' #' + filterHtmlID + ' .' + filterClass).length; i++) { $(filterItems[i]).wrap('<p id="' + filterClass + i + '"/>') $('#' + filterClass + i).replaceWith($('#' + filterClass + i).html()); } if (jsonObj != null) { $.each(jsonObj, function (key, value) { if (key.toLowerCase().indexOf('-' + moduleName.toLowerCase() + '-') > 0) { delete jsonObj[key] var keyobj = getChilds(key); key = $(keyobj).attr('name'); jsonObj[key] = value; var hexa = $('#' + divName + ' #' + filterHtmlID + ' [name="' + key + '"]').attr('vl-hexa'); if ($('#' + divName + ' #' + filterHtmlID + ' [name="' + key + '"]').length > 1) { if (hexa != null) { $('#' + divName + ' #' + filterHtmlID + ' [name="' + key + '"][value="' + fromHex(value) + '"]').prop('checked', true) } else { $('#' + divName + ' #' + filterHtmlID + ' [name="' + key + '"][value="' + decodeURI(value) + '"]').prop('checked', true) } key = $('#' + divName + ' #' + filterHtmlID + ' [name="' + key + '"][value="' + decodeURI(value) + '"]').attr('name') } else { if (hexa != null) { $('#' + divName + ' #' + filterHtmlID + ' [name="' + key + '"]').val(fromHex(value)); } else { $('#' + divName + ' #' + filterHtmlID + ' [name="' + key + '"]').val(decodeURI(value)); } } } else { delete jsonObj[key]; } }); } return jsonObj; } function getChilds(text) { var $childs = $('#' + divName + ' #' + filterHtmlID + ' .' + filterClass); for (var i = 0; i < $childs.length; i++) { if ($childs[i].attributes["name"] != null && $childs[i].attributes["name"].value.toLowerCase() == text.toLowerCase()) return $childs[i]; } } //setting of load data from our list function loadData(url) { DataSettings = { "url": url + '&' + moduleName, "method": "POST" } } //ubderstand routing filters function GetFilter(key, keyword, number) { var tempKey = key.replace("-" + moduleName + "-", ""); var filter = ""; if (key == "prev" || key == "next") { filter = ''; } else if (key.substring(0, 1) == "Q") { filter = '&' + tempKey.substring(1) + '=' + keyword } else if (key.substring(0, 1) == "C") { filter = '&FilterField' + number + '=' + tempKey.substring(1) + '&FilterValue' + number + '=' + keyword } return filter; } //ubderstand routing filters function GetInnerFilter(key, type, keyword, number) { var filter = ""; if (type == "query") { filter = '&' + key + '=' + keyword } else if (type == "column") { filter = '&FilterField' + number + '=' + key + '&FilterValue' + number + '=' + keyword } return filter; } //load date according to filters function NexPrev(dataURL, keyword) { $('#' + divName + ' #' + filterHtmlID + ' [vl-type="filter"]').prop('disabled', 'disabled') $('.' + pagerClass).css('cursor', 'not-allowed') if (progressHtmlID != null) $('#' + divName + ' #' + progressHtmlID).css('display', 'inherit'); loadData(dataURL + '&' + keyword); GetHashesObject(); if (typeof BeforeCall === 'function') { BeforeCall(moduleName, divName, htmlID, pagerHtmlId, progressHtmlID, filterHtmlID, DataSettings); } $.ajax(DataSettings).done(function (DataResponse) { if ((DataResponse.Row == null || DataResponse.Row.length == 0) && (DataResponse.d == null || DataResponse.d.length == 0)) { $('#' + divName + ' #' + htmlID).html(''); $('#' + divName + ' #' + pagerHtmlId).html(''); $('#' + divName + ' #' + filterHtmlID + ' [vl-type="filter"]').removeAttr('disabled', 'false') $("." + filterClass).removeClass("Inputloading"); AfterCall(moduleName, divName, htmlID, pagerHtmlId, progressHtmlID, filterHtmlID, DataResponse); $('.' + pagerClass).css('cursor', 'pointer') var listingDiv = $('#' + divName + ' #' + htmlID); if (listingDiv.length > 0) { if (notFoundTemplateResponse != null) { var tmpl = Handlebars.compile("<div id='notFound" + moduleName + "'>" + notFoundTemplateResponse + "</div>"); $('#' + divName + ' #' + htmlID).html(tmpl({ culture: GetCurrentCulture() })); $('#' + divName + ' #' + filterHtmlID + ' [vl-type="filter"]').removeAttr('disabled', 'false') $("." + filterClass).removeClass("Inputloading"); $('.' + pagerClass).css('cursor', 'pointer') if (progressHtmlID != null) $('#' + divName + ' #' + progressHtmlID).css('display', 'none'); } } else { console.log('%c' + moduleName + ": listing html element not found with id " + htmlID, 'color: Red'); $('#' + divName + ' #' + '#' + htmlID).html(''); } } else { var tmpl = Handlebars.compile(templateResponse); var listingDiv = $('#' + divName + ' #' + htmlID); DataResponse['culture'] = GetCurrentCulture(); if (listingDiv.length > 0) { $('#' + divName + ' #' + htmlID + ' #notFound' + moduleName).remove(); currentListingVersion++; $('#' + divName + ' #' + htmlID).append('<div style="display:none" id="' + moduleName + 'AllListing' + currentListingVersion + '">' + tmpl(DataResponse) + '</div>'); LoadInnerListing($('#' + divName + ' #' + htmlID + ' #' + moduleName + 'AllListing' + currentListingVersion), DataResponse); } else { console.log('%c' + moduleName + ": listing html element not found with id " + htmlID, 'color: Red'); $('#' + divName).html(''); } if (pagingTemplateResponse) { tmpl = Handlebars.compile(pagingTemplateResponse); DataResponse['culture'] = GetCurrentCulture(); $('#' + divName + ' #' + pagerHtmlId).html(tmpl(DataResponse)); $('#' + divName + ' [vl-Type="Pager"]').addClass(pagerClass); } } $('#s4-workspace').animate({ // scrollTop: $('#' + divName).find('#' + htmlID).position().top - 50 }, 1000); }); } var calls = []; var currentListingVersion = 1; function LoadInnerListing(innerhtml, DataResponse) { var $innerLists = $(innerhtml).find('[vl-type="InnerViewListing"]'); var $attachments = $(innerhtml).find('[vl-type="attachments"]'); if ($innerLists.length > 0) { $.each($innerLists, function (key, value) { var $innerList = $innerLists[key]; calls.push(1) console.log(calls.length); var innerTemplate; var innerListName; var innerViewName; var innerListSite; var innerParamters; //validations on attributes if ($innerList.attributes['vl-Template'] != null) innerTemplate = $innerList.attributes['vl-Template'].value; else { console.log('%c' + moduleName + ': inner listing does not have this attribute : vl-Template', 'color: Red'); return; } if ($innerList.attributes['vl-ListName'] != null) innerListName = $innerList.attributes['vl-ListName'].value; else { console.log('%c' + moduleName + ': inner listing does not have this attribute: vl-ListName', 'color: Red') return; } if ($innerList.attributes['vl-ViewName'] != null) innerViewName = $innerList.attributes['vl-ViewName'].value; else { console.log('%c' + moduleName + ': inner listing does not have this attribute: vl-ViewName', 'color: Red') return; } if ($innerList.attributes['vl-ListSite'] != null) innerListSite = $innerList.attributes['vl-ListSite'].value; else { console.log('%c' + moduleName + ': inner listing does not have this attribute: vl-ListSite', 'color: Red') return; } if ($innerList.attributes['vl-Paramters'] != null) innerParamters = $innerList.attributes['vl-Paramters'].value; else { console.log('%c' + moduleName + ': inner listing does not have this attribute: vl-Paramters', 'color: Red') } //get all list details var AllListDetailsSettings = { "url": "/_api/Web/lists/GetByTitle('" + innerListName + "')?$select=Views/title,Views/id,id&$expand=views", "method": "GET", "headers": { "accept": "application/json;odata=verbose", } } if (innerListSite != "/") AllListDetailsSettings.url = listSite + "/_api/Web/lists/GetByTitle('" + innerListName + "')?$select=Views/title,Views/id,id&$expand=views"; $.ajax(AllListDetailsSettings).done(function (ListDetailsResponse) { AllListDetailsResponse = ListDetailsResponse; //list Id var innerListID = ListDetailsResponse.d.Id.toUpperCase(); //view Id var innerViewID; for (var i = 0; i < AllListDetailsResponse.d.Views.results.length; i++) { if (AllListDetailsResponse.d.Views.results[i].Title == innerViewName) { innerViewID = AllListDetailsResponse.d.Views.results[i].Id.toUpperCase(); } } if (innerViewID == null) { console.log('%c' + moduleName + ':viw name ' + innerViewName + ' is not found', 'color: Red'); return; } var templateSettings = { "url": "", "method": "GET", } var innerView = 'View={' + innerViewID + '}'; var innerReplacedView = 'View=' + innerViewID.toLowerCase(); var innerList = 'List={' + innerListID + '}'; var innerSearchUrl = "/_layouts/15/inplview.aspx?" + innerList + "&ViewCount=12&IsXslView=TRUE&IsCSR=TRUE"; if (innerListSite != "/") innerSearchUrl = innerListSite + "/_layouts/15/inplview.aspx?" + innerList + "&ViewCount=12&IsXslView=TRUE&IsCSR=TRUE"; var innerFilters = ""; if (innerParamters != null) { var innerParamtersArray = innerParamters.split(';') var i = 1; $.each(innerParamtersArray, function (key, value) { var paramterDetails = value.split(','); innerFilters += GetInnerFilter(paramterDetails[0], paramterDetails[1], paramterDetails[2], i); if (paramterDetails[1] == "column") i++; }); } innerSearchUrl = innerSearchUrl + '&' + innerView + innerFilters; var innerDataSettings = { "url": innerSearchUrl + "&inner_" + moduleName, "method": "POST" } var innerTemplateSettings = { "url": TemplatesFolderPath + innerTemplate, "method": "GET", } $.ajax(innerDataSettings).done(function (innerDataResponse) { $.ajax(innerTemplateSettings).done(function (innerTemplateResponse) { var tmpl = Handlebars.compile(innerTemplateResponse); innerDataResponse['culture'] = GetCurrentCulture(); $innerList.innerHTML = tmpl(innerDataResponse); LoadInnerListing($innerList, DataResponse); calls.pop(); if (calls.length == 0) { if (pagingTemplateResponse == null || nextPrevClicked == false || $("<div>" + pagingTemplateResponse.replace("{{#" + pagerFun + " this}}", "").replace("{{/" + pagerFun + "}}", "") + "</div>").find('[vl-pagerType="loadmore"]').length <= 0) for (var i = 1; i < currentListingVersion; i++) { $('#' + divName + ' #' + htmlID + ' #' + moduleName + 'AllListing' + (currentListingVersion - i)).remove(); } $('#' + divName + ' #' + htmlID + ' #' + moduleName + 'AllListing' + currentListingVersion).css('display', 'inherit'); $('#' + divName + ' #' + filterHtmlID + ' [vl-type="filter"]').removeAttr('disabled', 'false') $("." + filterClass).removeClass("Inputloading"); AfterCall(moduleName, divName, htmlID, pagerHtmlId, progressHtmlID, filterHtmlID, DataResponse); $('.' + pagerClass).css('cursor', 'pointer') if (progressHtmlID != null) $('#' + divName + ' #' + progressHtmlID).css('display', 'none'); } }); }); }); }); } if ($attachments.length > 0) { $.each($attachments, function (key, value) { var $attachment = $attachments[key]; calls.push(1) console.log(calls.length); var innerTemplate; var innerListName; var innerListSite; var innerItemId; var innerKey; //validations on attributes if ($attachment.attributes['vl-Template'] != null) innerTemplate = $attachment.attributes['vl-Template'].value; else { console.log('%c' + moduleName + ': inner listing does not have this attribute : vl-Template', 'color: Red'); return; } //validations on attributes if ($attachment.attributes['vl-key'] != null) innerKey = $attachment.attributes['vl-key'].value; else { console.log('%c' + moduleName + ': inner listing does not have this attribute : vl-key', 'color: Red'); return; } if ($attachment.attributes['vl-ListName'] != null) innerListName = $attachment.attributes['vl-ListName'].value; else { console.log('%c' + moduleName + ': inner listing does not have this attribute: vl-ListName', 'color: Red') return; } if ($attachment.attributes['vl-ListSite'] != null) innerListSite = $attachment.attributes['vl-ListSite'].value; else { console.log('%c' + moduleName + ': inner listing does not have this attribute: vl-ListSite', 'color: Red') return; } if ($attachment.attributes['vl-ItemId'] != null) innerItemId = $attachment.attributes['vl-ItemId'].value; else { console.log('%c' + moduleName + ': inner listing does not have this attribute: vl-ItemId', 'color: Red') return; } if (innerListSite == "/") innerListSite = ""; //get all list details var itemAttachmentSettings = { "url": innerListSite + "/_api/Web/lists/GetByTitle('" + innerListName + "')/items(" + innerItemId + ")/AttachmentFiles" + "?Attatchment_" + moduleName, "method": "GET", "headers": { "accept": "application/json;odata=verbose", } } var innerTemplateSettings = { "url": TemplatesFolderPath + innerTemplate, "method": "GET", } $.ajax(itemAttachmentSettings).done(function (innerDataResponse) { $.ajax(innerTemplateSettings).done(function (innerTemplateResponse) { var tmpl = Handlebars.compile(innerTemplateResponse); innerDataResponse['culture'] = GetCurrentCulture(); $attachment.innerHTML = tmpl(innerDataResponse); var $downloads = $('#' + divName + ' [vl-type="attachments"][vl-ItemId="' + innerItemId + '"] [vl-type="download"]') $downloads.attr("vl-key", innerKey); $downloads.attr("vl-itemid", innerItemId); $downloads.addClass(moduleName + "files" + innerItemId); $('.' + moduleName + "files" + innerItemId).bind("click", function () { // $(this).addClass('Inputloading') $.ajax({ type: "POST", url: '/_layouts/15/ClientSide/AnonymousServices.aspx/GetFile', data: "{moduleName:'" + moduleName + "',id:'" + $(this).attr('vl-itemid') + "',name:'" + $(this).attr('vl-filename') + "',key:'" + $(this).attr('vl-key') + "'}", contentType: "application/json; charset=utf-8", dataType: "json", success: function (response) { var dlnk = document.getElementById('dwnldLnk' + moduleName); dlnk.download = response.d.FileName; dlnk.href = response.d.File; if (window.navigator.msSaveOrOpenBlob) // IE hack; see http://msdn.microsoft.com/en-us/library/ie/hh779016.aspx { var data = dlnk.href.split('base64,'); var sampleArr = base64ToArrayBuffer([data[1]]); var blob = new Blob([sampleArr]); window.navigator.msSaveBlob(blob, dlnk.download); } else { if (window.webkitURL != null) { //chrome // extract the image type var data = dlnk.href.split('base64,'); var sampleArr = base64ToArrayBuffer([data[1]]); var blob = new Blob([sampleArr]); dlnk.href = window.webkitURL.createObjectURL(blob); } dlnk.click(); } $(this).remove('Inputloading') }, error: function (textStatus, errorThrown) { } }); }); LoadInnerListing($attachment, DataResponse); calls.pop(); if (calls.length == 0) { if (pagingTemplateResponse == null || nextPrevClicked == false || $("<div>" + pagingTemplateResponse.replace("{{#" + pagerFun + " this}}", "").replace("{{/" + pagerFun + "}}", "") + "</div>").find('[vl-pagerType="loadmore"]').length <= 0) for (var i = 1; i < currentListingVersion; i++) { $('#' + divName + ' #' + htmlID + ' #' + moduleName + 'AllListing' + (currentListingVersion - i)).remove(); } $('#' + divName + ' #' + htmlID + ' #' + moduleName + 'AllListing' + currentListingVersion).css('display', 'inherit'); $('#' + divName + ' #' + filterHtmlID + ' [vl-type="filter"]').removeAttr('disabled', 'false') $("." + filterClass).removeClass("Inputloading"); AfterCall(moduleName, divName, htmlID, pagerHtmlId, progressHtmlID, filterHtmlID, DataResponse); $('.' + pagerClass).css('cursor', 'pointer') if (progressHtmlID != null) $('#' + divName + ' #' + progressHtmlID).css('display', 'none'); } }); }); }); } if ($attachments.length <= 0 && $innerLists.length <= 0) { if (calls.length == 0) { if (pagingTemplateResponse == null || nextPrevClicked == false || $("<div>" + pagingTemplateResponse.replace("{{#" + pagerFun + " this}}", "").replace("{{/" + pagerFun + "}}", "") + "</div>").find('[vl-pagerType="loadmore"]').length <= 0) for (var i = 1; i < currentListingVersion; i++) { $('#' + divName + ' #' + htmlID + ' #' + moduleName + 'AllListing' + (currentListingVersion - i)).remove(); } $('#' + divName + ' #' + htmlID + ' #' + moduleName + 'AllListing' + currentListingVersion).css('display', 'inherit'); AfterCall(moduleName, divName, htmlID, pagerHtmlId, progressHtmlID, filterHtmlID, DataResponse); $('#' + divName + ' #' + filterHtmlID + ' [vl-type="filter"]').removeAttr('disabled', 'false'); $("." + filterClass).removeClass("Inputloading"); $('.' + pagerClass).css('cursor', 'pointer') if (progressHtmlID != null) $('#' + divName + ' #' + progressHtmlID).css('display', 'none'); } } } Handlebars.registerHelper(pagerFun, function (jsonData, options) { if (jsonData.PrevHref == null && jsonData.NextHref == null) { data = [{ NextStyle: 'visibility:hidden', PrevStyle: 'visibility:hidden' }] } else { var lastrow = jsonData.LastRow; var count = jsonData.Row[0]["ID.COUNT"]; var currentCount = jsonData.Row.length; var CurrentPage = lastrow / currentCount; var nextpage; var prevPage; if (Math.floor(CurrentPage) == CurrentPage && $.isNumeric(CurrentPage) && jsonData.LastRow != count) { nextpage = (CurrentPage + 1) + " of " + Math.ceil(jsonData.Row[0]["ID.COUNT"] / jsonData.Row.length); prevPage = (CurrentPage - 1) + " of " + Math.ceil(jsonData.Row[0]["ID.COUNT"] / jsonData.Row.length); } else { if (jsonData.PrevHref != null) { var prevURl = jsonData.PrevHref; var values = prevURl.split("&"); for (var i = 0; i < values.length; i++) { if (values[i].indexOf("PageFirstRow") > -1) { var firstPrevRow = values[i].split("=")[1]; var LastPrevRow = jsonData.FirstRow; var prevPageCount = LastPrevRow - firstPrevRow; var CurrentPage = (LastPrevRow - 1) / prevPageCount; prevPage = (CurrentPage) + " of " + Math.ceil(jsonData.Row[0]["ID.COUNT"] / prevPageCount); break; } } } } if (jsonData.PrevHref == null) { data = [{ PrevStyle: 'visibility:hidden', NextStyle: 'visibility:visible;cursor: pointer', nextpage: nextpage, nextURL: RemoveDuplicated(jsonData.NextHref.replace("?", "")) }] } else if (jsonData.NextHref == null) { data = [{ NextStyle: 'visibility:hidden', PrevStyle: 'visibility:visible;cursor: pointer', prevPage: prevPage, prevURL: RemoveDuplicated(jsonData.PrevHref.replace("?", "")) }] } else { data = [{ NextStyle: 'visibility:visible;cursor: pointer', PrevStyle: 'visibility:visible;cursor: pointer', prevPage: prevPage, nextpage: nextpage, nextURL: RemoveDuplicated(jsonData.NextHref.replace("?", "")), prevURL: RemoveDuplicated(jsonData.PrevHref.replace("?", "")) }] } } var results = ''; var tempData = data[0]; for (var i = 0, keys = Object.keys(tempData), l = keys.length; i < l; i++) { this[keys[i]] = tempData[keys[i]] } return options.fn(this) }); }); </script> <div style='text-align: center;' id='AllHtmlDivdivNews'> <div id="ProgressDiv"><div class="holdFlex"><div class="loadingio-spinner-ellipsis-gckiyse6rxm"><div class="ldio-qwt64i31vxf"> <div></div><div></div><div></div><div></div><div></div></div> </div></div></div> </div> </div><div class="ms-clear"></div></div> </div> </div> </div> <div class="more"> <a href="/English/About/Media/News/Pages/News.aspx">More...</a> </div> </div> <div class="col-6 fixMore"> <div class="ms-webpart-zone ms-fullWidth"> <div id="MSOZoneCell_WebPartWPQ5" class="s4-wpcell-plain ms-webpartzone-cell ms-webpart-cell-vertical-inline-table ms-webpart-cell-vertical ms-fullWidth "> <div class="ms-webpart-chrome ms-webpart-chrome-vertical ms-webpart-chrome-fullWidth "> <div WebPartID="1d75f76e-37dd-407b-8fd9-f644df6bddfa" HasPers="false" id="WebPartWPQ5" width="100%" class="ms-WPBody noindex " allowDelete="false" style="" ><div class="ms-rtestate-field"><div class="row"> <div class="col-12"> <div class="headTitle guidhomediv"> <div class="flexer">{{#iif culture '()' 'en'}}<h2>Regulatory Instructions </h2>{{else}}<h2>丕賱鬲毓賱賷賲丕鬲 丕賱鬲賳馗賷賲賷丞 </h2>{{/iif}}<div class="separateTitle"></div></div></div> <div id="divGuidesResult"></div> <div class="guidBlk" id="divListingView" style="display:none"> {{#iif culture '()' 'en'}} {{#Row}} <div class="newItem"> <div class="imgNew"> <a href="/English/LawsandResolutions/Pages/guideDetails.aspx?ItemID={{ID}}" title="{{EnglishGuideName}}"> <img src="{{GetPublishingImageOrDefault PublishingRollupImage 'n2.jpg'}}" data-themekey="#"></a></div> <div class="contentNew"> <h2> <a href="/English/LawsandResolutions/Pages/guideDetails.aspx?ItemID={{ID}}" title="{{EnglishGuideName}}"> {{#iif EnglishGuideName '==' null }} {{Title}} {{else}} {{EnglishGuideName}} {{/iif}} </a></h2> <span><img src="/Style%20Library/RACA/Images/clock.jpg" data-themekey="#">{{DateConvert GuideDate 'DD/MM/YYYY' 'en' 'DD MMMM YYYY'}} </span> <p>{{#iif EnglishDescription '==' null }} {{GetShortText ArabicDescription 150 }} {{else}} {{GetShortText EnglishDescription 150 }} {{/iif}} <a class="ReadMore" href="/English/LawsandResolutions/Pages/guideDetails.aspx?ItemID={{ID}}"> Read More </a></p> </div> </div> {{/Row}} {{else}} {{#Row}} <div class="newItem"> <div class="imgNew"><a href="/Arabic/LawsandResolutions/Pages/guideDetails.aspx?ItemID={{ID}}" title="{{Title}}"> <img src="{{GetPublishingImageOrDefault PublishingRollupImage 'n2.jpg'}}" data-themekey="#"></a></div> <div class="contentNew"> <h2><a href="/Arabic/LawsandResolutions/Pages/guideDetails.aspx?ItemID={{ID}}" title="{{Title}}">{{Title}}</a></h2> <span><img src="/Style%20Library/RACA/Images/clock.jpg" data-themekey="#">{{DateConvert GuideDate 'DD/MM/YYYY' 'ar' 'DD MMMM YYYY'}} </span> <p> {{GetShortText ArabicDescription 150 }} <a class="ReadMore" href="/Arabic/LawsandResolutions/Pages/guideDetails.aspx?ItemID={{ID}}"> 丕賯乇兀 丕賱賲夭賷丿 </a></p> </div> </div> {{/Row}} {{/iif}} </div> </div> </div> <script> function getGuides() { StartContentLoading($('#divGuidesResult')); var txtSearchValue = $('#txtSearch').val(); var filterBy = []; var request = { siteName: "/", listName: "RacaGuides", selectFields: ["ID", "Title", "EnglishGuideName","ArabicDescription","EnglishDescription", "GuideDate", "Subject/ID"], expandFields: ["Subject"], selectPublishedFields:["PublishingRollupImage"], orderBy: "GuideDate desc", paged: false, version: true, topCount:3 } filterBy.push("Show eq '1'"); filterBy.push("OData__ModerationStatus eq 0"); request.filterBy = filterBy; BindListItems(request, $('#divListingView').html(), $('#divListingView'), checkGuidesTemplate); } function checkGuidesTemplate() { $('#divGuidesResult').hide(); $('#divListingView').show(); if ($('#divListingView').html().trim() == "") { if(GetCurrentCulture()=='ar-SA') $('#divListingView').html("賱丕 鬲賵噩丿 亘賷丕賳丕鬲 賲胤丕亘賯丞 賱毓賲賱賷丞 丕賱亘丨孬."); else $('#divListingView').html("There is no search result."); } } $(document).ready(function () { var result = []; result['culture'] = GetCurrentCulture(); var tmpl = Handlebars.compile($('.guidhomediv').html()); $('.guidhomediv').html(tmpl(result)); getGuides(); }); </script> </div><div class="ms-clear"></div></div> </div> </div> </div> <div class="more"> <a href="/english/About/ReportsAndStudies/Pages/CharityReports.aspx">More...</a> </div> </div> <div class="ms-webpart-zone ms-fullWidth"> <div id="MSOZoneCell_WebPartWPQ3" class="s4-wpcell-plain ms-webpartzone-cell ms-webpart-cell-vertical-inline-table ms-webpart-cell-vertical ms-fullWidth "> <div class="ms-webpart-chrome ms-webpart-chrome-vertical ms-webpart-chrome-fullWidth "> <div WebPartID="a6d04224-33cb-456f-96fb-4b9f09e536f3" HasPers="false" id="WebPartWPQ3" width="100%" class="ms-WPBody noindex " allowDelete="false" style="" ><div class="ms-rtestate-field"><div class="headTitle" id="divQuickLinksTitle"> <div class="container"><div class="row"><div class="col-12"><div class="flexer">{{#iif culture '()' 'en'}}<h2>Important Links </h2>{{else}}<h2>乇賵丕亘胤 賲賴賲丞</h2> {{/iif}} <div class="separateTitle"></div></div></div></div></div> </div> <div class="carousel"> <div class="container" id="divQuickLinksTemplate" ><div class="row"><div class="col-12"><div class="carouselRel"> <img src="/Style%20Library/RACA/Images/arrowL.jpg" class="arrowL commonArrow importantlinkarrow"> <img src="/Style%20Library/RACA/Images/arrowR.jpg" class="arrowR commonArrow importantlinkarrow"> <div class="carouselAbs"><div class="carouselUl"> {{#iif culture '()' 'en'}} {{#Row}} <a class="click" href='{{GetURL URL.Url}}' title='{{Title}}' target="_blank"> <img class='importantlinklogo charity' style='border:0' src='{{GetPublishingImage PublishingRollupImage}}' > </a> {{/Row}} {{else}} {{#Row}} <a class="click" href='{{GetURL URL_Ar.Url}}' title='{{TitleAr}}' target="_blank"> <img class='importantlinklogo charity' style='border:0' src='{{GetPublishingImage PublishingRollupImage}}'> </a> {{/Row}} {{/iif}}</div></div></div></div></div></div></div> <script type="text/javascript"> $(document).ready(function(){ var rtl=true; if(GetCurrentCulture()=='en-US') rtl=false; var result = []; result['culture'] = GetCurrentCulture(); var tmpl = Handlebars.compile($('#divQuickLinksTitle').html()); $('#divQuickLinksTitle').html(tmpl(result)); var divQuickLinksTemplateHtml=$('#divQuickLinksTemplate').html(); var filterBy = []; filterBy.push("OData__ModerationStatus eq 0"); filterBy.push("(Importan eq 16 or Importan eq null)"); filterBy.push("IsVisible eq '1'"); var request = { siteName: "/", listName: "Quick Links", selectFields: ["ID","Title","TitleAr","URL_Ar","URL"], selectPublishedFields: ["PublishingRollupImage"], orderBy: "ItemOrder", orderType: "asc", } request.filterBy = filterBy; StartContentLoading($('#divQuickLinksTemplate')); BindListItems(request,divQuickLinksTemplateHtml, $('#divQuickLinksTemplate'),function (e) { if($('.importantlinklogo ').length>0) { $('.carouselUl').slick({ infinit:true, speed:800, slidesToShow: 4, slidesToScroll: 1, autoplay:true, nextArrow: $('.arrowL.commonArrow'), prevArrow: $('.arrowR.commonArrow'), rtl:rtl, responsive: [ { breakpoint: 1500, settings: { slidesToShow: 3, slidesToScroll: 3, } }, { breakpoint: 600, settings: { slidesToShow: 2, slidesToScroll: 2 } }, { breakpoint: 480, settings: { slidesToShow: 1, slidesToScroll: 1 } } // You can unslick at a given breakpoint now by adding: // settings: "unslick" // instead of a settings object ] }); } }); }); </script> </div><div class="ms-clear"></div></div> </div> </div> </div> </div> </div> <style type="text/css"> .webcontent{ margin-top:0px; } </style> </span> <div class="layerBg"> </div> <div class="footerLinks"> <div class="container"> <div class="row"> <div class="col-12"> <div class="flexOnly"> <p> The Regulatory Authority for Charitable Activities is a governmental body that aims to develop, encourage, supervise and monitor charitable work within the framework of the general policy of the State of Qatar </p> <div class="flexOne"> <ul> <li> <a href="/English/Pages/default.aspx"> <i class="fas fa-chevron-left"> </i> Home</a> </li> <li> <a href="/english/about/pages/default.aspx?section=about"> <i class="fas fa-chevron-left"> </i> Overview</a> </li> <li> <a href="/english/about/pages/default.aspx?section=structure"> <i class="fas fa-chevron-left"> </i> Organization Chart</a> </li> </ul> </div> <div class="flexOne"> <ul> <li> <a href="/English/About/Media/News/Pages/News.aspx"> <i class="fas fa-chevron-left"> </i> RACA News</a> </li> <li> <a href="/English/Charities/Pages/CharitiesList.aspx"> <i class="fas fa-chevron-left"> </i> Charities and Foundations</a> </li> <li> <a href="/english/lawsandresolutions/pages/racacirculars.aspx"> <i class="fas fa-chevron-left"> </i> Regulatory Circulars and Guides</a> </li> </ul> </div> <div class="flexOne"> <ul> <li> <a href="/english/contact/pages/default.aspx"> <i class="fas fa-chevron-left"> </i> Contact Us</a> </li> <li> <a href="/English/Contact/FAQ/Pages/FAQ.aspx"> <i class="fas fa-chevron-left"> </i> FAQs</a> </li> </ul> </div> <div class="flexOne"> <ul> <li> <a href="/English/Pages/sitemap.aspx"> <i class="fas fa-chevron-left"> </i> Site Map</a> </li> </ul> </div> </div> </div> </div> </div> </div> <div class="socialMedia"> <div class="container"> <div class="row"> <div class="col-12"> <div class="flexer"> <div class="logoFooter"> <img src="/Style%20Library/RACA/Images/logo.png" class="logoFooter-img" /> </div> <div class="socialMediaIcons"> <a href="https://twitter.com/Racaqa" target="_blank"> <div class="socialIc twitterIc"> <img src="/Style%20Library/RACA/Images/twitter.png" /> </div> </a> <a href="https://www.instagram.com/racaqa/" target="_blank"> <div class="socialIc instagramIc"> <img src="/Style%20Library/RACA/Images/Insta.png" /> </div> </a> <a href="https://www.youtube.com/channel/UCP53uXuaKvH4A6lCblvggIg" target="_blank"> <div class="socialIc youtTubeIc"> <img src="/Style%20Library/RACA/Images/youtube.png" /> </div> </a> </div> </div> <div class="copyRight"> <div class="footerCopyRight"> All Copyrights Reserved - Regulatory Authority for Charitable Activities - Qatar 漏 <span class="FooterYear" id="EndFooterYear"> </span> <a class="copyrights PrivacyPolicy" href="/English/Pages/PrivacyPolicy.aspx">Privacy Policy</a> </div> </div> </div> </div> </div> </div> <div class="menuUlList"> <i class="fa fa-times" onclick="closeMenuDialog()"> </i> <ul class="listMenuData"> </ul> </div> </div> </div> </div> </div> <script type="text/javascript">//<![CDATA[ window.onscroll = function() {myFunction()}; function myFunction() { if($('#suiteBarDelta').length == 0) { if($(window).scrollTop() == 0){ $('.holdMenuPlace').removeClass('fixedMENUbANNER'); $('.homepageBanner').css('margin-top','170px'); } else{ $('.holdMenuPlace').addClass('fixedMENUbANNER'); $('.homepageBanner').css('margin-top','130px'); } } } function scrollUppage(){ $('html').animate({scrollTop :0 },1000); } //]]></script> <div class="scrolUp" onclick="scrollUppage()"> <i class="fa fa-chevron-up"> </i> </div> <div class="modal fade" id="AlertModal" tabindex="-1" role="dialog" aria-labelledby="AlertModalLabel" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title"> </h5> <button type="button" class="close" data-bs-dismiss="modal" aria-label="Close"> <span aria-hidden="true">脳 </span> </button> </div> <div class="modal-body"> <span> </span> </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Ok </button> </div> </div> </div> </div> <div id="DeltaFormDigest"> <script type="text/javascript">//<![CDATA[ var formDigestElement = document.getElementsByName('__REQUESTDIGEST')[0]; if (!((formDigestElement == null) || (formDigestElement.tagName.toLowerCase() != 'input') || (formDigestElement.type.toLowerCase() != 'hidden') || (formDigestElement.value == null) || (formDigestElement.value.length <= 0))) { formDigestElement.value = '0xF32870BE21A1C3419C90CDFDBD8D81EF04CA15F4AE975B9E11243BA0C221BF8AE14E51C3C06A5DE631782F43901BEFEE2B4D635E1E4156A9BDB309B717C704B0,28 Nov 2024 01:17:12 -0000';_spPageContextInfo.updateFormDigestPageLoaded = new Date(); } //]]> </script> </div> <script type="text/javascript"> //<![CDATA[ var _spFormDigestRefreshInterval = 1440000;window.SPThemeUtils && SPThemeUtils.ApplyCurrentTheme(true); IsSPSocialSwitchEnabled = function() { return true; };var _fV4UI = true; function _RegisterWebPartPageCUI() { var initInfo = {editable: false,isEditMode: false,allowWebPartAdder: false,listId: "{1c8950e4-be58-4f97-8ccd-8922a8eb109d}",itemId: 1,recycleBinEnabled: true,enableMinorVersioning: true,enableModeration: true,forceCheckout: true,rootFolderUrl: "\u002fEnglish\u002fPages",itemPermissions:{High:16,Low:196673}}; SP.Ribbon.WebPartComponent.registerWithPageManager(initInfo); var wpcomp = SP.Ribbon.WebPartComponent.get_instance(); var hid; hid = document.getElementById("_wpSelected"); if (hid != null) { var wpid = hid.value; if (wpid.length > 0) { var zc = document.getElementById(wpid); if (zc != null) wpcomp.selectWebPart(zc, false); } } hid = document.getElementById("_wzSelected"); if (hid != null) { var wzid = hid.value; if (wzid.length > 0) { wpcomp.selectWebPartZone(null, wzid); } } }; function __RegisterWebPartPageCUI() { ExecuteOrDelayUntilScriptLoaded(_RegisterWebPartPageCUI, "sp.ribbon.js");} _spBodyOnLoadFunctionNames.push("__RegisterWebPartPageCUI");var __wpmExportWarning='This Web Part Page has been personalized. As a result, one or more Web Part properties may contain confidential information. Make sure the properties contain information that is safe for others to read. After exporting this Web Part, view properties in the Web Part description file (.WebPart) by using a text editor such as Microsoft Notepad.';var __wpmCloseProviderWarning='You are about to close this Web Part. It is currently providing data to other Web Parts, and these connections will be deleted if this Web Part is closed. To close this Web Part, click OK. To keep this Web Part, click Cancel.';var __wpmDeleteWarning='You are about to permanently delete this Web Part. Are you sure you want to do this? To delete this Web Part, click OK. To keep this Web Part, click Cancel.';function SearchEnsureSOD() { EnsureScript('search.js',typeof(GoSearch)); } _spBodyOnLoadFunctionNames.push('SearchEnsureSOD');function S6F789EBA_Submit() {SearchEnsureSOD();GoSearch(null,'ctl00_SearchBox_S6F789EBA_InputKeywords',null,true,false,null,null,null,null,null,'\u002fEnglish\u002fSearch\u002fPages\u002fresults.aspx', 'This Site','This List', 'This Folder', 'Related Sites', '\u002fEnglish\u002fSearch\u002fPages\u002fresults.aspx', '', 'Please enter one or more search words.');}//]]> </script> <script type="text/javascript" language="JavaScript" > // append an onload event handler var S6F789EBA__onload= document.body.onload; if(typeof document.body.onload == 'function') { document.body.onload = function() { S6F789EBA__onload(); document.getElementById('ctl00_SearchBox_S6F789EBA_InputKeywords').name = 'InputKeywords'; } } else { document.body.onload = function() { eval(S6F789EBA__onload); document.getElementById('ctl00_SearchBox_S6F789EBA_InputKeywords').name = 'InputKeywords'; } } function S6F789EBA_OSBEK(event1) { var kCode = String.fromCharCode(event1.keyCode); if(kCode == "\n" || kCode == "\r") { S6F789EBA_Submit();return false; } } // --> </script> <script type="text/javascript"> //<![CDATA[ function _cUpdSearchBox(){var myd = null; if (typeof(dataSearchBox) != 'undefined') {myd = dataSearchBox;} var myc = document.getElementById('ctl00_SearchBox');_cUpdcSearchBox(myd, myc);}function _cUpdcSearchBox(data, ctrl){ var myInputs = ctrl.getElementsByTagName('input'); var inpLength = myInputs.length; for (var i = 0; i < inpLength; i++) { var elem = myInputs[i]; switch(elem.id) { case 'ctl00_SearchBox_S6F789EBA_InputKeywords': elem.value = data.SearchBoxText; break; } } }var g_clientIdDeltaPlaceHolderMain = "DeltaPlaceHolderMain"; var g_clientIdDeltaPlaceHolderUtilityContent = "DeltaPlaceHolderUtilityContent"; //]]> </script> </form><span id="DeltaPlaceHolderUtilityContent"></span></body> </html>