<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>
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 6530 |
퍼블리셔강
|
12년 전 | 640 | |
| 6529 | 12년 전 | 1295 | ||
| 6528 | 12년 전 | 615 | ||
| 6527 | 12년 전 | 787 | ||
| 6526 | 12년 전 | 6576 | ||
| 6525 | 12년 전 | 548 | ||
| 6524 | 12년 전 | 832 | ||
| 6523 | 12년 전 | 478 | ||
| 6522 | 12년 전 | 523 | ||
| 6521 | 12년 전 | 794 | ||
| 6520 | 12년 전 | 728 | ||
| 6519 | 12년 전 | 1730 | ||
| 6518 |
가슴시린하늘
|
12년 전 | 1718 | |
| 6517 | 12년 전 | 1354 | ||
| 6516 | 12년 전 | 5222 | ||
| 6515 | 12년 전 | 1494 | ||
| 6514 | 12년 전 | 1593 | ||
| 6513 | 12년 전 | 945 | ||
| 6512 | 12년 전 | 1968 | ||
| 6511 | 12년 전 | 1364 | ||
| 6510 | 12년 전 | 3046 | ||
| 6509 |
프로프리랜서
|
12년 전 | 2545 | |
| 6508 |
프로프리랜서
|
12년 전 | 1892 | |
| 6507 |
프로프리랜서
|
12년 전 | 2369 | |
| 6506 |
프로프리랜서
|
12년 전 | 1850 | |
| 6505 |
프로프리랜서
|
12년 전 | 1625 | |
| 6504 | 12년 전 | 1016 | ||
| 6503 | 12년 전 | 1125 | ||
| 6502 |
프로프리랜서
|
12년 전 | 5549 | |
| 6501 |
프로프리랜서
|
12년 전 | 2593 | |
| 6500 |
프로프리랜서
|
12년 전 | 3073 | |
| 6499 |
프로프리랜서
|
12년 전 | 1745 | |
| 6498 |
프로프리랜서
|
12년 전 | 1459 | |
| 6497 | 12년 전 | 801 | ||
| 6496 |
yunkiri486
|
12년 전 | 1803 | |
| 6495 | 12년 전 | 910 | ||
| 6494 | 12년 전 | 1487 | ||
| 6493 | 12년 전 | 2754 | ||
| 6492 |
오늘도망했다
|
12년 전 | 2330 | |
| 6491 |
오늘도망했다
|
12년 전 | 1676 | |
| 6490 |
오늘도망했다
|
12년 전 | 6653 | |
| 6489 |
오늘도망했다
|
12년 전 | 2491 | |
| 6488 |
홈피119
|
12년 전 | 695 | |
| 6487 | 12년 전 | 653 | ||
| 6486 | 12년 전 | 1401 | ||
| 6485 | 12년 전 | 2045 | ||
| 6484 | 12년 전 | 893 | ||
| 6483 | 12년 전 | 696 | ||
| 6482 | 12년 전 | 1328 | ||
| 6481 | 12년 전 | 1460 | ||
| 6480 |
Header
|
12년 전 | 686 | |
| 6479 |
|
12년 전 | 1120 | |
| 6478 |
개초보제이
|
12년 전 | 1387 | |
| 6477 | 12년 전 | 777 | ||
| 6476 | 12년 전 | 1071 | ||
| 6475 | 12년 전 | 3664 | ||
| 6474 | 12년 전 | 1415 | ||
| 6473 | 12년 전 | 955 | ||
| 6472 | 12년 전 | 838 | ||
| 6471 |
AMDbest
|
12년 전 | 1201 | |
| 6470 |
jinmuk
|
12년 전 | 1440 | |
| 6469 |
jinmuk
|
12년 전 | 4241 | |
| 6468 |
jinmuk
|
12년 전 | 5565 | |
| 6467 | 12년 전 | 685 | ||
| 6466 |
jinmuk
|
12년 전 | 2257 | |
| 6465 |
jinmuk
|
12년 전 | 6726 | |
| 6464 |
jinmuk
|
12년 전 | 2401 | |
| 6463 |
jinmuk
|
12년 전 | 9318 | |
| 6462 |
희망과열정
|
12년 전 | 519 | |
| 6461 |
Header
|
12년 전 | 719 | |
| 6460 |
희망과열정
|
12년 전 | 1341 | |
| 6459 |
프리랜서개발자
|
12년 전 | 1662 | |
| 6458 | 12년 전 | 1318 | ||
| 6457 |
jinmuk
|
12년 전 | 1927 | |
| 6456 |
jinmuk
|
12년 전 | 2334 | |
| 6455 |
jinmuk
|
12년 전 | 3188 | |
| 6454 |
jinmuk
|
12년 전 | 2156 | |
| 6453 |
jinmuk
|
12년 전 | 2331 | |
| 6452 |
jinmuk
|
12년 전 | 2298 | |
| 6451 |
jinmuk
|
12년 전 | 1582 | |
| 6450 |
jinmuk
|
12년 전 | 1387 | |
| 6449 |
jinmuk
|
12년 전 | 1033 | |
| 6448 |
jinmuk
|
12년 전 | 1220 | |
| 6447 |
jinmuk
|
12년 전 | 2002 | |
| 6446 |
jinmuk
|
12년 전 | 1560 | |
| 6445 |
jinmuk
|
12년 전 | 1258 | |
| 6444 |
jinmuk
|
12년 전 | 2298 | |
| 6443 |
jinmuk
|
12년 전 | 2034 | |
| 6442 |
jinmuk
|
12년 전 | 1876 | |
| 6441 |
jinmuk
|
12년 전 | 1612 | |
| 6440 |
jinmuk
|
12년 전 | 2309 | |
| 6439 |
jinmuk
|
12년 전 | 1129 | |
| 6438 |
wndProc
|
12년 전 | 771 | |
| 6437 | 12년 전 | 388 | ||
| 6436 |
senseme
|
12년 전 | 532 | |
| 6435 | 12년 전 | 1040 | ||
| 6434 | 12년 전 | 2471 | ||
| 6433 | 12년 전 | 2476 | ||
| 6432 | 12년 전 | 1555 | ||
| 6431 |
밥먹고합시다
|
12년 전 | 1179 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기