묻고답하기
댓글 작성후 다운로드
2017.06.05 00:58
<!--// Files -->
<div cond="$oDocument->hasUploadedFiles() && (!$mi->show_files || $mi->show_files=='2')" id="files_{$oDocument->document_srl}" class="rd_fnt rd_file clear <show_files">!--@if(!$mi->show_files)--> hide<!--@end-->">
{@
$oDB = &DB::getInstance();
$query = $oDB->_query("select count(*) as count from xe_comments where document_srl='" . $oDocument->document_srl . "' and member_srl='" . $logged_info->member_srl . "'");
$result = $oDB->_fetch($query);
}
<strong class="ui_font"><font color="red">다운로드 </font><b>'{$oDocument->get('uploaded_count')}'</b></strong>
<ul cond="!$mi->files_type">
<li loop="$oDocument->getUploadedFiles()=>$key,$file"><a class="bubble" href="{getUrl('')}{$file->download_url}"|cond="$result->count>0" title="[File Size:{FileHandler::filesize($file->file_size)}/Download:{number_format($file->download_count)}]">{$file->source_filename}</a><span class="comma">,</span></li>
</ul>
<include cond="$mi->files_type" target="_read_files.html" />
</div>
위와 같이 하면된다는 글을 보았는데요. 제가 받은 스케치북 _read.html 에서는 아래와 같이 다르게 되어있습니다
<!--// Files -->
<include cond="$oDocument->hasUploadedFiles() && (!$mi->show_files || $mi->show_files==2)" target="_read_files.html" />
<!--// Trackback -->
<block cond="$oDocument->allowTrackback()">
<div class="rd_trb rd_fnt clear">
<a class="ui_font bubble" href="#" title="{$lang->trackback} {$lang->cmd_view}"><strong>Trackback</strong> <span cond="$oDocument->getTrackbackCount()" class="fnt_count">'<b>{$oDocument->getTrackbackCount()}</b>'</span></a>
<a cond="$oDocument->allowTrackback()" class="link" href="{$oDocument->getTrackbackUrl()}" onclick="return false">{$oDocument->getTrackbackUrl()}</a>
</div>
<include cond="$oDocument->getTrackbackCount()" target="_trackback.html" />
</block>
<!--// Read Footer Navi -->
아래와 같이
<!--// Files --> 밑에
{@
$oDB = &DB::getInstance();
$query = $oDB->_query("select count(*) as count from xe_comments where document_srl='" . $oDocument->document_srl . "' and member_srl='" . $logged_info->member_srl . "'");
$result = $oDB->_fetch($query);
}
넣어봐도 안되는데 도와주세요.
댓글 0
글쓴이 | 제목 | 최종 글 |
---|---|---|
XE | 공지 글 쓰기,삭제 운영방식 변경 공지 [16] | 2019.03.05 by 남기남 |
Synchel | 사이트 이전후 게시글 가져오기 | |
쌩쥐 |
상단메뉴답변좀부탁드립니다.. (사진있음,사이트있음)
[3]
![]() | 2017.06.03 by 비누남어 |
레오나 |
위젯페이지에 위젯을 추가하고 코드 생성은 되지만 위젯이 나타나지 않습니다.
[2]
![]() | 2017.06.03 by sejin7940 |
thdwjdtjr | XE Core 1.8.40 업데이트 후 문서 첨부가 않되는 현상.... [2] | 2017.06.03 by thdwjdtjr |
박하향풍선껌 | 확장변수중 일부 관리자만 보이게 설정. 아무리 찾아봐도 모르겠어요 [2] | 2017.06.02 by 박하향풍선껌 |
chorok | 로그인 페이지 오류 [4] | 2017.06.02 by chorok |
전갈자리남 | XE 설치시 오류 | |
h2y_07 | SQLGate for MySQL에서 백업하는방법 질문드립니다. [1] | 2017.06.02 by h2y_07 |
stanlin |
위젯에서 확장변수 기준 정렬 방법
[6]
![]() | 2017.06.02 by stanlin |
kylehyj |
이게 왜이럴까요...
[1]
![]() | 2017.06.02 by sejin7940 |
WindBoy | 도메인 수정방법 문의드립니다 [1] | 2017.06.01 by 마야 |
Thunder28 | 게시글 자동 정리나 첨부화일 정리 문의 | |
쩡님아야 | 게시판과 슬라이드와의 연결고리 | |
얄리뽀 | 글작성시 특정날짜를 설정하면 자동 삭제가 되도록 할수있나요? [1] | 2017.06.01 by HowtoXE |
모두아네 | 홈페이지를 외장하드디스크로 이전하여 볼수있는 방법을 문의 드립니다. [1] | 2017.06.01 by HowtoXE |
장년 |
xe1836~1838 업데이트 후, 레이아웃에 메뉴가 안나오고 캐시파일 재생성이...
[2]
![]() | 2017.06.01 by 장년 |
thdwjdtjr | 배경음악을 설치하였는데 ????? | |
실존인물 | 관리자 포인트점수 수동으로 올리는 방법 문의 | |
율블리 | (초보) | |
원공플러스 | 이페이지를 표시 할수 없습니다. |