View file wwphpmaster1.03/www.phpedited.com/usr/anketa.php

File size: 6.28Kb
<?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/func.php";
require_once"../tmpl/ses.php";
require_once"../tmpl/hd.php";
require_once"../tmpl/hd_dw.php";

$f=fopen("../wap/lcl/panel3.dt","r");
$ifda=fgets($f);
$ifda=trim($ifda);
if ($ifda==1)
{
echo "<table border=0 cellspacing=5 cellpadding=0 width=100%>";
echo "<tr>";
echo "<td valign=_top width=100%>";
require_once"../panel/panel3q.php";
echo "</td>";
echo "</tr>";
echo "</table>";
}
else
{
echo "</td>";
echo "</tr>";
echo "</table>";
}

$f=fopen("../wap/lcl/panel1.dt","r");
$ifda=fgets($f);
$ifda=trim($ifda);
if ($ifda==1)
{
echo "<table border=0 cellspacing=5 cellpadding=0 width=100%>";
echo "<tr>";
echo "<td valign=_top>";
require_once"../panel/panel1q.php";
echo "</td>";
echo "<td width=100% valign=_top>";
}
else
{
echo "<table border=0 cellspacing=5 cellpadding=0 width=100%>";
echo "<tr>";
echo "<td valign=_top width=100%>";
}
?>

<table border=0 cellspacing=5 cellpadding=0 width=100%>
<tr>
<?php
echo("<td background='../thm-wb/$url_thm/pls.gif' align=center>");
echo("<img src='../thm-wb/$url_thm/plsl.gif' align=left>");
echo("<img src='../thm-wb/$url_thm/plsr.gif' align=right>");
?> 
Изменение данных
</td>
</tr>
<tr>
<td align=center>

<?php
$file_array=file("../wap/lcl/prof/$log");
?>
<table cellpadding=0 cellspacing=0>
  <tr>
<form method='post' action='anketa_edited.php'>
    <td>Логин:</td>
<?php
$file_array[0]=trim($file_array[0]);
echo "<td>$file_array[0]</td>";
?>
  </tr>
  <tr>
    <td>E-mail адрес: </td>
<?php
$file_array[18]=trim($file_array[18]);
echo "<td><input name='e_mail' type='text' value='$file_array[18]' size=20 style='width:140px' class=input>&nbsp;</td>";
?>
  </tr>
  <tr>
    <td>Оператор: </td>
<?php
$file_array[3]=trim($file_array[3]);
echo "<td><input name='operator' type='text' value='$file_array[3]' size=20 style='width:140px' class=input>&nbsp;</td>";
?>
  </tr>
  <tr>
    <td>Интересы: </td>
<?php
$file_array[4]=trim($file_array[4]);
echo "<td><input name='interested' type='text' value='$file_array[4]' size=20 style='width:140px' class=input>&nbsp;</td>";
?>
  </tr>
  <tr>
    <td>Род занятий: </td>
<?php
$file_array[5]=trim($file_array[5]);
echo "<td><input name='work' type='text' value='$file_array[5]' size=20 style='width:140px' class=input>&nbsp;</td>";
?>
  </tr>
  <tr>
    <td>ICQ: </td>
<?php
$file_array[15]=trim($file_array[15]);
echo "<td><input name='icq' type='text' value='$file_array[15]' size=20 style='width:140px' class=input>&nbsp;</td>";
?>
  </tr>
    <td>Домашняя страничка: </td>
<?php
$file_array[16]=trim($file_array[16]);
echo "<td><input name='homepage' type='text' value='$file_array[16]' size=20 style='width:140px' class=input>&nbsp;</td>";
?>
  </tr>
    <td>Город: </td>
<?php
$file_array[6]=trim($file_array[6]);
echo "<td><input name='city' type='text' value='$file_array[6]' size=20 style='width:140px' class=input>&nbsp;</td>";
?>
  </tr>
  <tr>
    <td>Мобила: </td>
<?php
$file_array[7]=trim($file_array[7]);
echo "<td><input name='mobile' type='text' value='$file_array[7]' size=20 style='width:140px' class=input>&nbsp;</td>";
?>
  </tr>
  <tr>
    <td>День рожденья: </td>
  </tr>
  <tr>
    <td>Дата</td>
<?php
$file_array[8]=trim($file_array[8]);
echo "<td><input name='datar' type='text' value='$file_array[8]' size=20 style='width:80px' class=input>&nbsp;</td>";
?>
  </tr>
  <tr>
    <td>Месяц</td>
<?php
$file_array[9]=trim($file_array[9]);
echo "<td><input name='month' type='text' value='$file_array[9]' size=20 style='width:80px' class=input>&nbsp;</td>";
?>
  </tr>
  <tr>
    <td>Год</td>
<?php
$file_array[10]=trim($file_array[10]);
echo "<td><input name='year' type='text' value='$file_array[10]' size=20 style='width:80px' class=input>&nbsp;</td>";
?>
  </tr>
  <tr>
    <td>О себе: </td>
<?php
$file_array[11]=trim($file_array[11]);
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>

</td>
</tr>
</table>

<?php
$f=fopen("../wap/lcl/panel2.dt","r");
$ifda=fgets($f);
$ifda=trim($ifda);
if ($ifda==1)
{
echo "</td>";
echo "<td width=100% valign=_top>";
require_once"../panel/panel2q.php";
}

require_once"../tmpl/dw.php";
decoder();
echo "</BODY>";
echo "</HTML>";
?>