RT# 39340 - configured the minimal selfservice to get mac address from radius account...
[freeside.git] / min_selfservice / index.php
1 <?
2   $error = $_GET['error'];
3   if ( $error ) {
4     $username = $_GET['username'];
5     $domain   = $_GET['domain'];
6     $title ='Login Error'; 
7     include('elements/header.php');
8     include('elements/error.php');
9 ?>
10     <TABLE BORDER=0 CELLSPACING=2 CELLPADDING=0>
11       <TR>
12         <TD>
13           Sorry we were unable to locate your account with MAC address <? echo $username; ?>  .
14         </TD>
15       </TR>
16     </TABLE>
17 <?
18     include('elements/footer.php');
19   }
20   else { include('login.php'); }
21 ?>
22
23 <? #include('login.php'); ?>
24
25
26 <?
27 #require('freeside.class.php');
28 #$freeside = new FreesideSelfService();
29 #
30 #$login_info = $freeside->login_info();
31 #
32 #extract($login_info);
33 #
34 #$error = $_GET['error'];
35 #if ( $error ) {
36 #  $username = $_GET['username'];
37 #  $domain   = $_GET['domain'];
38 #}
39
40 ?>