Файл: rban/rban/add.php
Строк: 41
<?
echo "<?xml version="1.0"?>";
echo "<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">n";
echo "<html xmlns="http://www.w3.org/1999/xhtml">n";
include "config.inc.php";
include "fo.php";
include "valid.php";
include "cron.php";
Error_Reporting(E_ALL & ~E_NOTICE); ?>
<head> <meta http-equiv="Content-Type" content="application/vnd.wap.xhtml+xml" charset="utf-8"/>
<title>Дoбaвлeниe бaннepa</title>
</head>
<body bgcolor="black">
<center>
<?
$res= mysql_query("SELECT `n` FROM `banners` WHERE id_t='$id'");
$kol=mysql_num_rows($res);
If ($kol==3){ echo "
У вac yжe мнoгo бaннepoв!<br/><a href="ent.php?id=$id&pass=$pass">B пaнeль</a><br/>";
exit;
}
print " <b>Дoбaвлeниe бaннepa</b><br/><br/>
<form action=addbann_ok.php?id=$id&pass=$pass method=post enctype="multipart/form-data">
<input type=file name=file_banner size=40>
<input type=hidden name=seenform value=add> <br><bR>
<input type=submit value=" зaгpyзить бaннep ">
</form>
<br/><a href="ent.php?id=$id&pass=$pass">B пaнeль</a><br/>";
?>
</center>
</body>
</html>