mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4758 201d5d3c-b55e-5fd7-737f-ddc643e51545
213 lines
7.9 KiB
HTML
213 lines
7.9 KiB
HTML
<!-- 글 내용 보여주기 -->
|
|
<div class="boardRead">
|
|
|
|
<div class="boardReadHeader">
|
|
|
|
<h3 class="title"><a href="{$oDocument->getPermanentUrl()}">{$oDocument->getTitle()}</a></h3>
|
|
|
|
<!--@if($module_info->display_author!='N')-->
|
|
<em>
|
|
<!--@if(!$oDocument->getMemberSrl())-->
|
|
<!--@if($oDocument->isExistsHomepage())-->
|
|
<a href="{$oDocument->getHomepageUrl()}" onclick="window.open(this.href);return false;">{$oDocument->getNickName()}</a>
|
|
<!--@else-->
|
|
{$oDocument->getNickName()}
|
|
<!--@end-->
|
|
<!--@else-->
|
|
<a href="#popup_menu_area" class="member_{$oDocument->get('member_srl')}" onclick="return false">{$oDocument->getNickName()}</a>
|
|
<!--@end-->
|
|
</em>
|
|
<!--@end-->
|
|
|
|
</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="boardReadBody">
|
|
<!--@if($oDocument->isSecret() && !$oDocument->isGranted())-->
|
|
<!--%import("filter/input_password.xml")-->
|
|
<form action="./" method="get" onsubmit="return procFilter(this, input_password)" class="secretMessage">
|
|
<input type="hidden" name="mid" value="{$mid}" />
|
|
<input type="hidden" name="page" value="{$page}" />
|
|
<input type="hidden" name="document_srl" value="{$oDocument->document_srl}" />
|
|
|
|
<p>"{$lang->msg_is_secret}"</p>
|
|
<dl>
|
|
<dt><label for="cpw">비밀번호</label> :</dt>
|
|
<dd><input type="password" name="password" id="cpw" class="inputText" /><span class="button red"><input type="submit" value="{$lang->cmd_input}" /></span></dd>
|
|
</dl>
|
|
|
|
</form>
|
|
<!--@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>
|
|
<!--@end-->
|
|
</div>
|
|
|
|
<div class="boardReadFooter">
|
|
|
|
<div class="footerLeft">
|
|
|
|
<!--@if($module_info->use_category == "Y" && $oDocument->get('category_srl'))-->
|
|
<dl>
|
|
<dt>Category :</dt>
|
|
<dd title="{$lang->category}"><a href="{getUrl('category',$oDocument->get('category_srl'), 'document_srl', '')}">{$category_list[$oDocument->get('category_srl')]->title}</a></dd>
|
|
</dl>
|
|
<!--@end-->
|
|
|
|
|
|
{@ $tag_list = $oDocument->get('tag_list') }
|
|
<!--@if(count($tag_list))-->
|
|
<dl class="tag">
|
|
<dt>Tag :</dt>
|
|
<!--@for($i=0;$i<count($tag_list);$i++)-->
|
|
{@ $tag = $tag_list[$i]; }
|
|
<dd><a href="{getUrl('search_target','tag','search_keyword',$tag,'document_srl','')}" rel="tag">{htmlspecialchars($tag)}</a></dd>
|
|
<!--@end-->
|
|
</dl>
|
|
<!--@end-->
|
|
|
|
<!--@if($oDocument->hasUploadedFiles())-->
|
|
<dl class="attachedFile">
|
|
<dt>Attached File :</dt>
|
|
{@ $uploaded_list = $oDocument->getUploadedFiles() }
|
|
<!--@foreach($uploaded_list as $key => $file)-->
|
|
<dd><a href="{getUrl('')}{$file->download_url}">{$file->source_filename} <span class="bubble">[File Size:{FileHandler::filesize($file->file_size)}/Download:{number_format($file->download_count)}]</span></a></dd>
|
|
<!--@end-->
|
|
</dl>
|
|
<!--@end-->
|
|
</div>
|
|
|
|
<div class="footerRight">
|
|
|
|
<dl>
|
|
<dt>Read :</dt>
|
|
<dd title="{$lang->readed_count}">{$oDocument->get('readed_count')}</dd>
|
|
<!--@if($oDocument->get('voted_count')!=0 || $oDocument->get('blamed_count')!=0)-->
|
|
<dt>Vote :</dt>
|
|
<dd title="{$lang->voted_count}">{$oDocument->get('voted_count')} / {$oDocument->get('blamed_count')}</dd>
|
|
<!--@end-->
|
|
<dt>Time :</dt>
|
|
<dd title="{$lang->regdate}">{$oDocument->getRegdate('Y.m.d')}</dd>
|
|
<dd>{$oDocument->getRegdate('H:i:s')} <!--@if($grant->is_admin || $module_info->display_ip_address!='N')-->({$oDocument->getIpaddress()})<!--@end--></dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Tracback :</dt>
|
|
<dd><a name="trackback" href="{$oDocument->getTrackbackUrl()}" onclick="return false;">{$oDocument->getTrackbackUrl()}</a></dd>
|
|
</dl>
|
|
|
|
<dl>
|
|
<dt>Permalink :</dt>
|
|
<dd title="{$lang->document_url}"><a href="{$oDocument->getPermanentUrl()}">{$oDocument->getPermanentUrl()}</a></dd>
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 목록, 수정/삭제 버튼 -->
|
|
<div class="boardNavigation">
|
|
<!--@if($module_info->default_style != 'blog')-->
|
|
<div class="buttonLeft">
|
|
<a href="{getUrl('document_srl','')}" class="button"><span>{$lang->cmd_list}</span></a>
|
|
</div>
|
|
<!--@end-->
|
|
|
|
<!--@if($oDocument->isEditable())-->
|
|
<div class="buttonRight">
|
|
<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>
|
|
</div>
|
|
<!--@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">
|
|
|
|
<h3 class="commentHeader">댓글 쓰기</h3>
|
|
|
|
<div class="userNameAndPw">
|
|
<!--@if(!$is_logged)-->
|
|
<dl>
|
|
<dt><label for="userName">{$lang->writer}</label> :</dt>
|
|
<dd class="userName"><input type="text" name="nick_name" value="{$oDocument->getNickName()}" class="inputText" id="userName"/></dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><label for="userPw">{$lang->password}</label> :</dt>
|
|
<dd class="userPw"><input type="password" name="password" value="" id="userPw" class="inputText" /></dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><label for="emailAddress">{$lang->email_address}</label> :</dt>
|
|
<dd class="emailAddress"><input type="text" name="email_address" value="{htmlspecialchars($oDocument->get('email_address'))}" id="emailAddress" class="inputText"/></dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><label for="homePage">{$lang->homepage}</label> :</dt>
|
|
<dd class="homePage"><input type="text" name="homepage" value="{htmlspecialchars($oDocument->get('homepage'))}" id="homePage" class="inputText"/></dd>
|
|
</dl>
|
|
|
|
<!--@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 class="boardNavigation">
|
|
<span class="button red"><input type="submit" value="{$lang->cmd_comment_registration}" accesskey="s" /></span>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
<!--@end-->
|