$len_sub = 15;//제목글 길이
$new_time = 24;//new아이콘을 표시할 시간
$now_time = mktime();//현재시간
//-----------------------------------------
include_once $g['dir_module_skin']."/sun2moon.func.php";
include_once $g['dir_module_skin']."/special.date.php";
$viewuser_id = $my['uid'] ? $my['uid'] : -1;
$inbox = $inbox ? $inbox : 1;
$grp = $grp ? $grp : 'month';
$nday = $nday ? $nday : date('d');
$nmonth = $nmonth ? $nmonth : date('m');
$nyear = $nyear ? $nyear : date('Y');
$now_y = date('Y');
$now_m = date('m');
$now_d = date('d');
$nweek = date('w',mktime(0,0,0,$nmonth,$nday,$nyear));
$prev = date('Ymd',mktime(0,0,0,$nmonth-1,$nday,$nyear));
$next = date('Ymd',mktime(0,0,0,$nmonth+1,$nday,$nyear));
$prev_y = substr($prev,0,4);
$prev_m = substr($prev,4,2);
$prev_d = substr($prev,6,2);
$next_y = substr($next,0,4);
$next_m = substr($next,4,2);
$next_d = substr($next,6,2);
$firstday = mktime(0,0,0,$nmonth,1,$nyear);
$startday = date('w',$firstday);
$endday = date('t',$firstday);
?>