function getNowDate(){
$top[
'date'
] = date(
'Y.n.j'
,time());
if
(date(
'w'
,time())==
'1'
){$topWeek=
"星期一"
;};
if
(date(
'w'
,time())==
'2'
){$topWeek=
"星期二"
;};
if
(date(
'w'
,time())==
'3'
){$topWeek=
"星期三"
;};
if
(date(
'w'
,time())==
'4'
){$topWeek=
"星期四"
;};
if
(date(
'w'
,time())==
'5'
){$topWeek=
"星期五"
;};
if
(date(
'w'
,time())==
'6'
){$topWeek=
"星期六"
;};
if
(date(
'w'
,time())==
'0'
){$topWeek=
"星期日"
;};
$top[
'week'
] = $topWeek;
$top[
'year'
] = date(
"Y"
);
$top[
'month'
] = date(
"n"
);
return
$top;
}