⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dele_message.php

📁 Download you own three BR
💻 PHP
字号:
<?php

if ($_GET['type']=="one_del") {
	include_once("functions/class_mysql.php");
	include_once("functions/func_common.php");
	$id=$_GET['id'];
	$query=$db->query("delete from e_mail where `id`='".$id."' and  `e_username`='".$_COOKIE['NickName']."' ;");
	echo "<SCRIPT language=JavaScript>";
	echo "alert(\" 信息:删除成功!\");";
	echo "window.location='message.php?e_type=2';</SCRIPT>";
	exit;
}elseif($_GET['type']=="all_del") {
	include_once("functions/class_mysql.php");
	include_once("functions/func_common.php");
	$num=count($_POST['item']);
	if ($num=="") {
		echomsg("请先选择操作对象!");
	}
	for ($i=0;$i<=$num;$i++)
	{
		$id=$_POST['item'][$i];
		$query=$db->query("delete from e_mail where `id`='".$id."' and  `e_username`='".$_COOKIE['NickName']."';");
	}
	echo "<SCRIPT language=JavaScript>";
	echo "alert(\" 信息:删除成功!\");";
	echo "window.location='message.php?e_type=".$_GET['e_type']."';</SCRIPT>";
	exit;
}
?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -