<?php
/*
	欢迎使用DM企业建站系统，本系统由www.demososo.com开发。
*/
if(!defined('IN_DEMOSOSO')) {
	exit('this is wrong page,please back to homepage');
}

?>
<?php
$modtype='search';
//$searchkey=@$_POST['searchword']; _GET
//pre($_GET);
//$searchkey = @htmlentitdm($_GET['keywords']);//not good for fr lang。
 $v = @trim($_GET['keywords']); //not secruity。
 
  $v=str_replace("<script","<-nojsscript->",$v);
  $v=str_replace("</script>","<-/nojsscript->",$v);
  $v=str_replace("delete","<-/delete->",$v);
  $v=str_replace("insert","<-/insert->",$v);
  $v=str_replace("update","<-/update->",$v);
  $v=str_replace("alert","<-/alert->",$v);
  $v=str_replace("zzz_","<-/zzz_->",$v); //防止修改表格
  $v=str_replace("TABLE_","<-/TABLE_->",$v);
  $v = addslashes($v);  //stripslashes
 $searchkey = $v;

$bannertitle = $bannertext= $title = $breadarr[0]= SEARCHTITLE;
 
 
	//--seo----
		$seo1v=$title.' '.$searchkey;
		$seo2v=$title.' '.$searchkey;
		$seo3v=$title.' '.$searchkey;
		//unset($seo1)
		//array_unshift($seo1, $curseo1);
		if($seo1v<>''){ $seo1[0] =$seo1v;} else  $seo1[0] =$title;
		if($seo2v<>''){ $seo2[0] =$seo2v;} else  $seo2[0] =$title;
		if($seo3v<>''){ $seo3[0] =$seo3v;} else  $seo3[0] =$title;

	 
//  layoutcur('search33--','search33-');  

 

?>

  
<?php    
  $reqfile2 = tplhookfile('layout/tpl_search.php');  
 if(checkfile($reqfile2))  require  $reqfile2; 