3 require('freeside.class.php');
4 $freeside = new FreesideSelfService();
6 $login_info = $freeside->login_info();
10 $error = $_GET['error'];
12 $username = $_GET['username'];
13 $email = $_GET['email'];
14 $domain = $_GET['domain'];
18 <? $title ='Login'; include('elements/header.php'); ?>
19 <? include('elements/error.php'); ?>
21 <FORM ACTION="process_login.php" METHOD=POST>
22 <INPUT TYPE="hidden" NAME="session" VALUE="login">
24 <TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=2 CELLPADDING=0>
26 <? if ( $single_domain ) { ?>
29 <TH ALIGN="right">Username </TH>
31 <INPUT TYPE="text" NAME="username" VALUE="<? echo htmlspecialchars($username); ?>"><? if ( $single_domain ) { echo '@'.$single_domain; } ?>
35 <INPUT TYPE="hidden" NAME="domain" VALUE="<? echo $single_domain ?>">
40 <TH ALIGN="right">Email address </TH>
42 <INPUT TYPE="text" NAME="email" VALUE="<? echo htmlspecialchars($email); ?>">
49 <TH ALIGN="right">Password </TH>
51 <INPUT TYPE="password" NAME="password">
55 <TD COLSPAN=2 ALIGN="center"><INPUT TYPE="submit" VALUE="Login"></TD>
60 <? if ( $phone_login ) { ?>
64 <FORM ACTION="process_login.php" METHOD=POST>
65 <INPUT TYPE="hidden" NAME="session" VALUE="login">
66 <TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=2 CELLPADDING=0>
68 <TH ALIGN="right">Phone number </TH>
70 <INPUT TYPE="text" NAME="username" VALUE="<? echo htmlspecialchars($username) ?>">
73 <INPUT TYPE="hidden" NAME="domain" VALUE="svc_phone">
75 <TH ALIGN="right">PIN </TH>
77 <INPUT TYPE="password" NAME="password">
81 <TD COLSPAN=2 ALIGN="center"><INPUT TYPE="submit" VALUE="Login"></TD>
88 <? include('elements/footer.php'); ?>