
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
	<head><meta forua="true" http-equiv="Cache-Control" content="max-age=0" /></head><card id="MainCard" title="&#x6B22;&#x8FCE;&#x5149;&#x4E34;"><p><a href="wap.asp">&#x6728;&#x5B50;&#x5C4B;</a><br/>&nbsp;</p><p><b>&#x6807;&#x9898;&#x3A;</b> &#x5224;&#x65AD;&#x67D0;&#x6708;&#x4EFD;&#x603B;&#x5929;&#x6570;</p><p><b>&#x4F5C;&#x8005;&#x3A;</b> &#x64;&#x6E;&#x61;&#x77;&#x6F;</p><p><b>&#x65E5;&#x671F;&#x3A;</b> &#x32;&#x30;&#x30;&#x36;&#x2D;&#x31;&#x32;&#x2D;&#x32;&#x36;&#x20;&#x30;&#x34;&#x3A;&#x30;&#x30;&#x20;&#x50;&#x4D;</p><p><b>&#x5206;&#x7C7B;&#x3A;</b> <a href="wap.asp?do=showLog&amp;cateID=5">&#x57;&#x65;&#x62;&#x7F16;&#x7A0B;</a></p><p><b>&#x5185;&#x5BB9;&#x3A;</b> &#x5728;&#x5236;&#x4F5C;&#x4E07;&#x5E74;&#x5386;&#x65F6;&#x9996;&#x5148;&#x8981;&#x89E3;&#x51B3;&#x7684;&#x4E00;&#x4E2A;&#x95EE;&#x9898;&#x662F;&#xFF1A;&#x5982;&#x4F55;&#x5224;&#x65AD;&#x67D0;&#x5E74;&#x67D0;&#x6708;&#x603B;&#x5929;&#x6570;&#x3002;<br/>1.&#x65B9;&#x6CD5;&#x4E00;<br/>&#x7531;&#x4E8E;&#x6BCF;&#x6708;&#x5929;&#x6570;&#x7684;&#x8303;&#x56F4;&#x4E3A;[28,31]&#xFF0C;&#x6240;&#x4EE5;&#x53EF;&#x4EE5;&#x4F9D;&#x6B21;&#x4ECE;31&#x5230;28&#xFF0C;&#x5229;&#x7528;isdate&#x51FD;&#x6570;&#x5224;&#x65AD;&#x662F;&#x5426;&#x4E3A;&#x5408;&#x6CD5;&#x65E5;&#x671F;&#xFF0C;&#x9996;&#x6B21;true&#x5219;&#x8BE5;&#x503C;&#x5C31;&#x4E3A;&#x5F53;&#x6708;&#x5929;&#x6570;&#xFF1B;&#x5F53;&#x7136;&#x4E5F;&#x53EF;&#x4EE5;&#x4F9D;&#x6B21;&#x4ECE;28&#x5230;31,&#x540C;&#x6837;&#x5229;&#x7528;isdate&#x5224;&#x65AD;&#x662F;&#x5426;&#x4E3A;&#x5408;&#x6CD5;&#x65E5;&#x671F;&#xFF0C;&#x9996;&#x6B21;false&#x5219;&#x8BE5;&#x503C;&#x51CF;1&#x5C31;&#x4E3A;&#x5F53;&#x6708;&#x5929;&#x6570;&#xFF0C;&#x5B9E;&#x73B0;&#x51FD;&#x6570;&#x5206;&#x522B;&#x4E3A;&#xFF1A;<br/>&#x590D;&#x5236;&#x5185;&#x5BB9;&#x5230;&#x526A;&#x8D34;&#x677F; &#x7A0B;&#x5E8F;&#x4EE3;&#x7801;Function Getnum(iyear,imonth)<br/>&#160;&#160;&#160;&#160;Dim i,idate<br/>&#160;&#160;&#160;&#160;For i=31 to 28 step -1<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;idate = iyear &amp; &#34;-&#34; &amp; imonth &amp; &#34;-&#34; &amp; i<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;if isdate(idate) then<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Getnum = i<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Exit function<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;End if<br/>&#160;&#160;&#160;&#160;Next<br/>End function<br/>&#x548C;<br/>&#x590D;&#x5236;&#x5185;&#x5BB9;&#x5230;&#x526A;&#x8D34;&#x677F; &#x7A0B;&#x5E8F;&#x4EE3;&#x7801;Function Getnum(iyear,imonth)<br/>&#160;&#160;&#160;&#160;Dim i,idate<br/>&#160;&#160;&#160;&#160;For i=28 to 32<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;idate = iyear &amp; &#34;-&#34; &amp; imonth &amp; &#34;-&#34; &amp; i<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;if not(isdate(idate)) then<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Getnum = i - 1<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Exit function<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;End if<br/>&#160;&#160;&#160;&#160;Next<br/>End function<br/>&#x60F3;&#x60F3;&#x54EA;&#x4E2A;&#x66F4;&#x597D;&#x70B9;^_^<br/>2.&#x65B9;&#x6CD5;&#x4E8C;<br/>&#x672C;&#x65B9;&#x6CD5;&#x662F;&#x901A;&#x8FC7;&#x5BF9;&#x6708;&#x4EFD;&#x5929;&#x6570;&#x8FDB;&#x884C;&#x89C2;&#x5BDF;&#x800C;&#x603B;&#x7ED3;&#x51FA;&#x89C4;&#x5F8B;&#xFF1A;1,3,5,7,8,10,12&#x4E3A;31&#x5929;&#xFF1B;4,6,9,11&#x4E3A;20&#x5929;&#xFF1B;2&#x6708;&#x6709;&#x65F6;&#x4E3A;28&#x5929;&#xFF0C;&#x6709;&#x65F6;&#x4E3A;29&#x5929;&#x3002;&#x5B9E;&#x73B0;&#x51FD;&#x6570;&#x4E3A;&#xFF1A;<br/>&#x590D;&#x5236;&#x5185;&#x5BB9;&#x5230;&#x526A;&#x8D34;&#x677F; &#x7A0B;&#x5E8F;&#x4EE3;&#x7801;Function Getnum(iYear,iMonth)<br/>&#160;&#160;&#160;&#160;Sel&#101;ct Case iMonth<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Case 1, 3, 5, 7, 8, 10, 12<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Getnum = 31<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Case 4, 6, 9, 11<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Getnum = 30<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Case 2<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;If IsDate(iyear &amp; &#34;-&#34; &amp; imonth &amp; &#34;-29&#34;) Then<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Getnum = 29<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Else<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Getnum = 28<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;End If<br/>&#160;&#160;&#160;&#160;End Sel&#101;ct<br/>End Function<br/>3.&#x9644;date.asp&#xFF0C;&#x4F7F;&#x7528;&#x65B9;&#x6CD5;&#x4E00;&#x663E;&#x793A;&#x6307;&#x5B9A;&#x5E74;&#x4EFD;&#x5404;&#x6708;&#x4EFD;&#x5929;&#x6570;&#xFF0C;&#x4FBF;&#x4E8E;&#x89C2;&#x5BDF;<br/>&#x590D;&#x5236;&#x5185;&#x5BB9;&#x5230;&#x526A;&#x8D34;&#x677F; &#x7A0B;&#x5E8F;&#x4EE3;&#x7801;&lt;%<br/>Rem &#x53D6;&#x5F97;&#x6708;&#x4EFD;&#x5929;&#x6570;<br/>Function Getnum(iyear,imonth)<br/>&#160;&#160;&#160;&#160;Dim i,idate<br/>&#160;&#160;&#160;&#160;For i=31 to 28&nbsp;&nbsp;step -1<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;idate = iyear &amp; &#34;-&#34; &amp; imonth &amp; &#34;-&#34; &amp; i<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;if isdate(idate) then<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Getnum = i<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Exit function<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;End if<br/>&#160;&#160;&#160;&#160;Next<br/>End function<br/>Rem &#x6807;&#x8BB0;&#x4E0D;&#x540C;&#x5929;&#x6570;&#x989C;&#x8272;&#xFF0C;&#x65B9;&#x4FBF;&#x6D4F;&#x89C8;<br/>Function Numcolor(n)<br/>&#160;&#160;&#160;&#160;Sel&#101;ct case n<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;case 28<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Numcolor=&#34;&lt;b&gt;&lt;font color=red&gt;&#34; &amp; n &amp; &#34;&lt;/font&gt;&lt;/b&gt;&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;case 29<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Numcolor=&#34;&lt;b&gt;&lt;font color=blue&gt;&#34; &amp; n &amp; &#34;&lt;/font&gt;&lt;/b&gt;&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;case 30<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Numcolor=&#34;&lt;b&gt;&lt;font color=black&gt;&#34; &amp; n &amp; &#34;&lt;/font&gt;&lt;/b&gt;&#34;<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;case 31<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Numcolor=&#34;&lt;b&gt;&lt;font color=green&gt;&#34; &amp; n &amp; &#34;&lt;/font&gt;&lt;/b&gt;&#34;<br/>&#160;&#160;&#160;&#160;End sel&#101;ct<br/>End function<br/>Dim n,j,k<br/>Rem 1.&#x8868;&#x5934;&#x663E;&#x793A;1&#x6708;&#x5230;12&#x6708;<br/>Response.write &#34;&lt;table width=&#39;750&#39; border=&#39;0&#39; cellspacing=&#39;0&#39; cellpadding=&#39;0&#39;&gt;&#34; &amp; vbcrlf<br/>Response.write &#34;&nbsp;&nbsp;&lt;tr&gt;&#34; &amp; vbcrlf<br/>Response.write &#34;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td width=&#39;50&#39; height=&#39;20&#39; align=&#39;center&#39; valign=&#39;middle&#39;&gt;&amp;nbsp;&lt;/td&gt;&#34; &amp; vbcrlf<br/>For n=1 to 12<br/>&#160;&#160;&#160;&#160;Response.write &#34;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td width=&#39;50&#39; height=&#39;20&#39; align=&#39;center&#39; valign=&#39;middle&#39;&gt;&#34; &amp; n &amp; &#34;&#x6708;&lt;/td&gt;&#34; &amp; vbcrlf<br/>Next<br/>Response.write &#34;&nbsp;&nbsp;&lt;/tr&gt;&#34; &amp; vbcrlf<br/>Rem 2.&#x663E;&#x793A;&#x5404;&#x5E74;&#x4EFD;&#x4E2D;&#x6BCF;&#x6708;&#x5929;&#x6570;&#xFF0C;&#x672C;&#x4F8B;&#x5E74;&#x4EFD;&#x4ECE;500&#x81F3;600<br/>For j=500 to 600<br/>&#160;&#160;&#160;&#160;Response.write &#34;&nbsp;&nbsp;&lt;tr&gt;&#34; &amp; vbcrlf<br/>&#160;&#160;&#160;&#160;Response.write &#34;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td width=&#39;50&#39; height=&#39;20&#39; align=&#39;center&#39; valign=&#39;middle&#39;&gt;&#34; &amp; j &amp; &#34;&lt;/td&gt;&#34; &amp; vbcrlf<br/>&#160;&#160;&#160;&#160;For k=1 to 12<br/>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;Response.write &#34;&nbsp;&nbsp;&nbsp;&nbsp;&lt;td width=&#39;50&#39; height=&#39;20&#39; align=&#39;center&#39; valign=&#39;middle&#39;&gt;&#34; &amp; Numcolor(Getnum(j,k)) &amp; &#34;&lt;/td&gt;&#34; &amp; vbcrlf<br/>&#160;&#160;&#160;&#160;Next<br/>&#160;&#160;&#160;&#160;Response.write &#34;&nbsp;&nbsp;&lt;/tr&gt;&#34; &amp; vbcrlf<br/>Next<br/>Rem 3.&#x8868;&#x683C;&#x7ED3;&#x5C3E;&#x6807;&#x8BC6;<br/>Response.write &#34;&lt;/table&gt;&#34;<br/>%&gt;</p><p> + <a href="#CommentCard">&#x67E5;&#x770B;&#x5F53;&#x524D;&#x65E5;&#x5FD7;&#x8BC4;&#x8BBA;</a> (1)</p><p>&nbsp;<br/><br/><a href="wap.asp?do=Login">&#x767B;&#x5F55;</a></p><p><br/>&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;</p><p><a href="wap.asp">&#x6728;&#x5B50;&#x5C4B;</a></p><p><a href="http://www.pjhome.net/wap.asp">PJBlog3&nbsp;v3.2.9.518</a>&nbsp;Inside.</p><p>Processed&nbsp;In&nbsp;0.094&nbsp;ms</p><do type="prev" label="&#x8FD4;&#x56DE;"><prev/></do></card><card id="postCommentCard"><p><b>&#x6807;&#x9898;&#x3A;</b> <a href="#MainCard">&#x5224;&#x65AD;&#x67D0;&#x6708;&#x4EFD;&#x603B;&#x5929;&#x6570;</a></p><p><br/>你没有权限发表评论</p><p><br/>&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;</p><p><a href="wap.asp">&#x6728;&#x5B50;&#x5C4B;</a></p><p><a href="http://www.pjhome.net/wap.asp">PJBlog3&nbsp;v3.2.9.518</a>&nbsp;Inside.</p><p>Processed&nbsp;In&nbsp;0.094&nbsp;ms</p><do type="prev" label="&#x8FD4;&#x56DE;"><prev/></do></card><card id="CommentCard"><p>&#x6682;&#x65E0;&#x8BC4;&#x8BBA;</p><p><a href="#MainCard">&#x8FD4;&#x56DE;</a></p><p><br/>&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;&#x2500;</p><p><a href="wap.asp">&#x6728;&#x5B50;&#x5C4B;</a></p><p><a href="http://www.pjhome.net/wap.asp">PJBlog3&nbsp;v3.2.9.518</a>&nbsp;Inside.</p><p>Processed&nbsp;In&nbsp;0.094&nbsp;ms</p><do type="prev" label="&#x8FD4;&#x56DE;"><prev/></do></card>
</wml>
