<HTML>
<HEAD>
<TITLE>title</TITLE>
</HEAD>
<STYLE type='text/css'>
A:link {color:black;text-decoration:none;}
A:visited {color:black;text-decoration:none;}
A:hover {color:#0066cc;text-decoration:none;}
p,br,body,td {font-size:9pt;}
color:#0099cc; background-color:white}
</STYLE>
<BODY>
<TABLE width = '100%' height = '100%'>
<TR>
<TD align = 'center'>
<?php
if (!$year)
$year = date("Y");
if (!$month)
$month = date("m");
$day = 1;
$spacer = spacer( $year, $month, $day );
$endday = array( 31, 28, 31, 30 , 31, 30, 31, 31, 30 ,31 ,30, 31 );
if( $year%4 == 0 && $year%100 != 0 || $year%400 == 0 )
$endday[1] = 29;
else
$endday[1] = 28;
echo("
<FONT color='#0066cc'>${year}년</FONT>
<TABLE>
<TR>
<TD colspan = 7>
");
for( $i = 1; $i <= 12; $i++ )
{
if( $i == $month )
{
echo("<A href = '$PHP_SELF?year=$year&month=$i'><FONT color='red'>${i}월 </FONT></A>");
}
else
echo("<A href = '$PHP_SELF?year=$year&month=$i'>${i}월 </A>");
}
echo("
</TD>
</TR>
</TABLE>
<TABLE>
<TR>
<TD align='center'>일</TD>
<TD align='center'>월</TD>
<TD align='center'>화</TD>
<TD align='center'>수</TD>
<TD align='center'>목</TD>
<TD align='center'>금</TD>
<TD align='center'>토</TD>
</TR>
<TR>
");
for( $i = 0; $i < $spacer; $i++ )
{
echo("
<TD> </TD>
");
$tr++;
}
for( $i = 1; $i <= $endday[$month-1]; $i++ )
{
if( $tr % 7 == 0 )
{
echo("
</TR>
<TR>
<TD align = 'right'>$i</TD>
");
$tr++;
}
else
{
echo("
<TD align = 'right'>$i</TD>
");
$tr++;
}
}
$next_year = $year + 1;
$priv_year = $year - 1;
$next_year_ten = $next_year + 9;
$priv_year_ten = $priv_year - 9;
echo("
</TR>
</TABLE>
<A href = '$PHP_SELF?year=$priv_year_ten&month=$month'> << </A>
<A href = '$PHP_SELF?year=$priv_year&month=$month'> [-1] </A>
<A href = '$PHP_SELF?year=$next_year&month=$month'> [+1] </A>
<A href = '$PHP_SELF?year=$next_year_ten&month=$month'> >> </A>
");
function spacer( $year, $month, $day )
{
$spacer = array(0, 3, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4);
$year = $year - ($month < 3);
$result = ($year + (int) ($year/4) - (int) ($year/100) + (int) ($year/400) + $spacer[$month-1] + $day) % 7;
return $result;
}
?>
</TD>
</TR>
</BODY>
</HTML>
<HEAD>
<TITLE>title</TITLE>
</HEAD>
<STYLE type='text/css'>
A:link {color:black;text-decoration:none;}
A:visited {color:black;text-decoration:none;}
A:hover {color:#0066cc;text-decoration:none;}
p,br,body,td {font-size:9pt;}
color:#0099cc; background-color:white}
</STYLE>
<BODY>
<TABLE width = '100%' height = '100%'>
<TR>
<TD align = 'center'>
<?php
if (!$year)
$year = date("Y");
if (!$month)
$month = date("m");
$day = 1;
$spacer = spacer( $year, $month, $day );
$endday = array( 31, 28, 31, 30 , 31, 30, 31, 31, 30 ,31 ,30, 31 );
if( $year%4 == 0 && $year%100 != 0 || $year%400 == 0 )
$endday[1] = 29;
else
$endday[1] = 28;
echo("
<FONT color='#0066cc'>${year}년</FONT>
<TABLE>
<TR>
<TD colspan = 7>
");
for( $i = 1; $i <= 12; $i++ )
{
if( $i == $month )
{
echo("<A href = '$PHP_SELF?year=$year&month=$i'><FONT color='red'>${i}월 </FONT></A>");
}
else
echo("<A href = '$PHP_SELF?year=$year&month=$i'>${i}월 </A>");
}
echo("
</TD>
</TR>
</TABLE>
<TABLE>
<TR>
<TD align='center'>일</TD>
<TD align='center'>월</TD>
<TD align='center'>화</TD>
<TD align='center'>수</TD>
<TD align='center'>목</TD>
<TD align='center'>금</TD>
<TD align='center'>토</TD>
</TR>
<TR>
");
for( $i = 0; $i < $spacer; $i++ )
{
echo("
<TD> </TD>
");
$tr++;
}
for( $i = 1; $i <= $endday[$month-1]; $i++ )
{
if( $tr % 7 == 0 )
{
echo("
</TR>
<TR>
<TD align = 'right'>$i</TD>
");
$tr++;
}
else
{
echo("
<TD align = 'right'>$i</TD>
");
$tr++;
}
}
$next_year = $year + 1;
$priv_year = $year - 1;
$next_year_ten = $next_year + 9;
$priv_year_ten = $priv_year - 9;
echo("
</TR>
</TABLE>
<A href = '$PHP_SELF?year=$priv_year_ten&month=$month'> << </A>
<A href = '$PHP_SELF?year=$priv_year&month=$month'> [-1] </A>
<A href = '$PHP_SELF?year=$next_year&month=$month'> [+1] </A>
<A href = '$PHP_SELF?year=$next_year_ten&month=$month'> >> </A>
");
function spacer( $year, $month, $day )
{
$spacer = array(0, 3, 2, 5, 0, 3, 5, 1, 4, 6, 2, 4);
$year = $year - ($month < 3);
$result = ($year + (int) ($year/4) - (int) ($year/100) + (int) ($year/400) + $spacer[$month-1] + $day) % 7;
return $result;
}
?>
</TD>
</TR>
</BODY>
</HTML>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 7730 | 10년 전 | 1312 | ||
| 7729 | 10년 전 | 1167 | ||
| 7728 |
잘살아보자
|
10년 전 | 612 | |
| 7727 |
잘살아보자
|
10년 전 | 508 | |
| 7726 |
잘살아보자
|
10년 전 | 837 | |
| 7725 |
잘살아보자
|
10년 전 | 566 | |
| 7724 |
잘살아보자
|
10년 전 | 480 | |
| 7723 |
잘살아보자
|
10년 전 | 544 | |
| 7722 |
잘살아보자
|
10년 전 | 484 | |
| 7721 |
잘살아보자
|
10년 전 | 514 | |
| 7720 |
잘살아보자
|
10년 전 | 481 | |
| 7719 |
비긴어게인
|
10년 전 | 697 | |
| 7718 |
|
10년 전 | 2546 | |
| 7717 |
잘살아보자
|
10년 전 | 664 | |
| 7716 |
잘살아보자
|
10년 전 | 410 | |
| 7715 |
잘살아보자
|
10년 전 | 440 | |
| 7714 |
잘살아보자
|
10년 전 | 504 | |
| 7713 | 10년 전 | 1790 | ||
| 7712 | 10년 전 | 1728 | ||
| 7711 | 10년 전 | 1113 | ||
| 7710 | 10년 전 | 1407 | ||
| 7709 | 10년 전 | 1526 | ||
| 7708 | 10년 전 | 1466 | ||
| 7707 | 10년 전 | 865 | ||
| 7706 |
별지기천사
|
10년 전 | 580 | |
| 7705 | 10년 전 | 1084 | ||
| 7704 |
ICONdesignstudio
|
10년 전 | 632 | |
| 7703 | 10년 전 | 599 | ||
| 7702 |
|
10년 전 | 738 | |
| 7701 | 10년 전 | 1428 | ||
| 7700 | 10년 전 | 1115 | ||
| 7699 | 10년 전 | 586 | ||
| 7698 | 10년 전 | 1154 | ||
| 7697 | 10년 전 | 5178 | ||
| 7696 | 10년 전 | 669 | ||
| 7695 | 10년 전 | 1695 | ||
| 7694 | 10년 전 | 1074 | ||
| 7693 | 10년 전 | 1562 | ||
| 7692 | 10년 전 | 1308 | ||
| 7691 | 10년 전 | 835 | ||
| 7690 | 10년 전 | 1397 | ||
| 7689 | 10년 전 | 1024 | ||
| 7688 | 10년 전 | 628 | ||
| 7687 |
파랑새1597
|
10년 전 | 606 | |
| 7686 | 10년 전 | 863 | ||
| 7685 | 10년 전 | 1351 | ||
| 7684 | 10년 전 | 806 | ||
| 7683 | 10년 전 | 1114 | ||
| 7682 | 10년 전 | 1035 | ||
| 7681 | 10년 전 | 676 | ||
| 7680 | 10년 전 | 997 | ||
| 7679 | 10년 전 | 518 | ||
| 7678 | 10년 전 | 748 | ||
| 7677 | 10년 전 | 648 | ||
| 7676 |
|
10년 전 | 956 | |
| 7675 |
|
10년 전 | 1184 | |
| 7674 | 10년 전 | 1056 | ||
| 7673 | 10년 전 | 761 | ||
| 7672 | 10년 전 | 1100 | ||
| 7671 | 10년 전 | 905 | ||
| 7670 | 10년 전 | 671 | ||
| 7669 |
mashmellow
|
10년 전 | 1239 | |
| 7668 | 10년 전 | 726 | ||
| 7667 | 10년 전 | 1022 | ||
| 7666 |
senseme
|
10년 전 | 664 | |
| 7665 | 10년 전 | 522 | ||
| 7664 | 10년 전 | 1906 | ||
| 7663 |
mixx애교
|
10년 전 | 987 | |
| 7662 | 10년 전 | 1054 | ||
| 7661 |
hkhkah
|
10년 전 | 800 | |
| 7660 | 10년 전 | 1076 | ||
| 7659 |
커네드커네드
|
10년 전 | 943 | |
| 7658 |
바람돌이팡
|
10년 전 | 685 | |
| 7657 | 10년 전 | 1173 | ||
| 7656 | 10년 전 | 1586 | ||
| 7655 | 10년 전 | 1004 | ||
| 7654 |
개발짜증나
|
10년 전 | 866 | |
| 7653 |
네이비칼라
|
10년 전 | 887 | |
| 7652 |
밥먹고합시다
|
10년 전 | 816 | |
| 7651 |
플라이SINJI
|
10년 전 | 1517 | |
| 7650 |
개발짜증나
|
10년 전 | 1428 | |
| 7649 | 10년 전 | 457 | ||
| 7648 |
이미영ㅇㅇ
|
10년 전 | 876 | |
| 7647 | 10년 전 | 450 | ||
| 7646 | 10년 전 | 820 | ||
| 7645 | 10년 전 | 2328 | ||
| 7644 | 10년 전 | 826 | ||
| 7643 |
|
10년 전 | 2876 | |
| 7642 | 10년 전 | 1519 | ||
| 7641 | 10년 전 | 1148 | ||
| 7640 |
개발짜증나
|
10년 전 | 479 | |
| 7639 |
|
10년 전 | 821 | |
| 7638 |
개발짜증나
|
10년 전 | 1143 | |
| 7637 | 10년 전 | 1559 | ||
| 7636 | 10년 전 | 2920 | ||
| 7635 | 10년 전 | 1708 | ||
| 7634 | 10년 전 | 1894 | ||
| 7633 | 10년 전 | 2350 | ||
| 7632 | 10년 전 | 3959 | ||
| 7631 |
|
10년 전 | 1548 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기