Файл: admin/dell.php
Строк: 21
<?
include ('.../inc/avtoriz.php');
include ('.../inc/config.php');
include ('.../inc/connect.php');
?>
<div class="pageContent">
<div id="main"> <div class="container"><div class="left">
<?
if ( empty($_GET[id]) )
{exit('
<div align="center" id="cerror"></div>
ID пуст!
</div>
');}
$del= mysql_query("delete from `click` where `id`=".$_GET['id']." ");
if($del==true){
echo'<script> alert("Успешно удалено!")</script>
<meta http-equiv="Refresh" content="1; URL=reklama.php">';}
else { echo '<script> alert("Не удалено!")</script>
<meta http-equiv="Refresh" content="1; URL=reklama.php">
';}
?>
</div> </div> </div> </div>