广告联盟网
标题:
求帮把这句 if then 改成 select case.....
[打印本页]
作者:
Default.PhP
时间:
2007-7-15
标题:
求帮把这句 if then 改成 select case.....
<br><br><div class="msgbody"><div class="msgheader"><div class="right"><a href="###" class="smalltxt" onclick="copycode($('code0'));">[Copy to clipboard]</a> <a class="smalltxt" href="###" onclick="toggle_collapse('code0');">[ <span id="code0_symbol">-</span> ]</a></div>CODE:</div><div class="msgborder" id="code0">
<br /><br />谢谢了.<br /><br /><%<br />if rs("opendate")<>"" then response.write year(rs("opendate"))&"年/"&month(rs("opendate"))&"月/"&day(rs("opendate"))&"日/"%><%<br />if hour(rs("Sifu_opendate"))>=0 and hour(rs("Sifu_opendate"))<7 then <br />response.write "凌晨"&hour(rs("Sifu_opendate"))&"点" <br />else <br />if hour(rs("Sifu_opendate"))>17 and hour(rs("Sifu_opendate"))<24 then <br />response.write "晚上"&hour(rs("Sifu_opendate"))-12&"点" <br />else <br />if hour(rs("Sifu_opendate"))<12 then <br />response.write "上午"&hour(rs("Sifu_opendate"))&"点" <br />else <br />if hour(rs("Sifu_opendate"))>12 and hour(rs("Sifu_opendate"))<=17 then <br />response.write "下午"&hour(rs("Sifu_opendate"))-12&"点" <br />else <br />if hour(rs("Sifu_opendate"))=12 then <br />response.write "中午"&hour(rs("Sifu_opendate"))&"点" <br />end if <br />end if <br />end if <br />end if <br />end if%></div></div><br>
作者:
tlsdhy
时间:
2007-7-15
<img src="images/smilies/lol.gif" smilieid="9" border="0" alt="" />
作者:
Default.PhP
时间:
2007-7-15
<br><br><div class="msgbody"><div class="msgheader">QUOTE:</div><div class="msgborder">原帖由 <i>tlsdhy</i> 于 2007-7-15 17:00 发表 <a href="http://www.im286.com/redirect.php?goto=findpost&pid=20558790&ptid=2068288" target="_blank"><img src="http://www.im286.com/images/common/back.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open('http://www.im286.com/images/common/back.gif');}" onmousewheel="return imgzoom(this);" alt="" /></a><br /><img src="images/smilies/lol.gif" smilieid="9" border="0" alt="" /> </div></div><br>就知道落伍有很多你这种没技术的人.<img src="images/smilies/ohh.gif" smilieid="19" border="0" alt="" /> 装酷啊. <img src="images/smilies/mad.gif" smilieid="6" border="0" alt="" /> 会也不告诉偶一声,纯表情T向火星
作者:
Default.PhP
时间:
2007-7-15
<img src="images/smilies/sad.gif" smilieid="2" border="0" alt="" /> 你们会也不告诉我一下.草地了.
欢迎光临 广告联盟网 (https://bbs.ggads.com/)
Powered by Discuz! X3.2