home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2005 May
/
CMCD0505.ISO
/
Software
/
Shareware
/
Programare
/
bugzero
/
jsp
/
login_gb2312.jsp
< prev
next >
Wrap
Text File
|
2005-01-28
|
2KB
|
71 lines
<%@ page language="java"
contentType="text/html; charset=gb2312"
%>
<html>
<head>
<title>Bugzero Login</title>
</head>
<body onLoad="focusFirstField()">
<%
String contextPath = request.getContextPath();
String query = request.getQueryString();
String projectId = request.getParameter("projectId");
String msg = request.getParameter("msg");
if (msg == null) msg = "";
String requestUrl = null;
if (query != null && query.indexOf("requestUri=") != -1) {
requestUrl = query.substring(query.indexOf("requestUri=") + 11);
}
if (requestUrl != null) {
int index = requestUrl.indexOf('&');
if (index > -1) {
requestUrl = requestUrl.substring(0, index)+'?'+requestUrl.substring(index+1);
}
}
%>
<center>
<table cellspacing=2 cellpadding=2 border=0>
<form method="post" action="<%=contextPath%>/servlet/login">
<% if (projectId != null && projectId.trim().length()>0) { %>
<input type="hidden" name="projectId" value="<%=projectId.trim()%>">
<% } %>
<% if (requestUrl != null && requestUrl.trim().length()>0) { %>
<input type="hidden" name="requestUrl" value="<%=requestUrl.trim()%>">
<% } %>
<tr><td colspan=2 align=center valign=top height=50>
<font size=+1 color="#888888"><b>Bugzero</b></font></td></tr>
<tr><td>╙├╗º├√:</td>
<td><input type="text" name="username" size=16 maxlength=32></td>
</tr>
<tr><td>├▄┬δ:</td>
<td><input type="password" name="password" size=16 maxlength=32></td>
</tr>
<tr><td colspan=2 align=center height=60>
<input type="submit" value="╡╟ ┬╝">
<script language="Javascript">
<!--
timezone=-new Date().getTimezoneOffset();
document.write("<input type='hidden' name='timezone' value='" + timezone + "'>");
function focusFirstField() {
document.forms[0].username.focus();
document.forms[0].username.select();
}
//-->
</script>
</td></tr>
</form>
</table>
<font color=red><%=msg%></font>
<table cellspacing=2 cellpadding=2 border=0 width=80%>
<tr><td height=30> </td></tr>
<tr><td align=right>
<hr>
<em>Powered by</em> <a href="http://www.websina.com/cn/index.html"
style="color: #888888; font-weight: bold; text-decoration: none"
title="Bug Tracking and Help Desk Customer Support Software">Bugzero</a>
</td></tr>
</table>
</center>
</body></html>