Location: PHPKode > projects > Poddy > src/maintainance/delete_item.php
<html>
<head>
<title>Delete Podcast</title>
</head>
<body>
<a href="index.php">Zum Hauptmen√ľ</a>
<hr/>
<?
require_once("../config.php");
require_once("lib/ingest_utils.php");
require_once("lib/sql_utils.php");

if (empty($_REQUEST["id"])) {
	die("no item id given");
}

$item = get_item($_REQUEST["id"]);

delete_item($item, !empty($_REQUEST["only_files"]), empty($_REQUEST["really"]));

?>

<a href="delete_item.php?id=<?php echo $_REQUEST["id"]; ?>&really=true&only_files=<?php echo $_REQUEST["only_files"]; ?>">Wirklich löschen ?</a>

</body>
</html>
Return current item: Poddy