题名:(请输入关键字,多个关键字间用空格隔开)
请输入检索内容    高级检索
责任者:
请输入检索内容    高级检索
时间:(1900年?2000年)
请选择时间限度:从 年到     高级检索
在结果中查询:
在结果中查询:
在结果中查询:从 年到
='$d1' AND cwsj<='$d2'"; } $condition=" where 1=1 ".$condition1; if(!empty($post_var['inresult'])) $inresult=" AND id IN (".$post_var['inresult'].")"; $sqlnum="select * from $Table[bli] ".$condition.$inresult; $resultnum=$DB_web->query(StripSlashes($sqlnum)); $intTotalNum=$DB_web->num_rows($resultnum); $inresultsql="select id from $Table[bli] ".$condition;; serachinresult1($post_var['searchflag'],$inresultsql,$post_var['d1'],$post_var['d2'],$post_var['tm'],$post_var['zrz']); if($intTotalNum>0) { //--------------------------------- //处理翻页函数参数 getParam($pcurrpage,$intLineNum,$offset,$intTotalNum,15,$currpage); $limits=" AND id in(SELECT id FROM (SELECT rownum as numrow,id FROM $Table[bli] $condition order by id asc) WHERE numrow>$offset and numrow<=($offset+$intLineNum))"; //$limits=" LIMIT $offset,$intLineNum"; $intWhileNum="10"; $bgcolor="f5f5f5"; $btnColor="#E8E8FF"; $prama=""; //翻页函数 $pages=showPages($pcurrpage,$intTotalNum,$intLineNum,$intWhileNum,$prama,$bgcolor,$btnColor); //--------------------------------- echo""; echo""; echo""; echo""; echo""; echo""; echo""; echo""; $sql=$sqlnum.$limits." order by id desc"; $result=$DB_web->query(StripSlashes($sql)); $num=$offset; while($row=$DB_web->fetch_array($result)) { $num++; echo""; echo""; echo""; echo""; echo""; echo""; } echo""; echo""; echo"
 全宗号目录号文件题名
".$num."".$row[qzh]." ".$row[mlh]." ".$row[tm]."
".$pages."
"; } else { echo"
没有任何信息!
"; } } function process() { global $post_var; // print $post_var['func']."###"; switch($post_var['func']) { case "result": result(); break; default: interface(); break; } } include("head1.htm"); process(); include("foot.htm"); ?>