<?
$featured_column[0]=$arr_bible_postcard;
$featured_column[1]=$arr_Prayer;
$featured_column[2]=$arr_christian_reading;
// $featured_column[3]=$arr_meditation_contemplation;
?>

<div class="featuredBox" style="display:none">
    <div class="titleBox">
        <ul>
            <li><a href="#">말씀엽서</a></li>            
            <li><a href="#">기도공감</a></li>
            <li><a href="#">도서</a></li>
            <!-- <li><a href="#">운율묵상</a></li> -->
        </ul>
    </div>
    <div class="featuredBox-slider">
        <?foreach($featured_column as $val){?>
        <div class="thumbBox">
            <ul>
                <?for($i=0;$i<count($val);$i++){ ?>
                <li>
                    <a class="img-scaleup" href="/grace/<?php echo $val[$i]->titleUrl. '/'. $val[$i]->idx?>">
                        <img src="<?php echo imgSrc($val[$i]->mainImg)?>">
                    </a>
                    <div class="des">
                        <p><a href="/grace/<?php echo $val[$i]->titleUrl. '/'. $val[$i]->idx?>"> <?php echo $val[$i]->title?>
                            </a></p>
                    </div>
                </li>
                <?}?>
            </ul>
        </div>
        <?}?>
    </div>
</div>