<?    
  $column1_list1=$arr_maptoon;
  $column1_list2=$arr_heart_opening_story;
  $column1_list3=$arr_gracious_verse;
?>
<div class="mainBox">
          <div class="titleBox" style="display:none">
            <ul>
              <li class="view"><!--<a href="#">-->모아보기<!--</a>--></li>
            </ul>
            <div class="arrow">
              <span class="current-index">1</span>/<span class="count">3</span>
            </div>
          </div>
          <div class="mainBox-slider">
              <div class="thumbBox">
                <ul>
                  <?foreach($column1_list1 as $val){?>
                      <?if(isset($val['div'])){
                            if($val['div']=='mt') $url='/web/maptoon/article?mtId='.$val['mt_list_idx'].'&no='.$val['ep_no'];
                        }else{
                            $url='/web/life/life_view/'.$val['idx'];
                        }?>
                      <li>
                        <a class="img-scaleup" href="<?=$url?>"><img src="<?=$val['main_img']?>"></a>
                        <div class="des">
                          <p><a href="<?=$url?>"><?php if(isset($val['title'])==TRUE) echo $val['title'];?></a></p>
                        </div>
                      </li>
                  <?}?>
                </ul>
            </div>
            <div class="thumbBox">
              <ul>
                  <?foreach($column1_list2 as $val){?>
                      <li>
                        <a class="img-scaleup" href="/web/life/life_view/<?=$val['idx']?>"><img src="<?=$val['main_img']?>"></a>
                        <div class="des">
                          <p><a href="/web/life/life_view/<?=$val['idx']?>"><?php if(isset($val['title'])==TRUE) echo $val['title'];?></a></p>
                        </div>
                      </li>
                  <?}?>
              </ul>
            </div>
            <div class="thumbBox">
              <ul>
                  <?foreach($column1_list3 as $val){?>
                      <li>
                        <a class="img-scaleup" href="/web/life/life_view/<?=$val['idx']?>"><img src="<?=$val['main_img']?>"></a>
                        <div class="des">
                          <p><a href="/web/life/life_view/<?=$val['idx']?>"><?php if(isset($val['title'])==TRUE) echo $val['title'];?></a></p>
                        </div>
                      </li>
                  <?}?>
              </ul>
            </div>
          </div>
          <div class="tab mainBox-nav">
            <div class="current">웹툰</div>
            <div>이야기 QT</div>
            <div>영어묵상</div>
          </div>
</div>