<?php
if (ini_get('register_globals') != 1) {
if ((isset($_POST) == true) && (is_array($_POST) == true)) extract($_POST, EXTR_OVERWRITE);
if ((isset($_GET) == true) && (is_array($_GET) == true)) extract($_GET, EXTR_OVERWRITE);
}
require_once "maincore.php";
require_once THEMES."templates/header.php";

opentable("trinti");

if (isset($_POST['add'])) {

?>
 <?PHP
      $id = $_POST["id"];
      $visiid = explode("
      ", $id);
      for($all = 0; $all < count($visiid); $all++){
      ?>
      <?php
      $zz = "$visiid[$all],";
      $result = mysql_query("DELETE FROM ".$db_prefix."downloads where download_url IN('$zz')");
      ?>
      <?
      }
      ?>
<?


}
echo "<table class=tbl align=center>";
echo "<tr>
<form name='punish' method='post' action='".$PHP_SELF."'>
<td align='center' class='tbl2'><textarea name='id' rows='40' cols='2000' class='textbox' style='width:400px'></textarea><br>
<input type='submit' name='add' value='Trinti' class='button'>
</td></form></tr></table>";

closetable();

require_once THEMES."templates/footer.php";
?>