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

📄 show_search.php

📁 通达OA部分源代码
💻 PHP
字号:
<?php 
include "logincheck.php";
include_once "myconnect.php";
include_once "date_time_format.php";
if(isset($_REQUEST["sb_id"]) && is_numeric($_REQUEST["sb_id"]))
{
	$sb_id=$_REQUEST["sb_id"];
	$sbq_sea="select * from sbbleads_search_results where sb_id=$sb_id and sb_uid=".$_SESSION["sbbleads_userid"];
//	die ($sbq_sea);
	$sbrow_sea=mysql_fetch_array(mysql_query($sbq_sea));
	if($sbrow_sea)
	{
		$sbstr_pass="";
		if($sbrow_sea["sb_keyword"]<>'')
			$sbstr_pass.="&keyword=".$sbrow_sea["sb_keyword"];
		if( ($sbrow_sea["sb_search_method"] > 0) && ($sbrow_sea["sb_search_method"] < 4))
			$sbstr_pass.="&search_method=".$sbrow_sea["sb_search_method"];
		$sbstr_pass.="&cid=".$sbrow_sea["sb_cid"];
		$sbstr_pass.="&type=".$sbrow_sea["sb_type"];
		if($sbrow_sea["sb_country"]>0)
			$sbstr_pass.="&country=".$sbrow_sea["sb_country"];
		
		$sbstr_pass.="&day=".$sbrow_sea["sb_day"];
		$sbstr_pass.="&month=".$sbrow_sea["sb_month"];
		$sbstr_pass.="&year=".$sbrow_sea["sb_year"];
		$sbstr_pass.="&day1=".$sbrow_sea["sb_day1"];
		$sbstr_pass.="&month1=".$sbrow_sea["sb_month1"];
		$sbstr_pass.="&year1=".$sbrow_sea["sb_year1"];

		header("Location: search.php?$sbstr_pass");
		die();
	}	//end if $sbrow_sea exists
}
header("Location: index.php");
?>

⌨️ 快捷键说明

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