{"id":302,"date":"2009-04-07T16:36:18","date_gmt":"2009-04-07T07:36:18","guid":{"rendered":"http:\/\/estacion.heteml.jp\/makotolog\/?p=302"},"modified":"2009-04-21T10:47:11","modified_gmt":"2009-04-21T01:47:11","slug":"d3forum%e6%94%b9%e9%80%a0%e3%81%ae%e5%82%99%e5%bf%98%e9%8c%b2","status":"publish","type":"post","link":"http:\/\/tademako.happystamp.jp\/?p=302","title":{"rendered":"d3forum\u6539\u9020\u306e\u5099\u5fd8\u9332"},"content":{"rendered":"<p>\u4f5c\u6210\u3057\u3066\u3044\u308b\u30b5\u30a4\u30c8\u304c\u3001\u4f1a\u54e1\u5236\u3067\u306f\u306a\u304f\u30b2\u30b9\u30c8\u304b\u3089\u306e\u6295\u7a3f\u3092\u4e2d\u5fc3\u3068\u3057\u305f\u63b2\u793a\u677f\u3092\u8003\u3048\u3066\u3044\u308b\u3002\u305d\u306e\u969b\u3001\u305f\u3060\u300e\u30b2\u30b9\u30c8\u300f\u3068\u6295\u7a3f\u8005\u304c\u51fa\u3066\u3057\u307e\u3046\u306e\u3067\u306f\u308f\u304b\u3089\u306a\u3044\u306e\u3067\u3001\u30b2\u30b9\u30c8\u306b\u767b\u9332\u3057\u3066\u3082\u3089\u3063\u305f\u540d\u524d\u3092\u3001\u30c8\u30d4\u30c3\u30af\u4e00\u89a7\u306b\u8868\u793a\u3055\u305b\u308b\u3088\u3046\u306b\u6539\u9020\u3002<\/p>\n<p>\u307e\u305a\u3001\u30b2\u30b9\u30c8\u540d\u306f\u30c6\u30fc\u30d6\u30eb\u306b\u5165\u3063\u3066\u3044\u308b\u3002\u304c\u3001posts\u306e\u30c6\u30fc\u30d6\u30eb\u306b\u5165\u3063\u3066\u3044\u3066\u3001\u30c8\u30d4\u30c3\u30af\u306e\u30c6\u30fc\u30d6\u30eb\u306b\u306f\u5165\u3063\u3066\u3044\u306a\u3044\u3002<\/p>\n<p>\u3088\u3063\u3066\u3001\u30c8\u30d4\u30c3\u30af\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u3068\u304d\u306b\u3001posts\u306b\u3042\u308bguest_name\u3092\u53d6\u5f97\u3059\u308b\u3088\u3046\u306b\u4fee\u6b63\u3057\u3066\u3001\u3068\u3063\u3066\u304d\u305f\u30c7\u30fc\u30bf\u3092topic\u60c5\u5831\u306e\u914d\u5217\u306b\u5165\u308c\u308c\u3070OK\u3002<\/p>\n<p>\u3053\u3053\u3067\u306f\u30bd\u30fc\u30b9\u306e\u5947\u9e97\u3055\u306f\u629c\u304d\u3067\u3001\u5b9f\u73fe\u65b9\u6cd5\u3092\u6b8b\u3059\u3002<\/p>\n<p>\u307e\u305a\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306f\u3001<br \/>\n\u3000xoops_trust_path\/modules\/d3forum\/include\/listtopics.php<\/p>\n<p>\u3053\u306e37\u884c\u76ee\u3067\u3001topic\u30c6\u30fc\u30d6\u30eb\u304b\u3089\u53d6\u5f97\u3057\u305f\u30c7\u30fc\u30bf\u3092\u5c55\u958b\u958b\u59cb\u3060\u304b\u3089\u3001\u3053\u306e\u5f8c\u76f4\u3050\u306b\u3001topic_first_post_id\u3092\u30ad\u30fc\u306b\u3057\u3066posts\u3092\u53d6\u5f97\u3002<br \/>\n\u6700\u5f8c\u306b\u3001\u53d6\u5f97\u3057\u305f\u30c7\u30fc\u30bf\u3092\u3001topic\u306e\u30c7\u30fc\u30bf\u306b\u633f\u5165\u3057\u3066\u304a\u3057\u307e\u3044\u3002<\/p>\n<p>$sql2 = &#8220;SELECT guest_name from &#8220;.$db->prefix($mydirname.&#8221;_posts&#8221;).&#8221; where post_id =&#8221;.$topic_row[&#8216;topic_first_post_id&#8217;];<br \/>\n if( ! $result2 = $db->query( $sql2  ) ) die( _MD_D3FORUM_ERR_SQL.__LINE__ ) ;<br \/>\nwhile( $posts_result = $db->fetchArray( $result2 ) ) {<\/p>\n<p>\u301c\u7701\u7565\u301c<br \/>\n\u3000\u3000&#8217;guest_name&#8217; => $posts_result[&#8216;guest_name&#8217;]  ,<br \/>\n) ;<br \/>\n}<\/p>\n<p>$topic.guest_name\u3067\u3001\u5e0c\u671b\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3067\u304d\u307e\u3057\u305f\u3002<br \/>\n\uff0a\u3082\u3063\u3068\u5947\u9e97\u306b\u5909\u66f4\u3057\u307e\u3057\u3087\u3046\u306d\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f5c\u6210\u3057\u3066\u3044\u308b\u30b5\u30a4\u30c8\u304c\u3001\u4f1a\u54e1\u5236\u3067\u306f\u306a\u304f\u30b2\u30b9\u30c8\u304b\u3089\u306e\u6295\u7a3f\u3092\u4e2d\u5fc3\u3068\u3057\u305f\u63b2\u793a\u677f\u3092\u8003\u3048\u3066\u3044\u308b\u3002\u305d\u306e\u969b\u3001\u305f\u3060\u300e\u30b2\u30b9\u30c8\u300f\u3068\u6295\u7a3f\u8005\u304c\u51fa\u3066\u3057\u307e\u3046\u306e\u3067\u306f\u308f\u304b\u3089\u306a\u3044\u306e\u3067\u3001\u30b2\u30b9\u30c8\u306b\u767b\u9332\u3057\u3066\u3082\u3089\u3063\u305f\u540d\u524d\u3092\u3001\u30c8\u30d4\u30c3\u30af\u4e00\u89a7\u306b\u8868\u793a\u3055\u305b\u308b\u3088\u3046\u306b\u6539\u9020\u3002 \u307e [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[9],"tags":[],"_links":{"self":[{"href":"http:\/\/tademako.happystamp.jp\/index.php?rest_route=\/wp\/v2\/posts\/302"}],"collection":[{"href":"http:\/\/tademako.happystamp.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/tademako.happystamp.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/tademako.happystamp.jp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/tademako.happystamp.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=302"}],"version-history":[{"count":2,"href":"http:\/\/tademako.happystamp.jp\/index.php?rest_route=\/wp\/v2\/posts\/302\/revisions"}],"predecessor-version":[{"id":313,"href":"http:\/\/tademako.happystamp.jp\/index.php?rest_route=\/wp\/v2\/posts\/302\/revisions\/313"}],"wp:attachment":[{"href":"http:\/\/tademako.happystamp.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/tademako.happystamp.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=302"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/tademako.happystamp.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}