如果是vip等级是1的时候可以正常显示vip1的图标:
,
如果是vip等级是0的时候,就出现错误了:
提示:
Microsoft VBScript 运行时错误 错误 '800a000d'
类型不匹配: 'Get_GrowVIP'
/user_index.asp,行 98
以下是代码部分:
<tr>
<td><b>ID:<%=userid%></b></td>
<td colspan="1"><b>成长值等级:<%=Get_GrowName(userid)%></b></td>
<td colspan="1"><b>VIP等级:<a class="vip-icon" id="J_VipIcon" rel="nofollow" target="_top" href="<%=Weburl%>user_index.asp" <%if not isNull(VIP_Status) or VIP_Status > 0 then%>style="width:24px;"<%end if%>>
<%if isNull(VIP_Status) or VIP_Status = 0 then%>
<%if Get_GrowVIP(userid)="" then%> ------------------
98行
<img src="<%=weburl%>img/vip/vip0.jpg"/>
<%else%>
<img src="<%=weburl%><%=Get_GrowVIP(userid)%>"/>
<%end if%>
<%else%>
<% if VIP_Level = 1 then%>
<img src="<%=weburl%>img/vip/vipc1.png" width="24" height="13">
<%elseif VIP_Level = 2 then%>
<img src="<%=weburl%>img/vip/vipc2.png" width="24" height="13">
<%else%>
<img src="<%=weburl%>img/vip/vipc3.png" width="24" height="13">
<%end if%>
<%end if%>
</a></b></td>
<tr>
求大神解答!!感谢!!