Subversion Repositories ALCASAR

Rev

Rev 910 | Go to most recent revision | Details | Last modification | View Log

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