Обо мне
батик
Живопись
текстиль и кожа
интерьер
боди арт
обо мне

VArtBN


Продажа картин

Яндекс цитирования



Каталог Ростова-на-Дону


Добро пожаловать!
Правила этой гостевой книги очень просты: Доброжелательность и корректность.

Любые сообщения не устраивающие владельцев сайта удаляются без объяснения причин.



$m11

"; $openfile=file($base); $strings=count($openfile); //echo "sdfsd

















"; if($strings<=$nums) $pages=1; else { if(($strings%$nums)!=0) $pages=$strings/$nums+1; else $pages=$strings/$nums; } if(!isset($page) || ((int)$page>(int)$pages) || ((int)$page<0)) $page=1; ?>
$g3:* (max. $maxforname)
E-mail:* (max. $maxformail)
$g4: (max. $maxforsite)
ICQ: (max. $maxforicq)
$g12: (max. $maxforcity)
$g5:* (max. $maxformess)
Цифровой код:* \"Visual
 
"; $seenform=$_POST['seenform']; print $form; if(isset($seenform)) { $name = $_POST['name']; $mail = $_POST['mail']; $homepage = $_POST['homepage']; $icq = $_POST['icq']; $city = $_POST['city']; $msg = $_POST['msg']; $user_code = $_POST['user_code']; if ($name == "" or $mail == "" or $msg == "") {print "$m2
";$er = 1;} if (strlen($name) > $maxforname and $name != "") {print "$m3
";$er = 1;} if (eregi("<", $name)) {$er=1;print "$m15
";} if (strlen($mail) > $maxformail and $mail != "") {print "$m5
";$er = 1;} if (eregi("<", $mail)) {$er=1;print "$m15
";} if (strlen($homepage) > $maxforsite and $homepage != "") {print "$m10
";$er = 1;} if (eregi("<", $homepage)) {$er=1;print "$m15
";} if (strlen($icq) > $maxforicq and $icq != "") {print "$m12
";$er = 1;} if (eregi("<", $icq)) {$er=1;print "$m15
";} if (strlen($city) > $maxforcity and $city != "") {print "$m9
";$er = 1;} if (eregi("<", $city)) {$er=1;print "$m15
";} if (strlen($msg) > $maxformess and $msg != "") {print "$m6
";$er = 1;} if (eregi("<", $msg)) {$er=1;print "$m15
";} if (!eregi("^([0-9a-z]([-_.]?[0-9a-z])*@[0-9a-z]([-.]?[0-9a-z])*\\.[a-wyz][a-z](fo|g|l|m|mes|o|op|pa|ro|seum|t|u|v|z)?)$", $mail) and $mail != "") {print "$m4
";$er = 1;} if (!(PhpCaptcha::Validate($user_code))) { {print "Неверный цифровой код
";$er = 1;} } $f = $maxforword; $e = explode(" ",$msg); for ($a = 0; $a < sizeof($e); $a++) {$o = strlen($e[$a]);} if ($o > $maxforword) {print "$m14
";$er = 1;} if ($seenform == 'y' and $er == "") { $fp = fopen ("base.dat", "a"); $name = stripslashes($name); $name = ereg_replace(":",":",$name); $name = ereg_replace("::","::",$name); $msg = stripslashes($msg); $msg = ereg_replace("<","<",$msg); $msg = ereg_replace(">",">",$msg); $msg = ereg_replace('\\\"',""",$msg); $msg = ereg_replace("::","::",$msg); $msg = ereg_replace("!","!",$msg); $msg = ereg_replace("\r","",$msg); $msg = ereg_replace("\n","
",$msg); $msg = ereg_replace("%","%",$msg); $msg = ereg_replace("^ +","",$msg); $msg = ereg_replace(" +$","",$msg); $msg = ereg_replace(" +"," ",$msg); $msg = ereg_replace(":",":",$msg); $homepage = eregi_replace("http://","",$homepage); $homepage = eregi_replace("http:","",$homepage); $homepage = eregi_replace("http","",$homepage); $mail = eregi_replace("mailto:","",$mail); $mail = eregi_replace("mailto","",$mail); $string = "$name::$msg::$mail::$icq::$city::$homepage::$date::$ip::$answer\r\n"; fputs($fp,$string); fclose($fp); // mail("fd@cdp.tsure.ru", "From GuestBook", "Ncik: name\r\nСообщение: $msg\r\nМыло: $mail\r\nАська: $icq\r\nГород: $city\r\nХоум-пэйдж: $homepage\r\nДата: $date\r\nIp: $ip\r\n"); //print "$m7 $m8.
"; } } print "

$g1: "; if($strings <= 5) print "1

"; else { for($k=1; $k<=$pages; $k++) { if($k!=$page) print "$k "; else print "$k "; } } ?> $nums) $down=$up-$nums; else $down=0; print ""; for($i=$up-1; $i>=$down; $i--) { $k=$i+1; list($name,$msg,$mail,$icq,$city,$homepage,$date,$ip,$answer)=split("::",$openfile1[$i]); if ($k > 0) { print ""; print ""; print ""; } } print "
"; if($down > 0) $param = $down+1; else $param = 1; print ""; print "
"; print "
$g13: $date / $g2: $k
$g3:  $name
E-mail:  $mail
$g4:  $homepage
ICQ:  $icq
$g12:  $city
$g5:  $msg
"; print "
$g7: $strings
$g8: $g9 $param $g10 $up
"; ?>