|
楼主 |
发表于 2004-6-11 11:16:49
|
显示全部楼层
re
left.jsp
[php]
<%@ include file="validate.jsp"%>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="images/style.css" rel="stylesheet" type="text/css">
</head>
<body background="images/bg.gif">
<table width="50%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><div align="center"><img src="images/gly.gif" width="180" height="30"></div></td>
</tr>
<tr>
<td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="b1">
<tr>
<td align="center">
<p><a href="userManager.jsp" target="mainFrame">大客户管理</a></p>
<p><a href="regStat.jsp" target="mainFrame">统计查询</a></p>
<p><a href="../mmss/read.htm" target="mainFrame">开户</a></p>
<p><a href="../Manager/ServerManager.jsp" target="mainFrame">服务器管理</a></p>
<p><a href="/friendManager/login.jsp" target="mainFrame">朋友管理</a></p>
<p><a href="../Manager/CardCodeManager.jsp" target="mainFrame">号段管理</a></p>
<p><a href="../Manager/ChangeVersion.jsp" target="mainFrame">注销版本号</a></p>
<p><a href="loginOutUser.jsp" target="mainFrame">注销用户</a> </p>
<p><a href="loginOut.jsp" target="_parent">退出</a></p>
</td>
</tr>
</table></td>
</tr>
</table>
<p> </p>
</body>
</html>
[/php]
userManager.jsp
[php]
<%
response.setHeader("ragma","No-cache");
response.setHeader("Cache-Control","no-cache");
response.setDateHeader("Expires",0);
%>
<html>
<head>
<title>用户登陆</title>
<link href="images/style.css" rel="stylesheet" type="text/css">
<script src="login.js"></script>
<script>
function tz1()
{
if (frm.userId.value=="")
{
alert("用户ID不能为空!");
frm.userId.focus();
return (false);
}
document.frm.action = "costNote.jsp";
document.frm.submit();
}
function tz2()
{
if (frm.userId.value=="")
{
alert("用户ID不能为空!");
frm.userId.focus();
return (false);
}
if (frm.money.value=="")
{
alert("请输入充值金额!");
frm.money.focus();
return (false);
}
document.frm.action = "costTake.jsp";
document.frm.submit();
}
</script>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>
<body background="images/bg.gif">
<table width="600" border="0" align="center" cellpadding="0" cellspacing="0" class="b1">
<tr>
<td width="4%" background="images/cbar.gif"><p align="center">m</p>
<p align="center">i</p>
<p align="center">c</p>
<p align="center">s</p></td>
<td width="856"><table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#8CB3D9"><div align="center">大客户管理</div></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td><div align="center">
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><form action="" method="post" name="frm" id="frm">
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="20" colspan="2"> </td>
</tr>
<tr>
<td width="25%">用户类型:</td>
<td width="78%"><select name="userType" onChange="changeUser()">
<option value="0">个人用户</option>
<option value="1">企业用户</option>
<option value="2">政府用户</option>
<option value="3">集团用户</option>
</select> </td>
</tr>
<tr>
<td></td>
<td> </td>
</tr>
<script>
function changeUser()
{
if (frm.userType.value=="3")
{
alert(tst!);
}
else{}
}
</script>
<%@ include file = "loginAreaCodeList.jsp"%>
<tr>
<td>用户 ID:</td>
<td><input name="userId" type="text" id="userId" size="20">
</td>
</tr>
<tr>
<td>充值金额:</td>
<td><input name="money" type="text" id="money" size="20">
</td>
</tr>
</table>
<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td><div align="center">
<input type="button" name="B1" value="交费记录" onclick="tz1()">
</div></td>
<td><input type="button" name="B2" value="充值" onclick="tz2()"></td>
</tr>
</table>
<p> </p>
</form></td>
</tr>
</table>
</div></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>
[/php] |
|