';
if (empty($_REQUEST)) {
echo '
';
//header("refresh:3;url=".$config['domain']."");
} elseif (isset($_GET['url'])) {
$img = $_GET['url'];
echo '
';
}
// 解密删除
if (isset($_GET['hash'])) {
$delHash = $_GET['hash'];
$delHash = urlHash($delHash, 1);
getDel($delHash, 'hash');
}
// 检查登录后再处理url删除请求
if (is_who_login('admin')) {
// 删除
if (isset($_GET['url'])) {
getDel($_GET['url'], 'url');
}
// 回收
if (isset($_GET['recycle_url'])) {
$recycle_url = $_GET['recycle_url'];
$recycle_url = parse_url($recycle_url)['path'];
if (file_exists(APP_ROOT . $recycle_url)) {
checkImg($recycle_url, 3);
echo '
';
} else {
echo '
';
}
}
} else {
if (isset($_GET['url'])) {
echo '
';
}
}
require_once APP_ROOT . '/application/footer.php';
?>