修改源码得问题,

来源:百度知道 编辑:UC知道 时间:2024/09/20 17:50:55
很弱智,但是谦虚学习中,我在使用一个客户管理系统得源码中,管理系统分普通客户/高级客户/VIP客户/三个级别,我想让他们注册不同得级别然后看到不同得页面,在代码里面我不会添加,看看哪位能够帮忙了,十分感谢,源码是这样得:<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
</head>

<body bgcolor="#02746C">

<table width="770" height="200" border="1" align="center">
<tr>
<th scope="col"><img src="images/ait.jpg" width="770" height="200"></th>
</tr>
</table>
<p align="center"> </p>
<p ali

这个很简单,但是一句两句说不太清楚,我下面这样写不知道你能不能看明白。
<%
if 客户类别=普通客户 then
%>
<p align="center">普通客户的页面</p>
<%
else if 客户类别=高级客户 then
%>
<p align="center">普通客户的页面</p>
else if 客户类别=vip客户 then
<p align="center">vip客户的页面</p>
<%
end if
end if
end if
%>

这个函数名也都要修改吧
要看到你的源码才能知道如何修改吧
至于位置,加在你HTML的任意位置都可以吧