{"id":49,"date":"2008-07-14T11:04:30","date_gmt":"2008-07-14T02:04:30","guid":{"rendered":"http:\/\/www.little-moo.com\/wp\/?p=49"},"modified":"2018-05-28T08:46:41","modified_gmt":"2018-05-27T23:46:41","slug":"%e8%a6%9a%e6%9b%b8%ef%bc%9a%e3%82%b5%e3%82%a4%e3%83%89%e3%83%90%e3%83%bc%e3%81%ab%e9%96%a2%e3%81%97%e3%81%a6","status":"publish","type":"post","link":"http:\/\/www.little-moo.com\/wp\/?p=49","title":{"rendered":"<!--:en-->\u899a\u66f8\uff1a\u30b5\u30a4\u30c9\u30d0\u30fc\u306b\u95a2\u3057\u3066<!--:-->"},"content":{"rendered":"<p><!--:en-->\u4ee5\u4e0b\u306f\u3001http:\/\/automattic.com\/code\/widgets\/themes\/\u3000\u3053\u3061\u3089\u304b\u3089\u306e\u8ee2\u8f09\u3002<\/p>\n<p><!--:--><!--more--><!--:en--><\/p>\n<p>\u73fe\u6642\u70b9\u3067\u300c\u826f\u300d\u3068\u3055\u308c\u3066\u3044\u308b\u30b5\u30a4\u30c9\u30d0\u30fc\u306e\u30de\u30fc\u30af\u30a2\u30c3\u30d7\u306f\u3001<\/p>\n<blockquote><p>&lt;ul id=&#8221;sidebar&#8221;&gt;<br \/>\n&lt;li id=&#8221;about&#8221;&gt;<br \/>\n&lt;h2&gt;About&lt;\/h2&gt;<br \/>\n&lt;p&gt;This is my blog.&lt;\/p&gt;<br \/>\n&lt;\/li&gt;<br \/>\n&lt;li id=&#8221;links&#8221;&gt;<br \/>\n&lt;h2&gt;Links&lt;\/h2&gt;<br \/>\n&lt;ul&gt;<br \/>\n&lt;li&gt;&lt;a href=&#8221;http:\/\/example.com&#8221;&gt;Example&lt;\/a&gt;&lt;\/li&gt;<br \/>\n&lt;\/ul&gt;<br \/>\n&lt;\/li&gt;<br \/>\n&lt;\/ul&gt;<\/p><\/blockquote>\n<p>\u306a\u306e\u3060\u305d\u3046\u3060\u3002<br \/>\n\u305d\u3057\u3066\u3001\u3053\u308c\u3092\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u306b\u53cd\u6620\u3055\u305b\u308b\u305f\u3081\u306b\u306f<\/p>\n<blockquote><p>&lt;ul id=&#8221;sidebar&#8221;&gt;<br \/>\n<span style=\"color: #0000ff;\">&lt;?php if ( !function_exists(&#8216;dynamic_sidebar&#8217;) || !dynamic_sidebar() ) : ?&gt;<\/span><br \/>\n&lt;li id=&#8221;about&#8221;&gt;<br \/>\n&lt;h2&gt;About&lt;\/h2&gt;<br \/>\n&lt;p&gt;This is my blog.&lt;\/p&gt;<br \/>\n&lt;\/li&gt;<br \/>\n&lt;li id=&#8221;links&#8221;&gt;<br \/>\n&lt;h2&gt;Links&lt;\/h2&gt;<br \/>\n&lt;ul&gt;<br \/>\n&lt;li&gt;&lt;a href=&#8221;http:\/\/example.com&#8221;&gt;Example&lt;\/a&gt;&lt;\/li&gt;<br \/>\n&lt;\/ul&gt;<br \/>\n&lt;\/li&gt;<br \/>\n<span style=\"color: #0000ff;\">&lt;?php endif; ?&gt;<\/span><br \/>\n&lt;\/ul&gt;<\/p><\/blockquote>\n<p>\u9752\u6587\u5b57\u306e\u90e8\u5206\u3092\u66f8\u304d\u8db3\u3059\u3002<br \/>\n\u305d\u3057\u3066\u3001functions.php \u30d5\u30a1\u30a4\u30eb\u3078\u306e\u8a18\u8f09\u306f<\/p>\n<blockquote><p>&lt;?php<br \/>\nif ( function_exists(&#8216;register_sidebar&#8217;) )<br \/>\nregister_sidebar();<br \/>\n?&gt;<\/p><\/blockquote>\n<p>\u305d\u3057\u3066\u3001\u30b5\u30a4\u30c9\u30d0\u30fc\u304c\u30ea\u30b9\u30c8\u8868\u793a\u30bf\u30a4\u30d7\u3067\u306f\u7121\u3044\u6642\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308b<\/p>\n<blockquote><p>&lt;div id=&#8221;sidebar&#8221;&gt;<br \/>\n&lt;div class=&#8221;title&#8221;&gt;About&lt;\/div&gt;<br \/>\n&lt;p&gt;This is my blog.&lt;\/p&gt;<br \/>\n&lt;div class=&#8221;title&#8221;&gt;Links&lt;\/div&gt;<br \/>\n&lt;ul&gt;<br \/>\n&lt;li&gt;&lt;a href=&#8221;http:\/\/example.com&#8221;&gt;Example&lt;\/a&gt;&lt;\/li&gt;<br \/>\n&lt;\/ul&gt;<\/p><\/blockquote>\n<p>\u3053\u308c\u304c\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u306b\u53cd\u6620\u3059\u308b\u3088\u3046\u306b\u3059\u308b\u306b\u306f\u3001<\/p>\n<blockquote><p>&lt;div id=&#8221;sidebar&#8221;&gt;<br \/>\n<span style=\"color: #0000ff;\">&lt;?php if ( !function_exists(&#8216;dynamic_sidebar&#8217;)<br \/>\n|| !dynamic_sidebar() ) : ?&gt;<\/span><br \/>\n&lt;div class=&#8221;title&#8221;&gt;About&lt;\/div&gt;<br \/>\n&lt;p&gt;This is my blog.&lt;\/p&gt;<br \/>\n&lt;div class=&#8221;title&#8221;&gt;Links&lt;\/div&gt;<br \/>\n&lt;ul&gt;<br \/>\n&lt;li&gt;&lt;a href=&#8221;http:\/\/example.com&#8221;&gt;Example&lt;\/a&gt;&lt;\/li&gt;<br \/>\n&lt;\/ul&gt;<br \/>\n<span style=\"color: #0000ff;\">&lt;?php endif; ?&gt;<\/span><br \/>\n&lt;\/div&gt;<\/p><\/blockquote>\n<p>\u305d\u3057\u3066\u3001functions.php \u30d5\u30a1\u30a4\u30eb\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8f09\u3059\u308b\u3002<\/p>\n<blockquote><p><span style=\"color: #000000;\">&lt;?php<br \/>\nif ( function_exists(&#8216;register_sidebar&#8217;) )<br \/>\nregister_sidebar(array(<br \/>\n&#8216;before_widget&#8217; =&gt; &#8221;,<br \/>\n&#8216;after_widget&#8217; =&gt; &#8221;,<br \/>\n&#8216;before_title&#8217; =&gt; &#8216;&lt;div class=&#8221;title&#8221;&gt;&#8217;,<br \/>\n&#8216;after_title&#8217; =&gt; &#8216;&lt;\/div&gt;&#8217;,<br \/>\n));<br \/>\n?&gt;<\/span><\/p><\/blockquote>\n<p>\u3055\u3089\u306b\u3001\u3082\u3063\u3068\u30d5\u30ec\u30ad\u30b7\u30d6\u30eb\u306b\u3057\u305f\u3044\u6642\u306b\u306f\u3001<\/p>\n<blockquote><p>&#8216;before_widget&#8217; =&gt; &#8216;&lt;div id=&#8221;%1$s&#8221; class=&#8221;widget %2$s&#8221;&gt;&#8217;,<br \/>\n&#8216;after_widget&#8217; =&gt; &#8216;&lt;\/div&gt;&#8217;,<br \/>\n\u3068\u8a18\u8f09\u3059\u308b\u3068\u826f\u3044\u3001\u3068\u66f8\u3044\u3066\u3042\u308b\u3002<\/p><\/blockquote>\n<p>\u3061\u306a\u307f\u306b\u3001%1$s \u3068\u304b %2$s \u306a\u3069\u306f\u4ee5\u4e0b\u306e\u610f\u5473\u3060\u305d\u3046\u3002(\u53c2\u7167\u30b5\u30a4\u30c8\uff1ahttp:\/\/ecn.blog4.fc2.com\/blog-entry-5.html)<\/p>\n<blockquote>\n<table border=\"0\">\n<tbody>\n<tr>\n<td>%1$s<\/td>\n<td>\u6295\u7a3f\u8005\u540d<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>%2$s<\/td>\n<td>\u65e5\u4ed8<\/td>\n<td>2008-02-08<\/td>\n<\/tr>\n<tr>\n<td>%3$s<\/td>\n<td>\u6642\u523b<\/td>\n<td>11:33:42+0900<\/td>\n<\/tr>\n<tr>\n<td>%4$s<\/td>\n<td>\u65e5\u4ed8<\/td>\n<td>\u7ba1\u7406\u753b\u9762\uff1e\u30aa\u30d7\u30b7\u30e7\u30f3\uff1e\u4e00\u822c\u8a2d\u5b9a\uff1e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u65e5\u4ed8\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3067\u8a2d\u5b9a\u3057\u305f\u30d5\u30a9\u30fc\u30de\u30c3\u30c8<\/td>\n<\/tr>\n<tr>\n<td>%5$s<\/td>\n<td>\u6642\u523b<\/td>\n<td>\u7ba1\u7406\u753b\u9762\uff1e\u30aa\u30d7\u30b7\u30e7\u30f3\uff1e\u4e00\u822c\u8a2d\u5b9a\uff1e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u6642\u523b\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3067\u8a2d\u5b9a\u3057\u305f\u30d5\u30a9\u30fc\u30de\u30c3\u30c8<\/td>\n<\/tr>\n<tr>\n<td>%6$s<\/td>\n<td>\u767b\u9332\u3055\u308c\u305f\u30ab\u30c6\u30b4\u30ea\u30fc\u540d&amp;\u30ea\u30f3\u30af<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>%7$s<\/td>\n<td>\u767b\u9332\u3055\u308c\u305f\u30bf\u30b0\u540d&amp;\u30ea\u30f3\u30af<\/td>\n<td><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/blockquote>\n<p>\u3061\u306a\u307f\u306b\u300c\uff04\u300d\u306f\u5909\u6570\u540d\u306b\u3059\u308b\u70ba\u306ePHP\u306e\u5b9a\u7fa9<\/p>\n<blockquote><p>name\u3000\u2190\u3000\u300c\uff04\u300d\u304c\u306a\u3044\u3068\u305f\u3060\u306e\u6587\u5b57\u5217<br \/>\n$name\u3000\u2190\u3000\u300c\uff04\u300d\u304c\u4ed8\u304f\u3068\u5909\u6570\u306b\u306a\u308b<\/p><\/blockquote>\n<p>\u300c\uff05\u300d\u306f\u591a\u5206\u8272\u3005\u306a\u4f7f\u308f\u308c\u65b9\u304c\u3042\u3063\u3066\u3001<br \/>\n\u25a0\u4f59\u308a\u3092\u8868\u793a\u3055\u305b\u308b\u7b97\u8853\u6f14\u7b97\u5b50\u3068\u3057\u3066\u306e\u300c\uff05\u300d<br \/>\n\u3010\u4f8b\u301110%3\u300010\u30923\u3067\u5272\u3063\u305f\u4f59\u308a\u3092\u6c42\u3081\u3066\u3044\u308b\u5270\u4f59\u7b97<br \/>\n\u4ed6\u306b\u3001<br \/>\n\u25a0sprintf (\u6587\u5b57\u5217\u66f8\u5f0f\u30d5\u30a9\u30fc\u30de\u30c3\u30c8)<\/p>\n<blockquote><p>\u3010\u4f8b\u3011<br \/>\n$a = sprintf(&#8216;a = %06d  b = %04d&#8217;, 10, 20);<\/p>\n<p>** $a \u306b\u306f\u3001&#8217;a = 000010  b = 0020&#8242; \u304c\u30bb\u30c3\u30c8\u3055\u308c\u307e\u3059\u3002<br \/>\n** \u66f8\u5f0f\u8a18\u53f7\u306f C \u8a00\u8a9e\u3068\u540c\u3058\u307f\u305f\u3044\u3067\u3059\u3002<\/p>\n<p>%b 2\u9032<br \/>\n%c \u6587\u5b57<br \/>\n%d \u6574\u6570<br \/>\n%u \u7b26\u53f7\u306a\u3057\u6574\u6570<br \/>\n%f \u6d6e\u52d5\u5c0f\u6570\u70b9<br \/>\n%o 8\u9032<br \/>\n%s \u6587\u5b57\u5217<br \/>\n%x 16\u9032\u5c0f\u6587\u5b57<br \/>\n%X 16\u9032\u5927\u6587\u5b57<\/p><\/blockquote>\n<p>(\u53c2\u7167:http:\/\/homepage2.nifty.com\/sak\/w_sak3\/doc\/sysbrd\/php_k05.htm)<\/p>\n<p>\u3068\u3044\u3046\u4e8b\u3002<\/p>\n<p>\u305d\u308c\u3067\u3001%1$s\u3000\u306a\u3069\u304c\u4e00\u4f53\u3069\u3093\u306a\u898f\u5247\u6027\u3067\u3053\u3046\u306a\u3063\u3066\u3044\u308b\u304b\u3001\u306f\u4eca\u3072\u3068\u3064\u5206\u304b\u3063\u3066\u3044\u306a\u3044\u3002\u4eca\u5f8c\u306e\u8ab2\u984c\u3002<!--:--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4ee5\u4e0b\u306f\u3001http:\/\/automattic.com\/code\/widgets\/t &hellip; <a href=\"http:\/\/www.little-moo.com\/wp\/?p=49\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,4,5,8],"tags":[],"class_list":["post-49","post","type-post","status-publish","format-standard","hentry","category-php","category-wordpress","category-wordpress_install","category-challenge"],"_links":{"self":[{"href":"http:\/\/www.little-moo.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/49","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.little-moo.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.little-moo.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.little-moo.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.little-moo.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=49"}],"version-history":[{"count":2,"href":"http:\/\/www.little-moo.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/49\/revisions"}],"predecessor-version":[{"id":79,"href":"http:\/\/www.little-moo.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/49\/revisions\/79"}],"wp:attachment":[{"href":"http:\/\/www.little-moo.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=49"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.little-moo.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=49"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.little-moo.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}