/
login_error_page.php3
88 lines (85 loc) · 2.06 KB
/
login_error_page.php3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?
# Mantis - a php based bugtracking system
# Copyright (C) 2000, 2001 Kenzaburo Ito - kenito@300baud.org
# This program is distributed under the terms and conditions of the GPL
# See the README and LICENSE files for details
?>
<? include( "core_API.php" ) ?>
<?
db_connect( $g_hostname, $g_db_username, $g_db_password, $g_database_name );
?>
<? print_html_top() ?>
<? print_head_top() ?>
<? print_title( $g_window_title ) ?>
<? print_css( $g_css_include_file ) ?>
<? print_head_bottom() ?>
<? print_body_top() ?>
<? print_header( $g_page_title ) ?>
<p>
<div align=center>
<? echo $s_login_error_msg ?>
</div>
<p>
<div align=center>
<table width=50% bgcolor=<? echo $g_primary_border_color." ".$g_primary_table_tags ?>>
<tr>
<td bgcolor=<? echo $g_white_color ?>>
<table width=100%>
<form method=post action="<? echo $g_login ?>">
<tr>
<td colspan=2 bgcolor=<? echo $g_table_title_color ?>>
<b><? echo $s_login_title ?></b>
</td>
</tr>
<tr bgcolor=<? echo $g_primary_color_dark ?>>
<td width=25%>
<? echo $s_username ?>:
</td>
<td width=75%>
<input type=text name=f_username size=32 maxlength=32>
</td>
</tr>
<tr bgcolor=<? echo $g_primary_color_dark ?>>
<td>
<? echo $s_password ?>:
</td>
<td>
<input type=password name=f_password size=16 maxlength=32>
</td>
</tr>
<tr bgcolor=<? echo $g_primary_color_dark ?>>
<td>
<? echo $s_save_login ?>:
</td>
<td>
<input type=checkbox name=f_perm_login>
</td>
</tr>
<tr bgcolor=<? echo $g_primary_color_light ?>>
<td>
<? echo $s_choose_project ?>:
</td>
<td>
<select name=f_project_id>
<? print_project_option_list() ?>
</select>
</td>
</tr>
<tr>
<td align=center colspan=2>
<input type=submit value="<? echo $s_login_button ?>">
</td>
</tr>
</form>
</table>
</td>
</tr>
</table>
<? if ( $g_allow_signup != "0" ) { ?>
<p>
<a href="<? echo $g_signup_page ?>"><? echo $s_signup_link ?></a>
<? } ?>
</div>
<? print_footer(__FILE__) ?>
<? print_body_bottom() ?>
<? print_html_bottom() ?>