Se ha producido un error al procesar la plantilla.
Expression countries_text is undefined on line 157, column 84 in 20155#20207#22619.
1<#assign urlName = name.getData()?replace(" ", "-")> 
2<#assign region = .vars['Regions_Sel'].getData()> 
3<#assign regionDis = region?replace("_", "-")> 
4<#if .vars['countries'].getData() != ""> 
5<#assign countryDisplay = .vars['countries'].getData()> 
6<#assign countryDisplay = countryDisplay?lower_case> 
7<#assign countryDisplay = countryDisplay?replace("_", "-")> 
8<#assign countryDisplay = 'country.' + countryDisplay> 
9<#if countryDisplay == "country.north-africa"> 
10<#assign countryDisplay = "north-africa"> 
11</#if> 
12 
13</#if> 
14<#assign regionMainURL = region?replace("_","-")> 
15<#if regionMainURL == "south-africa"> 
16    <#assign regionMainURL = "south-africa-region"> 
17</#if> 
18<#if getterUtil.getBoolean(.vars['Donate_Button'].getData())> 
19	<#assign usaURL = "https://www.simusa.org/get-involved/give/?DSG=project&FundIDP=${.vars['Project_Number'].getData()}&searchme=searchP"> 
20	<#if .vars['Canada_Donate_URL'].getData() != ""> 
21<#assign canadaURL = .vars['Canada_Donate_URL'].getData() > 
22<#else> 
23<#assign canadaURL = "https://www.sim.ca/missionaries/unlisted-missionary"> 
24</#if> 
25<#if .vars['French_Donate_URL'].getData() != ""> 
26<#assign frenchURL = .vars['French_Donate_URL'].getData() > 
27<#else> 
28<#assign frenchURL = "http://www.simorg.fr/je-donne"> 
29</#if> 
30<#if .vars['Australia_Donate_URL'].getData() != "" > 
31<#assign australiaURL = .vars['Australia_Donate_URL'].getData() > 
32<#else> 
33<#assign australiaURL = "http://www.sim.org.au/Donate/Ways-to-Give"> 
34</#if> 
35<#assign ukURL = "https://www.sim.co.uk/give"> 
36<#assign nzURL = "http://sim.org.nz/donate/"> 
37</#if> 
38<style> 
39#donate-modal{ 
40display:none; 
41position:fixed; 
42 
43top: 0; 
44left: 0; 
45right:0; 
46bottom:0; 
47padding:5%; 
48z-index:910; 
49overflow:hidden; 
50background-color: rgb(0,0,0); /* Fallback color */ 
51background-color: rgba(0,0,0,0.2); 
52
53#donate-form { 
54margin: 10px; 
55
56.donate-modal-content{ 
57    background-color: #fefefe; 
58    margin: 15% auto; /* 15% from the top and centered */ 
59    padding: 20px; 
60    -webkit-box-shadow: 0px 0px 25px -6px rgba(0,0,0,0.75); 
61-moz-box-shadow: 0px 0px 25px -6px rgba(0,0,0,0.75); 
62box-shadow: 0px 0px 25px -6px rgba(0,0,0,0.75); 
63    width:50%; 
64    border-radius: 5px; 
65    text-align: center; 
66
67.donate-modal-header{ 
68 
69border-bottom: .5px solid #ddd; 
70width:100%; 
71height: 100%; 
72
73@media (max-width:480px) { 
74.donate-modal-content{ 
75width:90%; 
76
77
78</style> 
79<div id="embedded-welcome-portlet" style="display:none;"> 
80  <runtime-portlet name="82" instance="" queryString=""/> 
81</div> 
82<div class="sim-opportunity-content-container"> 
83	<div class="image-banner-container" 
84		<#if mainImage.getData()?contains("photobucket")> 
85			style="background-image:linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),url(<@image_url url='${mainImage.getData()}' size='b' />)"> 
86		<#else> 
87			style="background-image:linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),url(${mainImage.getData()})"> 
88		</#if> 
89 
90		<div class="container-fluid"> 
91			<div class="banner-text-content-container"> 
92				<#if getterUtil.getBoolean(locationRestricted.getData())> 
93				    
94                        <span class="image-banner-location-text"><a href="/-/${regionMainURL}?Regions_Sel=${region}">${languageUtil.get(locale, region)}</a></span> 
95                     
96					 
97				<#else> 
98					<#if .vars['countries'].getData()?has_content && region == "#urlparam#"> 
99					    <#if .vars['countries'].getData()?contains("-")> 
100                            <#assign count = 0> 
101                            <#assign countSeq = .vars['countries'].getData()?split("-")> 
102                            <#assign lastCount = countSeq?size - 1> 
103                            <#list countSeq as i>  
104                                 
105                                <#assign iLoc = 'country.' + i?replace("_","-")> 
106                                <#if count gt 0> 
107                                 
108                                <#assign countries_text = countries_text + '<a href="/-/' + i + '?countries=' + i + '&Regions_Sel=' + region + '">' + languageUtil.get(locale, iLoc?lower_case)> 
109                                <#if count != lastCount><#assign countries_text = countries_text + ' & '></#if> 
110                                <#if count == lastCount><#assign countries_text = countries_text + ', '></#if> 
111                                <#assign countries_text = countries_text + '</a>' /> 
112                                <#else> 
113                                <#assign countries_text = '<a href="/-/' + i + '?countries=' + i  + '&Regions_Sel=' + region + '">' + languageUtil.get(locale, iLoc)> 
114                                <#if count != lastCount><#assign countries_text = countries_text + ' & '></#if> 
115                                <#assign countries_text = countries_text + '</a>' /> 
116                                </#if> 
117                                 
118                                <#assign count = count + 1> 
119                            </#list> 
120                        <#else> 
121                            <#assign countries_text = '<a href="/-/' + countries.getData() + '?countries=' + countries.getData() + '&Regions_Sel=' + region + '">' + languageUtil.get(locale, countryDisplay) + ',</a>' /> 
122                        </#if> 
123					</#if> 
124 
125					<#if region?has_content && countries.getData()?has_content> 
126					    <#if .vars['countries'].getData()?contains("-")> 
127                            <#assign count = 0> 
128                            <#assign countSeq = .vars['countries'].getData()?split("-")> 
129                            <#assign lastCount = countSeq?size - 1> 
130                            <#list countSeq as i>  
131                                <#assign iLoc = 'country.' + i?replace("_","-")> 
132                                <#if count gt 0> 
133                                <#assign countries_text = countries_text + '<a href="/-/' + i + '?countries=' + i + '">' + languageUtil.get(locale, iLoc?lower_case)> 
134                                <#if count != lastCount><#assign countries_text = countries_text + ' & '></#if> 
135                                <#if count == lastCount><#assign countries_text = countries_text + ', '></#if> 
136                                <#assign countries_text = countries_text + '</a>' /> 
137                                <#else> 
138                                <#assign countries_text = '<a href="/-/' + i + '?countries=' + i + '">' + languageUtil.get(locale, iLoc?lower_case)> 
139                                <#if count != lastCount><#assign countries_text = countries_text + ' & '></#if> 
140                                <#assign countries_text = countries_text + '</a>' /> 
141                                </#if> 
142                                <#assign count = count + 1> 
143                            </#list> 
144                        <#else> 
145                            <#assign countries_text = '<a href="/-/' + countries.getData() + '?countries=' + countries.getData() + '">' + languageUtil.get(locale, countryDisplay) + ',</a>' /> 
146                        </#if> 
147                         
148                             
149                            <#assign countries_text = countries_text + '<a href="/-/' + regionMainURL + '?Regions_Sel=' + region + '&countries=' + region?replace("-","_") + '"> '+ languageUtil.get(locale, regionDis) + '</a>' >  
150                             
151                        </#if> 
152						 
153					</#if> 
154					<#if countries.getData() == "" && region != "#urlparam#"> 
155					    <#assign countries_text = '<a href="/-/' + regionMainURL + '?Regions_Sel=' + region + '&countries=' + region?replace("-","_") + '"> '+ languageUtil.get(locale, regionDis) + '</a>' > 
156					</#if> 
157					<span class="image-banner-location-text">${countries_text}</span> 
158				 
159 
160				<#if name.getData()?has_content> 
161					<span class="image-banner-main-text">${name.getData()}</span> 
162				</#if> 
163 
164				<#if mission.getData()?has_content> 
165					<#assign mission_focus_text = mission.getData() /> 
166 
167					<#if focus.getData()?has_content> 
168						<#assign mission_focus_text = mission.getData() + ': ' + focus.getData() /> 
169					</#if> 
170 
171					<span class="image-banner-sub-text">${mission_focus_text?replace('\\d+', '', 'r')}</span> 
172				</#if> 
173			</div> 
174		</div> 
175	</div> 
176 
177	<div class="sim-opportunity-content"> 
178		<ul class="unstyled nav nav-tabs"> 
179			<li class="tab"><a href="#aboutContent">${languageUtil.get(locale, 'about')}</a></li> 
180 
181			<li class="tab"><a href="#goContent">${languageUtil.get(locale, 'come')}</a></li> 
182 
183			<li class="tab"><a href="#prayContent">${languageUtil.get(locale, 'pray')}</a></li> 
184<#if getterUtil.getBoolean(.vars['Donate_Button'].getData())> 
185            <li class="tab"><a href="#donate" onclick="donate();return false;" style="color:#bd2919">Donate</a></li> 
186		</#if>	 
187		</ul> 
188 
189		 
190			<div class="about-content-container tab-pane container-fluid" id="aboutContent"> 
191				<h3 class="section-header text-center">${name.getData()}</h3> 
192				 
193				 
194                
195      
196				<p class="text-center">${vision.getData()}</p> 
197				 
198			</div> 
199			<#assign opp = 0> 
200<#if opportunity.getSiblings()?has_content> 
201    <#list opportunity.getSiblings() as cur_opportunity> 
202        <#if cur_opportunity.getData() != ""> 
203            <#assign opp = 1> 
204        </#if> 
205    </#list> 
206</#if> 
207<#if opp == 1> 
208<#if opportunity.getSiblings()?has_content> 
209			<div class="go-content-container tab-pane container-fluid" id="goContent"> 
210				<h3 class="section-header">${languageUtil.get(locale, 'come-and-serve')}</h3> 
211 
212				 
213					<div class="opportunities-container"> 
214						<#list opportunity.getSiblings() as cur_opportunity> 
215							<div class="opportunity-container"> 
216								<div class="opportunity"> 
217									<div class="oppotunity-mission">${mission.getData()?replace('\\d+', '', 'r')}</div> 
218 
219									<div class="opportunity-title">${cur_opportunity.getData()}</div> 
220                                <#if getterUtil.getBoolean(locationRestricted.getData())> 
221									<div class="opportunity-location"><a href="/-/${regionMainURL}?regions=${regionurl}">${regions.getData()}</a></div> 
222								<#else> 
223								    <div class="opportunity-location">${countries_text}</div> 
224								</#if> 
225								</div> 
226								<div class="share-container"> 
227									<a class="fb-share btn-primary btn-twitter btn" href="javascript:;" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent('https://${request['theme-display']['portal-url']}/-/${urlName}'),'facebook-share-dialog','width=626,height=436');return false;"> 
228										<span class="icon-facebook"></span> 
229 
230										${languageUtil.get(locale, 'share-on-facebook')} 
231									</a> 
232 
233									<a class="btn-twitter btn btn-primary" href="https://twitter.com/intent/tweet?url=https://${request['theme-display']['portal-url']}/-/${urlName}&amp;text=This ministry is looking for: ${htmlUtil.escape(stringUtil.shorten(cur_opportunity.getData(), 90))}&amp;via=simintl" target="_blank" alt ="Tweet this Oppurtunity"> 
234										<span class="icon-twitter"></span> ${languageUtil.get(locale, 'share-on-twitter')} 
235									</a> 
236								</div> 
237 
238 
239							</div> 
240						</#list> 
241					</div> 
242				 
243			</div> 
244</#if> 
245</#if> 
246 
247			<div class="pray-content-container tab-pane container-fluid" id="prayContent"> 
248				<h3 class="section-header">${languageUtil.get(locale, 'prayers')}</h3> 
249 
250				<#if prayerRequest.getSiblings()?has_content> 
251					<div class="prayers-container"> 
252						<#assign prayer_index = 1 /> 
253 
254						<#list prayerRequest.getSiblings() as cur_prayerRequest> 
255							<div class="card card-center prayer-request-${prayer_index}"> 
256								<div class="left-content">${prayer_index}</div> 
257 
258								<div class="seperator"></div> 
259 
260								<div class="request-container right-content "> 
261									<p class="request text-left">${cur_prayerRequest.getData()}</p> 
262 
263									<div class="share-container"> 
264									<a class="fb-share btn-primary btn-twitter btn" href="javascript:;" onclick="window.open('https://www.facebook.com/sharer/sharer.php?u=' + encodeURIComponent('https://${request['theme-display']['portal-url']}/-/${urlName}'),'facebook-share-dialog','width=626,height=436');return false;"> 
265										<span class="icon-facebook"></span> 
266 
267										${languageUtil.get(locale, 'share-on-facebook')} 
268									</a> 
269 
270									<a class="btn-twitter btn btn-primary" href="https://twitter.com/intent/tweet?url=https://${request['theme-display']['portal-url']}/-/${urlName}&amp;text=${htmlUtil.escape(stringUtil.shorten(cur_prayerRequest.getData(), 90))}&amp;via=simintl" target="_blank" alt ="Tweet this Prayer Request"> 
271										<span class="icon-twitter"></span> ${languageUtil.get(locale, 'share-on-twitter')} 
272									</a> 
273								</div> 
274								</div> 
275							</div> 
276 
277							<#assign prayer_index = prayer_index + 1 /> 
278						</#list> 
279					</div> 
280				</#if> 
281			</div> 
282			<#if getterUtil.getBoolean(.vars['Donate_Button'].getData())> 
283			<div class="pray-content-container tab-pane container-fluid" id="donate"> 
284			<h3 class="section-header">Donate to this Ministry</h3> 
285			<p class="lead">If you would like to financially support this ministry, you can give online by using the donate button below.</p> 
286				<div class="text-center"> 
287	<a href="#" id="big-donate-btn" onclick="donate();return false;" class="btn btn-large btn-danger">Donate</a> 
288	</div> 
289	</div> 
290</#if> 
291 
292			 
293		 
294	</div> 
295</div> 
296<#if getterUtil.getBoolean(.vars['Donate_Button'].getData())> 
297 
298<div id="donate-modal"> 
299<div class="donate-modal-content"> 
300<div class="donate-modal-header"> 
301<h2>Thank you for your support!</h2> 
302<p class="lead">Remember you are givng to: 
303 
304<br>Project # ${.vars['Project_Number'].getData()}</p> 
305 
306 
307<p>Please select which country you would give to, some countries will require the project number listed above.</p> 
308</div> 
309<form id="donate-form" class="form-inline"> 
310 
311<label class="radio"> 
312  <input type="radio" name="countryOptions" id="Australia" value="australia"> 
313  Australia &nbsp; &nbsp; 
314</label> 
315 
316<label class="radio"> 
317  <input type="radio" name="countryOptions" id="Canada" value="canada"> 
318  Canada&nbsp; &nbsp; 
319</label> 
320 
321<label class="radio"> 
322  <input type="radio" name="countryOptions" id="France" value="france"> 
323  France &nbsp;&nbsp;  
324</label> 
325 
326<label class="radio"> 
327  <input type="radio" name="countryOptions" id="NewZealand" value="newzealand"> 
328   New Zealand &nbsp; &nbsp; 
329</label> 
330 
331<label class="radio"> 
332  <input type="radio" name="countryOptions" id="UK" value="uk"> 
333   United Kingdom &nbsp; &nbsp; 
334</label> 
335 
336<label class="radio"> 
337  <input type="radio" name="countryOptions" id="USA" value="USA" checked> 
338  USA&nbsp;  
339</label> 
340<a id="donate-destination" onclick="gotoDonate(); return false;" href="#" class="btn" target="_blank">Donate</a> 
341</form> 
342</div> 
343</div> 
344<script> 
345var donateURL = document.getElementById("donate-destination"); 
346var donateSelect = document.getElementsByName("countryOptions"); 
347function gotoDonate() { 
348    for (var i=0, len=donateSelect.length; i<len; i++) { 
349        if (donateSelect[i].checked) { 
350        if (donateSelect[i].value == "USA") { 
351            window.open('${usaURL}','_blank'); 
352            //close(); 
353
354        if (donateSelect[i].value == "uk") { 
355            window.open('${ukURL}','_blank'); 
356            //close(); 
357
358        if (donateSelect[i].value == "canada") { 
359            window.open('${canadaURL}','_blank'); 
360            //close(); 
361
362        if (donateSelect[i].value == "france") { 
363            window.open('${frenchURL}','_blank'); 
364            //close(); 
365
366        if (donateSelect[i].value == "newzealand") { 
367            window.open('${nzURL}','_blank'); 
368            //close(); 
369
370        if (donateSelect[i].value == "australia") { 
371            window.open('${australiaURL}','_blank'); 
372            //close(); 
373
374
375
376
377function donate() { 
378    document.getElementById("donate-modal").style.display = "block"; 
379}; 
380function close() { 
381    document.getElementById("donate-modal").style.display = "none"; 
382
383window.onclick = function(event) { 
384    if (event.target == document.getElementById("donate-modal")) { 
385        close(); 
386
387
388</script> 
389	 
390</#if> 

Other Ministries from this Country

Llamado de ChiangMai: Un desarrollo de relaciones para recaudar el capital completo

Ampliar las redes y profundizar la relación con los principales interesados para cumplir la Gran Comisión en la región.

Llamado de ChiangMai: Un desarrollo de relaciones para recaudar el capital completo

Ampliar las redes y profundizar la relación con los principales interesados para cumplir la Gran Comisión en la región.