mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-13 16:34:52 +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
|
|
@ -37,11 +37,10 @@
|
|||
|
||||
// 템플릿 파일에서 사용할 변수들을 세팅
|
||||
Context::set('title', $title);
|
||||
Context::set('list', $list);
|
||||
Context::set('document_list', $output->data);
|
||||
|
||||
// 템플릿 컴파일
|
||||
$oTemplate = new TemplateHandler();
|
||||
debugPrint($tpl_path);
|
||||
return $oTemplate->compile($tpl_path, $tpl_file);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,21 @@
|
|||
<!--%import("style.css")-->
|
||||
<div class="newest_document_default_box">
|
||||
<div class="title">{$title}</div>
|
||||
<div class="title_box">
|
||||
<div class="title">{$title}</div>
|
||||
</div>
|
||||
|
||||
<!--@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-->
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -2,13 +2,63 @@
|
|||
padding:5px;
|
||||
}
|
||||
|
||||
.newest_document_default_box .title {
|
||||
font-weight:bold;
|
||||
border-bottom:1px solid #EEEEEE;
|
||||
.newest_document_default_box .title_box {
|
||||
border:1px solid #EEEEEE;
|
||||
padding:5px;
|
||||
}
|
||||
|
||||
.newest_document_default_box .item {
|
||||
border-bottom:1px solid #EEEEEE;
|
||||
padding:5px;
|
||||
.newest_document_default_box .title {
|
||||
background:url(./images/title_bullet.gif) no-repeat left;
|
||||
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