File size: 2.5Kb
<?php
//////////////////////////////////
/// X-Thief //
/// http://xTLT.org //
/// [email protected] //
/// ICQ: 4644864 //
/////////////////////////////////
include "config.php";
print '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Refresh" CONTENT="1; URL=http://'.$sit.'">
<title>'.$title.'</title>';
if($html=="1"){
print '<link href="css.css" rel="stylesheet" type="text/css">';}
print '</head>
<body><div class="ablockin">';
if($tema==""){$tema="[Без Темы]";}
$vas="Письмо с вашего сайта";
if (getenv("HTTP_X_FORWARDED_FOR")){
$ip=getenv("HTTP_X_FORWARDED_FOR");
}else{
$ip=getenv("REMOTE_ADDR"); }
$browz=getenv('HTTP_USER_AGENT');
$host =gethostbyaddr($REMOTE_ADDR);
$ip=htmlspecialchars(stripslashes($ip));
$browz=htmlspecialchars(stripslashes($browz));
$host=htmlspecialchars(stripslashes($host));
#####
$file=fopen("posl.X-Thief","w");
flock($file,LOCK_EX);
fputs($file,"$name");
fflush($file);
flock($file,LOCK_UN);
fclose($file);
chmod ("posl.X-Thief", 0666);
/////////////////
$file=fopen("vsego.X-Thief","a");
flock($file,LOCK_EX);
fputs($file,"$name\n");
fflush($file);
flock($file,LOCK_UN);
fclose($file);
chmod ("vsego.X-Thief", 0666);
###
if($site==""){$site="Функция Выключена";}
$site=str_replace("1","$s1",$site);
$site=str_replace("2","$s2",$site);
$site=str_replace("3","$s3",$site);
$site=str_replace("4","$s4",$site);
$site=str_replace("5","$s5",$site);
#####////////---------#########?///
$head = "From: $name -[X-Thief - xTLT.org] <$mail>\r\n";
$head .= "MIME-Version: 1.0\r\n";
$head .= "Content-Transfer-Encoding: 8bit\r\n";
$head .= "Content-Type: text/plain; charset=\"utf-8\"\r\n";
$head .= "X-Mailer: PHP v.".phpversion();
$message="$name оценил ваш сайт: [$site]\nСообщение: $mess\n***\n[Браузер: $browz]\n[IP: $ip]\n[Хост: $host]\nВы пользуетесь скриптом от X-Thief\nhttp://xTLT.org";
@mail("$smail", "$tema-$vas", $message, "$head");
print 'Сообщение, Отправлено!<br/>
<div class="bblock"><div class="bblockin">
<a href="http://'.$sit.'">На главную</a><br/>
© '.$sit.'<br/>
<img src="http://c.waplog.net/ru/17000.cnt" alt="" height="1" width="1" /><br/>
</div></div></body>
</html>';
###################################################################################################
?>