0){ ob_start(); if(isset($_SESSION['captcha_keystring']) && $_SESSION['captcha_keystring'] == $_POST['keystring']||$_SESSION['adminenter']=='dog2007'){//main // if($_POST['keystring']==123){ /*echo '
';
				 //echo $father['namedog'];
				  print_r($d_dog['birthdata']);
				// print_r($_POST);
				echo '
'; exit(); */ if ($changeimg=='no'&&$_SESSION['adminenter']=='dog2007'){ require_once('admin/functions.inc'); require_once('admin/config.inc'); connect(); updatedata(); } require_once('admin/functions.inc'); $check=check_time($_POST['d_dog']['birthdata']); $check_f=check_time($_POST['father']['birthdata']); $check_m=check_time($_POST['mother']['birthdata']); if ($_FILES['img']['name']==''){ $error='no_pic'; }else{ $size=getimagesize($_FILES['img']['tmp_name']); //print_r($size); if ($size['mime']=='image/jpeg'){ if($_FILES['img']['size']>$limit_size){ $error='err_s'; }elseif ($size[0]>$limit_w){ $error='err_w'; }elseif($size[1]>$limit_h){ $error='err_h'; }else{//1 require_once('admin/config.inc'); if ($check==true&&$check_f==true&&$check_m==true){//2 connect(); if ($_POST['act']=='edit'&&$_SESSION['adminenter']=='dog2007'){//sess1 $pid=$_POST['id']; /*echo $id; exit();*/ }else{//sess1 $sql="INSERT INTO d_dog (name, surname, lastname, address, phone, email, namedog, sex, birthdata, color, spr, svid, urkos, mark_ext, class, field_diplom, mark_field, mark_water, mark_animal, time_reg) VALUES ('".$d_dog['name']."', '".$d_dog['surname']."', '".$d_dog['lastname']."', '".$d_dog['address']."', '".$d_dog['phone']."', '".$d_dog['email']."', '".$d_dog['namedog']."', '".$d_dog['sex']."', '".convert_data($d_dog['birthdata'])."', '".$d_dog['color']."', '".$d_dog['spr']."', '".$d_dog['svid']."', '".$d_dog['urkos']."', '".$d_dog['mark_ext']."', '".$d_dog['class']."', '".$d_dog['field_diplom']."', '".$d_dog['mark_field']."', '".$d_dog['mark_water']."', '".$d_dog['mark_animal']."', '".time()."')"; //echo 'success'; $result=mysql_query($sql); $pid=mysql_insert_id (); $sql="INSERT INTO d_dog_father(pid, namedog, urkos, color, birthdata, mark_ext, field_diplom, class, owner) VALUES ('$pid','".$father['namedog']."','".$father['urkos']."','".$father['color']."','".convert_data($father['birthdata'])."','".$father['mark_ext']."','".$father['field_diplom']."','".$father['class']."','".$father['owner']."')"; $result=mysql_query($sql); $sql="INSERT INTO d_dog_mother(pid, namedog, urkos, color, birthdata, mark_ext, field_diplom, class, owner) VALUES ('$pid','".$mother['namedog']."','".$mother['urkos']."','".$mother['color']."','".convert_data($mother['birthdata'])."','".$mother['mark_ext']."','".$mother['field_diplom']."','".$mother['class']."','".$mother['owner']."')"; $result=mysql_query($sql); $sql="INSERT INTO d_dog_father_father(pid, namedog, urkos, color, mark_ext, field_diplom, owner) VALUES ('$pid','".$father['father']['namedog']."','".$father['father']['urkos']."','".$father['father']['color']."','".$father['father']['mark_ext']."','".$father['father']['field_diplom']."','".$father['father']['owner']."')"; $result=mysql_query($sql); $sql="INSERT INTO d_dog_father_mother(pid, namedog, urkos, color, mark_ext, field_diplom, owner) VALUES ('$pid','".$father['mother']['namedog']."','".$father['mother']['urkos']."','".$father['mother']['color']."','".$father['mother']['mark_ext']."','".$father['mother']['field_diplom']."','".$father['mother']['owner']."')"; $result=mysql_query($sql); $sql="INSERT INTO d_dog_mother_father(pid, namedog, urkos, color, mark_ext, field_diplom, owner) VALUES ('$pid','".$mother['father']['namedog']."','".$mother['father']['urkos']."','".$mother['father']['color']."','".$mother['father']['mark_ext']."','".$mother['father']['field_diplom']."','".$mother['father']['owner']."')"; $result=mysql_query($sql); $sql="INSERT INTO d_dog_mother_mother(pid, namedog, urkos, color, mark_ext, field_diplom, owner) VALUES ('$pid','".$mother['mother']['namedog']."','".$mother['mother']['urkos']."','".$mother['mother']['color']."','".$mother['mother']['mark_ext']."','".$mother['mother']['field_diplom']."','".$mother['mother']['owner']."')"; $result=mysql_query($sql); //3 koleno father $sql="INSERT INTO d_dog_father_father_father(pid, namedog, urkos, mark_ext, field_diplom, owner) VALUES ('$pid','".$father['father']['father']['namedog']."','".$father['father']['father']['urkos']."','".$father['father']['father']['mark_ext']."','".$father['father']['father']['field_diplom']."','".$father['father']['father']['owner']."')"; $result=mysql_query($sql); $sql="INSERT INTO d_dog_father_father_mother(pid, namedog, urkos, mark_ext, field_diplom, owner) VALUES ('$pid','".$father['father']['mother']['namedog']."','".$father['father']['mother']['urkos']."','".$father['father']['mother']['mark_ext']."','".$father['father']['mother']['field_diplom']."','".$father['father']['mother']['owner']."')"; $result=mysql_query($sql); $sql="INSERT INTO d_dog_father_mother_father(pid, namedog, urkos, mark_ext, field_diplom, owner) VALUES ('$pid','".$father['mother']['father']['namedog']."','".$father['mother']['father']['urkos']."','".$father['mother']['father']['mark_ext']."','".$father['mother']['father']['field_diplom']."','".$father['mother']['father']['owner']."')"; $result=mysql_query($sql); $sql="INSERT INTO d_dog_father_mother_mother(pid, namedog, urkos, mark_ext, field_diplom, owner) VALUES ('$pid','".$father['mother']['mother']['namedog']."','".$father['mother']['mother']['urkos']."','".$father['mother']['mother']['mark_ext']."','".$father['mother']['mother']['field_diplom']."','".$father['mother']['mother']['owner']."')"; $result=mysql_query($sql); //3 koleno mother $sql="INSERT INTO d_dog_mother_father_father(pid, namedog, urkos, mark_ext, field_diplom, owner) VALUES ('$pid','".$mother['father']['father']['namedog']."','".$mother['father']['father']['urkos']."','".$mother['father']['father']['mark_ext']."','".$mother['father']['father']['field_diplom']."','".$mother['father']['father']['owner']."')"; $result=mysql_query($sql); $sql="INSERT INTO d_dog_mother_father_mother(pid, namedog, urkos, mark_ext, field_diplom, owner) VALUES ('$pid','".$mother['father']['mother']['namedog']."','".$mother['father']['mother']['urkos']."','".$mother['father']['mother']['mark_ext']."','".$mother['father']['mother']['field_diplom']."','".$mother['father']['mother']['owner']."')"; $result=mysql_query($sql); $sql="INSERT INTO d_dog_mother_mother_father(pid, namedog, urkos, mark_ext, field_diplom, owner) VALUES ('$pid','".$mother['mother']['father']['namedog']."','".$mother['mother']['father']['urkos']."','".$mother['mother']['father']['mark_ext']."','".$mother['mother']['father']['field_diplom']."','".$mother['mother']['father']['owner']."')"; $result=mysql_query($sql); $sql="INSERT INTO d_dog_mother_mother_mother(pid, namedog, urkos, mark_ext, field_diplom, owner) VALUES ('$pid','".$mother['mother']['mother']['namedog']."','".$mother['mother']['mother']['urkos']."','".$mother['mother']['mother']['mark_ext']."','".$mother['mother']['mother']['field_diplom']."','".$mother['mother']['mother']['owner']."')"; $result=mysql_query($sql); }//sess1 //echo $sql; $loaded=copy($_FILES['img']['tmp_name'], $_SERVER['DOCUMENT_ROOT'].'/images/user_catalog/user_'.$pid.'.jpg'); $rnd=time(); if ($_POST['act']=='edit'&&$_SESSION['adminenter']=='dog2007'){ updatedata(); } Header("Location: $PHP_SELF?rnd=$rnd&error=no_err&rid=$pid"); //echo 'ghghg'; ob_end_flush(); exit(); }else{//2 if ($check==false){ $error='err_time'; }elseif($check_f==false){ $error='err_time_f'; }elseif($check_m==false){ $error='err_time_m'; } }//2 //echo 'da'; }//1 }else{ $error='err_ext'; } } /*print_r($_FILES); echo '
'; print_r($size); $ext=explode('.',strtolower($_FILES['img']['name'])); echo $ext[1];*/ /*$headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-type: text/plain; charset=windows-1251\r\n"; $headers .= "From: $mail\r\n"; $mail_body="$mail_body\r\n $nameaut"; if ($aim=='admin'){ $receiver='admin'; }else{ $receiver='alex'; } $res=mail($receiver.'@kurzhaar.in.ua', $theme, $mail_body, $headers); if ($res==true){//echo "Correct";*/ /*$rnd=time(); Header("Location: ".$PHP_SELF."?act=successreg&rnd=$rnd"); exit();*/ }else{//main $error='err_num'; require_once('admin/functions.inc'); $check=check_time($_POST['d_dog']['birthdata']); $check_f=check_time($_POST['father']['birthdata']); $check_m=check_time($_POST['mother']['birthdata']); }//main } unset($_SESSION['captcha_keystring']); require_once('admin/config.inc'); /*if ($_POST){ echo '
';
   	print_r($_POST);
   echo '
'; } */ ?> Регистрация члена клуба "НЕМЕЦКИЙ КУРЦХААР" 1
Фото собаки!"'; } //require_once('admin/functions.inc'); ?>

Ваш регистрационный номер - . Запишите его, для изменения существующих данных этот номер нужно будет сообщить администратору

Добавить еще данные

Регистрационная карточка члена клуба «Немецкий курцхаар»

Происхождение

Родители Дед, бабка Прадед, прабабка
Проверочное число *

(*) Обязательные поля