묻고답하기

컨텐츠 위젯 댓글 추출 부분에서, 댓글이 나오는데, 해당이미지는 댓글에 첨부한 이미지만 출력되서요.

 

이부분 댓글이 달린 본래의 게시물에 첨부된 이미지가 출력되게끔 할 수 없을가요?

 

다음에서 어느부분을 어떻게 고쳐야 할지...

 

제발 좀 도와주세요.

 

미리 감사드립니다~

 

 

 

<ul class="widgetZineA">
{@$_idx=0}
<content_items">!--@foreach($widget_info->content_items as $key => $item)-->
    <li><!--@if($_idx >= $widget_info->list_count)--> style=&quot;display:none&quot;<&gt">!--@end-->&gt;   

        <p class="thumbArea" style="width:{$widget_info->thumbnail_width}px;margin-right:-{$widget_info->thumbnail_width}px;">
            <a href="{$item->getLink()}" class="thumb" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px">
                <getThumbnail">!--@if($item->getThumbnail())-->
                    <img src="{$item->getThumbnail()}" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px" />
                <!--@else-->
                    <span class="imgNone">{$lang-&gt;none_image}</span>
                <!--@end-->

                <show_category=='Y'">!--@if($widget_info->show_category=='Y' && $item->getCategory())-->
                    <strong class="category">{$item-&gt;getCategory()}</strong>
                <!--@end-->
            </a>
        </p>

    <option_view_arr);$j<$c;$j">!--@for($j=0,$c=count($widget_info->option_view_arr);$j<$c;$j++)-->

        <option_view_arr[$j]=='title'">!--@if($widget_info->option_view_arr[$j]=='title')-->
        <p class="titleArea" style="margin-left:{$widget_info->thumbnail_width+20}px;">

            <show_browser_title=='Y'">!--@if($widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
                <a href="{getSiteUrl($item->domain, '+ '+ ', 'mid', $item->get('mid'))}"><strong class="board">{$item-&gt;getBrowserTitle()}</strong></a>
            <!--@end-->

            <show_category=='Y'">!--@if($widget_info->show_category=='Y' && $item->get('category_srl') )-->
                <a href="{getSiteUrl($item->domain,','mid',$item->get('mid'),'+ 'category',$item->get('category_srl'))}"><strong class="category">{$item-&gt;getCategory()}</strong></a>
            <!--@end-->

            <a href="{$item->getLink()}" class="title">{$item-&gt;getTitle($widget_info-&gt;subject_cut_size)}</a>

            <show_comment_count=='Y'+ '">!--@if($widget_info->show_comment_count=='Y' && $item->getCommentCount())-->
                <sup class="replyNum" title="Replies"><a href="{$item->getLink()}#comment">{$item-&gt;getCommentCount()}</a></sup>
            <!--@end-->

            <show_trackback_count=='Y'">!--@if($widget_info->show_trackback_count=='Y'+ ' && $item->getTrackbackCount())-->
                <sup class="trackbackNum" title="Trackbacks"><a href="{$item->getLink()}#trackback">{$item-&gt;getTrackbackCount()}</a></sup>
            <!--@end-->

            <show_icon=='Y'">!--@if($widget_info->show_icon=='Y')-->
                <span class="icon">{$item-&gt;printExtraImages()}</span>
            <!--@end-->

            <option_view_arr[$j+1]=='regdate'">!--@if($widget_info->option_view_arr[$j+1]=='regdate')-->
                <span class="date">{$item-&gt;getRegdate(&quot;Y-m-d&quot;)}</span> <span class="hour">{$item-&gt;getRegdate(&quot;H:i&quot;)}</span>
            <!--@end-->
        </p>

        <!--@else if($widget_info->option_view_arr[$j]=='content')-->
        <p class="text" style="margin-left:{$widget_info->thumbnail_width+20}px;">
            {$item-&gt;getContent()}
            <option_view_arr[$j+1]=='regdate'">!--@if($widget_info->option_view_arr[$j+1]=='regdate')-->
                <span class="date">{$item-&gt;getRegdate(&quot;Y-m-d&quot;)}</span> <span class="hour">{$item-&gt;getRegdate(&quot;H:i&quot;)}</span>
            <!--@end-->
        </p>

        <!--@else if($widget_info->option_view_arr[$j]=='nickname')-->
        <p class="authorArea" style="margin-left:{$widget_info->thumbnail_width+20}px;">
                <a href="#" onclick="return false;" class="author member_{$item->getMemberSrl()}">{$item-&gt;getNickName()}</a>
            <option_view_arr[$j+1]=='regdate'">!--@if($widget_info->option_view_arr[$j+1]=='regdate')-->
                <span class="date">{$item-&gt;getRegdate(&quot;Y-m-d&quot;)}</span> <span class="hour">{$item-&gt;getRegdate(&quot;H:i&quot;)}</span>
            <!--@end-->
        </p>
        <!--@end-->

    <!--@end-->
</li>
{@$_idx++}
<!--@end-->
</ul>

<page_count">!--@if($widget_info->page_count > 1 && $widget_info->list_count<$_idx)-->
    <ul class="widgetNavigator">
        <li><button type="button" class="prev" title="{$lang->cmd_prev}" onclick="content_widget_prev(jQuery(this).parents('ul.widgetNavigator').prev('ul.widgetZineA'),{$widget_info->list_count})"><span>{$lang-&gt;cmd_prev}</span></button></li>
        <li><button type="button" class="next" title="{$lang->cmd_next}" onclick="content_widget_next(jQuery(this).parents('ul.widgetNavigator').prev('ul.widgetZineA'),{$widget_info->list_count})"><span>{$lang-&gt;cmd_next}</span></button></li>
    </ul>
<!--@end-->

 

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
avalone 모듈삭제후 모듈선택기에서 공백남는 현상 file  
三乭 제로보드 관리자님! 제로보드 묻고 답하기 문의내용이 제 메일에 [1] 2010.07.23 by 디자이너리군
산행 이 에러가 났을경우 처리하는 방법을 알고 싶습니다. [2] file 2010.07.23 by Gekkou
ASIAN-KING sulinux 서버에 xe설치  
이진영302 getLink() 함수 수정을 할 수있나요???  
아날로그 핑거 마이크로소프트 wpi+php+mysql+xp 체크 사항 [1] 2010.07.23 by sol
센스티브 로그인 폼 수정파일? file  
13코코로 메뉴랑 그 위에 스킨? 은 어떻게 바꾸는 건가요?ㅠㅠ [1] file 2010.07.23 by 레디오빠
miniant 제로보드xe 게시판에 추천 비추천이 안됩니다. [1] 2010.07.23 by 스카이피아
김연우791 모바일 버젼의 게시판은 없나요??  
하켄 게시판 댓글수에 따라 게시판 목록 색 변경  
이재욱560 xe게시판의 모든 게시물을 zb4로 변환하는 방법  
토마토버터 [EX게시판] [[긴급]] 목록 정렬과 검색을 같이 할 수는 없나요? file  
그냥이에요 게시글에 대한 평가를 할 수 있는 위젯이 있나요?  
트렌드세터 나모와 연동 문제 [1] 2010.07.23 by INN
유샤인 Long Running MySql queries <=이문제 실로 XE의 심각한 문제 같은 데..(계속편)  
강성민327 가입시 특정과정 진행  
강성민327 가입시 특정과정 진행  
원무 저도 xe 1.4.3. 설치후 메뉴 생성이 안되네요ㅠ.ㅠ [1] 2010.07.23 by HolyJohn
jayyang 컨텐츠 위젯 댓글 추출 관련!!!