主题:ASP如何实现多级注册会员价格显示问题,请高手指点.急急急!
级别显示价格,注册普通会员(1)可以看到批发价,注册VIP会员(2)可以看到VIP价和批发价.我这个程式不能实现.请高人指点,谢谢!
<tr>
<td ><div align="center">批发价:</div></td>
<td ><font color="#FF0000">
<%if Request.Cookies("hlqc")("reglx")=1 then%>
¥<%=trim(rs("huiyuanjia"))%> 元
<%else%>
<font color="#FF3333">请登陆</font>
<%end if%>
</font> </td>
</tr>
<tr>
<td ><div align="center">VIP价:</div></td>
<td ><font color="#FF0000">
<%if Request.Cookies("hlqc")("reglx")=2 then%>
¥<%=trim(rs("Vipjia"))%>元
<%else%>
<font color="#FF3333">请登陆</font>
<%end if%>
</font> </td>
</tr>
<tr>
<td ><div align="center">批发价:</div></td>
<td ><font color="#FF0000">
<%if Request.Cookies("hlqc")("reglx")=1 then%>
¥<%=trim(rs("huiyuanjia"))%> 元
<%else%>
<font color="#FF3333">请登陆</font>
<%end if%>
</font> </td>
</tr>
<tr>
<td ><div align="center">VIP价:</div></td>
<td ><font color="#FF0000">
<%if Request.Cookies("hlqc")("reglx")=2 then%>
¥<%=trim(rs("Vipjia"))%>元
<%else%>
<font color="#FF3333">请登陆</font>
<%end if%>
</font> </td>
</tr>