{"id":92,"date":"2010-10-23T00:48:51","date_gmt":"2010-10-23T00:48:51","guid":{"rendered":"http:\/\/blog.yyhcw.com\/post\/92.html"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T07:54:17","slug":"","status":"publish","type":"post","link":"http:\/\/blog.yyhcw.com\/post\/92.html","title":{"rendered":"\u79d1\u8baf\u516c\u544aDIV\u8f93\u51fa"},"content":{"rendered":"<p>\u3000\u3000\u4e0d\u77e5\u9053\u5927\u5bb6\u5728\u4f7f\u7528\u79d1\u8baf\u7684\u8fc7\u7a0b\u4e2d\u662f\u5426\u6ce8\u610f\u5230\u4e00\u4e2a\u95ee\u9898\uff0c\u5c31\u662f\u79d1\u8baf\u7684\u7f51\u7ad9\u516c\u544a\uff0c\u5927\u5bb6\u53ef\u4ee5\u770b\u4e0b\u540e\u53f0\u7684\u516c\u544a\u663e\u793a\u5f62\u5f0f\u53ea\u6709\uff1a<br \/>\n\u516c\u544a\u7c7b\u578b<input type=\"radio\" checked=\"checked\" onclick=\"ChangeArea(0);\" name=\"AnnounceType\" value=\"0\" \/>\u666e\u901a <input type=\"radio\" onclick=\"ChangeArea(1);\" name=\"AnnounceType\" value=\"1\" \/>\u5f39\u51fa <input type=\"radio\" onclick=\"ChangeArea(2);\" name=\"AnnounceType\" value=\"2\" \/>\u6eda\u52a8 <br \/>\n\u663e\u793a\u65b9\u5f0f<input type=\"radio\" checked=\"checked\" name=\"ShowStyle\" value=\"1\" \/>\u7eb5\u5411 <input type=\"radio\" name=\"ShowStyle\" value=\"2\" \/>\u6a2a\u5411<\/p>\n<p>\u3000\u3000\u663e\u793a\u51fa\u6765\u7684\u5374\u90fd\u662f\u8868\u683c\u5f62\u5f0f\u7684\uff0c\u8fd9\u8ba9\u6211\u8fd9\u79cd\u5904\u5904\u90fd\u5e0c\u671b\u5b8c\u7f8e\u7684\u5f88\u4e0d\u8212\u670d\uff0c\u65e2\u7136\u7f51\u7ad9\u5168\u90e8\u90fd\u662fDIV\u7684\uff0c\u8fd9\u91cc\u7a81\u7136\u8dd1\u51fa\u6765\u4e2a\u8868\u683c\u751a\u662f\u4e0d\u7f8e\uff0c\u4fee\u6539\u4e0b\u4e5f\u8ba9\u5979\u8f93\u51faLi\u5f62\u5f0f\uff1a\u627e\u5230\u3000GetAnnounceList.asp\u3000\u8fd9\u4e2a\u6587\u4ef6\uff08\u5728\u7ba1\u7406\u76ee\u5f55\/lable\u4e2d\uff09<\/p>\n<p>1\u3001\u5728256\u884c\u52a0\u5165\u5982\u4e0b\u4ee3\u7801(\u8fd9\u4e2a\u4e3b\u8981\u662f\u5728\u524d\u53f0\u4f9b\u9009\u62e9)\uff1a<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If ShowStyle = 3 Then<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .echo (&quot;&lt;input type=&quot;&quot;radio&quot;&quot; name=&quot;&quot;ShowStyle&quot;&quot; value=&quot;&quot;3&quot;&quot; Checked&gt;Li \u8f93\u51fa &quot;)<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Else<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .echo (&quot;&lt;input type=&quot;&quot;radio&quot;&quot; name=&quot;&quot;ShowStyle&quot;&quot; value=&quot;&quot;3&quot;&quot;&gt;Li \u8f93\u51fa &quot;)<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;End If<br \/>\n2\u3001\u627e\u5230 Kesion.Label.FunctionCls.asp \u6587\u4ef6 \u627e\u5230&ldquo;ElseIf ShowStyle = 2 Then&nbsp;&nbsp; '\u6a2a\u5411\u663e\u793a&rdquo;\u5f80\u4e0b \u518d\u627e\u5230<br \/>\n&ldquo;End If<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;Case 1&rdquo;\u5728End If \u524d\u9762\u52a0\u4e0a\u5982\u4e0b\u4ee3\u7801\uff1a<br \/>\n<span style=\"background-color: #ffff99\">ElseIf ShowStyle = 3 Then&nbsp;&nbsp;'\u8fd9\u91cc\u53ea\u8f93\u51fali\u5f62\u5f0f<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For Each Node in Xml.documentelement.SelectNodes(&quot;row&quot;)<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;Title = Trim(Node.SelectSingleNode(&quot;@title&quot;).text) : Content = Trim(node.SelectSingleNode(&quot;@content&quot;).text) : AddDate = Node.SelectSingleNode(&quot;@adddate&quot;).text : ID=Node.SelectSingleNode(&quot;@id&quot;).text<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;echoln &quot;&lt;li&gt;&quot;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If ShowAuthor = 1 Then<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; echoln &quot;&lt;span&gt;&quot; &amp; Month(AddDate) &amp; &quot;-&quot; &amp; Day(AddDate) &amp; &quot;&lt;\/span&gt;&quot;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;End If<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;echo &quot;&lt;a&quot; &amp; T_CssStr &amp; &quot; href=&quot;&quot;&quot; &amp; DomainStr &amp; &quot;plus\/Announce\/?&quot; &amp; ID &amp; &quot;&quot;&quot; title=&quot;&quot;&quot; &amp; Title &amp; &quot;&quot;&quot; target=&quot;&quot;_blank&quot;&quot;&gt; &quot;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;echoln NaviStr &amp; KS.GotTopic(Title, T_Len) &amp; &quot;&lt;\/a&gt;&lt;\/li&gt;&quot;<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Next&nbsp;<\/span>\u3000\u3000\u4fdd\u5b58\u5427\uff01\u5237\u65b0\u7f13\u5b58\u770b\u770b\u524d\u53f0\u662f\u4e0d\u662f\u5df2\u7ecf\u662f\u53ea\u8f93\u51fa\u4e86&ldquo;&lt;li&gt;.......&lt;\/li&gt;&rdquo;<\/p>\n<p>\u5982\u679c\u4e0d\u660e\u767d\u7684\u8bdd \u7559\u8a00\u6211\u4f1a\u505a\u89e3\u7b54<\/p>\n","protected":false},"excerpt":{"rendered":"\u3000\u3000\u4e0d\u77e5\u9053\u5927\u5bb6\u5728\u4f7f\u7528\u79d1\u8baf\u7684\u8fc7\u7a0b\u4e2d\u662f\u5426\u6ce8\u610f\u5230\u4e00\u4e2a\u95ee\u9898\uff0c\u5c31\u662f\u79d1\u8baf\u7684\u7f51\u7ad9\u516c\u544a\uff0c\u5927\u5bb6\u53ef\u4ee5\u770b\u4e0b\u540e\u53f0\u7684\u516c\u544a\u663e\u793a\u5f62\u5f0f\u53ea\u6709\uff1a  \u00b7\u00b7\u00b7","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"views":255,"_links":{"self":[{"href":"http:\/\/blog.yyhcw.com\/api\/wp\/v2\/posts\/92"}],"collection":[{"href":"http:\/\/blog.yyhcw.com\/api\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/blog.yyhcw.com\/api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/blog.yyhcw.com\/api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/blog.yyhcw.com\/api\/wp\/v2\/comments?post=92"}],"version-history":[{"count":0,"href":"http:\/\/blog.yyhcw.com\/api\/wp\/v2\/posts\/92\/revisions"}],"wp:attachment":[{"href":"http:\/\/blog.yyhcw.com\/api\/wp\/v2\/media?parent=92"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/blog.yyhcw.com\/api\/wp\/v2\/categories?post=92"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/blog.yyhcw.com\/api\/wp\/v2\/tags?post=92"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}