{"id":3880,"date":"2020-04-19T20:33:52","date_gmt":"2020-04-19T12:33:52","guid":{"rendered":"https:\/\/www.baishitou.cn\/?p=3880"},"modified":"2020-04-19T20:33:52","modified_gmt":"2020-04-19T12:33:52","slug":"%e7%bb%87%e6%a2%a6%e5%a4%9a%e7%ba%a7%e6%a0%8f%e7%9b%ae%e8%8f%9c%e5%8d%95%e8%b0%83%e7%94%a8%e4%bb%a3%e7%a0%81","status":"publish","type":"post","link":"https:\/\/www.baishitou.cn\/3880.html","title":{"rendered":"\u7ec7\u68a6\u591a\u7ea7\u680f\u76ee\u83dc\u5355\u8c03\u7528\u4ee3\u7801"},"content":{"rendered":"

\u7ec7\u68a6\u591a\u7ea7\u680f\u76ee\u83dc\u5355\u8c03\u7528\u4ee3\u7801<\/p>\n

\u4e00\u7ea7 \/ \u4e8c\u7ea7 \/ \u4e09\u7ea7 \u680f\u76ee\u8c03\u7528<\/h2>\n
<!-- \u4e00\u7ea7\u680f\u76ee -->\r\n{dede:channelartlist row=7 typeid=top currentstyle=current}\r\n<li>\r\n    <a href=\"{dede:field.typeurl\/}\">{dede:field.typename\/}<\/a>\r\n    <ul class=\"class2\">\r\n        <!-- \u4e8c\u7ea7\u680f\u76ee -->\r\n        {dede:channel type=son noself=yes}\r\n        <li>\r\n            <a href=\"[field:typelink\/]\">[field:typename\/]<\/a>\r\n            <ul class=\"class3\">\r\n                <!-- \u4e09\u7ea7\u680f\u76ee -->\r\n                [field:id runphp=yes]\r\n                global $dsql;\r\n                $sql = \"SELECT id,typename,typedir,isdefault,ispart,defaultname,namerule2,moresite,siteurl,sitepath FROM `#@__arctype` WHERE reid=@me And ishidden<>1 ORDER BY sortrank ASC LIMIT 0,10\";\r\n                $dsql->SetQuery($sql);\r\n                $dsql->Execute('t');\r\n                $result = '';\r\n                while($row = $dsql->GetArray('t'))\r\n                {\r\n                    $typename = $row['typename'];\r\n                    $typeurl = GetOneTypeUrlA($row);\r\n                    $result .= \"<li><a href='{$typeurl}'>{$typename}<\/a><\/li>\";\r\n                }\r\n                @me = $result;\r\n                [\/field:id]\r\n            <\/ul>\r\n        <\/li>\r\n        {\/dede:channel}\r\n    <\/ul>\r\n<\/li>\r\n{\/dede:channelartlist}<\/code><\/pre>\n

\u4e00\u7ea7 \/ \u4e8c\u7ea7 \/ \u4e8c\u7ea7\u680f\u76ee\u4e0b\u7684\u6587\u7ae0+\u81ea\u5b9a\u4e49\u5b57\u6bb5\u8c03\u7528<\/h2>\n
<!-- \u4e00\u7ea7\u680f\u76ee -->\r\n{dede:channelartlist row=7 typeid=top currentstyle=current}\r\n<li>\r\n    <a href=\"{dede:field.typeurl\/}\">{dede:field.typename\/}<\/a>\r\n    <ul class=\"class2\">\r\n        <!-- \u4e8c\u7ea7\u680f\u76ee -->\r\n        {dede:channel type=son noself=yes}\r\n        <li>\r\n            <a href=\"[field:typelink\/]\">[field:typename\/]<\/a>\r\n            <ul class=\"class3\">\r\n                <!-- \u4e8c\u7ea7\u680f\u76ee\u4e0b\u7684\u6587\u7ae0+\u666e\u901a\u6587\u7ae0\u81ea\u5b9a\u4e49\u5b57\u6bb5body -->\r\n                [field:id runphp=yes]\r\n                global $dsql;\r\n                $sql = \"SELECT arc.*,addf.* FROM `#@__archives` arc LEFT JOIN `#@__addonarticle` addf ON arc.id=addf.aid WHERE arc.arcrank>-1 AND arc.typeid=@me ORDER BY arc.id DESC limit 0,10\";\r\n                $dsql->SetQuery($sql);\r\n                $dsql->Execute('t');\r\n                $result = '';\r\n                while($row = $dsql->GetArray('t'))\r\n                {\r\n                    $arcrow = GetOneArchive($row['id']);\r\n                    $row['arcurl'] = $arcrow['arcurl'];\r\n                    $row['pubdate'] = MyDate('Y-m-d',$row['pubdate']);\r\n                    $result .= \"<li><span class=\\\"time\\\">\u65f6\u95f4:{$row['pubdate']}<\/span><a href=\\\"{$row['arcurl']}\\\">{$row['title']}<img src=\\\"{$row['litpic']}\\\"><\/a><span>\u6587\u7ae0\u5185\u5bb9:{$row['body']}<\/span><\/li>\";\r\n                }\r\n                @me = $result;\r\n                [\/field:id]\r\n            <\/ul>\r\n        <\/li>\r\n        {\/dede:channel}\r\n    <\/ul>\r\n<\/li>\r\n{\/dede:channelartlist}<\/code><\/pre>\n

 <\/p>\n","protected":false},"excerpt":{"rendered":"

\u7ec7\u68a6\u591a\u7ea7\u680f\u76ee\u83dc\u5355\u8c03\u7528\u4ee3\u7801 \u4e00\u7ea7 \/ \u4e8c\u7ea7 \/ \u4e09\u7ea7 \u680f\u76ee\u8c03\u7528 <!-- \u4e00\u7ea7\u680f\u76ee --> {ded […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[1230,1229,180,360],"class_list":["post-3880","post","type-post","status-publish","format-standard","hentry","category-web","tag-1230","tag-1229","tag-180","tag-360"],"_links":{"self":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/3880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/comments?post=3880"}],"version-history":[{"count":0,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/posts\/3880\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/media?parent=3880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/categories?post=3880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.baishitou.cn\/wp-json\/wp\/v2\/tags?post=3880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}