{"id":799,"date":"2003-04-08T02:16:17","date_gmt":"2003-04-08T02:16:17","guid":{"rendered":"http:\/\/dev.jblove.net\/?p=799"},"modified":"2003-04-08T02:16:17","modified_gmt":"2003-04-08T02:16:17","slug":"%ed%8a%b9%ec%a0%95%ec%9d%bc-%ec%b9%b4%ec%9a%b4%ed%84%b0","status":"publish","type":"post","link":"https:\/\/jblove.net\/?p=799","title":{"rendered":"\ud2b9\uc815\uc77c \uce74\uc6b4\ud130"},"content":{"rendered":"<p>\n<?<br \/>\n$oneday = 86400;<br \/>\n$_today = mktime();<\/p>\n<p>$today = date(&#8220;Y\ub144 m\uc6d4 d\uc77c (l) \uc785\ub2c8\ub2e4&#8221;,$_today);<\/p>\n<p>echo &#8220;\uc624\ub298\uc740 &#8220;.$today.&#8221;<\/p>\n<p>&#8220;;<\/p>\n<p>?><\/p>\n<p><html><br \/>\n  <head><br \/>\n      <title>\uae30\ub150\uc77c \ub0a0\uc9dc \uacc4\uc0b0\uae30<\/title><br \/>\n  <\/head><\/p>\n<p>    <body bgcolor=white text=black><\/p>\n<form name=daycount method=post action=<?=$PHP_SELF;?>><br \/>\n      <input type=hidden name=result value='yes'><br \/>\n        \ucc98\uc74c \ub9cc\ub09c \ub0a0 : <input type=text name=m_year value='<?=$m_year;?>&#8216; size=4> \ub144<br \/>\n        <input type=text name=m_month value='<?=$m_month;?>&#8216; size=2> \uc6d4<br \/>\n        <input type=text name=m_day value='<?=$m_day;?>&#8216; size=2> \uc77c<\/p>\n<p>        \uccab \ub9cc\ub0a8 \uc774\ud6c4 <input type=text name=w_day value='<?=$w_day;?>&#8216; size=6> \uc77c\uc9f8 \ub418\ub294 \ub0a0\uc744 \uc54c\uace0 \uc2f6\uc5b4\uc694.<\/p>\n<p>        <input type=submit value='\uc54c\ub824\ub2e4\uc624'><br \/>\n  <\/form>\n<p><?\n\n\n  if ( $result == &#8220;yes&#8221; )<br \/>\n    {<\/p>\n<p>      $m_today = mktime(&#8220;0&#8243;,&#8221;0&#8243;,&#8221;0&#8221;,$m_month,$m_day,$m_year);<br \/>\n        $h_today = ( $_today &#8211; $m_today ) \/ $oneday;<br \/>\n        $h_today = round($h_today);<br \/>\n        \/\/$h_today++; \/\/ +1\uc77c \ud574\uc8fc\uc5b4\uc57c \ud55c\ub2e4. \ub9cc\ub09c\ub0a0\ubd80\ud130 1\uc77c\uc774\uae30 \ub54c\ubb38\uc5d0;;<br \/>\n        echo &#8220;\uc624\ub298\ubd80\ub85c \ub9cc\ub09c\uc9c0 &#8220;.$h_today.&#8221;\uc77c \ub418\uc5c8\uc2b5\ub2c8\ub2e4.<\/p>\n<p>&#8220;;<\/p>\n<p>        if ( ( date(&#8220;m&#8221;,$_today) == $m_month ) &#038;&#038; (date(&#8220;d&#8221;,$_today) == $m_day ) )<br \/>\n        {<br \/>\n          $congu_year = date(&#8220;Y&#8221;,$_today) &#8211; $m_year;<br \/>\n            echo &#8220;\uc624! \ucd95\ud558\ud569\ub2c8\ub2e4. \uc624\ub298\uc740 \ub9cc\ub098\uc2e0\uc9c0 $congu_year \ub144 \uc9f8 \ub418\ub294 \ub0a0\uc785\ub2c8\ub2e4!<\/p>\n<p>&#8220;;<br \/>\n        }<\/p>\n<p>        $_w_day = $w_day * $oneday &#8211; $oneday;  \/\/ \uaf2d \ud558\ub8e8 \ub354 \ube7c\uc918\uc57c \ud569\ub2c8\ub2e4. \uc65c\uadf8\ub7f0\uc9c0\ub294 \uc0dd\uac01\ud574\ubcf4\uc138\uc694 -\u3145-<br \/>\n        $_w_today = $m_today + $_w_day;<br \/>\n        $w_today = date(&#8220;Y\ub144 m\uc6d4 d\uc77c (l)&#8221;, $_w_today);<br \/>\n        echo &#8220;\ub9cc\ub09c\uc9c0 $w_day \uc77c \ub418\ub294 \ub0a0\uc740 $w_today \uc785\ub2c8\ub2e4.&#8221;;<\/p>\n<p>    }<\/p>\n<p>?><\/p>\n<p>    <\/body><br \/>\n<\/html><\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uae30\ub150\uc77c \ub0a0\uc9dc \uacc4\uc0b0\uae30 &#8216; size=2> \uc6d4 &#8216; size=6> \uc77c\uc9f8 \ub418\ub294 \ub0a0\uc744 \uc54c\uace0 \uc2f6\uc5b4\uc694.<\/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-799","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\/799","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=799"}],"version-history":[{"count":0,"href":"https:\/\/jblove.net\/index.php?rest_route=\/wp\/v2\/posts\/799\/revisions"}],"wp:attachment":[{"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jblove.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}