|
|
@@ -207,6 +207,9 @@ class SearchView |
|
|
|
*/ |
|
|
|
function GetKeywordSql() |
|
|
|
{ |
|
|
|
if ($this->Keywords == '') { |
|
|
|
return '1=2'; |
|
|
|
} |
|
|
|
$ks = explode(' ', $this->Keywords); |
|
|
|
$kwsql = ''; |
|
|
|
$kwsqls = array(); |
|
|
@@ -354,7 +357,7 @@ class SearchView |
|
|
|
$this->AddTable = "#@__archives"; |
|
|
|
} |
|
|
|
$cquery = "SELECT * FROM `{$this->AddTable}` arc WHERE ".$this->AddSql; |
|
|
|
//var_dump($cquery); |
|
|
|
// var_dump($cquery); |
|
|
|
$hascode = md5($cquery); |
|
|
|
$row = $this->dsql->GetOne("SELECT * FROM `#@__arccache` WHERE `md5hash`='".$hascode."' "); |
|
|
|
$uptime = time(); |
|
|
|