Размер файла: 4.75Kb
<?php
////////////////////////////////////////////////////////////////////////////
// -_- W|W PHP-master -_- //
// //
// Copyright 2008 MyIE //
// Create and Design by -_- MyIE //
// Site (web) -_- http://www.phpedited.com //
// Site (wap) -_- http://wap.phpedited.com //
// E-mail (MyIE) -_- [email protected] //
// ICQ (MyIE) -_- 952-11-78 //
// //
// Вы не имеете право убирать копирайт //
// оффициального сайта! //
//This program is free software: you can redistribute it and/or modify //
//it under the terms of the GNU General Public License as published by //
//the Free Software Foundation, either version 3 of the License, or //
//(at your option) any later version. //
// //
//This program is distributed in the hope that it will be useful, //
//but WITHOUT ANY WARRANTY; without even the implied warranty of //
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the //
//GNU General Public License for more details. //
// //
//You should have received a copy of the GNU General Public License //
//along with this program. If not, see <http://www.gnu.org/licenses/>. //
////////////////////////////////////////////////////////////////////////////
require_once"../tmpl/cnf.php";
require_once"../tmpl/ses.php";
require_once"../tmpl/hd.php";
?>
<table border=0 cellspacing=5 cellpadding=0 width=100%>
<tr>
<td><div class=a>
Изменение данных
</div></td>
</tr>
<tr>
<td>
<?php
echo("Юзер <font color=red>$log_pr_adm</font>");
$file_array=file("../lcl/prof/$log_pr_adm");
?>
<table cellpadding=0 cellspacing=0>
<tr>
<?php
echo "<form method='post' action='anketa_edited_adm.php?log_pr_adm=$log_pr_adm'>";
?>
<td>Логин:</td>
<?php
echo "<td><input name='$log' type='text' value='$file_array[0]' maxlength=10 size=20 style='width:140px' class=input> </td>";
?>
</tr>
<td>Пароль:</td>
<?php
echo "<td><input name='pass' type='text' value='$file_array[1]' maxlength=10 size=20 style='width:140px' class=input> </td>";
?>
</tr>
<td>Уровень доступа:</td>
<td>
<select name='dostup' style='width:140px'>
<option value='101'>Admin
<option value='102'>SuperModerator
<option value='103'>Moderator
<option value='1'>User
</td>
</tr>
<tr>
<td>Оператор: </td>
<?php
echo "<td><input name='operator' type='text' value='$file_array[3]' maxlength=10 size=20 style='width:140px' class=input> </td>";
?>
</tr>
<tr>
<td>Интересы: </td>
<?php
echo "<td><input name='interested' type='text' value='$file_array[4]' maxlength=10 size=20 style='width:140px' class=input> </td>";
?>
</tr>
<tr>
<td>Род занятий: </td>
<?php
echo "<td><input name='work' type='text' value='$file_array[5]' maxlength=10 size=20 style='width:140px' class=input> </td>";
?>
</tr>
<tr>
<td>Город: </td>
<?php
echo "<td><input name='City' type='text' value='$file_array[6]' maxlength=10 size=20 style='width:140px' class=input> </td>";
?>
</tr>
<tr>
<td>Мобила: </td>
<?php
echo "<td><input name='mobile' type='text' value='$file_array[7]' maxlength=10 size=20 style='width:140px' class=input> </td>";
?>
</tr>
<tr>
<td>День рожденья: </td>
</tr>
<tr>
<td>Дата</td>
<?php
echo "<td><input name='datar' type='text' value='$file_array[8]' maxlength=10 size=20 style='width:80px' class=input> </td>";
?>
</tr>
<tr>
<td>Месяц</td>
<?php
echo "<td><input name='month' type='text' value='$file_array[9]' maxlength=10 size=20 style='width:80px' class=input> </td>";
?>
</tr>
<tr>
<td>Год</td>
<?php
echo "<td><input name='year' type='text' value='$file_array[10]' maxlength=10 size=20 style='width:80px' class=input> </td>";
?>
</tr>
<tr>
<td>О себе: </td>
<?php
echo "<td><textarea cols=40 rows=5 name=about class=input>$file_array[11]</textarea></td>";
?>
</tr>
</table>
<br><center><input value='Изменить' type='submit' class=submit></form></center>
<a href=index.php>В админ-панель</a><br>
</td>
</tr>
</table>
<?php
require_once"../tmpl/dw.php";
?>