½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > Ä¿¹Â´ÏƼ > Áú¹®°ú´äº¯ »ó¼¼º¸±â
Ä¿¹Â´ÏƼ ±¸Àα¸Á÷
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
javascript
php
ASP
css
mysql
html
jquery
image
Mobile
API
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
°Ô½ÃÆÇŸÀÌƲ Áú¹®°ú´äº¯ / »ó¼¼º¸±â
Æ®À§ÅÍ·Î º¸³»±â
Ãßõ¼ö 38 | Á¶È¸¼ö 523 | µî·ÏÀÏ 2000-12-15 16:43:46

´Ð³×ÀÓ

yanni

À̸ÞÀÏ

yanni@happycgi.com

Á¦¸ñ

[´äº¯] Á¦°¡ § ¼Ò½º°¡ ÀÌ»óÇØ¿ä.
³»¿ë
¾È³çÇϼ¼¿ä.HappycgiÆÀÀÇ ¾ß´ÏÀÔ´Ï´Ù.

1Àϳ¯ ¹è°æ»ö µé¾î°©´Ï´Ù..^^
±Û±¸ Á¶±ÝÀÇ ¼öÁ¤ÀÌ ÇÊ¿äÇϳ׿ä..
if (!$year){$year=date("Y");}
if (!$month){$month=date("m");}
if (!$today){$today=date("j");}


function car($year, $month, $today){

$tday2=date("D",mktime(0,0,0,$month,1,$year));
//ƯÁ¤ ³â¿ùÀ» ³ÖÀ¸¸é ù³¯ ¿äÀÏ Ç¥½Ã

$lastday=date("t",mktime(0,0,0,$month,date("d"),$year));
//ƯÁ¤ ³â¿ùÀÏÀ» ³ÖÀ¸¸é ±×´ÞÀÇ ¸¶Áö¸· ³¯ Ç¥½Ã

switch($tday2)
{
case "sun";
$a=1;
break;
case "Mon";
$a=2;
break;
case "Tue";
$a=3;
break;
case "Wed";
$a=4;
break;
case "Thu";
$a=5;
break;
case "Fri";
$a=6;
break;
case "Sat";
$a=7;
break;
}



//´Þ·Â Å×ÀÌºí ½ÃÀÛ
echo "";

for($k=1;$k<=6;$k++)
{
echo "";

//¿©±âºÎÅÍ °¡·Î

for($i=1;$i<=7;$i++)
{



//¿©±âºÎÅÍ ¹è°æ »ö±ò
static $s=0;
static $b=1;
if($b==$today){
$tdbg="#7C96F4";
}else{
$tdbg="#f7f7f7";
}

$s++;
//¿©±â±îÁö ¹è°æ »ö±ò

echo "";
}

//¿©±â±îÁö °¡·Î


echo "";
}

echo "
";
echo "
";

//¿©±âºÎÅÍ ³¯Â¥ÇÔ¼ö

if($a==$s||$a<$s)
{
if($b<$lastday){
static $b=1;
echo "";
echo "
$b";
echo "
";
$b++;
}
else{
echo "";
}

}
else
{
echo "";
}

//¿©±â±îÁö ³¯Â¥ÇÔ¼ö
echo "
";


}
car($year, $month, $today);

?>

¸¹Àº µµ¿ò µÇ¼Ì³ª¿ä?^^
¿­½ÉÈ÷ Çϼ¼¿ä..
Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÀÌÀü°Ô½Ã±Û CGI¹«·á ¼³Ä¡½ÅóÀº ¿©±â¿¡¼­.... 2000-12-15 15:13:34
´ÙÀ½°Ô½Ã±Û returnÀÇ ¿ëµµ¿¡ ´ëÇØ ¾Ë°í½Í½À´Ï´Ù. 2000-12-15 18:27:59