네이버 동영상 등록 문제 산넘어 산이네요~^^

네이버 동영상 등록 문제 산넘어 산이네요~^^

QA

네이버 동영상 등록 문제 산넘어 산이네요~^^

본문

우선 많은 질문에 답변해주신 고수분들께 감사 드립니다.

게시판에 유투브 동영상은 등록이 되는데 네이버 동영상만 등록이 안되어 질문을 많이 드렸습니다.

많은 방법을 동원해 주셔서 어찌 저찌하여 성공은 했습니다.

프레임을 동영상 넣기 버튼을 누르고 넣으면 잡다한 이상한 쓰래기가 같이 딸려와서

그걸 삭제하고 올리니까 네이버 동영상도 열리더라구요.

3698633583_1614255182.6493.png

 

이후 또 큰산이 저를 막고 있네요.

첫화면 latast 최신글에도 비슷한 현상이 나옵니다.

유투브를 올리면 그림이 나오는데 네이버는 안나와요. ㅠ ㅜ

3698633583_1614255286.0873.png

사진처럼 네이버 동영상만 썸네일이 안나옵니다.

https://sir.kr/어딜 손봐야 하나요?

참고로 이윰빌더를 설치하고 다른건 손대지 않았습니다.

 

다른분들의 비슷한 고민의 글을 읽어보니 도통 무슨 말인지 이해도 안가고

쉽게 설명해주시면 따라해 보겠습니다. 

 

이 질문에 댓글 쓰기 :

답변 4

썸네일 부분은 list.skin.php부분에서 별도로 네이버 영상이 들어왔다면 네이버 썸네일 출력 형식을 추가해주셔야 될겁니다.

제가 사용하는 또다른 방식은 요즘 youtube, 네이버tv 등... 모바일또는 PC에서 영상주소의 형태가 제각각이여서 저는 head meta부분을 파싱하여 썸네일주소와 영상주소를 가져오고 있습니다. 이로인해 어떤 주소든 영상을 가져올 수 있습니다.

제겐 너무 큰 벽이군요. ㅠ ㅜ
귀한 시간 쪼개어 답글 주셨는데 받는 사람이 너무 아는것이 없어
담을 없는 상황을 이해 바랍니다.^^
일고 있는 명령어라고는 </br> 밖에 없는터라 너무 죄송하네요.
귀한시간 내주셔서 감사합니다.
채택 꾹! 눌렀어요.

아유 채택 감사드립니다!

해당 latest에 어떠한 소스들이 적용되어있는지 몰라 자세하게는 알려드릴 수 없습니다만...

일단 네이버tv영상을 불러오실때 "공유"→"url복사"로 가져오시는게 맞는지 확인이 필요합니다.

맞다면 아래 소스로 네이버tv 썸네일을 불러오실 수 있는데 해당 latest.skin의 소스들이 어떻게 되어있는지 몰라 아래 코드를 수정하여 넣어야 할텐데...

가능하시면 latest.skin의 소스들을 알려주시면 될것 같습니다.

 


                            $naver_key = substr($list[$i]['wr_link1'], -8, 8);
                            $naver_ad = 'https://tv.naver.com/oembed?url=https://tv.naver.com/v/';
                            $naverlink = $naver_ad.$naver_key;
                            if (! function_exists('get_movie_thumb')) {
                                function get_movie_thumb($naverlink)
                                {
                                    $url = $naverlink;
                                    $ch = curl_init();
                                    curl_setopt($ch, CURLOPT_URL, $url);
                                    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
                                    curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');
                                    $response = curl_exec($ch);
                                    curl_close($ch);
                                    $datas = json_decode($response);
                                    return $datas->thumbnail_url;
                                }
                            }
                            $naverpartlink = get_movie_thumb($naverlink); //naver 링크를 변수에 저장
                            $naverpartlink1 = strpos($naverpartlink, "?"); //naver의 링크에 ?문자가 있으면 해당 인덱스 출력
                            $naverpartlink2 = substr($naverpartlink, 0, $naverpartlink1); //변수에 ?전까지 링크주소 자르기
                            echo str_replace("_play", "", '<i class="imgAr"><img src="'.$naverpartlink2.'" width="330" height="200" alt="'.$list[$i]['wr_subject'].' - 영상 썸네일"></i>');
 

우선 한번더 기회를 주셔서 감사드려요.^^

네이버 동영상을 올릴때 url로 하면 등록이 안되고 그냥 빈페이지로 나오더라구요.

그래서 프레임 복사해서 등록을 하니까 어찌저찌해서 나오기는 합니다.

저는 최신 이윰빌더를 사용하고 있습니다.

말씀하신 list.skin 이 아래 경로의 파일을 말씀하시는 걸로 알고 올려 보겠습니다.

theme/eb4_basic/skin/board/webzine/lisk.skin.html.php

==============

lisk.skin.html

==============

 

 

<?php
/**
 * skin file : /theme/THEME_NAME/skin/board/webzine/list.skin.html.php
 */
if (!defined('_EYOOM_')) exit;

add_stylesheet('<link rel="stylesheet" href="'.EYOOM_THEME_URL.'/plugins/sly/tab_scroll_category.css" type="text/css" media="screen">',0);
add_stylesheet('<link rel="stylesheet" href="'.EYOOM_THEME_URL.'/plugins/sweetalert/sweetalert.min.css" type="text/css" media="screen">',0);
?>

<style>
.board-list .board-setup {position:relative;border:1px solid #d5d5d5;height:30px;margin-bottom:20px}
.board-list .board-setup .select {position:absolute;top:-1px;left:-1px;display:inline-block;width:200px}
.board-list .board-setup-btn-box {position:absolute;top:-1px;right:-1px;display:inline-block;width:420px}
.board-list .board-setup-btn {float:left;width:25%;height:30px;line-height:30px;color:#fff;text-align:center;font-size:12px}
.board-list .board-setup-btn:nth-child(odd) {background:#59595B}
.board-list .board-setup-btn:nth-child(even) {background:#676769}
.board-list .board-setup-btn:hover {opacity:0.8}
.board-list .bo_current {color:#FF4848}
.board-list .board-btn-adm li {float:left;margin-right:5px}
.board-list .board-list-footer {margin-top:20px}
.board-list .favorite-setup {display:inline-block;width:100px;margin-left:15px}
.board-list .favorite-setup .toggle {padding-right:37px}
.board-webzine .webzine-item {position:relative;font-size:12px;margin-bottom:30px;border-top:1px solid #e5e5e5;background:#fff;width:100%}
.board-webzine .webzine-item-heading {position:relative;padding:5px 0;border-bottom:1px solid #e5e5e5;background:#fff}
.board-webzine .webzine-item-heading .webzine-photo {display:inline-block;width:26px;height:26px;margin-right:2px;border:1px solid #e5e5e5;padding:1px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-border-radius:50% !important;-moz-border-radius:50% !important;border-radius:50% !important}
.board-webzine .webzine-item-heading .webzine-photo img {width:100%;height:auto;-webkit-border-radius:50% !important;-moz-border-radius:50% !important;border-radius:50% !important}
.board-webzine .webzine-item-heading .webzine-photo .webzine-user-icon {width:22px;height:22px;font-size:14px;line-height:22px;text-align:center;background:#959595;color:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;white-space:nowrap;vertical-align:baseline;-webkit-border-radius:50% !important;-moz-border-radius:50% !important;border-radius:50% !important}
.board-webzine .webzine-item-heading .webzine-lv-icon {display:inline-block;margin-left:2px}
.board-webzine .webzine-item-heading .webzine-date {margin-left:7px;font-size:12px}
.board-webzine .webzine-item-heading .webzine-date i {color:#959595}
.board-webzine .webzine-item-heading .wezine-cate {display:inline-block;position:absolute;top:8px;right:0;color:#757575;padding:1px 5px;background:#fff}
.board-webzine .webzine-item-body {position:relative;overflow:hidden;padding:15px 0;min-height:80px;box-sizing:content-box}
.board-webzine .webzine-item-body .webzine-img {position:absolute;top:15px;left:0;width:200px;z-index:1}
.board-webzine .webzine-item-body .webzine-desc {position:relative}
.board-webzine .webzine-item-body .webzine-noimg-desc {position:relative}
.board-webzine .webzine-item-body .webzine-img-box {position:relative;overflow:hidden;max-height:150px}
.board-webzine .webzine-item-body .webzine-img-box-in {position:relative;overflow:hidden}
.board-webzine .webzine-item-body .webzine-img-box-in:after {content:"";text-align:center;position:absolute;display:block;left:0;top:0;opacity:0;-moz-transition:all 0.2s ease 0s;-webkit-transition:all 0.2s ease 0s;-ms-transition:all 0.2s ease 0s;-o-transition:all 0.2s ease 0s;transition:all 0.2s ease 0s;width:100%;height:100%;background:rgba(0,0,0,0.3)}
.board-webzine .webzine-item-body .webzine-img-box-in .movie-icon {display:inline-block;position:absolute;top:50%;left:50%;width:40px;height:40px;line-height:40px;text-align:center;color:#fff;font-size:30px;margin-top:-20px;margin-left:-20px;z-index:1}
.board-webzine .webzine-item:hover .webzine-img-box-in:after {opacity:1}
.board-webzine .webzine-item-body h4 {font-size:15px;color:#000;margin-left:215px;margin-top:0}
.board-webzine .webzine-item:hover .webzine-item-body h4 {text-decoration:underline}
.board-webzine .webzine-item-body .webzine-checkbox {display:inline-block;position:absolute;top:-6px;right:-5px;z-index:1}
.board-webzine .webzine-item-body .webzine-cont {position:relative;font-weight:300;color:#757575;margin-left:215px}
.board-webzine .webzine-item-body .webzine-info {position:relative;border-top:1px solid #f2f2f2;padding-top:7px;margin-left:215px}
.board-webzine .webzine-item-body .webzine-info span {color:#959595;font-size:11px}
.board-webzine .webzine-item-body .webzine-info span i {margin-right:5px}
.board-webzine .webzine-item-body .webzine-info strong {font-weight:normal;margin-right:10px}
.board-webzine .webzine-item-body .webzine-noimg-desc h4 {margin-left:0}
.board-webzine .webzine-item-body .webzine-noimg-desc .webzine-cont {margin-left:0}
.board-webzine .webzine-item-body .webzine-noimg-desc .webzine-info {margin-left:0}
.board-webzine .webzine-ratings .star-ratings-list {position:absolute;top:5px;right:0;width:60px;height:18px;background:#fff}
.board-webzine .webzine-ratings .star-ratings-list li {padding:0;float:left;margin-right:0}
.board-webzine .webzine-ratings .star-ratings-list li .rating {color:#a5a5a5;font-size:10px;line-height:normal}
.board-webzine .webzine-ratings .star-ratings-list li .rating-selected {color:#FF4848;font-size:10px}
.board-webzine .webzine-item-notice {position:relative;overflow:hidden;border:1px solid #e5e5e5;background:#fff;padding:8px 10px;margin-bottom:30px;-webkit-border-radius:2px !important;-moz-border-radius:2px !important;border-radius:2px !important}
.board-webzine .webzine-item-notice .label {font-size:11px;font-weight:normal;margin-bottom:0}
.board-list .view-infinite-more {margin-top:30px;margin-bottom:40px}
.board-list .view-infinite-more .btn-e-xlg {position:relative;height:40px;line-height:40px;padding:0 100px;font-size:16px !important;border:1px solid #b5b5b5;background:#fff;color:#757575}
.board-list .view-infinite-more .btn-e-xlg i {position:absolute;top:5px;right:5px;font-size:30px;color:#fff;transition:all 0.2s ease-in-out}
.board-list .view-infinite-more .btn-e-xlg:hover {border:1px solid #959595;background:#f5f5f5;color:#000}
.board-list .view-infinite-more .btn-e-xlg:hover i {color:#b5b5b5}
#infscr-loading {text-align:center;z-index:100;position:absolute;left:50%;bottom:0;width:200px;margin-left:-100px;padding:8px 0;background:#000;opacity:0.8;color:#fff}
<?php if ($eyoom['is_responsive'] == '1' || G5_IS_MOBILE) { // 반응형 또는 모바일일때 ?>
@media (max-width: 550px) {
    .board-webzine .webzine-item-body .webzine-img {top:43px;left:0;width:150px}
    .board-webzine .webzine-item-body .webzine-img-box {max-height:84px}
    .board-webzine .webzine-item-body h4 {margin-left:0}
    .board-webzine .webzine-item-body .webzine-cont {margin-left:165px;height:86px;font-size:12px;overflow:hidden;margin-bottom:15px}
    .board-webzine .webzine-item-body .webzine-info {margin-left:0;padding-top:10px}
    .board-webzine .webzine-item-body .webzine-noimg-desc .webzine-cont {height:80px;font-size:12px;overflow:hidden}
}
<?php } ?>
@media (min-width: 768px) {
    .board-view-modal {width:720px;margin:10px auto}
    .board-view-modal .modal-header, .board-view-modal .modal-body, .board-view-modal .modal-footer {padding:10px 20px}
}
@media (min-width: 992px) {
    .board-view-modal {width:940px}
}
@media (min-width: 1200px) {
    .board-view-modal {width:1140px}
}
</style>

<div id="fakeloader"></div>

<div class="board-list">
    <?php if ($is_admin && !G5_IS_MOBILE && !$wmode) { ?>
    <div class="board-setup btn-edit-mode hidden-xs hidden-sm">
        <span class="eyoom-form">
            <label class="select">
                <select name="set_bo_skin" class="set_bo_skin">
                    <option value="">::스킨선택::</option>
                    <?php foreach ($bo_skin as $skin) { ?>
                    <option value="<?php echo $skin; ?>" <?php echo $skin == $eyoom_board['bo_skin'] ? 'selected': ''; ?>><?php echo $skin; ?></option>
                    <?php }?>
                </select><i></i>
            </label>
        </span>
        <span class="board-setup-btn-box">
            <a href="<?php echo G5_ADMIN_URL; ?>/?dir=board&pid=board_copy&bo_table=<?php echo $bo_table; ?>&wmode=1"  onclick="eb_admset_modal(this.href); return false;" class="board-setup-btn"><i class="far fa-clone"></i> 복제하기</a>
            <a href="<?php echo G5_ADMIN_URL; ?>/?dir=board&pid=board_form&w=u&bo_table=<?php echo $bo_table; ?>&wmode=1"  onclick="eb_admset_modal(this.href); return false;" class="board-setup-btn"><i class="fas fa-list-alt"></i> 기본설정</a>
            <a href="<?php echo G5_ADMIN_URL; ?>/?dir=theme&pid=board_form&w=u&bo_table=<?php echo $bo_table; ?>&wmode=1"  onclick="eb_admset_modal(this.href); return false;" class="board-setup-btn"><i class="far fa-list-alt"></i> 추가기능</a>
            <a href="<?php echo G5_ADMIN_URL; ?>/?dir=board&pid=board_extend&w=u&bo_table=<?php echo $bo_table; ?>&wmode=1"  onclick="eb_admset_modal(this.href); return false;" class="board-setup-btn"><i class="far fa-plus-square"></i> 확장필드 (<?php echo number_format($board['bo_ex_cnt']); ?>)</a>
        </span>
    </div>
    <?php } ?>

    <?php /* 게시판 페이지 정보 및 버튼 시작 */ ?>
    <div class="board-info margin-bottom-20">
        <div class="pull-left margin-top-5 font-size-12 color-grey">
            <u>전체 <?php echo number_format($total_count); ?> 건 - <?php echo $page; ?> 페이지</u>
            <?php if ($is_member && $eyoom['is_community_theme'] == 'y') { ?>
            <span class="favorite-setup eyoom-form">
                <label class="toggle small-toggle green-toggle">
                    <input type="hidden" name="favorite_board" id="favorite_board" value="<?php echo !$is_bo_favorite ? 'n': 'y'; ?>">
                    <input type="checkbox" class="btn_favorite_toggle" value="favorite_board" <?php echo $is_bo_favorite ? 'checked':''; ?>><i></i><span class="color-grey font-size-12">관심게시판</span>
                </label>
            </span>
            <?php } ?>
        </div>
        <?php if ($write_href) { ?>
        <div class="pull-right">
            <a href="<?php echo $write_href; ?>" class="btn-e btn-e-red" type="button">글쓰기</a>
        </div>
        <?php } ?>
        <div class="clearfix"></div>
    </div>
    <?php /* 게시판 페이지 정보 및 버튼 끝 */ ?>

    <?php /* Hot 게시글 */ ?>
    <?php if ($eyoom_board['bo_use_hotgul'] == 1) { ?>
    <?php //echo $latest->latest_hot('basic', 'count=5||cut_subject=30||photo=y'); ?>
    <?php } ?>

    <?php /* 게시판 카테고리 시작 */ ?>
    <?php if ($is_category) { ?>
    <div class="tab-scroll-category">
        <div class="scrollbar">
            <div class="handle">
                <div class="mousearea"></div>
            </div>
        </div>
        <div id="tab-category">
            <div class="category-list">
                <span <?php if (!$decode_sca) { ?>class="active"<?php } ?>><a href="<?php echo $category_href; ?>">전체분류 (<?php echo number_format($board['bo_count_write']); ?>)</a></span>
                <?php for ($i=0; $i<count($bocate); $i++) { ?>
                <span <?php if ($decode_sca == $bocate[$i]['ca_name']) { ?>class="active"<?php } ?>><a href="<?php echo get_eyoom_pretty_url($bo_table, '', 'sca='.$bocate[$i]['ca_sca']); ?>"><?php echo $bocate[$i]['ca_name']; ?> (<?php echo $bocate[$i]['ca_count']; ?>)</a></span>
                <?php } ?>
                <span class="fake-span"></span>
            </div>
            <div class="controls">
                <button class="btn prev"><i class="fas fa-caret-left"></i></button>
                <button class="btn next"><i class="fas fa-caret-right"></i></button>
            </div>
        </div>
        <div class="tab-category-divider"></div>
    </div>
    <?php } ?>
    <?php /* 게시판 카테고리 끝 */ ?>

    <?php if ($is_admin) { ?>
    <form name="fboardlist" id="fboardlist" action="<?php echo G5_BBS_URL; ?>/board_list_update.php" onsubmit="return fboardlist_submit(this);" method="post" class="eyoom-form">
    <input type="hidden" name="bo_table" value="<?php echo $bo_table; ?>">
    <input type="hidden" name="sfl" value="<?php echo $sfl; ?>">
    <input type="hidden" name="stx" value="<?php echo $stx; ?>">
    <input type="hidden" name="spt" value="<?php echo $spt; ?>">
    <input type="hidden" name="sca" value="<?php echo $sca; ?>">
    <input type="hidden" name="page" value="<?php echo $page; ?>">
    <input type="hidden" name="sw" value="">
    <?php } ?>
    <div class="margin-bottom-20">
        <?php if ($is_checkbox) { ?>
        <ul class="list-unstyled board-btn-adm pull-left">
            <li><button class="btn-e btn-e-default" type="submit" name="btn_submit" value="선택삭제" onclick="document.pressed=this.value">선택삭제</button></li>
            <li><button class="btn-e btn-e-default" type="submit" name="btn_submit" value="선택복사" onclick="document.pressed=this.value">선택복사</button></li>
            <li><button class="btn-e btn-e-default" type="submit" name="btn_submit" value="선택이동" onclick="document.pressed=this.value">선택이동</button></li>
        </ul>
        <?php } ?>
        <span class="pull-left">
            <?php if ($rss_href) { ?>
            <a href="<?php echo $rss_href; ?>" class="btn-e btn-e-yellow" type="button"><i class="fas fa-rss"></i></a>
            <?php } ?>
            <a class="btn-e btn-e-dark" type="button" data-toggle="modal" data-target=".search-modal"><i class="fas fa-search"></i></a>
        </span>
        <div class="clearfix"></div>
    </div>
    <?php if ($is_checkbox) { ?>
    <div class="margin-bottom-15">
        <label class="checkbox"><input type="checkbox" id="chkall" onclick="if (this.checked) all_checked(true); else all_checked(false);"><i></i>현재 페이지 게시물 전체선택</label>
    </div>
    <?php } ?>
    <div class="board-webzine">
    <?php for ($i=0; $i<count($list); $i++) { ?>
        <?php if ($list[$i]['is_notice']) { ?>
        <div class="webzine-item-notice">
            <div class="ellipsis">
                <span class="label label-dark color-white margin-right-5">공지</span><a href="<?php echo $list[$i]['href']; ?>" <?php echo $infinite_wmode? 'onclick="eb_modal(this.href); return false;"': ''; ?>><?php echo $list[$i]['subject']; ?></a>
            </div>
        </div>
        <?php } else { ?>
        <div class="webzine-item">
            <div class="webzine-item-heading">
                <?php if ($eyoom_board['bo_use_profile_photo'] == 1) { ?>
                <span class="webzine-photo">
                    <?php if ($list[$i]['mb_photo']) { ?>
                    <?php echo $list[$i]['mb_photo']; ?>
                    <?php } else { ?>
                    <span class="webzine-user-icon"><i class="fas fa-user"></i></span>
                    <?php } ?>
                </span>
                <?php } ?>
                <span><?php echo eb_nameview($list[$i]['mb_id'], $list[$i]['wr_name'], $list[$i]['wr_email'], $list[$i]['homepage']); ?></span>
                <?php if ($list[$i]['gnu_icon']) { ?>
                <span class="webzine-lv-icon"><img src="<?php echo $list[$i]['gnu_icon']; ?>" alt="레벨"></span>
                <?php } ?>
                <?php if ($list[$i]['eyoom_icon']) { ?>
                <span class="webzine-lv-icon"><img src="<?php echo $list[$i]['eyoom_icon']; ?>" alt="레벨"></span>
                <?php } ?>
                <span class="webzine-date">
                    <?php if ($eyoom_board['bo_sel_date_type'] == '1') { ?>
                    <i class="far fa-clock"></i> <?php echo $eb->date_time('Y.m.d', $list[$i]['wr_datetime']); ?>
                    <?php } else if ($eyoom_board['bo_sel_date_type'] == '2') { ?>
                    <i class="far fa-clock"></i> <?php echo $eb->date_format('Y.m.d', $list[$i]['wr_datetime']); ?>
                    <?php } ?>
                </span>
                <?php if ($is_category && $list[$i]['ca_name']) { ?>
                <span class="wezine-cate"><?php echo $list[$i]['ca_name']; ?></span>
                <?php } ?>
            </div>
            <div class="webzine-item-body">
                <?php if ($list[$i]['img_content'] && !preg_match('/no image/',$list[$i]['img_content'])) { ?>
                <div class="webzine-img">
                    <a href="<?php echo $list[$i]['href']; ?>" <?php echo $infinite_wmode ? 'onclick="eb_modal(this.href); return false;"': ''; ?>>
                        <div class="webzine-img-box">
                            <div class="webzine-img-box-in">
                                <?php echo $list[$i]['img_content']; ?>
                                <?php if ($list[$i]['is_video']) { ?>
                                <span class="movie-icon"><i class="far fa-play-circle"></i></span>
                                <?php } ?>
                            </div>
                        </div>
                    </a>
                </div>
                <div class="webzine-desc">
                <?php } else { ?>
                <div class="webzine-noimg-desc">
                <?php } ?>
                    <h4 class="ellipsis">
                        <a href="<?php echo $list[$i]['href']; ?>" <?php echo $infinite_wmode ? 'onclick="eb_modal(this.href); return false;"': ''; ?>>
                            <?php if ($wr_id == $list[$i]['wr_id']) { ?>
                            <strong><span class="color-red margin-right-5">열람중</span><?php echo $list[$i]['subject']; ?></strong>
                            <?php } else { ?>
                            <strong><?php echo $list[$i]['subject']; ?></strong>
                            <?php } ?>
                        </a>
                        <?php if ($is_checkbox) { ?>
                        <span class="webzine-checkbox">
                            <label for="chk_wr_id_<?php echo $i; ?>" class="sound_only"><?php echo $list[$i]['subject']; ?></label>
                            <label class="checkbox">
                                <input type="checkbox" name="chk_wr_id[]" value="<?php echo $list[$i]['wr_id']; ?>" id="chk_wr_id_<?php echo $i; ?>"><i></i>
                            </label>
                        </span>
                        <?php } ?>
                    </h4>
                    <p class="webzine-cont">
                        <?php if (!G5_IS_MOBILE) { ?>
                        <?php echo cut_str($list[$i]['content'],140, '…'); ?>
                        <?php } else { ?>
                        <?php echo cut_str($list[$i]['content'],80, '…'); ?>
                        <?php } ?>
                    </p>
                    <div class="webzine-info">
                        <span><i class="fas fa-eye"></i><strong class="color-black"><?php echo number_format($list[$i]['wr_hit']); ?></strong></span>
                        <?php if ($list[$i]['wr_comment'] > 0) { ?>
                        <span><i class="far fa-comments"></i><strong class="color-red"><?php echo number_format($list[$i]['wr_comment']); ?></strong></span>
                        <?php } ?>
                        <?php if ($is_good && $list[$i]['wr_good'] > 0) { ?>
                        <span><i class="far fa-thumbs-up"></i><strong class="color-green"><?php echo number_format($list[$i]['wr_good']); ?></strong></span>
                        <?php } ?>
                        <?php if ($is_nogood && $list[$i]['wr_nogood'] > 0) { ?>
                        <span><i class="far fa-thumbs-down"></i><strong class="color-brown"><?php echo number_format($list[$i]['wr_nogood']); ?></strong></span>
                        <?php } ?>
                        <?php if ($eyoom_board['bo_use_rating'] == '1' && $eyoom_board['bo_use_rating_list'] == '1') { ?>
                        <div class="webzine-ratings">
                            <ul class="list-unstyled star-ratings-list">
                                <li><i class="<?php if ($list[$i]['star'] <= 0) { ?>rating far fa-star<?php } else if ($list[$i]['star'] > 0.3 && $list[$i]['star'] <= 0.7) { ?>rating-selected fas fa-star-half<?php } else if ($list[$i]['star'] > 0.8) { ?>rating-selected fas fa-star<?php } ?>"></i></li>
                                <li><i class="<?php if ($list[$i]['star'] <= 1) { ?>rating far fa-star<?php } else if ($list[$i]['star'] > 1.3 && $list[$i]['star'] <= 1.7) { ?>rating-selected fas fa-star-half<?php } else if ($list[$i]['star'] > 1.8) { ?>rating-selected fas fa-star<?php } ?>"></i></li>
                                <li><i class="<?php if ($list[$i]['star'] <= 2) { ?>rating far fa-star<?php } else if ($list[$i]['star'] > 2.3 && $list[$i]['star'] <= 2.7) { ?>rating-selected fas fa-star-half<?php } else if ($list[$i]['star'] > 2.8) { ?>rating-selected fas fa-star<?php } ?>"></i></li>
                                <li><i class="<?php if ($list[$i]['star'] <= 3) { ?>rating far fa-star<?php } else if ($list[$i]['star'] > 3.3 && $list[$i]['star'] <= 3.7) { ?>rating-selected fas fa-star-half<?php } else if ($list[$i]['star'] > 3.8) { ?>rating-selected fas fa-star<?php } ?>"></i></li>
                                <li><i class="<?php if ($list[$i]['star'] <= 4) { ?>rating far fa-star<?php } else if ($list[$i]['star'] > 4.3 && $list[$i]['star'] <= 4.7) { ?>rating-selected fas fa-star-half<?php } else if ($list[$i]['star'] > 4.8) { ?>rating-selected fas fa-star<?php } ?>"></i></li>
                            </ul>
                        </div>
                        <?php } ?>
                    </div>
                </div>
            </div>
        </div>
        <?php } ?>
    <?php } ?>
    <?php if (count($list) == 0) { ?>
        <div class="text-center color-grey font-size-14"><i class="fas fa-exclamation-circle"></i> 게시물이 없습니다.</div>
    <?php } ?>
    </div>
    <?php if ($list && $eyoom_board['bo_use_infinite_scroll'] == '1') { ?>
    <div class="view-infinite-more text-center">
        <a id="view-infinite-more" href="#" class="btn btn-default btn-e-xlg">더 보기<i class="far fa-arrow-alt-circle-down"></i></a>
    </div>
    <?php } ?>
    <div class="board-list-footer">
        <div class="pull-left">
            <?php if ($is_checkbox) { ?>
            <ul class="list-unstyled board-btn-adm pull-left">
                <li><button class="btn-e btn-e-default" type="submit" name="btn_submit" value="선택삭제" onclick="document.pressed=this.value">선택삭제</button></li>
                <li><button class="btn-e btn-e-default" type="submit" name="btn_submit" value="선택복사" onclick="document.pressed=this.value">선택복사</button></li>
                <li><button class="btn-e btn-e-default" type="submit" name="btn_submit" value="선택이동" onclick="document.pressed=this.value">선택이동</button></li>
            </ul>
            <?php } ?>
            <span class="pull-left">
                <?php if ($rss_href) { ?>
                <a href="<?php echo $rss_href; ?>" class="btn-e btn-e-yellow" type="button"><i class="fas fa-rss"></i></a>
                <?php } ?>
                <a class="btn-e btn-e-dark" type="button" data-toggle="modal" data-target=".search-modal"><i class="fas fa-search"></i></a>
            </span>
        </div>
        <div class="pull-right">
            <?php if ($list_href || $write_href) { ?>
            <ul class="list-unstyled">
                <?php if ($write_href) { ?>
                <li><a href="<?php echo $write_href; ?>" class="btn-e btn-e-red" type="button">글쓰기</a></li>
                <?php } ?>
            </ul>
            <?php } ?>
        </div>
        <div class="clearfix"></div>
    </div>
    <?php if ($is_admin) { ?>
    </form>
    <?php } ?>
</div>

<?php /* 게시판 검색 모달 시작 */ ?>
<div class="modal fade search-modal" aria-hidden="true">
    <div class="modal-dialog modal-sm">
        <div class="modal-content">
            <div class="modal-header">
                <button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button>
                <h5 class="modal-title"><i class="fas fa-search color-grey"></i> <strong><?php echo $board['bo_subject']; ?> 검색</strong></h5>
            </div>
            <div class="modal-body">
                <?php /* 게시판 검색 시작 */ ?>
                <fieldset id="bo_sch" class="eyoom-form">
                    <form name="fsearch" method="get">
                    <input type="hidden" name="bo_table" value="<?php echo $bo_table; ?>">
                    <input type="hidden" name="sca" value="<?php echo $sca; ?>">
                    <input type="hidden" name="sop" value="and">
                    <label for="sfl" class="sound_only">검색대상</label>
                    <section class="margin-top-10">
                        <label class="select">
                            <select name="sfl" id="sfl" class="form-control">
                                <option value="wr_subject"<?php get_selected($sfl, 'wr_subject', true); ?>>제목</option>
                                <option value="wr_content"<?php get_selected($sfl, 'wr_content'); ?>>내용</option>
                                <option value="wr_subject||wr_content"<?php get_selected($sfl, 'wr_subject||wr_content'); ?>>제목+내용</option>
                                <option value="mb_id,1"<?php get_selected($sfl, 'mb_id,1'); ?>>회원아이디</option>
                                <option value="mb_id,0"<?php get_selected($sfl, 'mb_id,0'); ?>>회원아이디(코)</option>
                                <option value="wr_name,1"<?php get_selected($sfl, 'wr_name,1'); ?>>글쓴이</option>
                                <option value="wr_name,0"<?php get_selected($sfl, 'wr_name,0'); ?>>글쓴이(코)</option>
                                <?php if (is_array($ex_sfl)) { ?>
                                <?php foreach ($ex_sfl as $key => $ex_name) { ?>
                                <option value="<?php echo $key; ?>"<?php get_selected($sfl, $key, true); ?>><?php echo $ex_name; ?></option>
                                <?php } ?>
                                <?php } ?>
                            </select>
                            <i></i>
                        </label>
                    </section>
                    <section>
                        <label for="stx" class="sound_only">검색어<strong class="sound_only"> 필수</strong></label>
                        <div class="input input-button">
                            <input type="text" name="stx" value="<?php echo stripslashes($stx); ?>" required id="stx">
                            <div class="button"><input type="submit" value="검색">검색</div>
                        </div>
                    </section>
                    </form>
                </fieldset>
                <?php /* 게시판 검색 끝 */ ?>
            </div>
            <div class="modal-footer">
                <button data-dismiss="modal" class="btn-e btn-e-lg btn-e-dark" type="button"><i class="fas fa-times"></i> 닫기</button>
            </div>
        </div>
    </div>
</div>
<iframe name="photoframe" id="photoframe" style="display:none;"></iframe>
<?php /* 게시판 검색 모달 끝 */ ?>

<?php if ($infinite_wmode) { ?>
<?php /* 게시판 상세보기 모달 시작 */ ?>
<div class="modal fade view-iframe-modal" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog board-view-modal">
        <div class="modal-content">
            <div class="modal-header">
                <button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button>
            </div>
            <div class="modal-body">
                <iframe id="view-iframe" width="100%" frameborder="0"></iframe>
            </div>
            <div class="modal-footer">
                <button data-dismiss="modal" class="btn-e btn-e-xlg btn-e-dark" type="button"><i class="fas fa-times"></i> 닫기</button>
            </div>
        </div>
    </div>
</div>
<?php /* 게시판 상세보기 모달 끝 */ ?>
<?php } ?>

<?php if ($is_checkbox) { ?>
<noscript>
<p>자바스크립트를 사용하지 않는 경우<br>별도의 확인 절차 없이 바로 선택삭제 처리하므로 주의하시기 바랍니다.</p>
</noscript>
<?php } ?>

<div class="board-pagination">
    <?php if ($eyoom_board['bo_use_infinite_scroll'] != '1') { ?>
    <?php /* 페이지 */ ?>
    <?php echo eb_paging($eyoom['paging_skin']);?>
    <?php } else { ?>
    <div id="infinite_pagination">
        <a class="next" href="<?php echo get_eyoom_pretty_url($bo_table,'','&sca='.$sca.'&page='.($page+1)); ?>"></a>
    </div>
    <?php } ?>
</div>

<script src="<?php echo EYOOM_THEME_URL; ?>/plugins/fakeLoader/fakeLoader.min.js"></script>
<script src="<?php echo EYOOM_THEME_URL; ?>/plugins/sweetalert/sweetalert.min.js"></script>
<script src="<?php echo EYOOM_THEME_URL; ?>/plugins/imagesloaded/imagesloaded.pkgd.min.js"></script>
<?php if ($eyoom_board['bo_use_infinite_scroll'] == '1') { ?>
<script src="<?php echo EYOOM_THEME_URL; ?>/plugins/infinite-scroll/jquery.infinitescroll.min.js"></script>
<?php } ?>
<?php if ($is_category) { ?>
<script src="<?php echo EYOOM_THEME_URL; ?>/plugins/sly/vendor_plugins.min.js"></script>
<script src="<?php echo EYOOM_THEME_URL; ?>/plugins/sly/sly.min.js"></script>
<script>
$(function() {
    var $frame = $('#tab-category');
    var $wrap  = $frame.parent();
    $frame.sly({
        horizontal: 1,
        itemNav: 'centered',
        smart: 1,
        activateOn: 'click',
        mouseDragging: 1,
        touchDragging: 1,
        releaseSwing: 1,
        scrollBar: $wrap.find('.scrollbar'),
        scrollBy: 1,
        startAt: $frame.find('.active'),
        speed: 300,
        elasticBounds: 1,

유튜브 영상도 iframe으로 등록하시나요? 아 그리고 제가 오타가 있어가지고 list.skin이 아니라 오류가 있다는 해당 latast의 latast.skin 소스가 있어야 합니다.
메인페이지 최신글에서 썸네일이 안나오신다는거죠?

latest.skin 찾아서 다시 올립니다.^^

 

유투브는 URL로 해도 잘됩니다만

네이버는 아이프레임을 넣어주어야 그나마 동영상이 열립니다.

 

아래 정신 없이 붙여넣기한것이 이윰빌더 eblatest.skin.html.php 소스입니다.

제가 사용한 스킨이구요 경로는 theme/eb4_basic/skin/eblatest/webzine/eblatest.skin.html.php 입니다.

 

 

<?php
/**
 * skin file : /theme/THEME_NAME/skin/eblatest/webzine/eblatest.skin.html.php
 */
if (!defined('_EYOOM_')) exit;
?>

<?php if ($is_admin == 'super' && !G5_IS_MOBILE) { ?>
<div class="position-relative <?php if ($el_master['el_state'] == '2') { ?>eb-hidden-space<?php } ?>">
    <div class="adm-edit-btn btn-edit-mode hidden-xs hidden-sm" style="top:-22px;text-align:right">
        <div class="btn-group">
            <a href="<?php echo G5_ADMIN_URL; ?>/?dir=theme&pid=eblatest_form&thema=<?php echo $theme; ?>&el_code=<?php echo $el_master['el_code']; ?>&w=u&wmode=1" onclick="eb_admset_modal(this.href); return false;" class="btn-e btn-e-xs btn-e-red btn-e-split"><i class="far fa-edit"></i> EB최신글 마스터 설정</a>
            <a href="<?php echo G5_ADMIN_URL; ?>/?dir=theme&pid=eblatest_form&thema=<?php echo $theme; ?>&el_code=<?php echo $el_master['el_code']; ?>&w=u" target="_blank" class="btn-e btn-e-xs btn-e-red btn-e-split-red dropdown-toggle" title="새창 열기">
                <i class="far fa-window-maximize"></i>
            </a>
        </div>
    </div>
</div>
<?php } ?>

<?php if (isset($el_master) && $el_master['el_state'] == '1') { // 보이기 상태에서만 출력 ?>
<style>
.webzine-latest .nav-tabs {border-bottom:0}
.webzine-latest .nav-tabs li {margin-bottom:20px}
.webzine-latest .nav-tabs li:first-child:nth-last-child(1) {width:100%;display:none}
.webzine-latest .nav-tabs li:first-child:nth-last-child(2), .webzine-latest .nav-tabs li:first-child:nth-last-child(2) ~ li {width:50%}
.webzine-latest .nav-tabs li:first-child:nth-last-child(3), .webzine-latest .nav-tabs li:first-child:nth-last-child(3) ~ li {width:33.3333%}
.webzine-latest .nav-tabs li:first-child:nth-last-child(4), .webzine-latest .nav-tabs li:first-child:nth-last-child(4) ~ li {width:25%}
.webzine-latest .nav-tabs li:first-child:nth-last-child(5), .webzine-latest .nav-tabs li:first-child:nth-last-child(5) ~ li {width:20%}
.webzine-latest .nav-tabs li:first-child:nth-last-child(6), .webzine-latest .nav-tabs li:first-child:nth-last-child(6) ~ li {width:16.6666666667%}
.webzine-latest .nav-tabs li:first-child:nth-last-child(7), .webzine-latest .nav-tabs li:first-child:nth-last-child(7) ~ li {width:14.2857142857%}
.webzine-latest .nav-tabs li:first-child:nth-last-child(8), .webzine-latest .nav-tabs li:first-child:nth-last-child(8) ~ li {width:12.5%}
.webzine-latest .nav-tabs li a {text-align:center;margin-right:0;margin-left:-1px;background:#f5f5f5;color:#959595;border:1px solid #e5e5e5;padding:7px 5px;font-size:13px}
.webzine-latest .nav-tabs li:first-child a {margin-left:0}
.webzine-latest .nav-tabs li a:hover {background:#fff;border-bottom:1px solid #e5e5e5}
.webzine-latest .nav-tabs li.active a {z-index:1;background:#fff;font-weight:bold;color:#353535;border-bottom:0;padding:7px 5px 8px}
.webzine-latest .nav-tabs li .cursor-pointer:hover {cursor:pointer}
.webzine-latest .tab-content {position:relative;padding:0}
.webzine-latest .tab-pane {margin-left:-6px;margin-right:-6px}
.webzine-latest .webzine-item {position:relative;width:50%;padding-left:6px;padding-right:6px;float:left;margin-bottom:20px}
.webzine-latest .webzine-img {position:relative;overflow:hidden;border:1px solid #e5e5e5;padding:3px;float:left;width:49%}
.webzine-latest .img-box {position:relative;overflow:hidden;width:100%}
.webzine-latest .img-box:before {content:"";display:block;padding-top:55%}
.webzine-latest .img-box img {position:absolute;top:0;left:0;right:0;bottom:0}
.webzine-latest .img-box .no-image {position:absolute;top:50%;left:0;width:100%;text-align:center;margin-bottom:0;margin-top:-8px;color:#959595;font-size:11px}
.webzine-latest .img-comment {position:absolute;top:8px;left:8px;display:inline-block;min-width:35px;padding:0px 3px;font-size:10px;font-weight:300;line-height:13px;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background:#454545}
.webzine-latest .img-bo-subj {position:absolute;top:5px;right:5px;display:inline-block;min-width:35px;padding:0px 3px;font-size:10px;font-weight:300;line-height:13px;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background:#454545}
.webzine-latest .img-box .video-icon {position:absolute;top:50%;left:50%;color:#fff;width:40px;height:40px;line-height:40px;margin-top:-20px;margin-left:-20px;text-align:center;font-size:30px}
.webzine-latest .img-caption {color:#fff;font-size:11px;position:absolute;left:0;bottom:-26px;display:block;z-index:1;background:rgba(0, 0, 0, 0.7);text-align:left;width:100%;height:26px;line-height:20px;margin-bottom:0;padding:3px 5px}
.webzine-latest .img-caption span {margin-right:7px;color:#c5c5c5;font-size:11px}
.webzine-latest .img-caption span i {color:#a5a5a5}
.webzine-latest .webzine-txt {position:relative;overflow:hidden;float:right;padding-left:11px;width:51%}
.webzine-latest .txt-subj {margin:5px 0 10px}
.webzine-latest .txt-subj h5 {font-size:13px;font-weight:bold;margin:0}
.webzine-latest .webzine-txt a:hover .txt-subj h5 {color:#FF4848;text-decoration:underline}
.webzine-latest .txt-cont {position:relative;overflow:hidden;height:34px;font-size:12px;color:#959595;margin-bottom:10px}
.webzine-latest .txt-photo img {width:17px;height:17px;margin-right:2px;display:inline-block}
.webzine-latest .txt-photo .txt-user-icon {width:17px;height:17px;line-height:17px;font-size:11px;text-align:center;background:#858585;color:#fff;margin-right:2px;display:inline-block}
.webzine-latest .txt-nick {font-size:12px;color:#555555}
.webzine-latest .txt-info {margin-top:5px;padding-top:5px;font-size:11px;text-align:right;color:#b5b5b5;border-top:1px solid #e5e5e5}
.webzine-latest .txt-info span {margin-left:5px}
<?php if ($eyoom['is_responsive'] == '1' || G5_IS_MOBILE) { // 반응형 또는 모바일일때 ?>
@media (max-width:1199px) {
    .webzine-latest .img-box {height:80px}
    .webzine-latest .txt-cont {height:17px}
}
@media (max-width:767px) {
    .webzine-latest .webzine-item {width:100%}
    .webzine-latest .webzine-img {width:40%}
    .webzine-latest .img-box {height:70px}
    .webzine-latest .webzine-txt {width:60%}
}
<?php } ?>
</style>

<div class="headline-short">
    <h4>
        <?php if ($el_master['el_link']) { ?>
        <a href="<?php echo $el_master['el_link']; ?>" target="<?php echo $el_master['el_target']; ?>"><strong><?php echo $el_master['el_subject']; ?></strong></a>
        <?php } else { ?>
        <strong><?php echo $el_master['el_subject']; ?></strong>
        <?php } ?>
    </h4>
</div>

<div class="webzine-latest">
    <ul class="nav nav-tabs eblatest-webzine-tabs">
        <?php if (is_array($el_item)) { foreach ($el_item as $k => $eb_latest) { ?>
        <li class="<?php if ($k==0) { ?>active<?php } else if ($el_count == ($k+1)) { ?>last<?php }?>"><a href="#webzine-tlb-<?php echo $el_master['el_code']; ?>-<?php echo ($k+1); ?>" data-toggle="tab" <?php if ($eb_latest['li_link']) { ?>data-href="<?php echo $eb_latest['li_link']; ?>" target="<?php echo $eb_latest['li_target']; ?>"<?php } ?> <?php if ($eb_latest['li_link']) { ?>class="cursor-pointer"<?php } ?>><?php echo $eb_latest['li_title']; ?></a></li>
        <?php }} ?>
    </ul>
    <div class="tab-content">
        <?php if (is_array($el_item)) { foreach ($el_item as $k => $eb_latest) { ?>
        <div class="tab-pane <?php echo ($k==0) ? 'active': ''; ?> in" id="webzine-tlb-<?php echo $el_master['el_code']; ?>-<?php echo ($k+1); ?>">
            <?php if (count($eb_latest['list']) > 0) { foreach ($eb_latest['list'] as $data) { ?>
            <div class="webzine-item">
                <div class="webzine-img">
                    <a href="<?php echo $data['href']; ?>">
                        <div class="img-box">
                            <?php if ($data['wr_image']) { ?>
                            <img class="img-responsive" src="<?php echo $data['wr_image']; ?>" alt="">
                            <?php if ($data['wr_comment']) { ?><span class="img-comment">+<?php echo number_format($data['wr_comment']); ?></span><?php } ?>
                            <?php if ($eb_latest['li_bo_subject'] == 'y') { ?>
                            <span class="img-bo-subj"><?php echo $data['bo_subject']; ?></span>
                            <?php } ?>
                            <?php if ($data['is_video']) { ?><span class="video-icon"><i class="far fa-play-circle"></i></span><?php } ?>
                            <?php } else { ?>
                            <span class="no-image">No Image</span>
                            <?php } ?>
                            <div class="img-caption">
                                <?php if ($eb_latest['li_use_date'] == 'y') { ?>
                                    <span><i class="far fa-clock margin-right-5"></i><?php echo $eb_latest['li_date_type'] == '1' ? $eb->date_time("{$eb_latest['li_date_kind']}",$data['wr_datetime']):  $eb->date_format("{$eb_latest['li_date_kind']}",$data['wr_datetime']); ?></span>
                                <?php } ?>
                            </div>
                        </div>
                    </a>
                </div>
                <div class="webzine-txt">
                    <a href="<?php echo $data['href']; ?>">
                        <div class="txt-subj">
                            <h5 class="ellipsis">
                                <?php if ($data['new']) { ?>
                                <i class="far fa-check-circle color-red"></i>
                                <?php } ?>

                                <?php if ($eb_latest['li_ca_view'] == 'y' && $data['ca_name']) { ?>
                                <span class="color-grey"><?php echo $data['ca_name']; ?> <b class="color-light-grey">|</b></span>
                                <?php } ?>

                                <?php echo $data['wr_subject']; ?>
                            </h5>
                        </div>
                        <?php if ($eb_latest['li_content'] == 'y') { ?>
                        <p class="txt-cont"><?php echo $data['wr_content']; ?></p>
                        <?php } ?>

                        <?php if ($eb_latest['li_mbname_view'] == 'y' && $data['wr_name']) { ?>
                        <span class="txt-photo">
                            <?php if ($eb_latest['li_photo'] == 'y') { ?>
                            <span class="txt-photo">
                                <?php if ($data['mb_photo']) { ?>
                                <?php echo $data['mb_photo']; ?>
                                <?php } else { ?>
                                <span class="txt-user-icon"><i class="fas fa-user"></i></span>
                                <?php } ?>
                            </span>
                            <?php } ?>
                            <span class="txt-nick"><?php echo $data['wr_name']; ?></span>
                        </span>
                        <?php } ?>

                        <?php if(0) { //히트수, 추천수, 비추천수 숨김 ?>
                        <div class="txt-info">
                            <span><i class="fas fa-eye"></i> <?php echo number_format($data['wr_hit']); ?></span>
                            <?php if ($data['wr_good']) { ?><span><i class="far fa-thumbs-up"></i> <?php echo number_format($data['wr_good']); ?></span><?php } ?>
                            <?php if ($data['wr_nogood']) { ?><span><i class="far fa-thumbs-down"></i> <?php echo number_format($data['wr_nogood']); ?></span><?php } ?>
                        </div>
                        <?php } ?>
                    </a>
                </div>
            </div>
            <?php }} else { ?>
            <p class="text-center color-grey font-size-12 margin-top-10"><i class="fas fa-exclamation-circle"></i> 최신글이 없습니다.</p>
            <?php } ?>

            <?php if ($is_admin == 'super' && !G5_IS_MOBILE) { ?>
            <div class="adm-edit-btn btn-edit-mode hidden-xs hidden-sm" style="bottom:0">
                <a href="<?php echo G5_ADMIN_URL; ?>/?dir=theme&pid=eblatest_itemform&thema=<?php echo $theme; ?>&el_code=<?php echo $el_master['el_code']; ?>&li_no=<?php echo $eb_latest['li_no']; ?>&w=u&iw=u&wmode=1" onclick="eb_admset_modal(this.href); return false;" class="btn-e btn-e-xs btn-e-dark"><i class="far fa-edit"></i> EB최신글 아이템 설정</a>
            </div>
            <?php } ?>
        </div>
        <div class="clearfix"></div>
        <?php }} ?>

        <?php if ($el_default) { ?>
        <div class="tab-pane active in" id="webzine-tlb-<?php echo time(); ?>-1">
            <div class="row">
                <div class="col-sm-12">
                    <ul class="list-unstyled">
                        <li class="no-latest"><p class="text-center color-grey font-size-12 margin-top-10"><i class="fas fa-exclamation-circle"></i> 최신글이 없습니다.</p></li>
                    </ul>
                </div>
            </div>
        </div>
        <?php } ?>
    </div>
</div>

<script>
$(document).ready(function() {
    $('.eblatest-webzine-tabs li a').hover(function (e) {
        e.preventDefault()
        $(this).tab('show');
    });

    $('.eblatest-webzine-tabs li a').click(function (e) {
        return true;
    });

    $('.eblatest-webzine-tabs li a').on("click",function (e) {
        if ($(this).attr("data-href")) {
            window.location.href = $(this).attr("data-href");
        }
    });
});

$(function(){
    var duration = 120;
    var $img_cap = $('.webzine-latest .webzine-img');
    $img_cap.find('.img-box')
        .on('mouseover', function(){
            $(this).find('.img-caption').stop(true).animate({bottom: '0px'}, duration);
        })
        .on('mouseout', function(){
            $(this).find('.img-caption').stop(true).animate({bottom: '-26px'}, duration);
        });
});
</script>
<?php } ?>

답변을 작성하시기 전에 로그인 해주세요.
전체 59,516
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT