Subversion Repositories ALCASAR

Rev

Rev 1805 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1805 Rev 2817
1
<?php
1
<?php
2
//gestion de la langue
2
//gestion de la langue
3
if (is_file("../lib/langues.php"))
3
if (is_file("../lib/langues.php"))
4
	include("../lib/langues.php");
4
	include("../lib/langues.php");
5
require('/etc/freeradius-web/config.php');
5
require('/etc/freeradius-web/config.php');
6
if(!isset($change)) $change = 0;
6
if(!isset($change)) $change = 0;
7
?>
7
?>
8
 
8
 
9
<html>
9
<html>
10
<head>
10
<head>
11
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config['general_charset']?>">
11
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config['general_charset']?>">
12
<title>User personal information</title>
12
<title>User personal information</title>
13
<link rel="stylesheet" href="/css/style.css">
13
<link rel="stylesheet" href="/css/acc.css">
14
</head>
14
</head>
15
<body>
15
<body>
16
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
16
<TABLE width="100%" border="0" cellspacing="0" cellpadding="0">
17
<tr><th><?php echo "$l_users_managment";?></th></tr>
17
<tr><th><?php echo "$l_users_managment";?></th></tr>
18
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1"
18
	<tr bgcolor="#FFCC66"><td><img src="/images/pix.gif" width="1"
19
height="2"></td></tr>
19
height="2"></td></tr>
20
</TABLE>
20
</TABLE>
21
<TABLE width="100%" border=0 cellspacing=0 cellpadding=1>
21
<TABLE width="100%" border=0 cellspacing=0 cellpadding=1>
22
	<tr bgcolor="#666666"><td>
22
	<tr bgcolor="#666666"><td>
23
	<TABLE width="100%" border=0 cellspacing=0 cellpadding=2>
23
	<TABLE width="100%" border=0 cellspacing=0 cellpadding=2>
24
		<tr><td valign="middle" align="left">
24
		<tr><td valign="middle" align="left">
25
<center>
25
<center>
26
<table border=0 width=640 cellpadding=0 cellspacing=2>
26
<table border=0 width=640 cellpadding=0 cellspacing=2>
27
<?php
27
<?php
28
include("../html/user_toolbar.html.php");
28
include("../html/user_toolbar.html.php");
29
?>
29
?>
30
</table>
30
</table>
31
 
31
 
32
<?php
32
<?php
33
if ($change == 1){
33
if ($change == 1){
34
	if (is_file("../lib/$config[general_lib_type]/user_info.php"))
34
	if (is_file("../lib/$config[general_lib_type]/user_info.php"))
35
		include("../lib/$config[general_lib_type]/user_info.php");
35
		include("../lib/$config[general_lib_type]/user_info.php");
36
	if (is_file("../lib/$config[general_lib_type]/change_info.php"))
36
	if (is_file("../lib/$config[general_lib_type]/change_info.php"))
37
		include("../lib/$config[general_lib_type]/change_info.php");
37
		include("../lib/$config[general_lib_type]/change_info.php");
38
}
38
}
39
 
39
 
40
if (is_file("../lib/$config[general_lib_type]/user_info.php"))
40
if (is_file("../lib/$config[general_lib_type]/user_info.php"))
41
	include("../lib/$config[general_lib_type]/user_info.php");
41
	include("../lib/$config[general_lib_type]/user_info.php");
42
?>
42
?>
43
 
43
 
44
<br>
44
<br>
45
<table border=0 width=620 cellpadding=1 cellspacing=1>
45
<table border=0 width=620 cellpadding=1 cellspacing=1>
46
<tr valign=top>
46
<tr valign=top>
47
<td width=400></td>
47
<td width=400></td>
48
<td bgcolor="black">
48
<td bgcolor="black">
49
	<table border=0 width=100% cellpadding=2 cellspacing=0>
49
	<table border=0 width=100% cellpadding=2 cellspacing=0>
50
	<tr bgcolor="#907030" align=right valign=top><th>
50
	<tr bgcolor="#907030" align=right valign=top><th>
51
	<font color="white"><?php echo "$l_user : $login ($cn)"?></font>&nbsp;
51
	<font color="white"><?php echo "$l_user : $login ($cn)"?></font>&nbsp;
52
	</th></tr>
52
	</th></tr>
53
	</table>
53
	</table>
54
</td></tr>
54
</td></tr>
55
<tr bgcolor="black" valign=top><td colspan=2>
55
<tr bgcolor="black" valign=top><td colspan=2>
56
	<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top>
56
	<table border=0 width=100% cellpadding=12 cellspacing=0 bgcolor="#ffffd0" valign=top>
57
	<tr><td>
57
	<tr><td>
58
 
58
 
59
   <form method=post>
59
   <form method=post>
60
      <input type=hidden name=login value="<?php echo $login?>">
60
      <input type=hidden name=login value="<?php echo $login?>">
61
      <input type=hidden name=change value="0">
61
      <input type=hidden name=change value="0">
62
	<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top>
62
	<table border=1 bordercolordark=#ffffe0 bordercolorlight=#000000 width=100% cellpadding=2 cellspacing=0 bgcolor="#ffffe0" valign=top>
63
<?php
63
<?php
64
	echo <<<EOM
64
	echo <<<EOM
65
	<tr>
65
	<tr>
66
		<td align=right bgcolor="#d0ddb0">
66
		<td align=right bgcolor="#d0ddb0">
67
		$l_name
67
		$l_name
68
		</td><td>
68
		</td><td>
69
		<input type=text name="Fcn" value="$cn" size=35>
69
		<input type=text name="Fcn" value="$cn" size=35>
70
		</td>
70
		</td>
71
	</tr>
71
	</tr>
72
	<tr>
72
	<tr>
73
		<td align=right bgcolor="#d0ddb0">
73
		<td align=right bgcolor="#d0ddb0">
74
		$l_email
74
		$l_email
75
		</td><td>
75
		</td><td>
76
		<input type=text name="Fmail" value="$mail" size=35>
76
		<input type=text name="Fmail" value="$mail" size=35>
77
		</td>
77
		</td>
78
	</tr>
78
	</tr>
79
	<tr>
79
	<tr>
80
		<td align=right bgcolor="#d0ddb0">
80
		<td align=right bgcolor="#d0ddb0">
81
		Service
81
		Service
82
		</td><td>
82
		</td><td>
83
		<input type=text name="Fou" value="$ou" size=35>
83
		<input type=text name="Fou" value="$ou" size=35>
84
		</td>
84
		</td>
85
	</tr>
85
	</tr>
86
	<tr>
86
	<tr>
87
		<td align=right bgcolor="#d0ddb0">
87
		<td align=right bgcolor="#d0ddb0">
88
		$l_homephone
88
		$l_homephone
89
		</td><td>
89
		</td><td>
90
		<input type=text name="Fhomephone" value="$homephone" size=35>
90
		<input type=text name="Fhomephone" value="$homephone" size=35>
91
		</td>
91
		</td>
92
	</tr>
92
	</tr>
93
	<tr>
93
	<tr>
94
		<td align=right bgcolor="#d0ddb0">
94
		<td align=right bgcolor="#d0ddb0">
95
		$l_telephonenumber
95
		$l_telephonenumber
96
		</td><td>
96
		</td><td>
97
		<input type=text name="Ftelephonenumber" value="$telephonenumber" size=35>
97
		<input type=text name="Ftelephonenumber" value="$telephonenumber" size=35>
98
		</td>
98
		</td>
99
	</tr>
99
	</tr>
100
	<tr>
100
	<tr>
101
		<td align=right bgcolor="#d0ddb0">
101
		<td align=right bgcolor="#d0ddb0">
102
		$l_mobile
102
		$l_mobile
103
		</td><td>
103
		</td><td>
104
		<input type=text name="Fmobile" value="$mobile" size=35>
104
		<input type=text name="Fmobile" value="$mobile" size=35>
105
		</td>
105
		</td>
106
	</tr>
106
	</tr>
107
EOM;
107
EOM;
108
?>
108
?>
109
	</table>
109
	</table>
110
<br>
110
<br>
111
<input type=submit class=button value="<?php echo "$l_change";?>" OnClick="this.form.change.value=1">
111
<input type=submit class=button value="<?php echo "$l_change";?>" OnClick="this.form.change.value=1">
112
</form>
112
</form>
113
	</td></tr>
113
	</td></tr>
114
</table>
114
</table>
115
</tr>
115
</tr>
116
</table>
116
</table>
117
</TD></TR>
117
</TD></TR>
118
</TABLE>
118
</TABLE>
119
</td></tr>
119
</td></tr>
120
</TABLE>
120
</TABLE>
121
</body>
121
</body>
122
</html>
122
</html>
123
 
123