플래닛모듈의 이전/다음 날짜를 DB를 통해서 글이 존재하는 날짜를 구하도록 코드 변경

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5140 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-12-22 02:12:20 +00:00
parent 8175cbc67b
commit bcd0ec91fb
5 changed files with 47 additions and 6 deletions

View file

@ -83,12 +83,12 @@
<!--@if($date && !($act=='dispPlanetLogin' || $act=='dispPlanetContentTagSearch' || $act=='dispPlanetTagSearch' || $act=='dispPlanetContentSearch'))-->
<div class="timeNav">
<a class="prev" href="{getUrl('date',$prev_date)}" title="{$lang->cmd_prev}">&lt;</a>
<!--@if($prev_date)--><a class="prev" href="{getUrl('date',$prev_date)}" title="{$lang->cmd_prev}">&lt;</a><!--@end-->
<strong>{zdate($date,'Y')}</strong>{$lang->unit_year}
<strong>{zdate($date,'m')}</strong>{$lang->unit_month}
<strong>{zdate($date,'d')}</strong>{$lang->unit_day}
(<em>{zdate($date,'l')}</em>)
<a class="next" href="{getUrl('date',$next_date)}" title="{$lang->cmd_next}">&gt;</a>
<!--@if($next_date)--><a class="next" href="{getUrl('date',$next_date)}" title="{$lang->cmd_next}">&gt;</a><!--@end-->
</div>
<!--@end-->
</div>