Subversion Repositories SmartDukaan

Rev

Rev 1082 | Rev 1158 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1082 Rev 1152
Line 270... Line 270...
270
										<script language="JavaScript">
270
										<script language="JavaScript">
271
                                        <!-- 
271
                                        <!-- 
272
										var NumberOfImages_$velocityCount = 1;
272
										var NumberOfImages_$velocityCount = 1;
273
										var img_$velocityCount = new Array(NumberOfImages_$velocityCount)
273
										var img_$velocityCount = new Array(NumberOfImages_$velocityCount)
274
										#set($count=0)
274
										#set($count=0)
275
										img_$velocityCount[$count] = "../images/${entityid}/default.jpg"
275
										img_$velocityCount[$count] = "../../db/media/${entityid}/default.jpg"
276
            							#set($firstImageRef="../images/${entityid}/default.jpg")
276
            							#set($firstImageRef="../../db/media/${entityid}/default.jpg")
277
            							
277
            							
278
										var imgNumber$velocityCount = 0;  
278
										var imgNumber$velocityCount = 0;  
279
										
279
										
280
                                         //-->
280
                                         //-->
281
                                         </script>
281
                                         </script>
Line 299... Line 299...
299
										 
299
										 
300
										#set( $imageRefs = $expslide.getFreeformContent().getImageLabels())
300
										#set( $imageRefs = $expslide.getFreeformContent().getImageLabels())
301
										var NumberOfImages_$velocityCount = $imageRefs.size();
301
										var NumberOfImages_$velocityCount = $imageRefs.size();
302
										var img_$velocityCount = new Array(NumberOfImages_$velocityCount);
302
										var img_$velocityCount = new Array(NumberOfImages_$velocityCount);
303
										var title_$velocityCount = new Array(NumberOfImages_$velocityCount);
303
										var title_$velocityCount = new Array(NumberOfImages_$velocityCount);
-
 
304
										#set( $media = $expslide.getFreeformContent().getMedias())
304
										
305
										
305
										#set($count=0)
306
										#set($count=0)
306
            							#foreach( $imageLabel in $imageRefs )
307
            							#foreach( $imageLabel in $imageRefs )
307
											#set( $image = $media.get($imageLabel) )
308
											#set( $image = $media.get($imageLabel) )
308
											
309
											
309
											#set($imageName = $image.getFileName())
310
											#set($imageName = $image.getFileName())
310
											#set($imageTitle = $image.getTitle())
311
											#set($imageTitle = $image.getTitle())
311
											 img_$slideno[$count] = "/images/${entityid}/$imageName";
312
											 img_$slideno[$count] = "../../db/media/${entityid}/$imageName";
312
											 title_$slideno[$count] = "$imageTitle";
313
											 title_$slideno[$count] = "$imageTitle";
313
											 
314
											 
314
											 #set($count = $count + 1)
315
											 #set($count = $count + 1)
315
											 #if($velocityCount == 1)
316
											 #if($velocityCount == 1)
316
											 	#set($firstImageRef="/images/${entityid}/$imageName")
317
											 	#set($firstImageRef="../../db/media/${entityid}/$imageName")
317
												#set($firstImageTitle="$imageTitle")
318
												#set($firstImageTitle="$imageTitle")
318
											 #end	
319
											 #end	
319
            							#end
320
            							#end
320
										var imgNumber$velocityCount = 0;  
321
										var imgNumber$velocityCount = 0;  
321
										
322
										
Line 363... Line 364...
363
                                         <!-- 
364
                                         <!-- 
364
										 
365
										 
365
										#set( $videoRefs = $expslide.getFreeformContent().getYoutubeLabels())
366
										#set( $videoRefs = $expslide.getFreeformContent().getYoutubeLabels())
366
										var NumberOfVideos_$velocityCount = $videoRefs.size();
367
										var NumberOfVideos_$velocityCount = $videoRefs.size();
367
										var video_title_$velocityCount = new Array(NumberOfVideos_$velocityCount);
368
										var video_title_$velocityCount = new Array(NumberOfVideos_$velocityCount);
-
 
369
										#set( $media = $expslide.getFreeformContent().getMedias())
368
										
370
										
369
										#set($count=0)
371
										#set($count=0)
370
            							#foreach( $videoLabel in $videoRefs )
372
            							#foreach( $videoLabel in $videoRefs )
371
											#set( $video = $media.get($videoLabel) )
373
											#set( $video = $media.get($videoLabel) )
372
											#set($videoTitle = $video.getTitle())
374
											#set($videoTitle = $video.getTitle())
Line 379... Line 381...
379
											 #end	
381
											 #end	
380
            							#end
382
            							#end
381
										var vidNumber$velocityCount = 0;  
383
										var vidNumber$velocityCount = 0;  
382
										 //-->
384
										 //-->
383
                                       </script>
385
                                       </script>
384
 
-
 
-
 
386
									#set( $media = $expslide.getFreeformContent().getMedias())
385
                                         <div class="container">
387
                                         <div class="container">
386
											
388
											
387
                                                <div class="slider-content">
389
                                                <div class="slider-content">
388
													 <div class="slider">
390
													 <div class="slider">
389
														
391
														
Line 407... Line 409...
407
													</div>
409
													</div>
408
                                                </div>
410
                                                </div>
409
 
411
 
410
                                              <div class="slides">
412
                                              <div class="slides">
411
												   #if($videotype=="withoutskin")
413
												   #if($videotype=="withoutskin")
412
                                                   <span style="background:url(../images/${entityid}/skin.jpg) no-repeat; height:${skinheight}px; width:${skinwidth}px; float:left;" >
414
                                                   <span style="background:url(../../db/media/${entityid}/skin.jpg) no-repeat; height:${skinheight}px; width:${skinwidth}px; float:left;" >
413
													    <span style="height:${screenheight}px; width:${screenwidth}px; margin:${screentopcornery}px 0px 0px ${screentopcornerx}px; float:left;">
415
													    <span style="height:${screenheight}px; width:${screenwidth}px; margin:${screentopcornery}px 0px 0px ${screentopcornerx}px; float:left;">
414
<!--                    										 <object width="${screenwidth}" height="${screenheight}" type="application/x-shockwave-flash" id="ytPlayer$velocityCount" data="http://www.youtube.com/apiplayer?&amp;enablejsapi=1&amp;playerapiid=player$velocityCount"><param name="allowScriptAccess" value="always"></object>
416
<!--                    										 <object width="${screenwidth}" height="${screenheight}" type="application/x-shockwave-flash" id="ytPlayer$velocityCount" data="http://www.youtube.com/apiplayer?&amp;enablejsapi=1&amp;playerapiid=player$velocityCount"><param name="allowScriptAccess" value="always"></object>
415
-->
417
-->
416
<div id="videoDiv$velocityCount">
418
<div id="videoDiv$velocityCount">
417
</div>
419
</div>