<?php
include('../include/session.php');


$list_type = $_GET['list_type'];
$list_name = $_GET['list_name'];


$table_name = $_SESSION['db_prefix']."_preset_list";
$delete_query = "DELETE FROM $table_name WHERE  preset_list_name = '".$list_name."' AND list_type = '".$list_type."' "; 
execsql($delete_query);


?>

<script language="javascript" type="text/javascript">
          window.location="user_list.php";
</script>