<div class="newsBox">
    <div class="photoNews">
        <ul>
            <?
            for($i=1;$i<3;$i++){
            $title      = mb_strimwidth($arr_headline_news[$i]['title'], '0', '38', '..', 'utf-8');
            if(isset($arr_headline_news[$i])==true) {?>
                <li class="img-scaleup">
                <a href="/web/news/news_view/<?=$arr_headline_news[$i]['content_idx']?>">
                    <img src="<?= $arr_headline_news[$i]['theme_img']?>">
                </a>
                <h2><a href="/web/news/news_view/<?=$arr_headline_news[$i]['content_idx']?>"><?=$title?></a></h2>
                </li>
                <?}
            }?>
        </ul>
    </div>
    <ul class="list">
        <?
        for($i=3;$i<=10;$i++) {
        if(isset($arr_headline_news[$i])==true) {
            $title = $arr_headline_news[$i]['title'];?>        
                <li><a href="/web/news/news_view/<?=$arr_headline_news[$i]['content_idx'];?>"><?=$title;?></a></li>
        <? } }?>
    </ul>

    <div class="prayerRQ">
        <strong>세계기도제목</strong>
        <div class="topic">
            <ul class="prayer">
            <!-- <li><a href="#">인도 기독교인들 기도모임 도중 외부 공격받아 12명 부상 기독교인들 기도모임 </a></li> -->
            <?foreach ($arr_weather as $val) {
            $title = (isset($val['title'])==TRUE)?mb_substr($val['title'], '0', '150', 'utf-8') : '';?> 
                <li><a href="/web/news/news_view/<?=$val['relation_article_idx']?>"><?=$title?></a></li>
            <?}?>
            </ul>
        </div>
        <!-- <div class="more"><a href="#">관련기사 더보기</a></div> -->
    </div>
</div>