0) { $_SESSION['tip'] = (isset($_POST['vip'])) ? "vip" :"common"; $_SESSION['rubr'] = $_POST['rub']; $_SESSION['zakazmonth']=$_POST['period']; $_SESSION['vid']=$_POST['vid']; $_SESSION['rub']=$_POST['rub']; if($id > 0) { $subr=implode(";", $_POST[rub]); $sql="update page set subrubr='$subr', tip='$_SESSION[tip]', zakazmonth='$_SESSION[zakazmonth]' where id=$id"; mysql_query($sql); header("location:page2.php?id=$id"); exit(); } else{ if(isset($_SESSION[user])) { header("location:page2.php?id=0"); exit(); } } } $mes=""; $_SESSION[kuda]=$_REQUEST[kuda]; if($_POST[act]=="subtest"){ if( captcha_check($_POST[rtest], $_SESSION['captcha_keystring'] ) ) { list($kol)=mysql_fetch_array(mysql_query("select count(*) from user where login='$_POST[email]'")); if($kol==0) { mysql_query("insert into user set login='$_POST[email]', passw='$_POST[passw]', email='$_POST[email]', date_reg=Now()"); $log_ans="yes"; $_SESSION[user]=mysql_insert_id(); $_SESSION[login]=$_POST[email]; if(isset($_POST[vid])) $_SESSION[vid]=$_POST[vid]; mail("innerbox@tutor.com.ua","tutor - �����������", "join.php - ����������������� $_POST[login] $_POST[passw] $_POST[email]", "From: site\nContent-type: text/html; charset=windows-1251"); $text="���� ����������� �� ������� www.tutor.com.ua ������ �������. \n ���� �������������� �����\n �����: $_POST[email] ������: $_POST[passw]\n. ��������� ��� ������, ��� ���������� ��� ��� ���������� � �������������� ���������� �� �������. \n � ���������� �����������, ������������� ������� www.tutor.com.ua "; mymail($_POST[email], "����������� �� tutor.com.ua" , $text); if(isset($_SESSION[rub])){ header("location:page2.php?id=0"); exit(); } if($_REQUEST[vid]!="forum"){ header("location:page1.php?id=0"); exit(); } else{ header("location: forum.php"); exit(); } } // EC�� ����� ����� else { $log_ans="not"; $passw=$_POST[passw]; $login=$_POST[email]; $email=$_POST[email]; $f_name=$_POST[f_name]; $s_name=$_POST[s_name]; } }else // ����� ������������ { $passw=$_POST[passw]; $login=$_POST[email]; $email=$_POST[email]; $f_name=$_POST[f_name]; $s_name=$_POST[s_name]; $mes="
����������� ������ ���
"; } }// post function check_Login($login) { $sql="select * from user where login='$login'"; $res=mysql_query($sql); if(mysql_num_rows($res)>0) return 1; else return 0; } require("sajax/Sajax.php"); $sajax_request_type = "GET"; sajax_export("check_Login"); sajax_handle_client_request(); ?> ���������� �����������, ������, ������ - �����������

�����������

����������� ���������� ��� ����������� � ������ ������ ��������� �������, � ������: ���������� �������, ���������� ������, ������� � ������.
���������� ��������� ���������� �� ������� �������. ���� �������� �� �������� "������� �� �������" ���� �� ��� ���������������� �� ����� �������, ��������������� � ����� �������/������� � ������ ����������� � ������ ������� �����. ��� ��������� ���� ����� ��� ���� ����������. ���� ���, ���������, ����������, ��������������� �����.
��������������� �����
����� email ��� ���� � ����� ����. �������������� ������ ����������� ������, ���� �� ��� ������.
��� email:
email ����� �������������� ��� ����� ��� �����������
������:
��������� ������:
��� �����������:
������� ���, ��������� �� ��������*:

������������� ��������