Subversion Repositories ALCASAR

Rev

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