"
end if %>
<%=rs("code")%> |
<% select case rs("kind")
case 1
response.write "比例现金抵用券"
case 2
response.write "订单折扣券"
case 3
response.write "免费商品券"
case 4
response.write "全额现金抵用券"
end select %> |
<%if rs("kind")=1 then %>
<%=rs("content")%>元
<% elseif rs("kind")=2 then %>
<%=rs("content")%>折
<% elseif rs("kind")=3 then %>
" target=_blank ><%=rs("content")%>商品
<% elseif rs("kind")=4 then %>
<%=rs("content")%>元
<% end if %> |
<% if isnull(rs("deadline")) then %>
无
<% else %>
<%=rs("deadline") %>
<% end if %> |
<%if rs("state")=1 then
if datediff("d",now(),rs("deadline")) =< 7 then '提前15天告示 %>
即将过期
<% else %>
可以领取
<% end if %>
<%elseif rs("state") =0 then %>
停止发放
<%end if%>
|
<% if isnull(rs("startdate")) then %>
<% else %>
<%=rs("startdate") %>
<% end if %> |
" target="_blank">查看详细 |
<%i=i+1
rs.movenext
loop
rs.close
set rs=nothing
%>