Вход Регистрация
Файл: manager/up.php
Строк: 62
<?php 
require_once"../template/start.php";
require_once
"../template/regglobals.php";
require_once
"../template/config.php";
require_once
"../template/functions.php";
require_once
"../template/antidos.php";
require_once
"../template/cookies.php";
require_once
"../template/gzip.php";
require_once
"../template/header.php";
require_once
"../template/referer.php";
include_once
"../themes/$config_themes/index.php";
include_once
"../template/isset.php";



echo 
'<br><form action="news.php?action=add&amp;'.SID.'" method="post">';
echo 
'<b>Заголовок новости: </b><br>';
echo 
'<input type="text" name="themes" maxlength="50"><br>';
echo 
'<b>Новость: </b><br>';
echo 
'<textarea cols="25" rows="3" name="msg"></textarea><br><br>';
echo 
'Транслит: <input name="trans" type="checkbox" value="y"><br>';
echo 
'Рассылка:';
echo 
'<input name="subadd" type="checkbox" value="yes"><br><br>';
echo 
'<input type="submit" value="Добавить"></form><hr>';

echo
'<b>Заголовок новости: </b><br>';
echo
'<input name="themes" maxlength="50"/><br>';
echo
'<b>Новость: </b><br>';
echo
'<input name="msg" maxlength="1000"/><br>';
echo
'Транслит: <select name="trans"><option value="0">Нет</option>';
echo
'<option value="y">Да</option></select><br>';
echo
'Рассылка: <select name="subadd"><option value="no">Нет</option>';
echo
'<option value="yes">Да</option></select><br><br>';



echo
'<anchor>Добавить';
echo
'<go href="news.php?action=add&amp;'.SID.'" method="post">';
echo
'<postfield name="themes" value="$(themes)"/>';
echo
'<postfield name="msg" value="$(msg)"/>';
echo
'<postfield name="trans" value="$(trans)"/>';
echo
'<postfield name="subadd" value="$(subadd)"/>';
echo
'</go></anchor><br>--------------------<br>';


echo
'<br><img src="../images/img/back.gif" alt=""> <a href="news.php?'.SID.'">Вернуться</a>';
Онлайн: 0
Реклама