mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 23:59:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@2057 201d5d3c-b55e-5fd7-737f-ddc643e51545
60 lines
2.6 KiB
HTML
60 lines
2.6 KiB
HTML
<!-- 설정된 컬러셋의 종류에 따라서 css파일을 import 합니다 -->
|
|
|
|
<!--%import("css/normal.css")-->
|
|
|
|
<div id="calendar">
|
|
<table cellspacing="0">
|
|
|
|
<caption>
|
|
<a href="{getUrl('search_target','regdate','search_keyword',$widget_info->prev_month)}"><img src="./images/buttonArrowCalendarLeft.gif" alt="prev" height="13" width="13"></a>{zdate($widget_info->cur_date,"Y")}.<span class="mm">{zdate($widget_info->cur_date,"m")}</span><a href="{getUrl('search_target','regdate','search_keyword',$widget_info->next_month)}"><img src="./images/buttonArrowCalendarRight.gif" alt="next" height="13" width="13"></a>
|
|
</caption>
|
|
|
|
{@ $day = ''}
|
|
<tbody>
|
|
<!--@for($i=0;$i<6;$i++)-->
|
|
<!--@if($day < $widget_info->last_day)-->
|
|
<tr>
|
|
<!--@for($j=0;$j<7;$j++)-->
|
|
|
|
{@ $num = $i*7 + $j}
|
|
<!--@if(!$started && $num >= $widget_info->start_week)-->
|
|
{@ $started = true}
|
|
{@ $day = 1}
|
|
{@ $cur_date = $widget_info->cur_date.sprintf('%02d',$day) }
|
|
<!--@elseif($started)-->
|
|
{@ $day++}
|
|
{@ $cur_date = $widget_info->cur_date.sprintf('%02d',$day) }
|
|
<!--@end-->
|
|
|
|
<!--@if($cur_date == date("Ymd"))-->{@ $today_class = "today"}<!--@else-->{@ $today_class = ""}<!--@end-->
|
|
|
|
<!--@if($j==0)-->{@ $cell_class_name = "sun"}<!--@else-->{@ $cell_class_name = ""}<!--@end-->
|
|
|
|
<!--@if($widget_info->calendar[$cur_date])-->
|
|
{@ $item_class_name = "posted"}
|
|
<!--@if($layout_info->mid)-->
|
|
{@ $day_link = getUrl('','mid',$layout_info->mid,'search_target','regdate','search_keyword',$cur_date) }
|
|
<!--@else-->
|
|
{@ $day_link = getUrl('','mid',$mid,'search_target','regdate','search_keyword',$cur_date) }
|
|
<!--@end-->
|
|
<!--@else-->
|
|
{@ $item_class_name = ""}
|
|
{@ $day_link = ''}
|
|
<!--@end-->
|
|
|
|
<td class="{$today_class} {$cell_class_name} {$item_class_name}">
|
|
<!--@if($day <= $widget_info->last_day)-->
|
|
<!--@if($day_link)-->
|
|
<a href="{$day_link}">{$day}</a>
|
|
<!--@else-->
|
|
{$day}
|
|
<!--@end-->
|
|
<!--@end-->
|
|
</td>
|
|
<!--@end-->
|
|
</tr>
|
|
<!--@end-->
|
|
<!--@end-->
|
|
</tbody>
|
|
</table>
|
|
</div>
|