Dokumenty do pobrania - Powiatowy Urząd Pracy w Wadowicach


Zawartość stron

Wystąpił błąd podczas przetwarzania szablonu.
Invocation of method 'parseInt' in  class java.lang.Integer threw exception java.lang.NumberFormatException: For input string: "wadowice.praca.gov.pl" at 20442STRONA_ARTYKUŁOWA_PL[line 187, column 66]
1#set($dlFELSU=$serviceLocator.findService("com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService")) 
2#set($Integer = 0) 
3#set($milis = $dateTool.getSystemTime()) 
4<div class="nnk-article-container"> 
5 
6	#if($content.getData().length() > 0) 
7	    <div class="nnk-article-content">   
8	        $content.getData() 
9	    </div> 
10    #end 
11     
12    #renderFieldArticle37($galleryFolder) 
13    #renderFieldArticle37($attachments) 
14</div> 
15 
16#macro( renderGalleryArticle37 $elem ) 
17#set($hasElements = false) 
18 
19		#foreach($single in $elem.getSiblings()) 
20			#set($imageIdList = $igFolderContentUtil.getImages($single.getData(), $permissionChecker)) 
21		    #if($imageIdList.size()>0) 
22		    	#set($hasElements = true) 
23		    	#break 
24		    #end                			 
25		#end 
26	 
27		#if ($hasElements) 
28		 
29		<div class="fluid_container no-print" style="display: none"> 
30			 
31			<link rel="stylesheet" href="/nnk-theme/css/vendor/elastislide.css">   
32			<link rel="stylesheet" href="/nnk-theme/css/vendor/lightbox.min.css">    
33			 
34			<script id="img-wrapper-tmpl" type="text/x-jquery-tmpl">	 
35				<div class="rg-image-wrapper"> 
36					{{if itemsCount > 1}} 
37						<div class="rg-image-nav"> 
38							<a href="#" class="rg-image-nav-prev"></a> 
39							<a href="#" class="rg-image-nav-next"></a> 
40						</div> 
41					{{/if}} 
42					<div class="rg-image rg-image-$milis"></div> 
43					<div class="rg-loading"></div> 
44					<div class="rg-caption-wrapper"> 
45						<div class="rg-caption" style="display:none;"> 
46							<p></p> 
47						</div> 
48					</div> 
49				</div> 
50			</script> 
51	 
52			<div class="rg-gallery rg-gallery-$milis"> 
53				<div class="rg-thumbs"> 
54					 
55					<!-- Elastislide Carousel Thumbnail Viewer --> 
56					<div class="es-carousel-wrapper"> 
57						<div class="es-nav"> 
58							<span class="es-nav-prev"></span> 
59							<span class="es-nav-next"></span> 
60						</div> 
61						<div class="es-carousel"> 
62							<ul> 
63								 
64	                    		#foreach($single in $elem.getSiblings()) 
65	                    			#set($imageIdList = $igFolderContentUtil.getImages($single.getData(), $permissionChecker)) 
66	                    			 
67	                    				#foreach($image in $imageIdList) 
68	                    					#set($tags = "") 
69	                    	  				#foreach($tag in $igFolderContentUtil.getTags($image)) 
70	                    						#if($velocityCount == 1) 
71	                    							#set($tags = $tag) 
72	                    	  					#else 
73	                    							#set($tags = $tags + ", " + $tag) 
74	                    	  					#end 
75	                    	  				#end 
76	                    	    			#set($id=$image.getFileEntryId()) 
77	                    								 
78											<li> 
79	 
80												<a href="#"> 
81												<img data-id="image-gallery_$id" data-lightbox="image-gallery_$id" src="$igFolderContentUtil.getSmallImagePath($id, $elem.getThemeDisplay())" data-large="$igFolderContentUtil.getLargeImagePath($id, $elem.getThemeDisplay())" data-description="$escapeTool.html($image.getDescription())" data-title="$escapeTool.html($image.getTitle())" title="$escapeTool.html($image.getTitle())" /> 
82												</a> 
83											</li> 
84	 
85	                    	  			#end 
86	                    		#end 
87								 
88							 
89							 
90							 
91							</ul> 
92						</div> 
93					</div><!-- End Elastislide Carousel Thumbnail Viewer --> 
94				</div><!-- rg-thumbs --> 
95				 
96	    		<div class="images-backstage"> 
97	    					#foreach($single in $elem.getSiblings()) 
98	    	  					#set($imageIdList = $igFolderContentUtil.getImages($single.getData(), $permissionChecker)) 
99	    	  					#foreach($image in $imageIdList) 
100	    	  						#set($tags = "") 
101	    	  						#foreach($tag in $igFolderContentUtil.getTags($image)) 
102	    	  							#if($velocityCount == 1) 
103	    	  								#set($tags = $tag) 
104	    	  							#else 
105	    	  								#set($tags = $tags + ", " + $tag) 
106	    	  							#end 
107	    	  						#end 
108	    	    					#set($id=$image.getFileEntryId()) 
109	    	    					 
110	    	      						<a id="image-gallery_$id" data-lightbox="article-gallery" href="$igFolderContentUtil.getLargeImagePath($id, $elem.getThemeDisplay())" data-title="$escapeTool.html($image.getTitle())" data-description="$escapeTool.html($image.getDescription())"></a> 
111	    								 
112	    	  					#end 
113	    					#end 
114	    		</div> 
115				 
116			</div><!-- rg-gallery --> 
117			 
118			<script type="text/javascript" src="/nnk-theme/js/vendor/lightbox.min.js"></script> 
119			<script type="text/javascript" src="/nnk-theme/js/vendor/jquery.easing.1.3.min.js"></script> 
120			<script type="text/javascript" src="/nnk-theme/js/vendor/jquery.elastislide.js"></script> 
121			<script type="text/javascript" src="/nnk-theme/js/vendor/jquery.gallery.min.js"></script> 
122	 
123			<script> 
124	 
125	    		jQuery(document).ready(function(){ 
126	 
127	    			$(".rg-gallery-$milis").each(function(key,value){ 
128	            		$(this).gallery({ 
129							callback: function(container){ 
130	 
131								container.find("[data-lightbox]").attr("data-lightbox", "gallery-lightbox-" + key); 
132	 
133				                container.on("click", ".rg-image img", function(){ 
134				                	var src = $(this).attr("src"); 
135				                	x= $('[data-large="'+src+'"]')[0]; 
136				                	$("#" + $(x).attr("data-id")).click(); 
137				                }) 
138 
139				                 
140
141	            		}); 
142 
143	            		$(this).resize(); 
144	    			}); 
145				 
146	    		}) 
147	 
148			</script> 
149		 
150		</div> 
151	 
152	#end 
153#end 
154 
155 
156 
157#macro( renderAttachmentsArticle37 $elem ) 
158 
159	#set($showAttachments=false) 
160 
161	#foreach($element in $elem.getSiblings()) 
162		#if($element.getData()) 
163			#set($attachTag=$element.getData().split(";")) 
164			#set($link = $arrayUtil.getValue($attachTag,0)) 
165			#if(!$link.empty) 
166				#set($showAttachments=true) 
167				#break 
168			#end 
169		#end 
170	#end 
171 
172	#if($showAttachments) 
173 
174		<dl id="attachments"> 
175			<dt class="title">#language("attachements")</dt> 
176			#foreach($element in $elem.getSiblings()) 
177				#if($element.getData() && !$element.getData().empty) 
178					#set($attachTag=$element.getData().split(";")) 
179					#set($link = $arrayUtil.getValue($attachTag,0)) 
180					#set($target = $arrayUtil.getValue($attachTag,1)) 
181					#set($isExternalServerEnabled = $prefsPropsUtil.getBoolean("asset.external.server.enabled")) 
182					#if ($isExternalServerEnabled) 
183						#set($rootUrl = $prefsPropsUtil.getString("asset.root.url")) 
184					#end 
185					#set($linkArray = $link.split("/")) 
186					#set($groupId = $arrayUtil.getValue($linkArray, 2)) 
187					#set($groupId = $Integer.parseInt($groupId) ) 
188					#set($uuidWithTimeStamp = $arrayUtil.getValue($linkArray, 5)) 
189					#set($uuidWithTimeStampArray = $uuidWithTimeStamp.split("[?]")) 
190					#set($uuid = $arrayUtil.getValue($uuidWithTimeStampArray, 0)) 
191					#set($fileEntry=$dlFELSU.getFileEntryByUuidAndGroupId($uuid,$groupId)) 
192					#if($fileEntry) 
193					<dd class="item"><span class="attachement-ico"></span> <a #if($target && !$target.empty) target="$target" #end href="$!rootUrl$link" title="$fileEntry.getTitle()">$fileEntry.getTitle()</a></dd> 
194					#else 
195					 
196					#set($docTitle = $arrayUtil.getValue($linkArray, 4)) 
197					#set($fileEntry=$dlFELSU.getDLFileEntry($entryId)) 
198					<dd class="item"><span class="attachement-ico"></span> <a #if($target && !$target.empty) target="$target" #end href="$!rootUrl$link" title="$fileEntry.getTitle()">$fileEntry.getTitle()</a></dd> 
199					 
200					 
201					#end 
202				#end 
203			#end 
204		</dl> 
205 
206	#end 
207#end 
208 
209#macro( renderFieldArticle37 $elem ) 
210  #set($type=$elem.getType()) 
211  #if( $type.equals("document_library") && $elem.getName().equals("attachments") ) 
212    #renderAttachmentsArticle37($elem) 
213  #end 
214  #if ($type.equals("ig_folder") && $elem.getName().equals("galleryFolder")) 
215    #renderGalleryArticle37($elem) 
216  #end 
217#end 

Partnerzy

Na skróty

 Przejdź na górę