纯ASP代码之公历转农历实现(含属相)--例子代码

时间:2008-10-07 12:01:40  来源:第二电脑网上收集  作者:

  第二电脑网导读:.Action("",sDay,sWeekDay,sChinaYear,sChinaDay,sChinaAni)Set objChinaDay = Nothing'Response.Write sDay&"<BR>"'Response.Write sWeekDay&"<BR>"'Response.Write sChinaYear&"<BR>"'Response.Write sChinaDay&"<BR>"'Response.Write sChinaAni&...
  正文:  

<!--#include File="clsDay.ASP/ target=_blank class=infotextkey>asp"-->
<%
Dim objChinaDay
Dim sDay, sWeekDay, sChinaDay, sChinaYear,sChinaAni
Set objChinaDay = New  ChinaDay
Call objChinaDay.Action("",sDay,sWeekDay,sChinaYear,sChinaDay,sChinaAni)
Set objChinaDay = Nothing
'Response.Write sDay&"<BR>"
'Response.Write sWeekDay&"<BR>"
'Response.Write sChinaYear&"<BR>"
'Response.Write sChinaDay&"<BR>"
'Response.Write sChinaAni&"<BR>"
%>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  <title>农历日历</title>
  <style>
    .itm {font-family: 宋体; font-size: 14px;}
    .chn {font-family: 宋体; font-size: 12px}
    .chnred {font-family: 宋体; color: #FF0000; font-size: 12px}
    .chnblue {font-family: 宋体; color: #0000FF; font-size: 12px}
  </style>
</head>

<body bgcolor="#FFFFFF">
<!--显示站点日历-->
<table border="1" cellspacing="1" width="110" bgcolor="#EAEAEA" bordercolor="#FFFFFF"
bordercolorlight="#000000">
 <tr> <td><center><table>
  <tr>
    <td class="chnblue" align="center" valign="middle"><%=sDay%>
</td>
  </tr>
  <tr>
    <td class="chnred" align="center" valign="middle"><%=sWeekDay%>
</td>
  </tr>
  <tr>
    <td class="chnblue" align="center" valign="middle"><%=sChinaYear & "(" & sChinaAni & ")"%>
</td>
  </tr>
  <tr>
    <td class="chnred" align="center" valign="middle"><%=sChinaDay%>
</td>
  </tr>
  </td>
  </tr>
  </table>
</table>
</body>
</html>

纯ASP代码之公历转农历实现(含属相)--例子代码》由第二电脑网原创提供,转载请注明:http://www.002pc.com/master/College/Programming/ASP/2008-10-07/2836.html


关键字:

关于《纯ASP代码之公历转农历实现(含属相)--例子代码》文章的评论

站内搜索: 高级搜索

热门搜索: Windows style 系统 tr IP QQ CPU 安装 function 注册 if td