File:cn/search.html
Function Code:0
Method Code:-1
keyword.replace(',’)
对像没有被定义
class/product.xmlc
...td style="{@dis_spe}">{@zhekoujia}</td>
<td class="usstock">{@Stock2}</td>
<td>{@Stock}</td>
<td>{@huoqi}</td>
<td>{@jiajianbutton}</td>
<td>{@cartbutton}</td>
</tr>%};
@query=$query(goods,goods);
@queryitem=$query(item,goods);
@queryitem2=$query(item,goods);
@keyword=$get.sql(keyword).trim();
$if(@keyword==$empty){
@keyword=$null;
}
$else{
@keyword=@keyword.to(string);
@nidex=@keyword.indexOf([);
$if(@nidex>-1){
@mab=[[];
@keyword=@keyword.to(string).replace([,@mab);
}
}
@
keyword=@keyword.replace(\',’);
//剔除指定搜索字符 , ,$iif($regex.isMatch(@keyword,^\\d{1\,2}$)==1)
$if($or($iif(@keyword==-),$iif(@keyword==),$iif(@keyword.length()<2),$iif(@keyword.toLower()==sy),$iif(@keyword.toLower()==00))){
$write(<div class="alert">input more!</div>);
$end();
}

//把搜索内容记录到表
@userIP=$web.getip(aa);
@searchip=$db.dataRow({% select id,status,stoptime from shopiprecord with(nolock) where ip=replace('{@userIP}','.','') %});
$if($and($iif(@searchip<>$empty),$iif(@searchip<>$n...