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

📄 save.php

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

include_once( "inc/auth.php" );
include_once( "inc/conn.php" );
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=gb2312\" />\r\n<title>无标题文档</title>\r\n</head>\r\n<body>\r\n<form id=\"form1\" action=\"index.php\" method=\"post\" >\r\n\t<table border=\"0\" width=\"100%\" cellspacing=\"1\"  cellpadding=\"0\">";
echo "\r\n\t\t<tr class=\"tablehead1\">\r\n\t\t\t<td >\r\n\t\t\t\t<img src=\"/images/workflow.gif\"  align=\"absmiddle\">生日贺卡设置\r\n\t\t\t</td>\r\n\t\t</tr>\r\n\t\t<tr class=\"tablehead2\">\r\n\t\t\t<td>\r\n\t\t\t\t<input type=\"image\" src=\"/images/button/return.gif\"  />\r\n\t\t\t</td>\r\n\t\t</tr>\r\n\t</table>\r\n</form>\r\n";
$Bir_Id = $_REQUEST['choosed_bir_id'];
$connection = openconnection( );
if ( $Bir_Id != "" )
{
	$query = "UPDATE birthday SET SELECTED = 0 ";
	$rs1 = exequery( $connection, $query );
	$query = "UPDATE birthday SET SELECTED = 1 WHERE ID = '".$Bir_Id."'";
	$rs = exequery( $connection, $query );
}
if ( $rs )
{
	echo "生日贺卡设置成功,请返回";
}
else
{
	echo "生日贺卡设置失败,请检查";
}
echo "</body>\r\n</html>\r\n";
echo "<s";
echo "cript language=\"javascript\">\r\n\tsetTimeout(\"document.getElementById('form1').submit();\",2000);\r\n</script>\r\n";
?>

⌨️ 快捷键说明

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