{"id":1441,"date":"2005-07-28T16:17:30","date_gmt":"2005-07-28T16:17:30","guid":{"rendered":"http:\/\/bluesoul.pe.kr\/wp\/?p=1441"},"modified":"2005-07-28T16:17:30","modified_gmt":"2005-07-28T16:17:30","slug":"%eb%8b%a4%ec%b0%a8%ec%9b%90-%eb%b0%b0%ec%97%b4%ec%9d%84-%ed%8a%b9%ec%a0%95-%ed%95%84%eb%93%9c%eb%a1%9c-%ec%a0%95%eb%a0%ac%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/bluesoul.pe.kr\/wp\/?p=1441","title":{"rendered":"\ub2e4\ucc28\uc6d0 \ubc30\uc5f4\uc744 \ud2b9\uc815 \ud544\ub4dc\ub85c \uc815\ub82c\ud558\uae30"},"content":{"rendered":"<p> \uc5ec\ub7ec \ud14c\uc774\ube14\uae00\uc911\uc5d0 \ucd5c\uc2e0\uae00\ub85c \uc815\ub82c\ud574\uc11c 10\uac1c \ubf51\uae30 \ub4f1\uc758 \uacbd\uc6b0\ub97c \uc704\ud574 \uc4f4\ub2e4.<br \/>\n\ud575\uc2ec\ud568\uc218\ub294<br \/>\narray_multisort($aaa,SORT_DESC,$arr_list);<br \/>\n\uc544\ub798 \uc18c\uc2a4\ub97c \ucc38\uace0 \ud558\uc2dc\uae38..<\/p>\n<p>++++++++++++++++++++++++++++++++++++++++++++++++++++++++<\/p>\n<p>$arr_tbn = array($tbn1,$tbn2,$tbn3,$tbn4);<\/p>\n<p>$j=0;<br \/>\nfor($i=0;$i<count($arr_tbn);$i++){\n\t\n\tif($arr_tbn[$i] == \"\"){\n\t\tbreak;\n\t}\n\t\n\t\n\t$sql = \"select * from $arr_tbn[$i] order by regdate desc limit 0,$rnum \";\n\t$result = mysql_query($sql,$dbconn);\n\t\t\n\twhile( $row = mysql_fetch_array($result) ){\n\t\t$subject = $row[\"subject\"];\n\t\t$cn = $row[\"cateNum\"];\n\t\t$num = $row[\"num\"];\n\t\t$regdate = $row[\"regdate\"];\n\t\t\n\t\t$arr_list[$j][subject] = StringCut( $subject, 25, $EndMark='...' );\n\t\t$arr_list[$j][tbn] = $arr_tbn[$i];\n\t\t$arr_list[$j][cn] = $cn;\n\t\t$arr_list[$j][num] = $num;\n\t\t$arr_list[$j][regdate] = $regdate;\n\t\t$arr_list[$j][dir] = $dir;\n\t\t\n\t\t\n\t\t$j++;\n\t}\n\t\n\tmysql_free_result($result);\n\t$j++;\n}\n\nforeach ($arr_list as $key=>$value) {<br \/>\n\t$aaa[$key] = $value[regdate];<br \/>\n}<\/p>\n<p>array_multisort($aaa,SORT_DESC,$arr_list);<br \/>\nreset($arr_list);<\/p>\n<p>$k=0;<br \/>\nforeach ($arr_list as $key=>$value) {<br \/>\n\tif($k < $rnum){\n\t\techo chr(7).\" <a href='\/$value[dir]\/view.php?tbn=$value[tbn]&#038;cn=$value[cn]&#038;num=$value[num]'>&#8220;.$value[subject].&#8221;<\/a>&#8220;;<br \/>\n\t\techo &#8220;<br \/>&#8220;;<br \/>\n\t}else{<br \/>\n\t\tbreak;<br \/>\n\t}<br \/>\n\t$k++;<br \/>\n} <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc5ec\ub7ec \ud14c\uc774\ube14\uae00\uc911\uc5d0 \ucd5c\uc2e0\uae00\ub85c \uc815\ub82c\ud574\uc11c 10\uac1c \ubf51\uae30 \ub4f1\uc758 \uacbd\uc6b0\ub97c \uc704\ud574 \uc4f4\ub2e4. \ud575\uc2ec\ud568\uc218\ub294 array_multisort($aaa,SORT_DESC,$arr_list); \uc544\ub798 \uc18c\uc2a4\ub97c \ucc38\uace0 \ud558\uc2dc\uae38.. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ $arr_tbn = array($tbn1,$tbn2,$tbn3,$tbn4); $j=0; for($i=0;$i$value) { $aaa[$key] = $value[regdate]; } array_multisort($aaa,SORT_DESC,$arr_list); reset($arr_list); $k=0; foreach ($arr_list as $key=>$value) { if($k < $rnum){ echo chr(7).\" &#8220;.$value[subject].&#8221;&#8220;; echo &#8220;&#8220;; }else{ break; } $k++; }\n<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-1441","post","type-post","status-publish","format-standard","hentry","category-tip"],"_links":{"self":[{"href":"https:\/\/bluesoul.pe.kr\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1441","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bluesoul.pe.kr\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bluesoul.pe.kr\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bluesoul.pe.kr\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bluesoul.pe.kr\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1441"}],"version-history":[{"count":0,"href":"https:\/\/bluesoul.pe.kr\/wp\/index.php?rest_route=\/wp\/v2\/posts\/1441\/revisions"}],"wp:attachment":[{"href":"https:\/\/bluesoul.pe.kr\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1441"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bluesoul.pe.kr\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1441"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bluesoul.pe.kr\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1441"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}