forked from hyohyo0803/DYStudy
1 changed files with 0 additions and 28 deletions
@ -1,28 +0,0 @@ |
|||||||
<!DOCTYPE html> |
|
||||||
<html lang="en"> |
|
||||||
<head> |
|
||||||
<meta charset="UTF-8"> |
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
||||||
<title>Document</title> |
|
||||||
</head> |
|
||||||
<body> |
|
||||||
<section id="fade"> |
|
||||||
<div class="swiper-container swiper-container-h"> |
|
||||||
<div class="swiper-wapper"> |
|
||||||
<?php foreach ($mainbanner as $o): ?> |
|
||||||
<!--$mainbanner라는 배열을 foreach함수를 사용하여 swiper-slide를 생성--> |
|
||||||
<div class="swiper-slide"> |
|
||||||
<a href="<?=$o->href?>"> |
|
||||||
<!--$mainbanner 라는 변수(배열)에 오브젝트속 키워드가 href인 갑을 추출 한다--> |
|
||||||
<img src="/data/banner/<?=$o->bf_file?>" alt="음성명작페스티벌" width="100%"> |
|
||||||
<!--$mainbanner 라는 변수(배열)에 오브젝트속 키워드가 "bf_file" 갑을 추출 한다--> |
|
||||||
</a> |
|
||||||
</div> |
|
||||||
<?php endforeach; ?> |
|
||||||
</div> |
|
||||||
<div class="swiper-pagination swiper-pagination-h"></div> |
|
||||||
</div> |
|
||||||
</section> |
|
||||||
</body> |
|
||||||
</html> |
|
||||||
Loading…
Reference in new issue