Subversion Repositories ALCASAR

Rev

Rev 910 | Rev 925 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log

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