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 <? $title ='Login'; include('elements/header.php'); ?>
18 <? include('elements/error.php'); ?>
20 <FORM ACTION="process_login.php" METHOD=POST>
21 <INPUT TYPE="hidden" NAME="session" VALUE="login">
23 <TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=2 CELLPADDING=0>
26 <TH ALIGN="right">Username </TH>
28 <INPUT TYPE="text" NAME="username" VALUE="<? echo htmlspecialchars($username); ?>"><? if ( $single_domain ) { echo '@'.$single_domain; } ?>
32 <? if ( $single_domain ) { ?>
34 <INPUT TYPE="hidden" NAME="domain" VALUE="<? echo $single_domain ?>">
39 <TH ALIGN="right">Domain </TH>
41 <INPUT TYPE="text" NAME="domain" VALUE="<? echo htmlspecialchars($domain); ?>">
48 <TH ALIGN="right">Password </TH>
50 <INPUT TYPE="password" NAME="password">
54 <TD COLSPAN=2 ALIGN="center"><INPUT TYPE="submit" VALUE="Login"></TD>
59 <? if ( $phone_login ) { ?>
63 <FORM ACTION="process_login.php" METHOD=POST>
64 <INPUT TYPE="hidden" NAME="session" VALUE="login">
65 <TABLE BGCOLOR="#c0c0c0" BORDER=0 CELLSPACING=2 CELLPADDING=0>
67 <TH ALIGN="right">Phone number </TH>
69 <INPUT TYPE="text" NAME="username" VALUE="<? echo htmlspecialchars($username) ?>">
72 <INPUT TYPE="hidden" NAME="domain" VALUE="svc_phone">
74 <TH ALIGN="right">PIN </TH>
76 <INPUT TYPE="password" NAME="password">
80 <TD COLSPAN=2 ALIGN="center"><INPUT TYPE="submit" VALUE="Login"></TD>
87 <? include('elements/footer.php'); ?>