ÿØÿà JFIF ` ` ÿþ
Server : Apache System : Linux ruga7-004.fmcity.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64 User : tkt_travelbus ( 1137) PHP Version : 7.0.0p1 Disable Function : mysql_pconnect Directory : /tkt_travelbus/www/page/ |
Upload File : |
<?php $goodMainImgSlide = array(); $goodMainImgSlide[] = array( 'Img_Src' => $row_good['img_src2'], 'Img_SrcBig' => $row_good['img_src2'], ); foreach($gallery_arr as $item){ $goodMainImgSlide[] = array( 'Img_Src' => $item['Img_Src'], 'Img_SrcBig' => $item['Img_SrcBig'], ); if(count($goodMainImgSlide) == 5){ break; } } ?> <div class="goodPageImgSlideArea swiper-container"> <div class="swiper-wrapper"> <?php foreach($goodMainImgSlide as $r){ ?> <div class="swiper-slide"><a href="<?=$r['Img_Src']?>"><img src="<?=$r['Img_SrcBig']?>" /></a></div> <?php } ?> </div> <div class="swiper-pagination"></div> <div class="swiper-button-next"></div> <div class="swiper-button-prev"></div> </div> <script type="text/javascript"> $(document).ready(function() { // 메인이미지 var swiper = new Swiper('.goodPageImgSlideArea', { pagination: '.swiper-pagination', paginationClickable: true, nextButton: '.swiper-button-next', prevButton: '.swiper-button-prev', spaceBetween: 30, loop: true, autoplay: 4000, autoplayDisableOnInteraction: false }); }); </script> <style> .mfp-arrow-left{margin-left:23% !important;} .mfp-arrow-right{margin-right:23% !important;} .mfp-bottom-bar{top: 80px !important;} .mfp-bottom-bar .mfp-counter{font-size:13px !important;right:8px !important;} </style> <div class="zoom-gallery-info-hide" style="display:none"> <!--<a href="<?=$row['Img_SrcBig']?>" title="대표이미지"><img src="<?=$row['Img_SrcBig']?>" width="430" height="278" img-id="img0"></a>--> <a href="<?=$row_good['img_src2']?>"><img src="<?=$row_good['img_src2']?>" width="430" height="278" img-id="img0"></a> <? for($i=0,$j=1 ; $i<count($gallery_arr) ; $i++,$j++) { $arr = $gallery_arr[$i]; ?> <a href="<?=$arr['Img_SrcBig']?>" style="display:none;" title="<?=$arr['title']?>"><img src="<?=$arr['Img_SrcBig']?>" width="480" height="280" img-id="img<?=$j?>" /></a> <? } ?> </div>