{"id":660,"date":"2002-11-08T01:11:26","date_gmt":"2002-11-08T01:11:26","guid":{"rendered":"http:\/\/dev.jblove.net\/?p=660"},"modified":"2002-11-08T01:11:26","modified_gmt":"2002-11-08T01:11:26","slug":"%eb%82%a0%ec%a7%9c%ec%84%a0%ed%83%9d%ed%95%a8%ec%88%98","status":"publish","type":"post","link":"https:\/\/jblove.net\/?p=660","title":{"rendered":"\ub0a0\uc9dc\uc120\ud0dd\ud568\uc218"},"content":{"rendered":"<p>\uc624\ub298 \ub0a0\uc9dc\ub098 \ud2b9\uc815 \ub0a0\uc9dc\ub97c \uc140\ub809\ud2b8 \ubc15\uc2a4\ub85c \ub9cc\ub4e4\uc5b4 \uc90d\ub2c8\ub2e4.<\/p>\n<p>\uc0ac\uc6a9\ubc95\uc740 <\/p>\n<p>\uc138\uac1c\uc758 \uc778\uc790\uac00 \uc788\ub294\ub370 \uccab\ubc88\uc9f8\ub294 \uc140\ub809\ud2b8 \ubc15\uc2a4 \uc774\ub984\uc785\ub2c8\ub2e4.<\/p>\n<p>\ub450\ubc88\uc9f8\ub294 \ud0c0\uc785\uc73c\ub85c \ub144,\uc6d4,\uc77c\uc744 \uc9c0\uc815\ud574 \uc90d\ub2c8\ub2e4.<\/p>\n<p>\uadf8\ub9ac\uace0 \uc138\ubc88\uc9f8\ub294 \uc624\ub298 \ub0a0\uc9dc\uac00 \uc544\ub2cc \ud2b9\uc815 \ub0a0\uc9dc\ub97c \uc9c0\uc815\ud560 \uacbd\uc6b0 \ud574\ub2f9 \ub0a0\uc9dc\ub97c \ub123\uc5b4\uc8fc\uba74 \ub429\ub2c8\ub2e4.<\/p>\n<p>\uc18c\uc2a4 <\/p>\n<p><?php\n\n\nfunction selectDate($name, $type, $date=&#8221;&#8221;)<br \/>\n{<br \/>\n    if($type==&#8221;y&#8221;)<br \/>\n    {<br \/>\n        if(!$date) $date = date(&#8220;Y&#8221;);<br \/>\n        $start = $date-1;<br \/>\n        $end = $date+2;<br \/>\n    }<br \/>\n    elseif($type==&#8221;m&#8221;)<br \/>\n    {<br \/>\n        if(!$date) $date = date(&#8220;m&#8221;);<br \/>\n        $start = 1;<br \/>\n        $end = 12;<br \/>\n    }<br \/>\n    else<br \/>\n    {<br \/>\n        if(!$date) $date = date(&#8220;d&#8221;);<br \/>\n        $start = 1;<br \/>\n        $end = 31;<br \/>\n    }<\/p>\n<p>\n    for($i=$start; $i<=$end; $i++)<br \/>\n    {<br \/>\n        $j = $i<10 ? \"0\".$i : $i;<br \/>\n        $selected = $date == $j ? &#8220;selected&#8221; : &#8220;&#8221;;<br \/>\n        $selectDate .= &#8220;<option value=\"$j\" $selected>$j<\/option>n&#8221;;<br \/>\n    }<\/p>\n<p>    $selectDate = &#8220;<select name=\"$name\">&#8220;.$selectDate.&#8221;<\/select>&#8220;;<\/p>\n<p>    return $selectDate;<br \/>\n}<\/p>\n<p>?><\/p>\n<p>\n\uc0ac\uc6a9\ubc95 <\/p>\n<table width=\"100%\"><\/p>\n<tr>\n<td align=\"center\" bgcolor=\"#F6F6F6\" width=\"120\">\n    <span style='font-size: 9pt;'>\uc624\ub298\ub0a0\uc9dc<\/span><\/td>\n<p><\/p>\n<td><span style='font-size: 9pt;'><br \/>\n    <?=selectDate(\"year\",\"y\")?>\ub144 <br \/>\n    <?=selectDate(\"month\",\"m\")?>\uc6d4 <br \/>\n    <?=selectDate(\"day\",\"d\")?>\uc77c<br \/>\n    <\/span><\/td>\n<p>\n<\/tr>\n<tr>\n<td align=\"center\" bgcolor=\"#F6F6F6\" width=\"120\">\n    <span style='font-size: 9pt;'>\ub0b4\uc0dd\uc77c<\/span><\/td>\n<p><\/p>\n<td><span style='font-size: 9pt;'><br \/>\n    <?=selectDate(\"birth_year\",\"y\",1975)?>\ub144<br \/>\n    <?=selectDate(\"birth_month\",\"m\",01)?>\uc6d4<br \/>\n    <?=selectDate(\"birth_day\",\"d\",29)?>\uc77c<br \/>\n    <\/span><\/td>\n<p>\n<\/tr>\n<p>\n<\/table>\n<p>\uc774\ub7f0\uc2dd\uc73c\ub85c \uc0ac\uc6a9\ud558\uba74 \ub429\ub2c8\ub2e4. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc624\ub298 \ub0a0\uc9dc\ub098 \ud2b9\uc815 \ub0a0\uc9dc\ub97c \uc140\ub809\ud2b8 \ubc15\uc2a4\ub85c \ub9cc\ub4e4\uc5b4 \uc90d\ub2c8\ub2e4. \uc0ac\uc6a9\ubc95\uc740 \uc138\uac1c\uc758 \uc778\uc790\uac00 \uc788\ub294\ub370 \uccab\ubc88\uc9f8\ub294 \uc140\ub809\ud2b8 \ubc15\uc2a4 \uc774\ub984\uc785\ub2c8\ub2e4. \ub450\ubc88\uc9f8\ub294 \ud0c0\uc785\uc73c\ub85c \ub144,\uc6d4,\uc77c\uc744 \uc9c0\uc815\ud574 \uc90d\ub2c8\ub2e4. \uadf8\ub9ac\uace0 \uc138\ubc88\uc9f8\ub294 \uc624\ub298 \ub0a0\uc9dc\uac00 \uc544\ub2cc \ud2b9\uc815 \ub0a0\uc9dc\ub97c \uc9c0\uc815\ud560 \uacbd\uc6b0 \ud574\ub2f9 \ub0a0\uc9dc\ub97c \ub123\uc5b4\uc8fc\uba74 \ub429\ub2c8\ub2e4. \uc18c\uc2a4 \uc0ac\uc6a9\ubc95 \uc624\ub298\ub0a0\uc9dc \ub144 \uc6d4 \uc77c \ub0b4\uc0dd\uc77c \ub144 \uc6d4 \uc77c \uc774\ub7f0\uc2dd\uc73c\ub85c \uc0ac\uc6a9\ud558\uba74 \ub429\ub2c8\ub2e4.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[51],"tags":[],"class_list":["post-660","post","type-post","status-publish","format-standard","hentry","category-papa-php"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/posts\/660","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=660"}],"version-history":[{"count":0,"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/posts\/660\/revisions"}],"wp:attachment":[{"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=660"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=660"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}