View file xzoom_v1.0/admin/news.php

File size: 798B
<?php

include("../config.php");
include("../templates/head.php");
include("../data/data_links.dat");
echo"<div class=\"a\">";
echo"Админка";
echo"</div>";
echo"<p>";
echo"<div class=\"c\">";
echo"Меню<p>";
if($_SERVER['QUERY_STRING'] == "login=$admin&pass=$pass")
{
echo"<form action=news_save.php?login=$admin&pass=$pass method=POST>
Название:</br>
<input type=text maxlength=\"1000\" name=name></br>
Новость:</br>
<input type=text maxlength=\"100000\" name=news><p>";
echo"<input type=submit name=submit class=buttom value=\"Сохранить\"><p>
</form>";
echo"<a href=\"main.php?login=$admin&pass=$pass\">Назад</a></br>";
}
else
{
echo"Ошибка авторизации";
}
echo"</div>";
include("../templates/foot.php");

?>