مرحباً بك في عالمنا الجميل!
تمتع بالريادة على الشبكة الأقوى والأكثر تطوراً في الكويت، التي تقدم لك أفضل الحلول الرقمية في خدمات الاتصال ومجال الأعمال لتتناسب مع أسلوب حياتك واحتياجاتك وتأتيك بكل ما هو جديد.
كن على تواصل دائم مع الشبكة الرائدة في الكويت .
حصل خطأ عند معالجة القالب.
For "." left-hand operand: Expected a hash, but this has evaluated to a sequence (ArrayList wrapped into f.t.DefaultListAdapter): ==> price.getSiblings() [in template "20154#20194#9260824" at line 4, column 15] ---- FTL stack trace ("~" means nesting-related): - Failed at: #if !price.getSiblings().isEmpty() [in template "20154#20194#9260824" at line 4, column 9] ----
1<#assign items = 0>
2<div class="table">
3 <div class="owl-carousel product-feature-${itemsperpage.getData()} ${Bundle_Unique_Name.getData()} ${benefitsmax.getData()}">
4 <#if !price.getSiblings().isEmpty()>
5 <#assign sortingArray = []>
6 <#list price.getSiblings() as current>
7 <#assign items = items + 1>
8 <#assign void = sortingArray.add({
9 "price": current.getData()?double,
10 "servicevalue": current.getChild("servicevalue").getSiblings(),
11 "benefitvalue": current.getChild("benefitvalue").getSiblings(),
12 "benefitText": current.getChild("benefitvalue").getData(),
13 "buttontext": current.getChild("buttontext").getData(),
14 "linktourl": current.getChild("linktourl").getData()
15 })>
16 </#list>
17
18 <#if locale.language == "ar">
19 <#list sortTool.sort(sortingArray, "price:desc") as cur_item>
20 <div class="item">
21 <div class="price-box">
22 <#assign prc = cur_item.price?string.remove('.0')>
23 <span class="price">${prc}</span>
24 د.ك
25 <span class="month">${monthlyText.getData()}</span>
26 </div>
27 <div class="pkg-data">
28 <div class="data">
29 <#list cur_item.servicevalue as service_item>
30 <#if service_item.getData()?has_content>
31 <div class="inner-data">
32 <#if service_item.servicefont.getData()?has_content>
33 <i class="${service_item.servicefont.getData()}" style="color:${service_item.servicecolor.getData()};"></i>
34 <#else>
35 <img src="${service_item.serviceicon.getData()}">
36 </#if>
37 <h3 class="number" style="color:${service_item.servicecolor.getData()};">${service_item.getData()}<span>${service_item.servicecapacity.getData()}</span></h3>
38 <h6 class="number">${service_item.servicelabel.getData()}</h6>
39 </div>
40 <#else>
41 <div class="min inner-data hide-for-mobile">
42 <div class="blank-item">
43 <hr class="blank-hr"/>
44 </div>
45 </div>
46 </#if>
47 </#list>
48 </div>
49 <#if !cur_item.benefitText.isEmpty()>
50 <div class="benifits">
51 <div class="benifits-heading fntqt">المزايا الاضافية</div>
52 </div>
53 <div class="data">
54 <ul class="${Bundle_Unique_Name.getData()}-benifit-data benifit-data">
55 <#assign benefitCount = 0>
56 <#list cur_item.benefitvalue as benefit_item>
57 <#if benefit_item.getData()?has_content>
58 <li class="benefitsLi benefitBckgrndPos" style="background-image:url(${benefit_item.benefiticon.getData()})">
59 <#if benefit_item.benefitfont.getData()?has_content>
60 <i class="${benefit_item.benefitfont.getData()}"></i>
61 </#if>
62 ${benefit_item.getData()}
63 <#if benefit_item.benefittooltip.getData()?has_content>
64 <i class="icon-info" style="position: initial;font-size: 13px;color: #808080;"></i>
65 </#if>
66 <#if benefit_item.benefitsubtext.getData()?has_content>
67 <br><span>${benefit_item.benefitsubtext.getData()}</span>
68 </#if>
69 <#if benefit_item.benefittooltip.getData()?has_content>
70 <div class="tooltiptext">
71 <div>${benefit_item.benefittooltip.getData()}</div>
72 <div class="arrow top left"></div>
73 </div>
74 </#if>
75 </li>
76 <#assign benefitCount = benefitCount + 1>
77 </#if>
78 </#list>
79 <#if benefitsmax.getData()?has_content && benefitsmax.getData()?int != benefitCount>
80 <#assign counter = benefitsmax.getData()?int - benefitCount>
81 <#list 1..counter as i>
82 <!--li class="no-border"> </li-->
83 </#list>
84 </#if>
85 </ul>
86 </div>
87 </#if>
88 <#if !cur_item.buttontext.isEmpty()>
89 <div class="total-amont">
90 <#if cur_item.linktourl?has_content>
91 <a href="${cur_item.linktourl}">${cur_item.buttontext}</a>
92 <#else>
93 <p style="padding-top: 25px;">${cur_item.buttontext}</p>
94 </#if>
95 </div>
96 </#if>
97 </div>
98 </div>
99 </#list>
100 </#if>
101
102 <#if locale.language == "en">
103 <#list sortTool.sort(sortingArray, "price:asc") as cur_item>
104 <div class="item">
105 <div class="price-box">
106 KD
107 <#assign prc = cur_item.price?string.remove('.0')>
108 <span class="price">${prc}</span>
109 <input type="hidden" value="${Bundle_Unique_Name.getData()}"/>
110 <span class="month">${monthlyText.getData()}</span>
111 </div>
112 <div class="pkg-data">
113 <#if !cur_item.servicevalue.isEmpty()>
114 <div class="data">
115 <#list cur_item.servicevalue as service_item>
116 <#if service_item.getData()?has_content>
117 <div class="inner-data">
118 <#if service_item.servicefont.getData()?has_content>
119 <i class="${service_item.servicefont.getData()}" style="color:${service_item.servicecolor.getData()};"></i>
120 <#else>
121 <img src="${service_item.serviceicon.getData()}">
122 </#if>
123 <h3 class="number" style="color:${service_item.servicecolor.getData()};">${service_item.getData()}<span>${service_item.servicecapacity.getData()}</span></h3>
124 <h6 class="number">${service_item.servicelabel.getData()}</h6>
125 </div>
126 <#else>
127 <div class="min inner-data hide-for-mobile">
128 <div class="blank-item">
129 <hr class="blank-hr"/>
130 </div>
131 </div>
132 </#if>
133 </#list>
134 </div>
135 </#if>
136 <#if !cur_item.benefitText.isEmpty()>
137 <div class="benifits">
138 <div class="benifits-heading">Additional benefits</div>
139 </div>
140 <div class="data">
141 <ul class="${Bundle_Unique_Name.getData()}-benifit-data benifit-data">
142 <#assign benefitCount = 0>
143 <#list cur_item.benefitvalue as benefit_item>
144 <#if benefit_item.getData()?has_content>
145 <li class="benefitsLi benefitBckgrndPos" style="background-image:url(${benefit_item.benefiticon.getData()})">
146 <#if benefit_item.benefitfont.getData()?has_content>
147 <i class="${benefit_item.benefitfont.getData()}"></i>
148 </#if>
149 ${benefit_item.getData()}
150 <#if benefit_item.benefittooltip.getData()?has_content>
151 <i class="icon-info" style="position: initial;font-size: 13px;color: #808080;"></i>
152 </#if>
153 <#if benefit_item.benefitsubtext.getData()?has_content>
154 <br><span>${benefit_item.benefitsubtext.getData()}</span>
155 </#if>
156 <#if benefit_item.benefittooltip.getData()?has_content>
157 <div class="tooltiptext">
158 <div>${benefit_item.benefittooltip.getData()}</div>
159 <div class="arrow top left"></div>
160 </div>
161 </#if>
162 </li>
163 <#assign benefitCount = benefitCount + 1>
164 </#if>
165 </#list>
166 <#if benefitsmax.getData()?has_content && benefitsmax.getData()?int != benefitCount>
167 <#assign counter = benefitsmax.getData()?int - benefitCount>
168 <#list 1..counter as i>
169 <!--li class="no-border"> </li-->
170 </#list>
171 </#if>
172 </ul>
173 </div>
174 </#if>
175 <#if !cur_item.buttontext.isEmpty()>
176 <div class="total-amont">
177 <#if cur_item.linktourl?has_content>
178 <a href="${cur_item.linktourl}">${cur_item.buttontext}</a>
179 <#else>
180 <p style="padding-top: 25px;">${cur_item.buttontext}</p>
181 </#if>
182 </div>
183 </#if>
184 </div>
185 </div>
186 </#list>
187 </#if>
188
189 </#if>
190 </div>
191</div>
192
193<script>
194 jQuery.noConflict();
195 var $owl;
196
197 $(document).ready(function() {
198 var dir = false;
199 var lang = $("#themeLanguage").val();
200
201 if (lang == 'ar') {
202 dir = true;
203 } else {
204 dir = false;
205 }
206 console.log('LTR? ' + dir);
207
208 if (${items} > ${itemsperpage.getData()}) {
209 var isNav = true;
210 var isDots = true;
211 } else {
212 var isNav = false;
213 var isDots = false;
214 }
215
216 $owl = $(".${Bundle_Unique_Name.getData()}").owlCarousel({
217 rtl: dir,
218 autoPlay: 3000,
219 slideSpeed: 200,
220 items: ${itemsperpage.getData()},
221 lazyLoad: true,
222 stopOnHover: true,
223 responsive: {
224 0: {
225 items: 1,
226 nav: true
227 },
228 640: {
229 items: 1,
230 nav: true
231 },
232 1000: {
233 items: ${itemsperpage.getData()},
234 nav: isNav,
235 dots: isDots
236 }
237 }
238 });
239
240 if (!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
241 /* Code to set height of benefit containers to match largest height */
242 var heights = $(".${Bundle_Unique_Name.getData()}-benifit-data").map(function() {
243 return $(this).height();
244 }).get(),
245
246 maxHeight = Math.max.apply(null, heights);
247
248 $(".${Bundle_Unique_Name.getData()}-benifit-data").each(function() {
249
250 if ($(this).height() > 0)
251 $(this).attr('style', 'height:' + maxHeight + 'px;');
252 });
253 }
254
255 });
256</script>