mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@707 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f0e586bd06
commit
a3d6726500
4 changed files with 73 additions and 10 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
<!-- 댓글 정보 출력 -->
|
<!-- 댓글 정보 출력 -->
|
||||||
|
<a name="comment_top_{$document_srl}"></a>
|
||||||
<div>
|
<div>
|
||||||
{$lang->comment} : {count($document->comment_list)}
|
{$lang->comment} : {count($document->comment_list)}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -37,11 +37,10 @@
|
||||||
|
|
||||||
// 템플릿 파일에서 사용할 변수들을 세팅
|
// 템플릿 파일에서 사용할 변수들을 세팅
|
||||||
Context::set('title', $title);
|
Context::set('title', $title);
|
||||||
Context::set('list', $list);
|
Context::set('document_list', $output->data);
|
||||||
|
|
||||||
// 템플릿 컴파일
|
// 템플릿 컴파일
|
||||||
$oTemplate = new TemplateHandler();
|
$oTemplate = new TemplateHandler();
|
||||||
debugPrint($tpl_path);
|
|
||||||
return $oTemplate->compile($tpl_path, $tpl_file);
|
return $oTemplate->compile($tpl_path, $tpl_file);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,21 @@
|
||||||
<!--%import("style.css")-->
|
<!--%import("style.css")-->
|
||||||
<div class="newest_document_default_box">
|
<div class="newest_document_default_box">
|
||||||
|
<div class="title_box">
|
||||||
<div class="title">{$title}</div>
|
<div class="title">{$title}</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!--@foreach($document_list as $val)-->
|
<!--@foreach($document_list as $val)-->
|
||||||
<div class="item">{$val->title}</div>
|
<div class="document_box">
|
||||||
|
<div class="document">
|
||||||
|
<a href="{getUrl('','document_srl',$val->document_srl,'comment_count', $val->comment_count)}">{$val->title}</a>
|
||||||
|
<!--@if($val->comment_count)-->
|
||||||
|
<span class="comment"><a href="{getUrl('','document_srl',$val->document_srl)}#comment_top_{$val->document_srl}">( {$val->comment_count} )</a></span>
|
||||||
|
<!--@end-->
|
||||||
|
<span class="writer">
|
||||||
|
- {$val->nick_name}
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
<div class="regdate">{zdate($val->regdate, "Y-m-d")}</div>
|
||||||
|
</div>
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,63 @@
|
||||||
padding:5px;
|
padding:5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.newest_document_default_box .title {
|
.newest_document_default_box .title_box {
|
||||||
font-weight:bold;
|
border:1px solid #EEEEEE;
|
||||||
border-bottom:1px solid #EEEEEE;
|
|
||||||
padding:5px;
|
padding:5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.newest_document_default_box .item {
|
.newest_document_default_box .title {
|
||||||
border-bottom:1px solid #EEEEEE;
|
background:url(./images/title_bullet.gif) no-repeat left;
|
||||||
padding:5px;
|
font-weight:bold;
|
||||||
|
padding-left:20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.newest_document_default_box .document_box {
|
||||||
|
padding:3px 3px 3px 20px;
|
||||||
|
clear:both;
|
||||||
|
border-bottom:1px solid #EEEEEE;
|
||||||
|
height:16px;
|
||||||
|
margin:0px 0px 2px 0px;
|
||||||
|
overflow:hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.newest_document_default_box .document {
|
||||||
|
padding:0px 0px 5px 20px;
|
||||||
|
background:url(./images/document_bullet.gif) no-repeat left;
|
||||||
|
float:left;
|
||||||
|
}
|
||||||
|
|
||||||
|
.newest_document_default_box .document A {
|
||||||
|
text-decoration:none;
|
||||||
|
color:#555555;
|
||||||
|
}
|
||||||
|
|
||||||
|
.newest_document_default_box .document A:hover {
|
||||||
|
text-decoration:underline;
|
||||||
|
color:#000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.newest_document_default_box .document A:visited {
|
||||||
|
color:#AAAAAA;
|
||||||
|
}
|
||||||
|
|
||||||
|
.newest_document_default_box .document .comment A {
|
||||||
|
font-size:7pt;
|
||||||
|
font-family:tahoma;
|
||||||
|
color:#AAAAAA;
|
||||||
|
letter-spacing:-1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.newest_document_default_box .document .writer {
|
||||||
|
font-size:9pt;
|
||||||
|
font-family:tahoma;
|
||||||
|
color:#AAAAAA;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.newest_document_default_box .regdate {
|
||||||
|
color:#AAAAAA;
|
||||||
|
font-size:8pt;
|
||||||
|
font-family:tahoma;
|
||||||
|
float:right;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue