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

Stories about this Ministry

"Can I ask you a question about Jesus Christ?"

“Can I ask you a question about Jesus Christ?” That's what Ken asked me as we sat down in our living room, where I keep a Bible in the local language on display.

“By Prayer to the Nations”: A must-read for missions enthusiasts

If you’ve ever wanted to find out more about SIM’s roots and fascinating history across generations, now you can.

Banda Go: Helping healthcare heroes

Banda Health, an affordable IT solution designed by SIM’s Banda Health team, is at an exciting chapter in supporting healthcare heroes in their local low-resource communities.

Speaking without words

Sometimes I fail to realise that God is the One who is truly at work. He doesn’t need me to say a single word in Swahili to move in the lives around us.

"My God will supply": A widow's faith

Naomi, a woman with a sweet, round face and warm smile, shared with the other widows that she and her children hadn't had enough money for rent or food for quite some time. There was simply nothing left.

"Can I ask you a question about Jesus Christ?"

“Can I ask you a question about Jesus Christ?” That's what Ken asked me as we sat down in our living room, where I keep a Bible in the local language on display.

“By Prayer to the Nations”: A must-read for missions enthusiasts

If you’ve ever wanted to find out more about SIM’s roots and fascinating history across generations, now you can.

Banda Go: Helping healthcare heroes

Banda Health, an affordable IT solution designed by SIM’s Banda Health team, is at an exciting chapter in supporting healthcare heroes in their local low-resource communities.

Speaking without words

Sometimes I fail to realise that God is the One who is truly at work. He doesn’t need me to say a single word in Swahili to move in the lives around us.

"My God will supply": A widow's faith

Naomi, a woman with a sweet, round face and warm smile, shared with the other widows that she and her children hadn't had enough money for rent or food for quite some time. There was simply nothing left.

Other Ministries from this Country

Ministerio a Hijos de Misioneros

Apoyando a los hijos de misioneros para que crezcan como seguidores personales de Jesús a través de la educación, actividades y programas que los edifican en Cristo.

Plantando y Fortaleciendo Iglesias Rurales

Proclamando el Evangelio para ver un movimiento de plantación de iglesias que reproduce comunidades de seguidores de Jesucristo en las áreas rurales, menos alcanzadas de la provincia de Loja.

Radio Ondas de Esperanza

Radio Ondas de Esperanza proclama el Evangelio por medio de una programación de radio cristiana.

Ministerio a Hijos de Misioneros

Apoyando a los hijos de misioneros para que crezcan como seguidores personales de Jesús a través de la educación, actividades y programas que los edifican en Cristo.

Plantando y Fortaleciendo Iglesias Rurales

Proclamando el Evangelio para ver un movimiento de plantación de iglesias que reproduce comunidades de seguidores de Jesucristo en las áreas rurales, menos alcanzadas de la provincia de Loja.

Radio Ondas de Esperanza

Radio Ondas de Esperanza proclama el Evangelio por medio de una programación de radio cristiana.