Размер файла: 1.06Kb
<?
/////////// Powered by Giga!!! /////////
/////////// http://gwap.net.ru /////////
/////////// Disign by 3v!!! /////////
/////////// http://wap.vavan.ru /////////
Error_Reporting(E_ALL & ~E_NOTICE);
include "set.php";
if($pass==$pas)
{
$file = fopen ("rec/$rf","a");
fputs ( $file, $answer);
fclose ($file);
echo '<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xml:lang="ru"> <head>';
echo "<title>reload ...</title>";
echo "<meta http-equiv='Refresh' CONTENT='1; URL=admin.php?act=view&pass=$pas'>\n";
echo "<link rel=\"stylesheet\" href=\"styles/$style.css\" type=\"text/css\" />";
echo "</head><body><div class=\"top\">Ответ добавлен!<br /><a href=\"admin.php?act=view&pass=$pas\">админ-панель</a></div>\n";
}
else
{
print "<div class=\"top\">ошибка авторизации<br/><a href=\"./admin.php\">еще раз?</a></div>";
};
echo '</body></html>';
?>