Просмотр файла dchat/mainanketa.php

Размер файла: 2.88Kb
<?

                    //                                      //////             //                                                //                        //           //
                    //                                      //       //                          //            /////                     /////                 
                    /////    \\        //          //        //         //       //    //        //     //      //     //               //           //
                    //   //     \\     //           //          //       //    //         //      //      //     //      //////     //           // 
                    //   //       \\ //             //        //         //      //    //         //      //     //               //     //           //
                    /////         \//               //////            //         //               //      //     //     /////        //           //  
                                         //                                                                                                                                    /////
                                        //

                  ///////////////////////////      [email protected]      ///////////////////////////////                         

Error_Reporting(E_ALL & ~E_NOTICE);          /////////////// игнорируем ошибки
header("Content-type:text/vnd.wap.wml;charset=utf-8");      //////// тип и кодировка документа

include 'dan.php';
include 'uzdan.php';




print "<?xml version=\"1.0\" encoding=\"utf-8\"?>
	<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.2//EN\" \"http://www.wapforum.org/DTD/wml12.dtd\">
	<wml><card id=\"mas\" title=\"&#x0420;&#x0435;&#x0433;&#x0438;&#x0441;&#x0442;&#x0440;&#x0430;&#x0446;&#x0438;&#x044F;\"><p>";
							///////////// выводим вмл заголовок



if($login!=""){
$textrek="$login:||:$mainpas:||:$msex:||:$mlet:||:$mzhivet:||:$mosebe:||:$morent:||:$mmail:||:$msajt:||:$zvanie:||:$forst:||:$ksoc:||:$privat:||:$mesnst:||:$maintame";
$textrek=htmlspecialchars(stripslashes($textrek));
$textrek=str_replace("$","$$",$textrek);
$substr_count = substr_count($textrek,":||:");


if($substr_count<15){


$fp=@fopen("$uzer/$login.log","w");
fputs($fp,"$textrek \r\n");                                    
fclose($fp);
@chmod ("$uzer/$login.log", 0777);}
$pas=$mainpas;

print"&#x0412;&#x044B;&#x043F;&#x043E;&#x043B;&#x043D;&#x0435;&#x043D;&#x043E;

<br/><anchor title=\"ok\">&#x041A; &#x0441;&#x043F;&#x0438;&#x0441;&#x043A;&#x0443; &#x043A;&#x043E;&#x043C;&#x043D;&#x0430;&#x0442;
<go href=\"rum.php\" method=\"post\">
<postfield name=\"login\" value=\"$login\"/>
<postfield name=\"pas\" value=\"$pas\"/>
<postfield name=\"key\" value=\"$key\"/>
</go>
</anchor>
";
}

print "

<br/><a href=\"$gl\">&#x041D;&#x0430; &#x0433;&#x043B;&#x0430;&#x0432;&#x043D;&#x0443;&#x044E;</a><br/>
</p></card></wml>";

?>