Subversion Repositories ALCASAR

Rev

Rev 912 | Rev 1805 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log

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