Hole In The Wall

Play Hole In The Wall for Free

Play for Real

join now

Play instantly, no download required.

An error occurred while processing the template.
Invocation of method 'get' in  class com.liferay.portal.xml.NodeList threw exception java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at 79747SEO_GAMES_TPL[line 204, column 66]
1## 
2## 
3## 
4## Get game XML from game code 
5##set ($document = $saxReaderUtil.readURL("http://admin-portal.galabingo.com/doclib/Test_folder/doclib/Test_folder/games_info_prod_24_09_2012_bingo.xml")) 
6#set ($document = $saxReaderUtil.readURL("http://admin-portal.galabingo.com/doclib/Bingo_xml/games_info_prod2.xml")) 
7#set ($root = $document.getRootElement()) 
8#set ($xpath = "/games/game[gameCode='${gamecode.data}'] | /games/game[gamecode='${gamecode.data}']") 
9#set ($gamexml = $root.selectNodes($xpath))   
10## 
11## 
12## 
13## Determine 'has download' 
14#if (!$has-download || $has-download.data == '') 
15#set($download = 'yes') 
16#else  
17#set($download = $has-download.data) 
18#end 
19## 
20## 
21## Determine 'play for free' 
22#if (!$play-for-free || $play-for-free.data == '') 
23#set($playForFree = 'yes') 
24#else  
25#set($playForFree = $play-for-free.data) 
26#end 
27## 
28## 
29## 
30## 
31#set ($userId = $request.get("attributes").get("USER_ID") ) 
32#macro( iframept5 ) 
33	<iframe alt="" border="0" bordercolor="#000000" frameborder="0" 
34	vspace="0" 
35	width="640" 
36	height="504" 
37	hspace="0" 
38	id="iframegame" 
39	longdesc="" 
40	name="iframegame" 
41	scrolling="no" 
42	data-src="http://cache.download.galabingo.com/casinoclient.html?game=$gamecode.data&nolobby=1&mode=offline&wmode=opaque&tturl=https://admin-portal.galabingo.com/delegate/tokenRequest.do&language=en&"> 
43	Your browser does not support inline frames or is currently configured not to display inline frames.  
44	</iframe> 
45#end 
46#macro( iframeww ) 
47	<iframe alt="" border="0" bordercolor="#000000" frameborder="0" 
48	vspace="0" 
49	width="640" 
50	height="504" 
51	hspace="0" 
52	id="iframegame" 
53	longdesc="" 
54	name="iframegame" 
55	scrolling="no" 
56	data-src="https://platform.gi.rgsgames.com/tc/game?currencycode=FPY&nscode=GLGB&skincode=GCXT&softwareid=$wwgameid.data"> 
57	Your browser does not support inline frames or is currently configured not to display inline frames.  
58	</iframe> 
59#end 
60#macro( iframegts2 $iframeurl ) 
61	<iframe alt="" border="0" bordercolor="#000000" frameborder="0" 
62	vspace="0" 
63	width="800" 
64	height="600" 
65	hspace="0" 
66	id="iframegame" 
67	longdesc="" 
68	name="iframegame" 
69	scrolling="no" 
70	data-src="$iframeurl&edgeServlet=https://galacasino.gtspt.com/edge/WebEngine&play4=free&configurationStages&gameFormat 
71	&gameName=$gts-gamename.data 
72	&gamePath=$gts-gamepath.data 
73	&gameTitle=$gts-gametitle.data	&height&loadingStages&nativeHeight&nativeWidth&width&domain=9G&clientVersion=0.1&clientPlatform=web&clientType=casino&brand=casino&languageCode=en&loginScript=1&portletInstance=instance"> 
74	Your browser does not support inline frames or is currently configured not to display inline frames.  
75	</iframe> 
76#end 
77 
78<script type="text/javascript"> 
79$j(document).ready(function(){ 
80	$j(".thumb").live('click', function(e) { 
81		src = $j(this).attr("src"); 
82		var large = $j("#main").attr("src"); 
83        $j("#main").attr("src", src); 
84        $j(this).attr("src", large); 
85	}); 
86}); 
87$j(window).load(function() { 
88   $j('#iframegame').attr( 'src', $j('#iframegame').attr('data-src')  ); 
89}); 
90</script> 
91<div class="seo-game $!gametype.data"> 
92	<div> 
93		<div class="box game"> 
94			<h2 class="portlet-title"><span class="portlet-title-text"> 
95				#if ($playForFree == 'yes') 
96				Play $title.data for Free 
97				#else 
98				Play $title.data 
99				#end 
100			</span></h2> 
101			#if ($help-url.data != '') 
102			<a class="btn btn6" href="$help-url.data"><span>Game Help</span></a> 
103			#end 
104			<div class="container">					 
105				#if( $gametype.data == 'gts' )  
106					#if($gts-asversion.data == '2') 
107						##iframegts2( 'http://cache.download.galacasino.com/download/gts_as2/galawrapper.html?' ) 
108						<iframe alt="" border="0" bordercolor="#000000" frameborder="0" 
109						vspace="0" 
110						width="800" 
111						height="600" 
112						hspace="0" 
113						id="iframegame" 
114						longdesc="" 
115						name="iframegame" 
116						scrolling="no" 
117						data-src="http://cache.download.galacasino.com/download/gts_as2/galawrapper.html?&edgeServlet=https://galacasino.gtspt.com/edge/WebEngine&play4=free&configurationStages&gameFormat 
118						&gameName=$gts-gamename.data 
119						&gamePath=$gts-gamepath.data 
120						&gameTitle=$gts-gametitle.data	&height&loadingStages&nativeHeight&nativeWidth&width&domain=9G&clientVersion=0.1&clientPlatform=web&clientType=casino&brand=casino&languageCode=en&loginScript=1&portletInstance=instance"> 
121						Your browser does not support inline frames or is currently configured not to display inline frames.  
122						</iframe> 
123					#else 
124						##iframegts2( 'http://cache.download.galacasino.com/download/gts/galawrapper.html?' ) 
125						<iframe alt="" border="0" bordercolor="#000000" frameborder="0" 
126						vspace="0" 
127						width="800" 
128						height="600" 
129						hspace="0" 
130						id="iframegame" 
131						longdesc="" 
132						name="iframegame" 
133						scrolling="no" 
134						data-src="http://cache.download.galacasino.com/download/gts/galawrapper.html&edgeServlet=https://galacasino.gtspt.com/edge/WebEngine&play4=free&configurationStages&gameFormat 
135						&gameName=$gts-gamename.data 
136						&gamePath=$gts-gamepath.data 
137						&gameTitle=$gts-gametitle.data	&height&loadingStages&nativeHeight&nativeWidth&width&domain=9G&clientVersion=0.1&clientPlatform=web&clientType=casino&brand=casino&languageCode=en&loginScript=1&portletInstance=instance"> 
138						Your browser does not support inline frames or is currently configured not to display inline frames.  
139						</iframe> 
140					#end 
141				#elseif( $gametype.data == 'ww' ) 
142					##iframeww() 
143					<iframe alt="" border="0" bordercolor="#000000" frameborder="0" 
144					vspace="0" 
145					width="640" 
146					height="504" 
147					hspace="0" 
148					id="iframegame" 
149					longdesc="" 
150					name="iframegame" 
151					scrolling="no" 
152					data-src="https://platform.gi.rgsgames.com/tc/game?currencycode=FPY&nscode=GLGB&skincode=GCXT&softwareid=$wwgameid.data"> 
153					Your browser does not support inline frames or is currently configured not to display inline frames.  
154					</iframe> 
155				#elseif( $gametype.data == 'pt' ) 
156					##iframept5() 
157					<iframe alt="" border="0" bordercolor="#000000" frameborder="0" 
158					vspace="0" 
159					width="640" 
160					height="504" 
161					hspace="0" 
162					id="iframegame" 
163					longdesc="" 
164					name="iframegame" 
165					scrolling="no" 
166					data-src="http://cache.download.galabingo.com/casinoclient.html?game=$gamecode.data&nolobby=1&mode=offline&wmode=opaque&tturl=https://admin-portal.galabingo.com/delegate/tokenRequest.do&language=en&"> 
167					Your browser does not support inline frames or is currently configured not to display inline frames.  
168					</iframe> 
169				#else 
170					<img title="$title.data" src="$bingo-image.data"> 
171				#end 
172			</div> 
173		</div> 
174		## render for none GTS only 
175		#if($gametype.data != 'gts' ) 
176			<div class="box actions"> 
177			<h2 class="portlet-title"> 
178			<span class="portlet-title-text">Play for Real</span></h2> 
179			#if ($userId) 
180				<div class="play-now"> 
181				<a  
182					href="#"  
183					data-gamecode="$!gamexml.get(0).selectSingleNode("gameCode").text"  
184					data-name="$!gamexml.get(0).selectSingleNode("name").text"  
185					data-gametype="$!gamexml.get(0).selectSingleNode("gameType").text"  
186					data-vf-launch-code="$!gamexml.get(0).selectSingleNode("gameLaunch").data"  
187					class="btn promotionButton launcher" 
188				><span><strong>Play Now</strong></span></a> 
189				</div> 
190			#if ($download == 'yes')  
191			 	<div class="download"> 
192				<a class="btn btn10" href="http://banner.galacasino.com/cgi-bin/SetupCasino.exe"><span>download</span></a> 
193				<p>Download our free software, for access to more great games.</p> 
194				</div> 
195			#end 
196			#else  
197				<div class="join">			  
198				<a class="btn promotionButton" href="/register"><span>join now</span></a> 
199				<p>Play instantly, no download required.</p> 
200				</div> 
201				<div class="play-now"> 
202				<a  
203					href="#"  
204					data-gamecode="$!gamexml.get(0).selectSingleNode("gameCode").text"  
205					data-name="$!gamexml.get(0).selectSingleNode("name").text"  
206					data-gametype="$!gamexml.get(0).selectSingleNode("gameType").text"  
207					data-vf-launch-code="$!gamexml.get(0).selectSingleNode("gameLaunch").data"  
208					class="btn promotionButton launcher" 
209				><span><strong>Play Now</strong></span></a> 
210				</div> 
211			#end 
212			</div> 
213		 
214			<div class="box games"> 
215			<h2 class="portlet-title"><span class="portlet-title-text">Game Preview</span></h2> 
216			<img id="main" src="$image1.data" /> 
217			<a href="javascript:void(0)"><img class="thumb" src="$image2.data" /></a> 
218			<a href="javascript:void(0)"><img class="thumb last" src="$image3.data" /></a>         
219			</div> 
220		#end 
221	</div> 
222	<div class="desc"> 
223		## render for GTS only 
224		#if($gametype.data == 'gts' ) 
225			<div class="box actions"> 
226			<h2 class="portlet-title"> 
227			<span class="portlet-title-text">Play for Real</span></h2> 
228			#if ($userId) 
229				<div class="play-now"> 
230				<a  
231					href="#"  
232					data-gamecode="$!gamexml.get(0).selectSingleNode("gameCode").text"  
233					data-name="$!gamexml.get(0).selectSingleNode("name").text"  
234					data-gametype="$!gamexml.get(0).selectSingleNode("gameType").text"  
235					data-vf-launch-code="$!gamexml.get(0).selectSingleNode("gameLaunch").data"  
236					class="btn promotionButton launcher" 
237				><span><strong>Play Now</strong></span></a> 
238				</div> 
239			#if ($download == 'yes')  
240			 	<div class="download"> 
241				<a class="btn btn10" href="http://banner.galacasino.com/cgi-bin/SetupCasino.exe"><span>download</span></a> 
242				<p>Download our free software, for access to more great games.</p> 
243				</div> 
244			#end 
245			#else  
246				<div class="join">			  
247				<a class="btn promotionButton" href="/register"><span>join now</span></a> 
248				<p>Play instantly, no download required.</p> 
249				</div> 
250				<div class="play-now"> 
251				<a  
252					href="#"  
253					data-gamecode="$!gamexml.get(0).selectSingleNode("gameCode").text"  
254					data-name="$!gamexml.get(0).selectSingleNode("name").text"  
255					data-gametype="$!gamexml.get(0).selectSingleNode("gameType").text"  
256					data-vf-launch-code="$!gamexml.get(0).selectSingleNode("gameLaunch").data"  
257					class="btn promotionButton launcher" 
258				><span><strong>Play Now</strong></span></a> 
259				</div> 
260			#end 
261			</div> 
262		#end 
263		$description.data 
264	</div> 
265</div>