git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4693 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
ngleader 2008-10-27 04:26:50 +00:00
parent d932c20973
commit ef701e5352
31 changed files with 2420 additions and 0 deletions

View file

@ -0,0 +1,105 @@
<!--@if($oDocument->getCommentCount())-->
<div class="replyBox">
{@ $_comment_list = $oDocument->getComments() }
<!--@foreach($_comment_list as $key => $comment)-->
<div class="replyItem <!--@if($comment->get('depth'))-->reply<!--@end-->">
<!--@if($comment->get('depth'))-->
<div style="margin-left:{($comment->get('depth')-1)*20}px" class="replyIndent">
<!--@end-->
<a name="comment_{$comment->comment_srl}"></a>
<div class="replyOption">
<!--@if($comment->isGranted() || !$comment->get('member_srl'))-->
<a href="{getUrl('act','dispBoardDeleteComment','comment_srl',$comment->comment_srl)}"><img src="./images/common/buttonDeleteX.gif" alt="{$lang->cmd_delete}" width="12" height="13" /></a>
<a href="{getUrl('act','dispBoardModifyComment','comment_srl',$comment->comment_srl)}"><img src="./images/{$module_info->colorset}/buttonModifyE.gif" alt="{$lang->cmd_modify}" width="20" height="17" /></a>
<!--@end-->
<a href="{getUrl('act','dispBoardReplyComment','comment_srl',$comment->comment_srl)}"><img src="./images/{$module_info->colorset}/buttonReply.gif" alt="{$lang->cmd_reply}" width="20" height="17" /></a>
</div>
<div class="date">
<strong>{$comment->getRegdate('Y.m.d')}</strong> {$comment->getRegdate('H:i:s')}
<!--@if($grant->is_admin || $module_info->display_ip_address!='N')-->({$comment->getIpaddress()})<!--@end-->
</div>
<div class="author">
<!--@if(!$comment->member_srl)-->
<!--@if($comment->homepage)-->
<a href="{$comment->homepage}" onclick="window.open(this.href);return false;">{$comment->getNickName()}</a>
<!--@else-->
{$comment->getNickName()}
<!--@end-->
<!--@else-->
<div class="member_{$comment->member_srl}">{$comment->getNickName()}</div>
<!--@end-->
</div>
<!--@if($comment->get('voted_count')!=0 || $comment->get('blamed_count') != 0)-->
<div class="voted">
({$lang->voted_count}:
<strong>{$comment->get('voted_count')?$comment->get('voted_count'):0}</strong> / <strong>{$comment->get('blamed_count')?$comment->get('blamed_count'):0}</strong>)
</div>
<!--@end-->
<div class="clear"></div>
<div class="replyContent">
<!--@if(!$comment->isAccessible())-->
<!--%import("filter/input_password.xml")-->
<div class="secretContent">
<form action="./" method="get" onsubmit="return procFilter(this, input_password)">
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="page" value="{$page}" />
<input type="hidden" name="document_srl" value="{$comment->get('document_srl')}" />
<input type="hidden" name="comment_srl" value="{$comment->get('comment_srl')}" />
<div class="title">{$lang->msg_is_secret}</div>
<div class="content"><input type="password" name="password" class="inputTypeText" /><span class="button"><input type="submit" value="{$lang->cmd_input}" accesskey="s" /></span></div>
</form>
</div>
<!--@else-->
<!--@if($comment->getProfileImage())-->
<img src="{$comment->getProfileImage()}" alt="profile" class="commentProfileImage" />
<!--@end-->
{$comment->getContent(true)}
<!--@end-->
<div class="clear"></div>
</div>
<!--@if($comment->hasUploadedFIles())-->
<div class="fileAttached">
<ul>
{@ $_uploaded_files = $comment->getUploadedFiles() }
<!--@foreach($_uploaded_files as $key => $file)-->
<li><a href="{getUrl('')}{$file->download_url}">{$file->source_filename} ({FileHandler::filesize($file->file_size)})({number_format($file->download_count)})</a></li>
<!--@end-->
</ul>
<div class="clear"></div>
</div>
<!--@end-->
<!--@if($comment->get('depth'))-->
</div>
<!--@end-->
</div>
<!--@end-->
<!-- 댓글 페이지 네비게이션 -->
<!--@if($oDocument->comment_page_navigation)-->
<div class="pagination a1">
<a href="{getUrl('cpage',1)}#comment" class="prevEnd">{$lang->first_page}</a>
<!--@while($page_no = $oDocument->comment_page_navigation->getNextPage())-->
<!--@if($cpage == $page_no)-->
<strong>{$page_no}</strong>
<!--@else-->
<a href="{getUrl('cpage',$page_no)}#comment">{$page_no}</a>
<!--@end-->
<!--@end-->
<a href="{getUrl('cpage',$oDocument->comment_page_navigation->last_page)}#comment" class="nextEnd">{$lang->last_page}</a>
</div>
<!--@end-->
</div>
<!--@end-->

View file

@ -0,0 +1,66 @@
<!--#include("header.html")-->
<!--// 만약 댓글의 답을 다는 것이라면 원문 보여줌 -->
<!--@if($oSourceComment->isExists())-->
<div class="replyBox">
<div class="replyItem">
<div class="author"><div class="member_{$oSourceComment->getMemberSrl()}">{$oSourceComment->getNickName()}</div></div>
<div class="date">
{$oSourceComment->getRegdate("Y.m.d H:i")}
<!--@if($grant->is_admin)-->
({$oSourceComment->get('ipaddress')})
<!--@end-->
</div>
<div class="clear"></div>
<div class="replyContent gap1">
{$oSourceComment->getContent(false)}
</div>
</div>
</div>
<!--@end-->
<!-- 글쓰기 폼 -->
<!--%import("filter/insert_comment.xml")-->
<form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" class="boardEditor" >
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="document_srl" value="{$oComment->get('document_srl')}" />
<input type="hidden" name="comment_srl" value="{$oComment->get('comment_srl')}" />
<input type="hidden" name="content" value="{htmlspecialchars($oComment->get('content'))}" />
<input type="hidden" name="parent_srl" value="{$oComment->get('parent_srl')}" />
<div class="boardWrite commentEditor">
<div class="userNameAndPw">
<!--@if(!$is_logged)-->
<label for="userName">{$lang->writer}</label>
<input type="text" name="nick_name" value="{$oComment->get('nick_name')}" class="userName inputTypeText" id="userName"/>
<label for="userPw">{$lang->password}</label>
<input type="password" name="password" value="" id="userPw" class="userPw inputTypeText" />
<label for="emailAddress">{$lang->email_address}</label>
<input type="text" name="email_address" value="{htmlspecialchars($oComment->get('email_address'))}" id="emailAddress" class="emailAddress inputTypeText"/>
<label for="homePage">{$lang->homepage}</label>
<input type="text" name="homepage" value="{htmlspecialchars($oComment->get('homepage'))}" id="homePage" class="homePage inputTypeText"/>
<!--@else-->
<input type="checkbox" name="notify_message" value="Y" <!--@if($oComment->useNotify())-->checked="checked"<!--@end--> id="notify_message" />
<label for="notify_message">{$lang->notify}</label>
<!--@end-->
<input type="checkbox" name="is_secret" value="Y" <!--@if($oComment->isSecret())-->checked="checked"<!--@end--> id="is_secret" />
<label for="is_secret">{$lang->secret}</label>
</div>
<div class="editor">{$oComment->getEditor()}</div>
</div>
<div class="commentButton tRight">
<span class="button"><input type="button" value="{$lang->cmd_back}" onclick="location.href='{getUrl('act','')}'"/></span>
<span class="button"><input type="submit" value="{$lang->cmd_comment_registration}" accesskey="s" /></span>
</div>
</form>
<!--#include("footer.html")-->

View file

@ -0,0 +1,24 @@
<!--%import("filter/delete_comment.xml")-->
<!--#include("header.html")-->
<div class="smallBox w268">
<div class="header">
<h3>{$lang->confirm_delete}</h3>
</div>
<form action="./" method="get" onsubmit="return procFilter(this, delete_comment)">
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="page" value="{$page}" />
<input type="hidden" name="document_srl" value="{$oComment->get('document_srl')}" />
<input type="hidden" name="comment_srl" value="{$oComment->get('comment_srl')}" />
<div class="inputPassword tCenter">
<span class="button"><input type="submit" value="{$lang->cmd_delete}" accesskey="s" /></span>
<a href="{getUrl('act','','comment_srl','')}" class="button"><span>{$lang->cmd_cancel}</span></a>
</div>
</form>
</div>
<!--#include("footer.html")-->

View file

@ -0,0 +1,23 @@
<!--%import("filter/delete_document.xml")-->
<!--#include("header.html")-->
<div class="smallBox w268">
<div class="header">
<h3>{$lang->confirm_delete}</h3>
</div>
<form action="./" method="get" onsubmit="return procFilter(this, delete_document)">
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="page" value="{$page}" />
<input type="hidden" name="document_srl" value="{$document_srl}" />
<div class="inputPassword tCenter">
<span class="button"><input type="submit" value="{$lang->cmd_delete}" accesskey="s" /></span>
<a href="{getUrl('act','')}" class="button"><span>{$lang->cmd_cancel}</span></a>
</div>
</form>
</div>
<!--#include("footer.html")-->

View file

@ -0,0 +1,25 @@
<!--%import("filter/delete_trackback.xml")-->
<!--#include("header.html")-->
<div class="smallBox w268">
<div class="header">
<h3>{$lang->confirm_delete}</h3>
</div>
<form action="./" method="get" onsubmit="return procFilter(this, delete_trackback)">
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="page" value="{$page}" />
<input type="hidden" name="document_srl" value="{$document_srl}" />
<input type="hidden" name="trackback_srl" value="{$trackback_srl}" />
<div class="inputPassword tCenter">
<span class="button"><input type="submit" value="{$lang->cmd_delete}" accesskey="s" /></span>
<a href="{getUrl('act','')}" class="button"><span>{$lang->cmd_cancel}</span></a>
</div>
</form>
</div>
<!--#include("footer.html")-->

View file

@ -0,0 +1,86 @@
<!--// 이 파일은 extra_vars의 form을 출력하는 파일이며 다른 스킨에서 그대로 가져가서 css만 바꾸어 주면 된다 -->
<!--// calendar -->
<!--%import("../../../../common/js/calendar.min.js",optimized=false)-->
<!--@if($lang_type == 'ko')-->
<!--%import("../../../../common/js/calendar-ko.js",optimized=false)-->
<!--@elseif($lang_type == 'es')-->
<!--%import("../../../../common/js/calendar-es.js",optimized=false)-->
<!--@elseif($lang_type == 'ge')-->
<!--%import("../../../../common/js/calendar-ge.js",optimized=false)-->
<!--@elseif($lang_type == 'ru')-->
<!--%import("../../../../common/js/calendar-ru.js",optimized=false)-->
<!--@elseif($lang_type == 'zh-CN')-->
<!--%import("../../../../common/js/calendar-zh-CN.js",optimized=false)-->
<!--@else-->
<!--%import("../../../../common/js/calendar-en.js",optimized=false)-->
<!--@end-->
<!--%import("../../../../common/js/calendar-setup.js",optimized=false)-->
<!--%import("../../../../common/css/calendar-system.css",optimized=false)-->
<!--// type=select,checkbox이고 기본값이 , 로 연결되어 있으면 배열로 만든다 -->
<!--@if(in_array($val->type, array('select', 'checkbox')))-->
{@ $val->default = explode(',', $val->default) }
<!--@end-->
<!--// 확장변수의 이름을 지정 -->
{@ $val->column_name = "extra_vars".$key}
<!--// 확장변수의 값을 documentItem::getExtraValue로 가져옴 -->
{@ $val->value = $oDocument->getExtraValue($key)}
<!--// 일반 text -->
<!--@if($val->type == 'text')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" />
<!--// 홈페이지 주소 -->
<!--@elseif($val->type == 'homepage')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" />
<!-- Email 주소 -->
<!--@elseif($val->type == 'email_address')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value)}" class="inputTypeText w400" />
<!--// 전화번호 -->
<!--@elseif($val->type == 'tel')-->
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value[0])}" size="4" class="inputTypeText" />
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value[1])}" size="4" class="inputTypeText" />
<input type="text" name="{$val->column_name}" value="{htmlspecialchars($val->value[2])}" size="4" class="inputTypeText" />
<!--// textarea -->
<!--@elseif($val->type == 'textarea')-->
<textarea name="{$val->column_name}" class="inputTypeTextArea w400">{htmlspecialchars($val->value)}</textarea>
<!--// 다중 선택 -->
<!--@elseif($val->type == 'checkbox')-->
<!--@if($val->default)-->
<ul>
<!--@foreach($val->default as $v)-->
<li><input type="checkbox" name="{$val->column_name}" value="{$v}" <!--@if($v==$val->value||is_array($val->value)&&in_array($v, $val->value))-->checked="checked"<!--@end-->/> {$v}</li>
<!--@end-->
</ul>
<!--@end-->
<!--// 단일 선택 -->
<!--@elseif($val->type == 'select')-->
<select name="{$val->column_name}">
<!--@if($val->default)-->
<!--@foreach($val->default as $v)-->
<option value="{$v}" <!--@if($v == $val->value)-->selected="selected"<!--@end-->>{$v}</option>
<!--@end-->
<!--@end-->
</select>
<!--// 날짜 입력 -->
<!--@elseif($val->type == 'date')-->
<input type="hidden" name="{$val->column_name}" id="date_{$val->column_name}" value="{$val->value}" />
<div class="display_date" id="str_{$val->column_name}">{zdate($val->value,"Y-m-d")}</div>
<script type="text/javascript">
DyCalendar.setup( { firstDay : 0, inputField : "date_{$val->column_name}", ifFormat : "%Y%m%d", displayArea : "str_{$val->column_name}", daFormat : "%Y-%m-%d"});
</script>
<!--@end-->
<!--@if($val->desc)-->
<p class="info">{$val->desc}</p>
<!--@end-->

View file

@ -0,0 +1,64 @@
<!--// 이 파일은 extra_vars의 결과값을 출력하는 파일이며 다른 스킨에서 그대로 가져가서 css만 바꾸어 주면 된다 -->
<!--// 확장변수의 이름을 지정 -->
{@ $val->column_name = "extra_vars".$key}
<!--// 확장변수의 값을 documentItem::getExtraValue로 가져옴 -->
{@ $val->value = $oDocument->getExtraValue($key)}
{@ $_tmp_value = array(); }
<!--// 일반 text -->
<!--@if($val->type == 'text')-->
{htmlspecialchars($val->value)}
<!--// 홈페이지 주소 -->
<!--@elseif($val->type == 'homepage')-->
<!--@if($val->value)-->
<a href="{htmlspecialchars($val->value)}" onclick="window.open(this.href);return false;">{$val->value}</a>
<!--@else-->
&nbsp;
<!--@end-->
<!--// Email 주소 -->
<!--@elseif($val->type == 'email_address')-->
<!--@if($val->value)-->
<a href="mailto:{htmlspecialchars($val->value)}">{$val->value}</a>
<!--@else-->
&nbsp;
<!--@end-->
<!--// 전화번호 -->
<!--@elseif($val->type == 'tel')-->
{htmlspecialchars($val->value[0])}
<!--@if($val->value[1])-->-<!--@end-->
{htmlspecialchars($val->value[1])}
<!--@if($val->value[2])-->-<!--@end-->
{htmlspecialchars($val->value[2])}
&nbsp;
<!--// textarea -->
<!--@elseif($val->type == 'textarea')-->
{nl2br(htmlspecialchars($val->value))}
&nbsp;
<!--// 다중 선택 -->
<!--@elseif($val->type == 'checkbox')-->
<!--@if(!is_array($val->value))-->{@ $val->value = array($val->value) }<!--@end-->
<!--@foreach($val->value as $v)-->
{@ $_tmp_value[] = htmlspecialchars($v)}
<!--@end-->
{implode(",",$_tmp_value)}
&nbsp;
<!--// 단일 선택 -->
<!--@elseif($val->type == 'select')-->
{htmlspecialchars($val->value)}
&nbsp;
<!--// 날짜 입력 -->
<!--@elseif($val->type == 'date')-->
{zdate($val->value,"Y-m-d")}
&nbsp;
<!--@end-->
<!--@if(!$val->value)-->&nbsp;<!--@end-->

View file

@ -0,0 +1,18 @@
<filter name="delete_comment" module="board" act="procBoardDeleteComment">
<form>
<node target="comment_srl" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="page" target="page" />
<param name="document_srl" target="document_srl" />
<param name="comment_srl" target="comment_srl" />
</parameter>
<response callback_func="completeDeleteComment">
<tag name="error" />
<tag name="message" />
<tag name="mid" />
<tag name="document_srl" />
<tag name="page" />
</response>
</filter>

View file

@ -0,0 +1,16 @@
<filter name="delete_document" module="board" act="procBoardDeleteDocument">
<form>
<node target="document_srl" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="page" target="page" />
<param name="document_srl" target="document_srl" />
</parameter>
<response callback_func="completeDeleteDocument">
<tag name="error" />
<tag name="message" />
<tag name="mid" />
<tag name="page" />
</response>
</filter>

View file

@ -0,0 +1,18 @@
<filter name="delete_trackback" module="board" act="procBoardDeleteTrackback">
<form>
<node target="trackback_srl" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="page" target="page" />
<param name="document_srl" target="document_srl" />
<param name="trackback_srl" target="trackback_srl" />
</parameter>
<response callback_func="completeDeleteTrackback">
<tag name="error" />
<tag name="message" />
<tag name="mid" />
<tag name="document_srl" />
<tag name="page" />
</response>
</filter>

View file

@ -0,0 +1,16 @@
<filter name="input_password" module="board" act="procBoardVerificationPassword" >
<form>
<node target="document_srl" required="true" />
<node target="password" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="document_srl" target="document_srl" />
<param name="comment_srl" target="comment_srl" />
<param name="password" target="password" />
</parameter>
<response>
<tag name="error" />
<tag name="message" />
</response>
</filter>

View file

@ -0,0 +1,17 @@
<filter name="insert" module="board" act="procBoardInsertDocument" confirm_msg_code="confirm_submit">
<form>
<node target="nick_name" required="true" />
<node target="password" required="true" />
<node target="email_address" maxlength="250" />
<node target="homepage" maxlength="250"/>
<node target="title" required="true" minlength="1" maxlength="250" />
<node target="content" required="true" />
</form>
<response callback_func="completeDocumentInserted">
<tag name="error" />
<tag name="message" />
<tag name="mid" />
<tag name="document_srl" />
<tag name="category_srl" />
</response>
</filter>

View file

@ -0,0 +1,30 @@
<filter name="insert_comment" module="board" act="procBoardInsertComment" confirm_msg_code="confirm_submit">
<form>
<node target="document_srl" required="true" />
<node target="nick_name" required="true" />
<node target="password" required="true" />
<node target="email_address" maxlength="250" />
<node target="homepage" maxlength="250"/>
<node target="content" required="true" minlength="1" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="document_srl" target="document_srl" />
<param name="comment_srl" target="comment_srl" />
<param name="parent_srl" target="parent_srl" />
<param name="nick_name" target="nick_name" />
<param name="password" target="password" />
<param name="email_address" target="email_address" />
<param name="homepage" target="homepage" />
<param name="content" target="content" />
<param name="is_secret" target="is_secret" />
<param name="notify_message" target="notify_message" />
</parameter>
<response callback_func="completeInsertComment">
<tag name="error" />
<tag name="message" />
<tag name="mid" />
<tag name="document_srl" />
<tag name="comment_srl" />
</response>
</filter>

View file

@ -0,0 +1,15 @@
<filter name="search" module="board">
<form>
<node target="search_target" required="true" />
<node target="search_keyword" minlegnth="2" maxlength="40" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="search_target" target="search_target" />
<param name="search_keyword" target="search_keyword" />
</parameter>
<response callback_func="completeSearch">
<tag name="error" />
<tag name="message" />
</response>
</filter>

View file

@ -0,0 +1,13 @@
<filter name="vote" module="board" act="procBoardVoteDocument" confirm_msg_code="confirm_vote">
<form>
<node target="document_srl" required="true" />
</form>
<parameter>
<param name="mid" target="mid" />
<param name="document_srl" target="document_srl" />
</parameter>
<response callback_func="completeVote">
<tag name="error" />
<tag name="message" />
</response>
</filter>

View file

@ -0,0 +1,2 @@
<!-- 하단 텍스트 출력 -->
{$module_info->footer_text}

View file

@ -0,0 +1,120 @@
<!--// JS 파일 로드 -->
<!--%import("js/board.js")-->
<!--// 컬러셋 체크 -->
<!--@if(!$module_info->colorset)-->
{@$module_info->colorset = "white"}
<!--@end-->
<!--// CSS 파일 로드 (컬러셋에 따라서) -->
<!--%import("css/common.css")-->
<!--@if($module_info->colorset == "cyan")--> <!--%import("css/cyan.css")-->
<!--@elseif($module_info->colorset == "red")--> <!--%import("css/red.css")-->
<!--@elseif($module_info->colorset == "green")--> <!--%import("css/green.css")-->
<!--@elseif($module_info->colorset == "purple")--> <!--%import("css/purple.css")-->
<!--@elseif($module_info->colorset == "black")--> <!--%import("css/black.css")-->
<!--@else--> <!--%import("css/white.css")-->
<!--@end-->
<!--// 스킨 설정중 새글의 시간 설정 값이 없으면 임의로 지정 -->
<!--@if(!$module_info->duration_new = (int)$module_info->duration_new)-->
{@ $module_info->duration_new = 12 }
<!--@end-->
<!--// 스킨 설정중 썸네일 관련 항목을 지정 -->
<!--@if(!$module_info->thumbnail_type)-->{@ $module_info->thumbnail_type = 'crop'; }<!--@end-->
<!--@if(!$module_info->thumbnail_width)-->{@ $module_info->thumbnail_width = 100; }<!--@end-->
<!--@if(!$module_info->thumbnail_height)-->{@ $module_info->thumbnail_height = 100; }<!--@end-->
<!--// 정렬에 따른 아이콘 미리 지정 -->
<!--@if($order_type == "desc")-->
{@ $order_icon = "buttonDescending.gif" }
{@ $order_type = "asc"; }
<!--@else-->
{@ $order_icon = "buttonAscending.gif" }
{@ $order_type = "desc"; }
<!--@end-->
<!--// 사용자가 선택한 게시판 형태에 따른 설정(포럼형은 적용 안됨) -->
<!--@if($module_info->default_style != 'forum' && $module_info->default_style != 'blog')-->
<!--@if($listStyle=='gallery')-->
{@ $module_info->default_style = 'gallery'}
<!--@elseif($listStyle=='webzine')-->
{@ $module_info->default_style = 'webzine'}
<!--@elseif($listStyle=='list')-->
{@ $module_info->default_style = 'list'}
<!--@end-->
<!--@end-->
<!--// 상단 텍스트 출력 -->
{$module_info->header_text}
<!-- 스킨의 제목/간단한 설명 출력 -->
<!--@if($module_info->title)-->
<div class="boardHeader">
<div class="boardHeaderBorder">
<h3>{$module_info->title}<!--@if($module_info->sub_title)--> - {$module_info->sub_title}<!--@end--></h3>
</div>
</div>
<!--@end-->
<!-- 스킨의 상세 설명 -->
<!--@if($module_info->comment)-->
<div class="boardDescription">{$module_info->comment}</div>
<!--@end-->
<!-- 게시판 정보 -->
<!--@if($module_info->display_login_info != 'N' || $module_info->display_setup_button != 'N')-->
<div class="boardInformation">
<!-- 게시물 수 -->
<!--@if($total_count && $module_info->default_style != 'blog')-->
<div class="articleNum">{$lang->document_count} <strong>{number_format($total_count)}</strong></div>
<!--@end-->
<!-- 로그인 정보 -->
<ul class="accountNavigation">
<!--// 로그인 되어 있을 경우 -->
<!--@if($is_logged)-->
<!--// 관리자이면 설정 버튼 출력 -->
<!--@if($grant->is_admin && $module_info->display_setup_button != 'N')-->
<li class="setup"><a href="{getUrl('act','dispBoardAdminBoardInfo')}">{$lang->cmd_setup}</a></li>
<!--@end-->
<!--// 최고관리자이면 관리자 페이지 버튼 출력 -->
<!--@if($logged_info->is_admin == 'Y' && $module_info->display_setup_button != 'N')-->
<li class="admin"><a href="{getUrl('','module','admin','act','dispBoardAdminContent')}" onclick="window.open(this.href); return false;">{$lang->cmd_management}</a></li>
<!--@end-->
<!--// 회원정보 버튼 출력 -->
<!--@if($module_info->display_login_info != 'N')-->
<li class="myInfo"><a href="{getUrl('act','dispMemberInfo')}">{$lang->cmd_view_member_info}</a></li>
<li class="loginAndLogout"><a href="{getUrl('act','dispMemberLogout')}">{$lang->cmd_logout}</a></li>
<!--@end-->
<!--// 로그인 되어 있지 않고 회원정보 버튼 출력하도록 되어있으면 -->
<!--@elseif(!$is_logged && $module_info->display_login_info != 'N')-->
<li class="join"><a href="{getUrl('act','dispMemberSignUpForm')}">{$lang->cmd_signup}</a></li>
<li class="loginAndLogout"><a href="{getUrl('act','dispMemberLoginForm')}">{$lang->cmd_login}</a></li>
<!--@end-->
<!--@if($rss_url)-->
<li class="rss"><a href="{$rss_url}"><img src="./images/{$module_info->colorset}/iconRss.gif" alt="RSS" width="13" height="13" /></a></li>
<!--@end-->
<li class="skin_info"><a href="{getUrl('','module','module','act','dispModuleSkinInfo','selected_module',$module_info->module, 'skin', $module_info->skin)}" onclick="popopen(this.href,'skinInfo'); return false;"><img src="./images/{$module_info->colorset}/buttonHelp.gif" alt="Skin Info" width="13" height="13"/></a></li>
<li class="tag_info"><a href="{getUrl('act','dispBoardTagList')}"><img src="./images/{$module_info->colorset}/iconAllTags.gif" alt="Tag list" width="13" height="13"/></a></li>
<!--// 목록형태 (포럼형/ 블로그형이 기본으로 되어 있을 경우 다른 형태를 지정 못하게 함) -->
<!--@if($module_info->default_style != 'forum' && $module_info->default_style != 'blog')-->
<li class="listType"><a href="{getUrl('listStyle','list','act','','document_srl','')}"><img src="./images/{$module_info->colorset}/typeList.gif" border="0" width="13" height="13" alt="List" /></a></li>
<li class="listType"><a href="{getUrl('listStyle','webzine','act','','document_srl','')}"><img src="./images/{$module_info->colorset}/typeWebzine.gif" border="0" width="13" height="13" alt="Webzine" /></a></li>
<li class="listType"><a href="{getUrl('listStyle','gallery','act','','document_srl','')}"><img src="./images/{$module_info->colorset}/typeGallery.gif" border="0" width="13" height="13" alt="Gallery" /></a></li>
<!--@end-->
</ul>
</div>
<!--@end-->

View file

@ -0,0 +1,26 @@
<!--%import("filter/input_password.xml")-->
<!--@if(!$form_include)--><!--#include("header.html")--><!--@end-->
<div class="smallBox w400">
<div class="header">
<h3>{$lang->msg_input_password}</h3>
</div>
<form action="./" method="get" onsubmit="return procFilter(this, input_password)">
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="page" value="{$page}" />
<input type="hidden" name="document_srl" value="{$document_srl}" />
<input type="hidden" name="comment_srl" value="{$comment_srl}" />
<div class="inputPassword">
<input type="password" name="password" id="cpw" class="inputTypeText" />
<span class="button"><input type="submit" value="{$lang->cmd_input}" accesskey="s" /></span>
<a href="{getUrl('act','')}" class="button"><span>{$lang->cmd_cancel}</span></a>
</div>
</form>
</div>
<!--@if(!$form_include)--><!--#include("footer.html")--><!--@end-->

View file

@ -0,0 +1,118 @@
/**
* @file modules/board/js/board.js
* @author zero (zero@nzeo.com)
* @brief board 모듈의 javascript
**/
/* 글쓰기 작성후 */
function completeDocumentInserted(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
var mid = ret_obj['mid'];
var document_srl = ret_obj['document_srl'];
var category_srl = ret_obj['category_srl'];
//alert(message);
var url = current_url.setQuery('mid',mid).setQuery('document_srl',document_srl).setQuery('act','');
if(category_srl) url = url.setQuery('category',category_srl);
location.href = url;
}
/* 글 삭제 */
function completeDeleteDocument(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
var mid = ret_obj['mid'];
var page = ret_obj['page'];
var url = current_url.setQuery('mid',mid).setQuery('act','').setQuery('document_srl','');
if(page) url = url.setQuery('page',page);
//alert(message);
location.href = url;
}
/* 검색 실행 */
function completeSearch(fo_obj, params) {
fo_obj.submit();
}
function completeVote(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
alert(message);
location.href = location.href;
}
// 현재 페이지 reload
function completeReload(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
location.href = location.href;
}
/* 댓글 글쓰기 작성후 */
function completeInsertComment(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
var mid = ret_obj['mid'];
var document_srl = ret_obj['document_srl'];
var comment_srl = ret_obj['comment_srl'];
var url = current_url.setQuery('mid',mid).setQuery('document_srl',document_srl).setQuery('act','');
if(comment_srl) url = url.setQuery('rnd',comment_srl)+"#comment_"+comment_srl;
//alert(message);
location.href = url;
}
/* 댓글 삭제 */
function completeDeleteComment(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
var mid = ret_obj['mid'];
var document_srl = ret_obj['document_srl'];
var page = ret_obj['page'];
var url = current_url.setQuery('mid',mid).setQuery('document_srl',document_srl).setQuery('act','');
if(page) url = url.setQuery('page',page);
//alert(message);
location.href = url;
}
/* 트랙백 삭제 */
function completeDeleteTrackback(ret_obj) {
var error = ret_obj['error'];
var message = ret_obj['message'];
var mid = ret_obj['mid'];
var document_srl = ret_obj['document_srl'];
var page = ret_obj['page'];
var url = current_url.setQuery('mid',mid).setQuery('document_srl',document_srl).setQuery('act','');
if(page) url = url.setQuery('page',page);
//alert(message);
location.href = url;
}
/* 카테고리 이동 */
function doChangeCategory() {
var sel_obj = xGetElementById("board_category");
var sel_idx = sel_obj.selectedIndex;
var category_srl = sel_obj.options[sel_idx].value;
location.href = current_url.setQuery('category',category_srl);
}
/* 스크랩 */
function doScrap(document_srl) {
var params = new Array();
params["document_srl"] = document_srl;
exec_xml("member","procMemberScrapDocument", params, null);
}

View file

@ -0,0 +1,81 @@
<!--// header.html include -->
<!--#include("header.html")-->
<!--// 검색을 위한 xml filter import-->
<!--%import("filter/search.xml")-->
<!--// 선택된 게시물이 있고 권한이 있으면 내용 출력 -->
<!--@if($oDocument->isExists() && $module_info->default_style != 'blog')-->
<div class="viewDocument">
<!--#include("./view_document.html")-->
</div>
<!--@end-->
<!--// 목록 출력 -->
<!--@if($module_info->default_style == 'webzine')-->
<!--#include("./style.webzine.html")-->
<!--@elseif($module_info->default_style == 'gallery')-->
<!--#include("./style.gallery.html")-->
<!--@elseif($module_info->default_style == 'forum')-->
<!--#include("./style.forum.html")-->
<!--@elseif($module_info->default_style == 'blog')-->
<!--#include("./style.blog.html")-->
<!--@else-->
<!--#include("./style.list.html")-->
<!--@end-->
<div class="boardBottom">
<!-- 글쓰기, 목록 버튼 -->
<div class="leftButtonBox">
<!--@if($grant->is_admin)-->
<a href="{getUrl('','module','document','act','dispDocumentAdminManageDocument')}" onclick="popopen(this.href,'manageDocument'); return false;" class="button"><span>{$lang->cmd_manage_document}</span></a>
<!--@end-->
<!--@if($module_info->default_style != 'blog')-->
<a href="{getUrl('','mid',$mid,'page',$page,'document_srl','','listStyle',$listStyle)}" class="button"><span>{$lang->cmd_list}</span></a>
<!--@end-->
</div>
<div class="rightButtonBox">
<a href="{getUrl('act','dispBoardWrite','document_srl','')}" class="button"><span>{$lang->cmd_write}</span></a>
</div>
<!-- 페이지 네비게이션 -->
<div class="pagination a1">
<a href="{getUrl('page','','document_srl','','division',$division,'last_division',$last_division)}" class="prevEnd">{$lang->first_page}</a>
<!--@while($page_no = $page_navigation->getNextPage())-->
<!--@if($page == $page_no)-->
<strong>{$page_no}</strong>
<!--@else-->
<a href="{getUrl('page',$page_no,'document_srl','','division',$division,'last_division',$last_division)}">{$page_no}</a>
<!--@end-->
<!--@end-->
<a href="{getUrl('page',$page_navigation->last_page,'document_srl','','division',$division,'last_division',$last_division)}" class="nextEnd">{$lang->last_page}</a>
</div>
<!-- 검색 -->
<!--@if($grant->view && $module_info->default_style != 'blog')-->
<div class="boardSearch">
<form action="{getUrl()}" method="get" onsubmit="return procFilter(this, search)" id="fo_search">
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="category" value="{$category}" />
<select name="search_target">
<!--@foreach($search_option as $key => $val)-->
<option value="{$key}" <!--@if($search_target==$key)-->selected="selected"<!--@end-->>{$val}</option>
<!--@end-->
</select>
<input type="text" name="search_keyword" value="{htmlspecialchars($search_keyword)}" class="inputTypeText"/>
<!--@if($last_division)-->
<a href="{getUrl('page',1,'document_srl','','division',$last_division,'last_division','')}" class="button"><span>{$lang->cmd_search_next}</span></a>
<!--@end-->
<a href="#" onclick="xGetElementById('fo_search').submit();return false;" class="button"><span>{$lang->cmd_search}</span></a>
<a href="{getUrl('','mid',$mid,'listStyle',$listStyle)}" class="button"><span>{$lang->cmd_cancel}</span></a>
</form>
</div>
<!--@end-->
</div>
<!--#include("footer.html")-->

View file

@ -0,0 +1,16 @@
<!--#include("header.html")-->
<div class="smallBox w268">
<div class="tCenter messageBox">{$message}</div>
<div class="gap1 tCenter">
<!--@if(!$is_logged)-->
<a href="{getUrl('act','dispMemberLoginForm')}" class="button"><span>{$lang->cmd_login}</span></a>
<!--@end-->
<a href="#" onclick="history.back(); return false;" class="button"><span>{$lang->cmd_back}</span></a>
</div>
</div>
<!--#include("footer.html")-->

View file

@ -0,0 +1,520 @@
<?xml version="1.0" encoding="UTF-8"?>
<skin version="0.2">
<title xml:lang="ko">XE 게시판 기본 스킨</title>
<title xml:lang="jp">XE掲示板のデフォルトスキン</title>
<title xml:lang="zh-CN">XE版面默认皮肤</title>
<title xml:lang="en">XE Basic Board Skin</title>
<title xml:lang="es">XE Basic Board Skin</title>
<title xml:lang="zh-TW">XE討論板預設面板</title>
<description xml:lang="ko">
XE 게시판의 기본 스킨입니다.
디자인 : 서기정 (http://blog.naver.com/addcozy)
HTML/CSS : 정찬명 (http://naradesign.net)
</description>
<description xml:lang="jp">
XE掲示板の デフォルトスキンです。
デザイン:ソギジョン (http://blog.naver.com/addcozy)
HTML/CSSジョンチャンミョン (http://naradesign.net)
</description>
<description xml:lang="zh-CN">
XE版面默认皮肤。
设计 : Ki-Jeong Seo (http://blog.naver.com/addcozy)
HTML/CSS : Chan-Myung Jeong (http://naradesign.net)
</description>
<description xml:lang="en">
This is the basic board skin of XE.
Design : Ki-Jeong Seo (http://blog.naver.com/addcozy)
HTML/CSS : Chan-Myung Jeong (http://naradesign.net)
</description>
<description xml:lang="es">
Esta es la base bordo de la piel de XE.
Diseño: Ki-Jeong Seo (http://blog.naver.com/addcozy)
HTML / CSS: Jeong Chan-Myung (http://naradesign.net)
</description>
<description xml:lang="zh-TW">
XE討論板預設面板。
設計 : Ki-Jeong Seo (http://blog.naver.com/addcozy)
HTML/CSS : Chan-Myung Jeong (http://naradesign.net)
</description>
<version>0.1</version>
<date>2007-10-22</date>
<author email_address="zero@zeroboard.com" link="http://blog.nzeo.com">
<name xml:lang="ko">zero</name>
<name xml:lang="jp">zero</name>
<name xml:lang="zh-CN">zero</name>
<name xml:lang="en">zero</name>
<name xml:lang="es">zero</name>
<name xml:lang="zh-TW">zero</name>
</author>
<colorset>
<color name="white" src="screenshot/white.gif">
<title xml:lang="ko">하얀색(기본)</title>
<title xml:lang="jp">白(デフォルト)</title>
<title xml:lang="zh-CN">白色(基本)</title>
<title xml:lang="en">White (default)</title>
<title xml:lang="es">Blanco (por defecto)</title>
<title xml:lang="zh-TW">白色(預設)</title>
</color>
<color name="cyan" src="screenshot/cyan.gif">
<title xml:lang="ko">청록색</title>
<title xml:lang="jp">青緑</title>
<title xml:lang="zh-CN">青绿色</title>
<title xml:lang="en">Cyan</title>
<title xml:lang="es">Cian</title>
<title xml:lang="zh-TW">青綠色</title>
</color>
<color name="green" src="screenshot/green.gif">
<title xml:lang="ko">초록색</title>
<title xml:lang="jp"></title>
<title xml:lang="zh-CN">绿色</title>
<title xml:lang="en">Green</title>
<title xml:lang="es">Verde</title>
<title xml:lang="zh-TW">綠色</title>
</color>
<color name="red" src="screenshot/red.gif">
<title xml:lang="ko">빨간색</title>
<title xml:lang="jp"></title>
<title xml:lang="zh-CN">红色</title>
<title xml:lang="en">Red</title>
<title xml:lang="es">Roja</title>
<title xml:lang="zh-TW">紅色</title>
</color>
<color name="purple" src="screenshot/purple.gif">
<title xml:lang="ko">보라색</title>
<title xml:lang="jp"></title>
<title xml:lang="zh-CN">紫色</title>
<title xml:lang="en">Purple</title>
<title xml:lang="es">Púrpura</title>
<title xml:lang="zh-TW">紫色</title>
</color>
<color name="black" src="screenshot/black.gif">
<title xml:lang="ko">검은색</title>
<title xml:lang="jp"></title>
<title xml:lang="en">Black</title>
<title xml:lang="ru">Черного</title>
<title xml:lang="es">Negro</title>
<title xml:lang="zh-CN">黑色</title>
<title xml:lang="zh-TW">黑色</title>
</color>
</colorset>
<extra_vars>
<var name="default_style" type="select">
<title xml:lang="ko">기본 형태</title>
<title xml:lang="jp">デフォルトスタイル</title>
<title xml:lang="zh-CN">默认样式</title>
<title xml:lang="en">Default Form</title>
<title xml:lang="es">Formulario por defecto</title>
<title xml:lang="zh-TW">預設樣式</title>
<description xml:lang="ko">
목록형, 웹진형, 갤러리형, 포럼형의 기본 스타일을 지정할 수 있습니다.
포럼형 스타일은 정렬대상을 updated로 하셔야 합니다.
</description>
<description xml:lang="jp">
リスト型、ウェブジン型、ギャラリー型、フォーラム型の基本スタイルを指定することができます。
フォーラム型のスタイルはソート対象を「updated」にしなければなりません。
</description>
<description xml:lang="zh-CN">
可以把版面指定为默认的目录型,新闻型,相册型及论坛型。
当使用论坛型的时候请把排列对象设置为updated。
</description>
<description xml:lang="en">
You may select default styles such as list style, webzine style, gallery stylz or forum style.
Align Target for forum style is required to be selected as 'updated'.
</description>
<description xml:lang="es">
Usted puede seleccionar por defecto los estilos como el estilo de lista, estilo webzine, galería stylz o estilo foro.
Alinear Meta para el foro estilo es necesaria para ser seleccionado como 'actualización'.
</description>
<description xml:lang="zh-TW">
可選擇列表型、網路雜誌型,相簿型或論壇型當作討論板預設形式
當使用論壇型的時候,請把排列目標設定成 updated。
</description>
<options value="list">
<title xml:lang="ko">목록</title>
<title xml:lang="en">list</title>
<title xml:lang="jp">リスト</title>
<title xml:lang="zh-CN">目录型</title>
<title xml:lang="es">list</title>
<title xml:lang="zh-TW">列表型</title>
</options>
<options value="webzine">
<title xml:lang="ko">웹진</title>
<title xml:lang="en">webzine</title>
<title xml:lang="jp">ウェブジン(webzine)</title>
<title xml:lang="zh-CN">新闻型</title>
<title xml:lang="es">webzine</title>
<title xml:lang="zh-TW">雜誌型</title>
</options>
<options value="gallery">
<title xml:lang="ko">갤러리</title>
<title xml:lang="en">gallery</title>
<title xml:lang="jp">ギャラリー</title>
<title xml:lang="zh-CN">相册型</title>
<title xml:lang="es">gallery</title>
<title xml:lang="zh-TW">相簿型</title>
</options>
<options value="forum">
<title xml:lang="ko">포럼</title>
<title xml:lang="en">forum</title>
<title xml:lang="jp">フォラム</title>
<title xml:lang="zh-CN">论坛型</title>
<title xml:lang="es">forum</title>
<title xml:lang="zh-TW">論壇型</title>
</options>
<options value="blog">
<title xml:lang="ko">블로그</title>
<title xml:lang="en">blog</title>
<title xml:lang="jp">ブログ</title>
<title xml:lang="zh-CN">博客型</title>
<title xml:lang="es">blog</title>
<title xml:lang="zh-TW">部落格型</title>
</options>
</var>
<var name="display_login_info" type="select">
<title xml:lang="ko">로그인 정보 출력</title>
<title xml:lang="zh-CN">显示会员信息组</title>
<title xml:lang="jp">ログイン情報表示</title>
<title xml:lang="en">Display Login Info</title>
<title xml:lang="es">Muestra la información de la conección</title>
<title xml:lang="zh-TW">顯示登入資料</title>
<options value="Y">
<title xml:lang="ko">출력</title>
<title xml:lang="en">display</title>
<title xml:lang="jp">表示</title>
<title xml:lang="zh-CN">显示</title>
<title xml:lang="es">display</title>
<title xml:lang="zh-TW">顯示</title>
</options>
<options value="N">
<title xml:lang="ko">출력하지 않음</title>
<title xml:lang="en">not display</title>
<title xml:lang="jp">非表示</title>
<title xml:lang="zh-CN">不显示</title>
<title xml:lang="es">not display</title>
<title xml:lang="zh-TW">隱藏</title>
</options>
<description />
</var>
<var name="display_setup_button" type="select">
<title xml:lang="ko">설정 표시</title>
<title xml:lang="zh-CN">显示管理设置组</title>
<title xml:lang="jp">設定表示</title>
<title xml:lang="en">Display Setup</title>
<title xml:lang="es">Muestra la información de la Configuración</title>
<title xml:lang="zh-TW">顯示設置</title>
<options value="Y">
<title xml:lang="ko">출력</title>
<title xml:lang="en">display</title>
<title xml:lang="jp">表示</title>
<title xml:lang="zh-CN">显示</title>
<title xml:lang="es">display</title>
<title xml:lang="zh-TW">顯示</title>
</options>
<options value="N">
<title xml:lang="ko">출력하지 않음</title>
<title xml:lang="en">not display</title>
<title xml:lang="jp">非表示</title>
<title xml:lang="zh-CN">不显示</title>
<title xml:lang="es">not display</title>
<title xml:lang="zh-TW">隱藏</title>
</options>
<description />
</var>
<var name="title" type="text">
<title xml:lang="ko">게시판 제목</title>
<title xml:lang="jp">掲示板タイトル</title>
<title xml:lang="zh-CN">版面标题</title>
<title xml:lang="en">Title of Board</title>
<title xml:lang="es">Title of Board</title>
<title xml:lang="zh-TW">討論板標題</title>
<description xml:lang="ko">게시판의 제목을 적어주세요.</description>
<description xml:lang="jp">掲示板タイトルを入力してください。</description>
<description xml:lang="zh-CN">请输入版面标题(留空为不显示)。</description>
<description xml:lang="en">Plase input the title of board.</description>
<description xml:lang="es">Plase input the title of board.</description>
<description xml:lang="zh-TW">請輸入討論板標題(留白為隱藏)。</description>
</var>
<var name="sub_title" type="text">
<title xml:lang="ko">게시판 부제목</title>
<title xml:lang="jp">掲示板サブタイトル</title>
<title xml:lang="zh-CN">版面副标题</title>
<title xml:lang="en">Subtitle of Board</title>
<title xml:lang="zh-TW">討論板副標題</title>
<description xml:lang="ko">게시판 제목 옆에 나타날 부제목을 적어주세요.</description>
<description xml:lang="jp">掲示板タイトルの横に表示されるサブタイトルを入力してください。</description>
<description xml:lang="zh-CN">请输入版面副标题(留空为不显示)。</description>
<description xml:lang="en">Please input the subtitle of board which will be displayed beside of board title.</description>
<description xml:lang="es">Please input the subtitle of board which will be displayed beside of board title.</description>
<description xml:lang="zh-TW">請輸入討論板副標題(留白為隱藏)。</description>
</var>
<var name="comment" type="textarea">
<title xml:lang="ko">게시판 상세 설명</title>
<title xml:lang="jp">掲示板の詳細</title>
<title xml:lang="zh-CN">版面详细说明</title>
<title xml:lang="en">Description of Board</title>
<title xml:lang="es">Description of Board</title>
<title xml:lang="zh-TW">討論板說明</title>
<description xml:lang="ko">게시판 제목 아래 표시될 설명을 입력하실 수 있습니다.</description>
<description xml:lang="jp">掲示板タイトルの下に表示される説明文を入力してください。</description>
<description xml:lang="zh-CN">请输入版面说明(留空为不显示)。</description>
<description xml:lang="en">You may input description which will be displayed under the board title.</description>
<description xml:lang="es">You may input description which will be displayed under the board title.</description>
<description xml:lang="zh-TW">請輸入討論板說明(留白為隱藏)。</description>
</var>
<var name="subject_cut_size" type="text">
<title xml:lang="ko">제목 글자수</title>
<title xml:lang="jp">タイトルの文字数</title>
<title xml:lang="zh-CN">标题字数</title>
<title xml:lang="en">Length of Subject</title>
<title xml:lang="es">Length of Subject</title>
<title xml:lang="zh-TW">標題字數</title>
<description xml:lang="ko">제목 글자수를 지정할 수 있습니다. (0또는 비워주시면 자르지 않습니다)</description>
<description xml:lang="jp">タイトルの文字数が指定できます「0」または空欄の場合は、文字数を制限しません</description>
<description xml:lang="zh-CN">可以指定标题字数(0或留空为不限)。</description>
<description xml:lang="en">You may set length of title. (0 or blank value will not restrict the length)</description>
<description xml:lang="es">You may set length of title. (0 or blank value will not restrict the length)</description>
<description xml:lang="zh-TW">可指定標題字數(0或留白為不限制)。</description>
</var>
<var name="display_number" type="select">
<title xml:lang="ko">번호 표시</title>
<title xml:lang="jp">番号表示</title>
<title xml:lang="zh-CN">显示编号</title>
<title xml:lang="en">Dispay Number</title>
<title xml:lang="es">Dispay Number</title>
<title xml:lang="zh-TW">顯示編號</title>
<options value="Y">
<title xml:lang="ko">출력</title>
<title xml:lang="en">display</title>
<title xml:lang="jp">表示</title>
<title xml:lang="zh-CN">显示</title>
<title xml:lang="es">display</title>
<title xml:lang="zh-TW">顯示</title>
</options>
<options value="N">
<title xml:lang="ko">출력하지 않음</title>
<title xml:lang="en">not display</title>
<title xml:lang="jp">非表示</title>
<title xml:lang="zh-CN">不显示</title>
<title xml:lang="es">not display</title>
<title xml:lang="zh-TW">隱藏</title>
</options>
<description />
</var>
<var name="display_author" type="select">
<title xml:lang="ko">글쓴이 표시</title>
<title xml:lang="jp">投稿者表示</title>
<title xml:lang="zh-CN">显示昵称</title>
<title xml:lang="en">Display Author</title>
<title xml:lang="es">Display Author</title>
<title xml:lang="zh-TW">顯示暱稱</title>
<options value="Y">
<title xml:lang="ko">출력</title>
<title xml:lang="en">display</title>
<title xml:lang="jp">表示</title>
<title xml:lang="zh-CN">显示</title>
<title xml:lang="es">display</title>
<title xml:lang="zh-TW">顯示</title>
</options>
<options value="N">
<title xml:lang="ko">출력하지 않음</title>
<title xml:lang="en">not display</title>
<title xml:lang="jp">非表示</title>
<title xml:lang="zh-CN">不显示</title>
<title xml:lang="es">not display</title>
<title xml:lang="zh-TW">隱藏</title>
</options>
<description />
</var>
<var name="display_regdate" type="select">
<title xml:lang="ko">작성일 표시</title>
<title xml:lang="jp">作成日表示</title>
<title xml:lang="zh-CN">显示发表日期</title>
<title xml:lang="en">Display Registered Date</title>
<title xml:lang="es">Display Registered Date</title>
<title xml:lang="zh-TW">顯示發表日期</title>
<options value="Y">
<title xml:lang="ko">출력</title>
<title xml:lang="en">display</title>
<title xml:lang="jp">表示</title>
<title xml:lang="zh-CN">显示</title>
<title xml:lang="es">display</title>
<title xml:lang="zh-TW">顯示</title>
</options>
<options value="N">
<title xml:lang="ko">출력하지 않음</title>
<title xml:lang="en">not display</title>
<title xml:lang="jp">非表示</title>
<title xml:lang="zh-CN">不显示</title>
<title xml:lang="es">not display</title>
<title xml:lang="zh-TW">隱藏</title>
</options>
<description />
</var>
<var name="display_readed_count" type="select">
<title xml:lang="ko">조회수 표시</title>
<title xml:lang="jp">閲覧数表示</title>
<title xml:lang="zh-CN">显示查看</title>
<title xml:lang="en">Display Hit</title>
<title xml:lang="es">Display Hit</title>
<title xml:lang="zh-TW">顯示點擊</title>
<options value="Y">
<title xml:lang="ko">출력</title>
<title xml:lang="en">display</title>
<title xml:lang="jp">表示</title>
<title xml:lang="zh-CN">显示</title>
<title xml:lang="es">display</title>
<title xml:lang="zh-TW">顯示</title>
</options>
<options value="N">
<title xml:lang="ko">출력하지 않음</title>
<title xml:lang="en">not display</title>
<title xml:lang="jp">非表示</title>
<title xml:lang="zh-CN">不显示</title>
<title xml:lang="es">not display</title>
<title xml:lang="zh-TW">隱藏</title>
</options>
<description />
</var>
<var name="display_voted_count" type="select">
<title xml:lang="ko">추천수 표시</title>
<title xml:lang="jp">推薦数表示</title>
<title xml:lang="zh-CN">显示推荐</title>
<title xml:lang="en">Display Votes</title>
<title xml:lang="es">Display Votes</title>
<title xml:lang="zh-TW">顯示推薦</title>
<options value="Y">
<title xml:lang="ko">출력</title>
<title xml:lang="en">display</title>
<title xml:lang="jp">表示</title>
<title xml:lang="zh-CN">显示</title>
<title xml:lang="es">display</title>
<title xml:lang="zh-TW">顯示</title>
</options>
<options value="N">
<title xml:lang="ko">출력하지 않음</title>
<title xml:lang="en">not display</title>
<title xml:lang="jp">非表示</title>
<title xml:lang="zh-CN">不显示</title>
<title xml:lang="es">not display</title>
<title xml:lang="zh-TW">隱藏</title>
</options>
<description />
</var>
<var name="display_ip_address" type="select">
<title xml:lang="ko">아이피주소 표시</title>
<title xml:lang="en">Display ip address</title>
<title xml:lang="jp">IPアドレス表示</title>
<title xml:lang="zh-CN">显示IP地址</title>
<title xml:lang="es-CN">Display ip address</title>
<title xml:lang="zh-TW">顯示IP地址</title>
<options value="Y">
<title xml:lang="ko">출력</title>
<title xml:lang="en">display</title>
<title xml:lang="jp">表示</title>
<title xml:lang="zh-CN">显示</title>
<title xml:lang="es">display</title>
<title xml:lang="zh-TW">顯示</title>
</options>
<options value="N">
<title xml:lang="ko">출력하지 않음</title>
<title xml:lang="en">not display</title>
<title xml:lang="jp">非表示</title>
<title xml:lang="zh-CN">不显示</title>
<title xml:lang="es">not display</title>
<title xml:lang="zh-TW">隱藏</title>
</options>
</var>
<var name="display_last_update" type="select">
<title xml:lang="ko">최근 변경시간 표시</title>
<title xml:lang="jp">最近の変更時間表示</title>
<title xml:lang="zh-CN">显示最后更新时间</title>
<title xml:lang="en">Display Latest Update</title>
<title xml:lang="es">Display Latest Update</title>
<title xml:lang="zh-TW">顯示最後更新時間</title>
<options value="Y">
<title xml:lang="ko">출력</title>
<title xml:lang="en">display</title>
<title xml:lang="jp">表示</title>
<title xml:lang="zh-CN">显示</title>
<title xml:lang="es">display</title>
<title xml:lang="zh-TW">顯示</title>
</options>
<options value="N">
<title xml:lang="ko">출력하지 않음</title>
<title xml:lang="en">not display</title>
<title xml:lang="jp">非表示</title>
<title xml:lang="zh-CN">不显示</title>
<title xml:lang="es">not display</title>
<title xml:lang="zh-TW">隱藏</title>
</options>
<description />
</var>
<var name="duration_new" type="text" default="24">
<title xml:lang="ko">new표시 시간 (hours)</title>
<title xml:lang="jp">Newの表示時間 (Hours)</title>
<title xml:lang="zh-CN">new图标显示时间(hours)</title>
<title xml:lang="en">Duration of indication for new item</title>
<title xml:lang="es">Duration of indication for new item</title>
<title xml:lang="zh-TW">new圖案顯示時間(hours)</title>
<description xml:lang="ko">새로 등록된 게시물의 new 표시시간을 정할 수 있습니다. </description>
<description xml:lang="jp">新しく登録された書き込みに対して「New」の表示時間を設定します。 </description>
<description xml:lang="zh-CN">可以设置最新更新主题的new图标显示时间。</description>
<description xml:lang="en">You may set the duration of indication for fresh item. </description>
<description xml:lang="es">You may set the duration of indication for fresh item. </description>
<description xml:lang="zh-TW">可設置最新更新主題的new圖案顯示時間。</description>
</var>
<var name="thumbnail_type" type="select">
<title xml:lang="ko">썸네일 생성 방법</title>
<title xml:lang="jp">サムネール生成方法</title>
<title xml:lang="zh-CN">缩略图生成方式</title>
<title xml:lang="en">Type of Thumbnail</title>
<title xml:lang="zh-TW">縮圖建立方式</title>
<description xml:lang="ko">썸네일 생성 방법을 선택할 수 있습니다.</description>
<description xml:lang="jp">サムネールの生成方法を選択します。</description>
<description xml:lang="zh-CN">可以选择缩略图生成方式。</description>
<description xml:lang="en">Choose the type to create the thumnail.</description>
<description xml:lang="zh-TW">可選擇縮圖建立方式。</description>
<options value="crop">
<title xml:lang="ko">꽉 채우기</title>
<title xml:lang="jp">刈り込み</title>
<title xml:lang="zh-CN">裁减</title>
<title xml:lang="en">crop</title>
<title xml:lang="zh-TW">裁減</title>
</options>
<options value="ratio">
<title xml:lang="ko">비율 맞추기</title>
<title xml:lang="jp">比率</title>
<title xml:lang="zh-CN">比例</title>
<title xml:lang="en">ratio</title>
<title xml:lang="zh-TW">比例</title>
</options>
</var>
<var name="thumbnail_width" type="text" default="100">
<title xml:lang="ko">썸네일 가로크기</title>
<title xml:lang="jp">サムネールの横幅</title>
<title xml:lang="zh-CN">缩略图宽度</title>
<title xml:lang="en">Width of Thumbnail</title>
<title xml:lang="zh-TW">縮圖寬度</title>
<description xml:lang="ko">썸네일의 가로 크기를 지정할 수 있습니다. (기본 100px)</description>
<description xml:lang="jp">サムネールの横幅を指定します(デフォルト 100px)。</description>
<description xml:lang="zh-CN">可以指定缩略图宽度(默认为 100px)。</description>
<description xml:lang="en">Set the width of thumbnail. Default is 100px.</description>
<description xml:lang="zh-TW">可指定縮圖寬度(預設是 100px)。</description>
</var>
<var name="thumbnail_height" type="text" default="100">
<title xml:lang="ko">썸네일 세로크기</title>
<title xml:lang="jp">サムネールの縦幅</title>
<title xml:lang="zh-CN">缩略图高度</title>
<title xml:lang="en">Height of Thumbnail</title>
<title xml:lang="zh-TW">縮圖高度</title>
<description xml:lang="ko">썸네일의 세로 크기를 지정할 수 있습니다. (기본 100px)</description>
<description xml:lang="jp">サムネールの縦幅を指定します(デフォルト 100px)。</description>
<description xml:lang="zh-CN">可以指定缩略图高度(默认为 100px)。</description>
<description xml:lang="en">Set the height of thumbnail. Default is 100px.</description>
<description xml:lang="zh-TW">可指定縮圖高度(預設是 100px)。</description>
</var>
</extra_vars>
</skin>

View file

@ -0,0 +1,54 @@
<!-- 검색된 글 목록이 있고 권한이 있을 경우 출력 -->
<!--@if($grant->list)-->
<!--@if($category || $search_keyword)-->
<!--@if($oDocument->isExists())-->
<div class="viewDocument">
<!--#include("./view_document.html")-->
</div>
<!--@end-->
<!--// 글이 선택되어 있거나 검색어가 있으면 목록을 출력 -->
<!--#include("./style.list.html")-->
<!--@elseif($oDocument->isExists())-->
<div class="viewDocument">
<!--#include("./view_document.html")-->
</div>
<!--@else-->
<!--// 공지사항 -->
<!--@if($notice_list)-->
<div class="blogNotice">
<!--@foreach($notice_list as $no => $document)-->
<div class="item">
<span class="date">[{$document->getRegdate("Y-m-d")}]</span>
<a href="{getUrl('document_srl',$document->document_srl,'cpage','')}">{$document->getTitle()}</a>
<!--@if($document->getCommentCount())-->
<span class="replyAndTrackback" title="Replies"><img src="./images/{$module_info->colorset}/iconReply.gif" alt="" width="12" height="12" class="icon" /> <strong>{$document->getCommentCount()}</strong></span>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<span class="replyAndTrackback" title="Trackbacks"><img src="./images/{$module_info->colorset}/iconTrackback.gif" alt="" width="12" height="13" class="trackback icon" /> <strong>{$document->getTrackbackCount()}</strong></span>
<!--@end-->
{$document->printExtraImages(60*60*$module_info->duration_new)}
</div>
<!--@end-->
</div>
<!--@end-->
<!--// 일반글 -->
<!--@foreach($document_list as $no => $oDocument)-->
<div class="viewDocument">
<!--#include("./view_document.html")-->
</div>
<!--@end-->
<!--@end-->
<!--@end-->

View file

@ -0,0 +1,144 @@
<!-- 목록 출력 -->
<form action="./" method="get">
<table cellspacing="0" summary="" class="boardList">
<thead>
{@ $no_line_class = " no_line" }
<tr>
<!--@if($grant->is_admin)-->
<th scope="col" class="checkbox{$no_line_class}"><div>
<input type="checkbox" onclick="clickCheckBoxAll(this.form, 'cart'); return false;" />
</div></th>
{@ $no_line_class=""}
<!--@end-->
<th scope="col" class="topic{$no_line_class}"><div>
<!--@if($module_info->use_category == "Y")-->
<!--// 카테고리 사용시 카테고리 선택 표시 -->
<select name="category" id="board_category">
<option value="">{$lang->category}</option>
<!--@foreach($category_list as $val)-->
<option value="{$val->category_srl}" <!--@if($category==$val->category_srl)-->selected="selected"<!--@end-->>{str_repeat("&nbsp;&nbsp;",$val->depth)} {$val->title} <!--@if($val->document_count)-->({$val->document_count})<!--@end--></option>
<!--@end-->
</select>
<input type="button" name="go_button" id="go_button" value="GO" onclick="doChangeCategory(); return false;" class="buttonTypeGo" />
<!--@else-->
{$lang->topic}
<!--@end-->
</div></th>
<th class="reading" scope="col"><div>
<a href="{getUrl('sort_index','comment_count','order_type',$order_type)}">{$lang->replies}<!--@if($sort_index=='comment_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a>
</div></th>
<th class="reading" scope="col"><div>
<a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}<!--@if($sort_index=='readed_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a>
</div></th>
<th scope="col" class="date"><div>
<a href="{getUrl('sort_index','last_update','order_type',$order_type)}">{$lang->last_post}<!--@if($sort_index=='last_update')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a>
</div></th>
</tr>
</thead>
<tbody>
<!--@if(!$document_list && !$notice_list)-->
<!--// 게시물이 없으면 등록된 글이 없음을 표시 -->
<tr class="bg0 tCenter">
<td colspan="<!--@if($grant->is_admin)-->5<!--@else-->4<!--@end-->" class="title">
{$lang->no_documents}
</td>
</tr>
<!--@else-->
<!--// 공지사항 출력 -->
<!--@foreach($notice_list as $no => $document)-->
<tr class="notice">
<!--@if($grant->is_admin)-->
<td class="checkbox">
<input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> />
</td>
<!--@end-->
<td class="topic">
<strong>{$lang->notice} | <a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a></strong>
{$document->printExtraImages(60*60*$module_info->duration_new)}
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<span class="category">{$category_list[$document->get('category_srl')]->title}</span>
<!--@end-->
<div class="author">
by <strong><span class="member_{$document->get('member_srl')}">{$document->getNickName()}</span></strong> on <strong>{$document->getRegdate('Y-m-d H:i')}</strong>
</div>
</td>
<td class="commentCount">{(int)($document->get('comment_count'))}</td>
<td class="reading">{(int)($document->get('readed_count'))}</td>
<td class="latestPost">
<div class="author">
<!--@if($document->get('last_updater'))-->
by <strong>{htmlspecialchars($document->get('last_updater'))}</strong>
<!--@else-->
by <strong><span class="member_{$document->get('member_srl')}">{$document->getNickName()}</span></strong>
<!--@end-->
</div>
<div class="date">
on <strong>{zdate($document->get('last_update'),'Y-m-d H:i')}</strong>
</div>
</td>
</tr>
<!--@end-->
<!--// 일반 글 출력 -->
<!--@foreach($document_list as $no => $document)-->
<tr class="bg{($no+1)%2+1}">
<!--@if($grant->is_admin)-->
<td class="checkbox">
<input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> />
</td>
<!--@end-->
<td class="topic">
<strong><a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a></strong>
{$document->printExtraImages(60*60*$module_info->duration_new)}
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<span class="category">{$category_list[$document->get('category_srl')]->title}</span>
<!--@end-->
<div class="author">
by <strong><span class="member_{$document->get('member_srl')}">{$document->getNickName()}</span></strong> on <strong>{$document->getRegdate('Y-m-d H:i')}</strong>
</div>
</td>
<td class="commentCount">{(int)($document->get('comment_count'))}</td>
<td class="reading">{(int)($document->get('readed_count'))}</td>
<td class="latestPost">
<div class="author">
<!--@if($document->get('last_updater'))-->
by <strong>{htmlspecialchars($document->get('last_updater'))}</strong>
<!--@else-->
by <strong><span class="member_{$document->get('member_srl')}">{$document->getNickName()}</span></strong>
<!--@end-->
</div>
<div class="date">
on <strong>{zdate($document->get('last_update'),'Y-m-d H:i')}</strong>
</div>
</td>
</tr>
<!--@end-->
<!--@end-->
</tbody>
</table>
</form>

View file

@ -0,0 +1,142 @@
<!-- 목록 출력 -->
<form action="./" method="get">
<!--// 정렬을 위한 속성과 분류 박스 -->
<div class="boardSubMenu">
<!--@if($module_info->use_category == "Y")-->
<div class="fl">
<!--@if($grant->is_admin)--><input type="checkbox" onclick="clickCheckBoxAll(this.form, 'cart'); return false;" /><!--@end-->
<!--// 카테고리 사용시 카테고리 선택 표시 -->
<select name="category" id="board_category">
<option value="">{$lang->category}</option>
<!--@foreach($category_list as $val)-->
<option value="{$val->category_srl}" <!--@if($category==$val->category_srl)-->selected="selected"<!--@end-->>{str_repeat("&nbsp;",$val->depth)} {$val->title} <!--@if($val->document_count)-->({$val->document_count})<!--@end--></option>
<!--@end-->
</select>
<input type="button" name="go_button" id="go_button" value="GO" onclick="doChangeCategory(); return false;" class="buttonTypeGo" />
</div>
<!--@end-->
<div class="fr">
<!--@if($module_info->display_readed_count!='N')--><a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}<!--@if($sort_index=='readed_count')--> <img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a><!--@end-->
<!--@if($module_info->display_voted_count!='N')--><a href="{getUrl('sort_index','voted_count','order_type',$order_type)}">{$lang->voted_count}<!--@if($sort_index=='voted_count')--> <img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a><!--@end-->
<!--@if($module_info->display_regdate != 'N')--><a href="{getUrl('sort_index','regdate','order_type',$order_type)}">{$lang->date}<!--@if($sort_index=='regdate')--> <img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a><!--@end-->
<!--@if($module_info->display_last_update=='Y')--><a href="{getUrl('sort_index','last_update','order_type',$order_type)}">{$lang->last_update}<!--@if($sort_index=='last_update')--> <img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a><!--@end-->
</div>
<div class="clear"></div>
</div>
{@ $_col_count = 1; }
<!--@if(!$document_list && !$notice_list)-->
<table cellspacing="0" summary="" class="boardList">
<tr class="bg0 tCenter">
<td class="title no_line">
{$lang->no_documents}
</td>
</tr>
</table>
<!--@else-->
<!--// 공지사항 출력 -->
<!--@foreach($notice_list as $no => $document)-->
<table cellspacing="0" summary="" class="boardList boardListNoTopBorder">
<!--@if($module_info->display_number!='N')--><col width="80" />{@ $_col_count++}<!--@end-->
<!--@if($grant->is_admin)--><col width="30" />{@ $_col_count++}<!--@end-->
<col />
<!--@if($module_info->display_author!='N')--><col width="120" />{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_readed_count!='N')--><col width="70" />{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_voted_count!='N')--><col width="70" />{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_regdate != 'N')--><col width="90" />{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_last_update == 'Y')--><col width="90" />{@ $_col_count++}<!--@end-->
<tbody>
<tr class="notice">
<!--@if($module_info->display_number!='N')--><td class="notice">{$lang->notice}</td><!--@end-->
<!--@if($grant->is_admin)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<td class="title">
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
<!--@end-->
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<span class="replyAndTrackback" title="Replies"><img src="./images/{$module_info->colorset}/iconReply.gif" alt="" width="12" height="12" class="icon" /> <strong>{$document->getCommentCount()}</strong></span>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<span class="replyAndTrackback" title="Trackbacks"><img src="./images/{$module_info->colorset}/iconTrackback.gif" alt="" width="12" height="13" class="trackback icon" /> <strong>{$document->getTrackbackCount()}</strong></span>
<!--@end-->
{$document->printExtraImages(60*60*$module_info->duration_new)}
</td>
<!--@if($module_info->display_author!='N')--><td class="author"><div class="member_{$document->get('member_srl')}">{$document->getNickName()}</div></td><!--@end-->
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):'&nbsp;'}</td><!--@end-->
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):'&nbsp;'}</td><!--@end-->
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td><!--@end-->
</tr>
</tbody>
</table>
<!--@end-->
<!--// 갤러리 목록 출력 -->
{@ $height = $module_info->thumbnail_height + 50; }
<!--@if($module_info->use_category=='Y')-->{@ $height += 20 }<!--@end-->
<!--@if($module_info->display_author!='N' || $module_info->display_regdate!='N')-->{@ $height += 25 }<!--@end-->
<!--@if($module_info->display_readed_count !='N' || $module_info->display_voted_count!='N')-->{@ $height += 25 }<!--@end-->
<div class="thumbnailBox">
<!--@foreach($document_list as $no => $document)-->
<!--@if(!$document->isNotice())-->
<div class="cell" style="width:{$module_info->thumbnail_width+30}px;height:{$height}px;">
<!--@if($document->thumbnailExists($module_info->thumbnail_width, $module_info->thumbnail_height, $module_info->thumbnail_type))-->
<a href="{getUrl('document_srl',$document->document_srl,'listStyle',$listStyle, 'cpage','')}"><img src="{$document->getThumbnail($module_info->thumbnail_width, $module_info->thumbnail_height, $module_info->thumbnail_type)}" border="0" alt="" class="thumb"/></a>
<!--@else-->
<img src="./images/common/blank.gif" border="0" alt="" class="thumb" width="{$module_info->thumbnail_width}" height="{$module_info->thumbnail_height}" />
<!--@end-->
<div class="title">
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong><br />
<!--@end-->
<!--@if($grant->is_admin)-->
<input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> />
<!--@end-->
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<span class="replyAndTrackback" title="Replies">(<strong>{$document->getCommentCount()}</strong>)</span>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<span class="replyAndTrackback" title="Trackbacks">[<strong>{$document->getTrackbackCount()}</strong>]</span>
<!--@end-->
<div class="nameAndDate">
<!--@if($module_info->display_author!='N')--><div class="author"><div class="member_{$document->get('member_srl')}">{$document->getNickName()}</div></div><!--@end-->
<!--@if($module_info->display_regdate!='N')--><div class="date">{$document->getRegdate('Y.m.d')}</div><!--@end-->
</div>
</div>
<div class="readAndRecommend">
<!--@if($module_info->display_readed_count!='N')-->{$lang->readed_count} <span class="num">{$document->get('readed_count')}</span><!--@end-->
<!--@if($document->get('voted_count')!=0 && $module_info->display_voted_count!='N')-->
<!--@if($module_info->display_readed_count!='N')--><br /><!--@end-->
{$lang->voted_count} <strong class="num">{$document->get('voted_count')}</strong>
<!--@end-->
</div>
</div>
<!--@end-->
<!--@end-->
<div class="clear"></div>
</div>
<!--@end-->
</form>

View file

@ -0,0 +1,125 @@
<!-- 목록 출력 -->
{@ $_col_count = 1; }
<!--@if($module_info->display_number!='N')-->{@ $_col_count++}<!--@end-->
<!--@if($grant->is_admin)-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_author!='N')-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_readed_count!='N')-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_voted_count!='N')-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_regdate != 'N')-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_last_update == 'Y')-->{@ $_col_count++}<!--@end-->
<form action="./" method="get">
<table cellspacing="0" summary="" class="boardList">
<!--@if($_col_count>1)-->
<thead>
{@ $no_line_class = " no_line" }
<tr>
<!--@if($module_info->display_number!='N')--><th scope="col" class="num{$no_line_class}"><div>{$lang->no}</div></th>{@ $no_line_class=""}<!--@end-->
<!--@if($grant->is_admin)--><th scope="col" class="checkbox{$no_line_class}"><input type="checkbox" onclick="clickCheckBoxAll(this.form, 'cart'); return false;" /></th>{@ $no_line_class=""}<!--@end-->
<th scope="col" class="<!--@if($module_info->use_category == 'Y')-->category<!--@else-->title<!--@end-->{$no_line_class}"><div>
<!--@if($module_info->use_category == "Y")-->
<!--// 카테고리 사용시 카테고리 선택 표시 -->
<select name="category" id="board_category">
<option value="">{$lang->category}</option>
<!--@foreach($category_list as $val)-->
<option value="{$val->category_srl}" <!--@if($category==$val->category_srl)-->selected="selected"<!--@end-->>{str_repeat("&nbsp;&nbsp;",$val->depth)} {$val->title} <!--@if($val->document_count)-->({$val->document_count})<!--@end--></option>
<!--@end-->
</select>
<input type="button" name="go_button" id="go_button" value="GO" onclick="doChangeCategory(); return false;" class="buttonTypeGo" />
<!--@else-->
{$lang->title}
<!--@end-->
</div></th>
<!--@if($module_info->display_author!='N')--><th class="author" scope="col"><div>{$lang->writer}</div></th><!--@end-->
<!--@if($module_info->display_readed_count!='N')--><th class="reading" scope="col"><div><a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}<!--@if($sort_index=='readed_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></div></th><!--@end-->
<!--@if($module_info->display_voted_count!='N')--><th class="recommend" scope="col"><div><a href="{getUrl('sort_index','voted_count','order_type',$order_type)}">{$lang->voted_count}<!--@if($sort_index=='voted_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></div></th><!--@end-->
<!--@if($module_info->display_regdate != 'N')--><th scope="col" class="date"><div><a href="{getUrl('sort_index','regdate','order_type',$order_type)}">{$lang->date}<!--@if($sort_index=='regdate')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></div></th><!--@end-->
<!--@if($module_info->display_last_update=='Y')--><th scope="col" class="date"><div><a href="{getUrl('sort_index','last_update','order_type',$order_type)}">{$lang->last_update}<!--@if($sort_index=='last_update')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></div></th><!--@end-->
</tr>
</thead>
<!--@end-->
<tbody>
<!--@if(!$document_list && !$notice_list)-->
<!--// 게시물이 없으면 등록된 글이 없음을 표시 -->
<tr class="bg0 tCenter">
<td colspan="{$_col_count}" class="title">
{$lang->no_documents}
</td>
</tr>
<!--@else-->
<!--// 공지사항 출력 -->
<!--@foreach($notice_list as $no => $document)-->
<tr class="notice">
<!--@if($module_info->display_number!='N')--><td class="notice"><!--@if($document_srl == $document->document_srl)--><img src="./images/common/iconArrowD8.gif" border="0" alt="" /><!--@else-->{$lang->notice}<!--@end--></td><!--@end-->
<!--@if($grant->is_admin)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<td class="title">
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
<!--@end-->
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<span class="replyAndTrackback" title="Replies"><img src="./images/{$module_info->colorset}/iconReply.gif" alt="" width="12" height="12" class="icon" /> <strong>{$document->getCommentCount()}</strong></span>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<span class="replyAndTrackback" title="Trackbacks"><img src="./images/{$module_info->colorset}/iconTrackback.gif" alt="" width="12" height="13" class="trackback icon" /> <strong>{$document->getTrackbackCount()}</strong></span>
<!--@end-->
{$document->printExtraImages(60*60*$module_info->duration_new)}
</td>
<!--@if($module_info->display_author!='N')--><td class="author"><div class="member_{$document->get('member_srl')}">{$document->getNickName()}</div></td><!--@end-->
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):'&nbsp;'}</td><!--@end-->
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):'&nbsp;'}</td><!--@end-->
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td><!--@end-->
</tr>
<!--@end-->
<!--// 일반 글 출력 -->
<!--@foreach($document_list as $no => $document)-->
<tr class="bg{($no+1)%2+1}">
<!--@if($module_info->display_number!='N')--><td class="num"><!--@if($document_srl == $document->document_srl)--><img src="./images/common/iconArrowD8.gif" border="0" alt="" /><!--@else-->{$no}<!--@end--></td><!--@end-->
<!--@if($grant->is_admin)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<td class="title">
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
<!--@end-->
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<span class="replyAndTrackback" title="Replies"><img src="./images/{$module_info->colorset}/iconReply.gif" alt="" width="12" height="12" class="icon" /> <strong>{$document->getCommentCount()}</strong></span>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<span class="replyAndTrackback" title="Trackbacks"><img src="./images/{$module_info->colorset}/iconTrackback.gif" alt="" width="12" height="13" class="trackback icon" /> <strong>{$document->getTrackbackCount()}</strong></span>
<!--@end-->
{$document->printExtraImages(60*60*$module_info->duration_new)}
</td>
<!--@if($module_info->display_author!='N')--><td class="author"><div class="member_{$document->get('member_srl')}">{$document->getNickName()}</div></td><!--@end-->
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):'&nbsp;'}</td><!--@end-->
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):'&nbsp;'}</td><!--@end-->
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td><!--@end-->
</tr>
<!--@end-->
<!--@end-->
</tbody>
</table>
</form>

View file

@ -0,0 +1,142 @@
<!-- 목록 출력 -->
<form action="./" method="get">
{@ $_col_count = 2; }
<!--@if($module_info->display_number!='N')-->{@ $_col_count++ }<!--@end-->
<!--@if($grant->is_admin)-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_author!='N')-->{@ $_col_count++ }<!--@end-->
<!--@if($module_info->display_readed_count!='N')-->{@ $_col_count++ }<!--@end-->
<!--@if($module_info->display_voted_count!='N')-->{@ $_col_count++ }<!--@end-->
<!--@if($module_info->display_regdate != 'N')-->{@ $_col_count++ }<!--@end-->
<!--@if($module_info->display_last_update == 'Y')-->{@ $_col_count++ }<!--@end-->
<table cellspacing="0" summary="" class="boardList">
<!--@if($_col_count>2)-->
<thead>
{@ $no_line_class = " no_line" }
<tr>
<!--@if($module_info->display_number!='N')--><th scope="col" class="num{$no_line_class}"><div>{$lang->no}</div></th>{@ $no_line_class=""}<!--@end-->
<!--@if($grant->is_admin)--><th scope="col" class="checkbox{$no_line_class}"><input type="checkbox" onclick="clickCheckBoxAll(this.form, 'cart'); return false;" /></th>{@ $no_line_class=""}<!--@end-->
<th scope="col" colspan="2" class="<!--@if($module_info->use_category=='Y')-->category<!--@else-->title<!--@end-->{$no_line_class}"><div>
<!--@if($module_info->use_category == "Y")-->
<select name="category" id="board_category">
<option value="" >{$lang->category}</option>
<!--@foreach($category_list as $val)-->
<option value="{$val->category_srl}" <!--@if($category==$val->category_srl)-->selected="selected"<!--@end-->>{str_repeat("&nbsp;&nbsp;",$val->depth)} {$val->title} <!--@if($val->document_count)-->({$val->document_count})<!--@end--></option>
<!--@end-->
</select>
<input type="button" name="go_button" id= "go_button" value="GO" onclick="doChangeCategory(); return false;" class="buttonTypeGo" />
<!--@else-->
{$lang->title}
<!--@end-->
</div></th>
<!--@if($module_info->display_author!='N')--><th class="author" scope="col"><div>{$lang->writer}</div></th><!--@end-->
<!--@if($module_info->display_readed_count!='N')--><th class="reading" scope="col"><div><a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">{$lang->readed_count}<!--@if($sort_index=='readed_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></div></th><!--@end-->
<!--@if($module_info->display_voted_count!='N')--><th class="recommend" scope="col"><div><a href="{getUrl('sort_index','voted_count','order_type',$order_type)}">{$lang->voted_count}<!--@if($sort_index=='voted_count')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></div></th><!--@end-->
<!--@if($module_info->display_regdate != 'N')--><th scope="col" class="date"><div><a href="{getUrl('sort_index','regdate','order_type',$order_type)}">{$lang->date}<!--@if($sort_index=='regdate')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></div></th><!--@end-->
<!--@if($module_info->display_last_update=='Y')--><th scope="col" class="date"><div><a href="{getUrl('sort_index','last_update','order_type',$order_type)}">{$lang->last_update}<!--@if($sort_index=='last_update')--><img src="./images/common/{$order_icon}" alt="" width="5" height="3" class="sort" /><!--@end--></a></div></th><!--@end-->
</tr>
</thead>
<!--@end-->
<tbody>
<!--@if(!$document_list && !$notice_list)-->
<!--// 게시물이 없으면 등록된 글이 없음을 표시 -->
<tr class="bg0">
<td colspan="{$_col_count}" class="title">
{$lang->no_documents}
</td>
</tr>
<!--@else-->
<!--// 공지사항 출력 -->
<!--@foreach($notice_list as $no => $document)-->
<tr class="notice">
<!--@if($module_info->display_number!='N')--><td class="notice">{$lang->notice}</td><!--@end-->
<!--@if($grant->is_admin)--><td class="checkbox"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<td class="title" colspan="2">
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
<!--@end-->
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<span class="replyAndTrackback" title="Replies"><img src="./images/{$module_info->colorset}/iconReply.gif" alt="" width="12" height="12" class="icon" /> <strong>{$document->getCommentCount()}</strong></span>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<span class="replyAndTrackback" title="Trackbacks"><img src="./images/{$module_info->colorset}/iconTrackback.gif" alt="" width="12" height="13" class="trackback icon" /> <strong>{$document->getTrackbackCount()}</strong></span>
<!--@end-->
{$document->printExtraImages(60*60*$module_info->duration_new)}
</td>
<!--@if($module_info->display_author!='N')--><td class="author"><div class="member_{$document->get('member_srl')}">{$document->getNickName()}</div></td><!--@end-->
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):'&nbsp;'}</td><!--@end-->
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):'&nbsp;'}</td><!--@end-->
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td><!--@end-->
</tr>
<!--@end-->
<!--// 일반 글 출력 -->
<!--@foreach($document_list as $no => $document)-->
<tr class="bg{($no+1)%2+1}">
<!--@if($module_info->display_number!='N')--><td rowspan="2" class="num"><!--@if($document_srl == $document->document_srl)--><img src="./images/common/iconArrowD8.gif" border="0" alt="" /><!--@else-->{$no}<!--@end--></td><!--@end-->
<!--@if($grant->is_admin)--><td class="checkbox" rowspan="2"><input type="checkbox" name="cart" value="{$document->document_srl}" onclick="doAddDocumentCart(this)" <!--@if($document->isCarted())-->checked="checked"<!--@end--> /></td><!--@end-->
<!--@if($document->thumbnailExists($module_info->thumbnail_width, $module_info->thumbnail_height, $module_info->thumbnail_type))-->
<td rowspan="2" class="thumb"><a href="{getUrl('document_srl',$document->document_srl,'listStyle',$listStyle, 'cpage','')}"><img src="{$document->getThumbnail($module_info->thumbnail_width, $module_info->thumbnail_height, $module_info->thumbnail_type)}" border="0" alt="" /></a></td>
<td class="webzineTitle">
<!--@else-->
<td class="webzineTitle" colspan="2">
<!--@end-->
<!--@if($module_info->use_category == "Y" && $document->get('category_srl'))-->
<strong class="category">{$category_list[$document->get('category_srl')]->title}</strong>
<!--@end-->
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getTitle($module_info->subject_cut_size)}</a>
<!--@if($document->getCommentCount())-->
<span class="replyAndTrackback" title="Replies"><img src="./images/{$module_info->colorset}/iconReply.gif" alt="" width="12" height="12" class="icon" /> <strong>{$document->getCommentCount()}</strong></span>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<span class="replyAndTrackback" title="Trackbacks"><img src="./images/{$module_info->colorset}/iconTrackback.gif" alt="" width="12" height="13" class="trackback icon" /> <strong>{$document->getTrackbackCount()}</strong></span>
<!--@end-->
{$document->printExtraImages(60*60*$module_info->duration_new)}
</td>
<!--@if($module_info->display_author!='N')--><td class="author"><div class="member_{$document->get('member_srl')}">{$document->getNickName()}</div></td><!--@end-->
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):'&nbsp;'}</td><!--@end-->
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):'&nbsp;'}</td><!--@end-->
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td><!--@end-->
</tr>
{@ $_col_count = 1; }
<!--@if(!$document->thumbnailExists($module_info->thumbnail_width, $module_info->thumbnail_height, $module_info->thumbnail_type))-->{@ $_col_count++}<!--@end-->
<!--@if($module_info->display_author!='N')-->{@ $_col_count++ }<!--@end-->
<!--@if($module_info->display_readed_count!='N')-->{@ $_col_count++ }<!--@end-->
<!--@if($module_info->display_voted_count!='N')-->{@ $_col_count++ }<!--@end-->
<!--@if($module_info->display_regdate != 'N')-->{@ $_col_count++ }<!--@end-->
<!--@if($module_info->display_last_update == 'Y')-->{@ $_col_count++ }<!--@end-->
<tr class="bg{($no+1)%2+1}">
<td colspan="{$_col_count}" class="summary">
<!--@if($grant->view)-->
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}">{$document->getSummary(120)}</a>
<!--@end-->
&nbsp;
</td>
</tr>
<!--@end-->
<!--@end-->
</tbody>
</table>
</form>

View file

@ -0,0 +1,40 @@
<!--// header.html include -->
<!--#include("header.html")-->
<!-- print tags -->
<div class="tagsBox">
<h5><img src="./images/common/iconTag.gif" alt="{$lang->tag}" width="17" height="10" class="tagIcon" /> {$lang->tag} ({count($tag_list)})</h5>
<div class="tags">
<!--@foreach($tag_list as $val)-->
<!--@if($val->count>5)-->
{@ $tag_class = "tagTypeA" }
<!--@elseif($val->count>3)-->
{@ $tag_class = "tagTypeB" }
<!--@elseif($val->count>2)-->
{@ $tag_class = "tagTypeC" }
<!--@elseif($val->count>1)-->
{@ $tag_class = "tagTypeD" }
<!--@else-->
{@ $tag_class = "tagTypeE" }
<!--@end-->
<div <!--@if($tag_class)-->class="{$tag_class}"<!--@end--> >
<!--@if($layout_info->mid)-->
<a href="{getUrl('','mid',$layout_info->mid,'search_target','tag','search_keyword',$val->tag)}">{htmlspecialchars($val->tag)}</a>
<!--@else-->
<a href="{getUrl('','mid',$mid,'search_target','tag','search_keyword',$val->tag)}">{htmlspecialchars($val->tag)}</a>
<!--@end-->
</div>
<!--@end-->
<div class="clear"></div>
</div>
</div>
<div class="clear"></div>
<div class="rightButtonBox gap1">
<a href="{getUrl('act','')}" class="button"><span>{$lang->cmd_back}</span></a>
</div>
<!--#include("footer.html")-->

View file

@ -0,0 +1,26 @@
<!-- 엮인글 목록 -->
<div class="trackbackBox">
<div class="trackbackUrl"><a name="trackback" href="{$oDocument->getTrackbackUrl()}" onclick="return false;">{$lang->trackback_url} : {$oDocument->getTrackbackUrl()}</a><div class="clear"></div></div>
<!--@if($oDocument->getTrackbackCount())-->
<!--@foreach($oDocument->getTrackbacks() as $key => $val)-->
<div class="trackbackItem">
<a name="trackback_{$val->trackback_srl}"></a>
<address>
<a href="{$val->url}" onclick="winopen(this.href);return false;">{htmlspecialchars($val->title)} - {htmlspecialchars($val->blog_name)}</a>
<a href="{getUrl('act','dispBoardDeleteTrackback','trackback_srl',$val->trackback_srl)}"><img src="./images/common/buttonDeleteX.gif" border="0" alt="delete" width="12" height="13" /></a>
<span class="date">
{zdate($val->regdate, "Y.m.d H:i")}
({$val->ipaddress})
</span>
</address>
<div>
<a href="{$val->url}" onclick="winopen(this.href);return false;">{$val->excerpt}</a>
</div>
</div>
<!--@end-->
<!--@end-->
</div>

View file

@ -0,0 +1,206 @@
<!-- 글 내용 보여주기 -->
<div class="boardRead">
<div class="originalContent">
<div class="readHeader">
<div class="titleAndUser">
<div class="title">
<h4><a href="{$oDocument->getPermanentUrl()}">{$oDocument->getTitle()}</a></h4>
</div>
<!--@if($module_info->display_author!='N')-->
<div class="userInfo">
<!--@if(!$oDocument->getMemberSrl())-->
<div class="author">
<!--@if($oDocument->isExistsHomepage())-->
<a href="{$oDocument->getHomepageUrl()}" onclick="window.open(this.href);return false;">{$oDocument->getNickName()}</a>
<!--@else-->
{$oDocument->getNickName()}
<!--@end-->
</div>
<!--@else-->
<div class="author"><span class="member_{$oDocument->get('member_srl')}">{$oDocument->getNickName()}</span></div>
<!--@end-->
</div>
<!--@end-->
<div class="clear"></div>
</div>
<div class="dateAndCount">
<div class="uri" title="{$lang->document_url}"><a href="{$oDocument->getPermanentUrl()}">{$oDocument->getPermanentUrl()}</a></div>
<div class="date" title="{$lang->regdate}">
<strong>{$oDocument->getRegdate('Y.m.d')}</strong> {$oDocument->getRegdate('H:i:s')} <!--@if($grant->is_admin || $module_info->display_ip_address!='N')-->({$oDocument->getIpaddress()})<!--@end-->
</div>
<div class="readedCount" title="{$lang->readed_count}">{$oDocument->get('readed_count')}</div>
<!--@if($oDocument->get('voted_count')!=0 || $oDocument->get('blamed_count')!=0)-->
<div class="votedCount" title="{$lang->voted_count}">
<strong>{$oDocument->get('voted_count')} / {$oDocument->get('blamed_count')}</strong>
</div>
<!--@end-->
<div class="replyAndTrackback">
<!--@if($grant->write_comment && $oDocument->allowComment()) -->
<div class="replyCount"><a href="#comment" title="{$lang->comment}"><strong>{$oDocument->getCommentcount()}</strong></a></div>
<!--@end-->
<!--@if($oDocument->allowTrackback() && $oDocument->getTrackbackCount() )-->
<div class="trackbackCount"><a href="#trackback" title="{$lang->trackback}"><strong>{$oDocument->getTrackbackCount()}</strong></a></div>
<!--@end-->
</div>
<!--@if($module_info->use_category == "Y" && $oDocument->get('category_srl'))-->
<div class="category" title="{$lang->category}"><a href="{getUrl('category',$oDocument->get('category_srl'), 'document_srl', '')}">{$category_list[$oDocument->get('category_srl')]->title}</a></div>
<!--@end-->
<div class="clear"></div>
</div>
<div class="clear"></div>
</div>
<div class="clear"></div>
<!--@if($oDocument->isExtraVarsExists() && (!$oDocument->isSecret() || $oDocument->isGranted()) )-->
<table cellspacing="0" summary="" class="extraVarsList">
<col width="150" />
<col />
<!--@foreach($module_info->extra_vars as $key => $val)-->
<!--@if($val->name)-->
<tr>
<th scope="row">{$val->name}</th>
<td>
<!--// 확장변수(extra_var)의 type에 따른 값을 출력하기 위해서 특별히 제작된 파일을 include 한다 -->
<!--#include("./extra_var_value.html")-->
</td>
</tr>
<!--@end-->
<!--@end-->
</table>
<!--@end-->
<div class="readBody">
<div class="contentBody">
<!--@if($oDocument->isSecret() && !$oDocument->isGranted())-->
<!--%import("filter/input_password.xml")-->
<div class="secretContent">
<form action="./" method="get" onsubmit="return procFilter(this, input_password)">
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="page" value="{$page}" />
<input type="hidden" name="document_srl" value="{$oDocument->document_srl}" />
<div class="title">{$lang->msg_is_secret}</div>
<div class="content"><input type="password" name="password" id="cpw" class="inputTypeText" /><span class="button"><input type="submit" value="{$lang->cmd_input}" accesskey="s" /></span></div>
</form>
</div>
<!--@else-->
{$oDocument->getContent()}
<!--@end-->
<!-- 서명 / 프로필 이미지 출력 -->
<!--@if($oDocument->getProfileImage() || $oDocument->getSignature())-->
<div class="memberSignature">
<!--@if($oDocument->getProfileImage())-->
<div class="profile"><img src="{$oDocument->getProfileImage()}" alt="profile" /></div>
<!--@end-->
<!--@if($oDocument->getSignature())-->
<div class="signature">{$oDocument->getSignature()}</div>
<!--@end-->
<div class="clear"></div>
</div>
<!--@end-->
</div>
</div>
{@ $tag_list = $oDocument->get('tag_list') }
<!--@if(count($tag_list))-->
<div class="tag">
<ul>
<!--@for($i=0;$i<count($tag_list);$i++)-->
{@ $tag = $tag_list[$i]; }
<li><a href="{getUrl('search_target','tag','search_keyword',$tag,'document_srl','')}" rel="tag">{htmlspecialchars($tag)}</a><!--@if($i<count($tag_list)-1)-->,&nbsp;<!--@end--></li>
<!--@end-->
</ul>
</div>
<!--@end-->
<!--@if($oDocument->hasUploadedFiles())-->
<div class="fileAttached">
{@ $uploaded_list = $oDocument->getUploadedFiles() }
<ul>
<!--@foreach($uploaded_list as $key => $file)-->
<li><a href="{getUrl('')}{$file->download_url}">{$file->source_filename} ({FileHandler::filesize($file->file_size)})({number_format($file->download_count)})</a></li>
<!--@end-->
</ul>
<div class="clear"></div>
</div>
<!--@end-->
</div>
<!-- 목록, 수정/삭제 버튼 -->
<div class="contentButton">
<!--@if($module_info->default_style != 'blog')-->
<a href="{getUrl('document_srl','')}" class="button"><span>{$lang->cmd_list}</span></a>
<!--@end-->
<!--@if($oDocument->isEditable())-->
<a href="{getUrl('act','dispBoardWrite','document_srl',$oDocument->document_srl,'comment_srl','')}" class="button"><span>{$lang->cmd_modify}</span></a>
<a href="{getUrl('act','dispBoardDelete','document_srl',$oDocument->document_srl,'comment_srl','')}" class="button"><span>{$lang->cmd_delete}</span></a>
<!--@end-->
</div>
</div>
<!-- 엮인글 -->
<!--@if($oDocument->allowTrackback())-->
<!--#include("./trackback.html")-->
<!--@end-->
<!-- 댓글 -->
<a name="comment"></a>
<!--#include("./comment.html")-->
<!-- 댓글 입력 폼 -->
<!--@if($grant->write_comment && $oDocument->isEnableComment() )-->
<!--%import("filter/insert_comment.xml")-->
<form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" class="boardEditor" >
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="document_srl" value="{$oDocument->document_srl}" />
<input type="hidden" name="comment_srl" value="" />
<input type="hidden" name="content" value="" />
<div class="boardWrite commentEditor">
<div class="userNameAndPw">
<!--@if(!$is_logged)-->
<label for="userName">{$lang->writer}</label>
<input type="text" name="nick_name" value="" class="userName inputTypeText" id="userName"/>
<label for="userPw">{$lang->password}</label>
<input type="password" name="password" value="" id="userPw" class="userPw inputTypeText" />
<label for="emailAddress">{$lang->email_address}</label>
<input type="text" name="email_address" value="" id="emailAddress" class="emailAddress inputTypeText"/>
<label for="homePage">{$lang->homepage}</label>
<input type="text" name="homepage" value="" id="homePage" class="homePage inputTypeText"/>
<!--@else-->
<input type="checkbox" name="notify_message" value="Y" id="notify_message" />
<label for="notify_message">{$lang->notify}</label>
<!--@end-->
<input type="checkbox" name="is_secret" value="Y" id="is_secret" />
<label for="is_secret">{$lang->secret}</label>
</div>
<div class="editor">{$oDocument->getCommentEditor()}</div>
</div>
<div class="commentButton tRight">
<span class="button"><input type="submit" value="{$lang->cmd_comment_registration}" accesskey="s" /></span>
</div>
</form>
<!--@end-->

View file

@ -0,0 +1,122 @@
<!--%import("filter/insert.xml")-->
<!--#include("header.html")-->
<form action="./" method="post" onsubmit="return procFilter(this, window.insert)" id="fo_write">
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="content" value="{$oDocument->getContentText()}" />
<input type="hidden" name="document_srl" value="{$document_srl}" />
<div class="boardWrite">
<!--@if(!$is_logged)-->
<div class="userNameAndPw">
<label for="userName">{$lang->writer}</label>
<input type="text" name="nick_name" value="{$oDocument->getNickName()}" class="userName inputTypeText" id="userName"/>
<label for="userPw">{$lang->password}</label>
<input type="password" name="password" value="" id="userPw" class="userPw inputTypeText" />
<label for="emailAddress">{$lang->email_address}</label>
<input type="text" name="email_address" value="{htmlspecialchars($oDocument->get('email_address'))}" id="emailAddress" class="emailAddress inputTypeText"/>
<label for="homePage">{$lang->homepage}</label>
<input type="text" name="homepage" value="{htmlspecialchars($oDocument->get('homepage'))}" id="homePage" class="homePage inputTypeText"/>
</div>
<!--@end-->
<div class="title">
<!--@if($module_info->use_category=="Y")-->
<select name="category_srl" class="category">
<option value="">{$lang->category}</option>
<!--@foreach($category_list as $val)-->
<option <!--@if(!$val->grant)-->disabled="disabled"<!--@endif--> value="{$val->category_srl}" <!--@if($val->grant&&$val->selected||$val->category_srl==$oDocument->get('category_srl'))-->selected="selected"<!--@endif-->>
{str_repeat("&nbsp;&nbsp;",$val->depth)} {$val->title} ({$val->document_count})
</option>
<!--@endforeach-->
</select>
<!--@else-->
<label class="title">{$lang->title}</label>
<!--@endif-->
<input type="text" name="title" class="title inputTypeText" value="{htmlspecialchars($oDocument->getTitleText())}" />
</div>
<dl class="option">
<!--@if($grant->manager)-->
{@ $_color = array('555555','222288','226622','2266EE','8866CC','88AA66','EE2222','EE6622','EEAA22','EEEE22') }
<dd><select name="title_color" id="title_color" <!--@if($oDocument->get('title_color'))-->style="background-color:#{$oDocument->get('title_color')};"<!--@end--> onchange="this.style.backgroundColor=this.options[this.selectedIndex].style.backgroundColor;">
<option value="" style="background-color:#FFFFFF;">{$lang->title_color}</option>
<!--@foreach($_color as $_col)-->
<option value="{$_col}" style="background-color:#{$_col}" <!--@if($oDocument->get('title_color')==$_col)-->selected="selected"<!--@end-->>{$lang->title_color}</option>
<!--@endforeach-->
</select></dd>
<dd>
<input type="checkbox" name="title_bold" id="title_bold" value="Y" <!--@if($oDocument->get('title_bold')=='Y')-->checked="checked"<!--@end--> />
<label for="title_bold">{$lang->title_bold}</label>
</dd>
<dd>
<input type="checkbox" name="is_notice" value="Y" <!--@if($oDocument->isNotice())-->checked="checked"<!--@end--> id="is_notice" />
<label for="is_notice">{$lang->notice}</label>
</dd>
<dd>
<input type="checkbox" name="lock_comment" value="Y" <!--@if($oDocument->isLocked())-->checked="checked"<!--@end--> id="lock_comment" />
<label for="lock_comment">{$lang->lock_comment}</label>
</dd>
<!--@endif-->
<dd>
<input type="checkbox" name="is_secret" value="Y" <!--@if($oDocument->isSecret())-->checked="checked"<!--@end--> id="is_secret" />
<label for="is_secret">{$lang->secret}</label>
</dd>
<dd>
<input type="checkbox" name="allow_comment" value="Y" <!--@if($oDocument->allowComment())-->checked="checked"<!--@end--> id="allow_comment" />
<label for="allow_comment">{$lang->allow_comment}</label>
</dd>
<dd>
<input type="checkbox" name="allow_trackback" value="Y" <!--@if($oDocument->allowTrackback())-->checked="checked"<!--@end--> id="allow_trackback" />
<label for="allow_trackback">{$lang->allow_trackback}</label>
</dd>
<!--@if($is_logged)-->
<dd>
<input type="checkbox" name="notify_message" value="Y" <!--@if($oDocument->useNotify())-->checked="checked"<!--@end--> id="notify_message" />
<label for="notify_message">{$lang->notify}</label>
</dd>
<!--@end-->
</dl>
<!--@if($module_info->extra_vars)-->
<table cellspacing="0" summary="" class="extraVarsList">
<col width="150" />
<col />
<!--@foreach($module_info->extra_vars as $key => $val)-->
<!--@if($val->name)-->
<tr>
<th scope="row">{$val->name} <!--@if($val->is_required=='Y')-->*<!--@end--></th>
<td><!--#include("./extra_var_form.html")--></td>
</tr>
<!--@endif-->
<!--@endforeach-->
</table>
<!--@endif-->
<div class="editor">{$oDocument->getEditor()}</div>
<div class="tag">
<input type="text" name="tags" value="{htmlspecialchars($oDocument->get('tags'))}" class="inputTypeText" />
<p class="info">{$lang->about_tag}</p>
</div>
</div>
<div class="fl gap1">
<!--@if($is_logged)-->
<span class="button"><input type="button" value="{$lang->cmd_temp_save}" onclick="doDocumentSave(this); return false;" /></span>
<span class="button"><input type="button" value="{$lang->cmd_load}" onclick="doDocumentLoad(this); return false;" /></span>
<!--@end-->
</div>
<div class="fr gap1">
<span class="button"><input type="button" value="{$lang->cmd_back}" onclick="location.href='{getUrl('act','')}'" /></span>
<span class="button"><input type="button" value="{$lang->cmd_preview}" onclick="doDocumentPreview(this); return false;" /></span>
<span class="button"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
</div>
<div class="clear"></div>
</form>
<!--#include("footer.html")-->