Есть некий скрипт: Код | <?php include("options.inc.php"); include("language.inc.php"); $secure = "ok"; include("view.inc.php"); ?> <html> <head> <title><?php echo"$getheader"; ?></title> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251"> <link rel="stylesheet" href="master.css" type="text/css"> <title><?php echo"$getheader";?></title> </head> <?php echo "<body bgcolor=\"$bgcolor\" text=\"$text\" link=\"$link\" vlink=\"$vlink\" alink=\"$alink\">";
if($card > $countcheck || !isset($card) || !ereg('[0-9]', $card)){ $check_error = "ok"; include("urlerror.inc.php"); }else{ if(chop($sesIDnew) == chop($session)){ ?> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251" /> <p class="header" align="center"><span class="header"> <?php echo"$getheader";?> </span></p> <p class="header" align="center"> </p> <p align="center"><img src="<?php echo "$picture";?>"> </p> <p> </p> <center> <table width="415" border="0" cellspacing="0" cellpadding="0"> <tr> <td bgcolor="#000000" width="1" height="1"></td> <td bgcolor="#000000" height="1"></td> <td bgcolor="#000000" width="1" height="1"></td> </tr> <tr> <td bgcolor="#000000" ></td> <td width="415" height ="19" class="bignewgray" bgcolor="<?php echo"$tback"; ?>"> <b><?php echo" $getyourname </b> $name[from]";?> <i><<a href="mailto:<?php echo"$email[from]";?>" class="bignewgray"><?php echo"$email[from]";?></a>></i> </td> <td bgcolor="#000000"></td> </tr> <tr> <td bgcolor="#000000" width="1" height="1"></td> <td bgcolor="#000000" height="1"></td> <td bgcolor="#000000" width="1" height="1"></td> </tr> </table>
</center> <br> <center> <table width="415" border="0" cellspacing="0" cellpadding="0"> <tr> <td bgcolor="#000000" width="1" height="1"></td> <td bgcolor="#000000" height="1"></td> <td bgcolor="#000000" width="1" height="1"></td> </tr> <tr> <td bgcolor="#000000" ></td> <td width="415" height ="19" class="bignewgray" bgcolor="<?php echo"$tback"; ?>"> <b><?php echo" $getrecipientsname </b> $name[to]";?> <i><<a href="mailto:<?php echo"$email[to]";?>" class="bignewgray"><?php echo"$email[to]";?></a>></i> </td> <td bgcolor="#000000"></td> </tr> <tr> <td bgcolor="#000000" width="1" height="1"></td> <td bgcolor="#000000" height="1"></td> <td bgcolor="#000000" width="1" height="1"></td> </tr> </table>
</center> <br> <center>
<table width="415" border="0" cellspacing="0" cellpadding="0"> <tr> <td bgcolor="#000000" width="1" height="1"></td> <td bgcolor="#000000" height="1"></td> <td bgcolor="#000000" width="1" height="1"></td> </tr> <tr> <td bgcolor="#000000" ></td> <td width="415" height ="19" class="bignewgray" bgcolor="<?php echo"$tback"; ?>"><table width="409" border="0" cellspacing="2" cellpadding="0" align="center"> <tr> <td height="53"><b><?php echo"$getentermessage";?> <br></b> <?php echo"<meta http-equiv=\"Content-Type\" content= application/x-url-encoded; charset=windows-1251 />$comment";?></td> </tr> </table> </td> <td bgcolor="#000000"></td> </tr> <tr> <td bgcolor="#000000" width="1" height="1"></td> <td bgcolor="#000000" height="1"></td> <td bgcolor="#000000" width="1" height="1"></td> </tr> </table>
</center>
<?php //if }else{ $check_error = "ok"; include("urlerror.inc.php");
} }
echo"<br><br>"; include("banner.inc.php"); ?>
</body> </html>
|
К нему как видно выше инклудится language.inc.php Вот содержание language.inc.php Код | <?php $header = "Отправить"; $yourname = "Ваше имя:"; $yourmail = "Ваш e-mail"; $recipientsname = "Имя получателя:"; $recipientsmail = "e-mail получателя:"; $entermessage = "Сообщение:"; $needyourname = "- Необходимо ввести Ваше имя!"; $needyourmail = "- Необходимо ввести Ваш e-mail!"; $needrecipientsname = "- Необходимо ввести имя получателя"; $needrecipientsmail = "- Необходимо ввести e-mail получателя"; $needentermessage = "- Необходимо ввести сообщение"; ?>
|
Все вроде по русски, а страница все равно кракозяброй пишется. Помогите тупому разобраться что и куда писать чтоб все ок было? Или если влом объяснять дайте ссылку на ман где это почитать можно. И ещё вопрос что такое htmlentities - за что это отвечает? Это сообщение отредактировал(а) Haotarez - 16.9.2006, 00:02
|