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

📄 do.php

📁 泛微协同办公系统标准版E-office V5.5的源代码内含泛微办公系统V5.5自动注册文件。
💻 PHP
字号:
<?php

include_once( "inc/auth.php" );
switch ( $_REQUEST['id'] )
{
case 1 :
	$id_str = explode( ",", $_REQUEST['id_str'] );
	$i = 0;
	for ( ;	$i < count( $id_str );	++$i	)
	{
		$del_duty = explode( ";", $id_str[$i] );
		$sql = "DELETE FROM attend_duty WHERE USER_ID='".$del_duty[1]."' and REGISTER_TIME='".$del_duty[0]."'";
		exequery( $connection, $sql );
		break;
	}
case 2 :
	if ( $_REQUEST['division'] == 1 )
	{
		$sql = "delete from ATTEND_OUT where USER_ID='".$_REQUEST['user_id']."' and OUT_TYPE='".$_REQUEST['out_type']."' and SUBMIT_TIME='".$_REQUEST['submit_time']."' and OUT_TIME1='".$_REQUEST['start_time']."' and OUT_TIME2='".$_REQUEST['end_time']."'";
		exequery( $connection, $sql );
	}
	if ( !( $_REQUEST['division'] == 2 ) )
	{
		break;
	}
	$id_str = explode( ",", $_REQUEST['id_str'] );
	$i = 0;
	for ( ;	$i < count( $id_str );	++$i	)
	{
		$sql = "delete from ATTEND_OUT where USER_ID='".$id_str[$i]."' order by OUT_TIME1";
		exequery( $connection, $sql );
		break;
	}
case 3 :
	$id_str = explode( ",", $_REQUEST['id_str'] );
	$i = 0;
	for ( ;	$i < count( $id_str );	++$i	)
	{
		$sql = "delete from attend_leave where LEAVE_ID='".$id_str[$i]."'";
		exequery( $connection, $sql );
		break;
	}
case 4 :
	$id_str = explode( ",", $_REQUEST['id_str'] );
	$i = 0;
	for ( ;	$i < count( $id_str );	++$i	)
	{
		$sql = "delete from attend_evection where EVECTION_ID='".$id_str[$i]."'";
		exequery( $connection, $sql );
	}
}
header( "location:search.php?id=".$_REQUEST['id']."&cur_page=".$_REQUEST['cur_page']."&number_type=".$_REQUEST['number_type']."&date_start=".$_REQUEST['date_start']."&date_end=".$_REQUEST['date_end']."&time_start=".$_REQUEST['time_start']."&time_end=".$_REQUEST['time_end']."&keywords=".$_REQUEST['keywords']."&TO_ID=".$_REQUEST['TO_ID']."&city=".$_REQUEST['city']."" );
?>

⌨️ 快捷键说明

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