3 require('freeside.class.php');
4 $freeside = new FreesideSelfService();
6 $login_info = $freeside->login_info();
10 $error = $_GET['error'];
12 $username = $_GET['username'];
13 $domain = $_GET['domain'];
17 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
18 <HTML><HEAD><TITLE>Login</TITLE></HEAD>
19 <BODY BGCOLOR="#e8e8e8"><FONT SIZE=5>Login</FONT><BR><BR>
20 <FONT SIZE="+1" COLOR="#ff0000"><?php echo htmlspecialchars($error); ?></FONT>
22 <FORM ACTION="process_login.php" METHOD=POST>
23 <INPUT TYPE="hidden" NAME="session" VALUE="login">
25 <TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=2 CELLPADDING=0>
28 <TH ALIGN="right">Username </TH>
30 <INPUT TYPE="text" NAME="username" VALUE="<?php echo htmlspecialchars($username); ?>"><?php if ( $single_domain ) { echo '@'.$single_domain; } ?>
34 <?php if ( $single_domain ) { ?>
36 <INPUT TYPE="hidden" NAME="domain" VALUE="<?php echo $single_domain ?>">
41 <TH ALIGN="right">Domain </TH>
43 <INPUT TYPE="text" NAME="domain" VALUE="<?php echo htmlspecialchars($domain); ?>">
50 <TH ALIGN="right">Password </TH>
52 <INPUT TYPE="password" NAME="password">
56 <TD COLSPAN=2 ALIGN="center"><INPUT TYPE="submit" VALUE="Login"></TD>
61 <?php if ( $phone_login ) { ?>
65 <FORM ACTION="process_login.php" METHOD=POST>
66 <INPUT TYPE="hidden" NAME="session" VALUE="login">
67 <TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=2 CELLPADDING=0>
69 <TH ALIGN="right">Phone number </TH>
71 <INPUT TYPE="text" NAME="username" VALUE="<?php echo htmlspecialchars($username) ?>">
74 <INPUT TYPE="hidden" NAME="domain" VALUE="svc_phone">
76 <TH ALIGN="right">PIN </TH>
78 <INPUT TYPE="password" NAME="password">
82 <TD COLSPAN=2 ALIGN="center"><INPUT TYPE="submit" VALUE="Login"></TD>