| 1 |
<? |
<? |
| 2 |
require_once "./whereis.inc.php"; |
require_once "../lib/db_open.inc.php"; |
| 3 |
?> |
?> |
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
|
| 4 |
<? |
<? |
| 5 |
if (isset($_GET["type"])) |
if (isset($_GET["type"])) |
| 6 |
$type=$_GET["type"]; |
$type=$_GET["type"]; |
| 18 |
case "author": |
case "author": |
| 19 |
$title="作者搜索"; |
$title="作者搜索"; |
| 20 |
break; |
break; |
|
case "fulltext": |
|
|
$title="全文检索"; |
|
|
break; |
|
|
case "s_e": |
|
|
$title="资源搜索"; |
|
|
break; |
|
|
case "whereis": |
|
|
$title="地址搜索"; |
|
|
break; |
|
|
case "google": |
|
|
$title="搜索引擎"; |
|
|
break; |
|
|
case "site_reg": |
|
|
$title="网站登录"; |
|
|
break; |
|
| 21 |
default: |
default: |
| 22 |
$title="选择类别"; |
$title="选择类别"; |
| 23 |
break; |
break; |
| 95 |
<select name="jid" value="0"> |
<select name="jid" value="0"> |
| 96 |
<option value="0">--请选择发布时间--</option> |
<option value="0">--请选择发布时间--</option> |
| 97 |
<? |
<? |
|
$db_conn=include "./db_open.inc.php"; |
|
| 98 |
$rs=mysql_query("select * from journal_index where enable order by dt"); |
$rs=mysql_query("select * from journal_index where enable order by dt"); |
| 99 |
while($row=mysql_fetch_array($rs)) |
while($row=mysql_fetch_array($rs)) |
| 100 |
{ |
{ |
| 102 |
<? |
<? |
| 103 |
} |
} |
| 104 |
mysql_free_result($rs); |
mysql_free_result($rs); |
|
mysql_close($db_conn); |
|
| 105 |
?> |
?> |
| 106 |
</select> |
</select> |
| 107 |
<input type="submit" value="浏览" onclick="return (jid.value!='0');"> |
<input type="submit" value="浏览" onclick="return (jid.value!='0');"> |
| 115 |
<select name="sid" value="0"> |
<select name="sid" value="0"> |
| 116 |
<option value="0">--请选择版块--</option> |
<option value="0">--请选择版块--</option> |
| 117 |
<? |
<? |
|
$db_conn=include "./db_open.inc.php"; |
|
| 118 |
$rs_class=mysql_query("select CID,title from section_class where enable order by sort_order"); |
$rs_class=mysql_query("select CID,title from section_class where enable order by sort_order"); |
| 119 |
while($row_class=mysql_fetch_array($rs_class)) |
while($row_class=mysql_fetch_array($rs_class)) |
| 120 |
{ |
{ |
| 130 |
mysql_free_result($rs_section); |
mysql_free_result($rs_section); |
| 131 |
} |
} |
| 132 |
mysql_free_result($rs_class); |
mysql_free_result($rs_class); |
|
mysql_close($db_conn); |
|
| 133 |
?> |
?> |
| 134 |
</select> |
</select> |
| 135 |
<input name="search_text" value=""> |
<input name="search_text" value=""> |
| 161 |
|
|
| 162 |
</table> |
</table> |
| 163 |
<? |
<? |
| 164 |
|
mysql_close($db_conn); |
| 165 |
|
|
| 166 |
include "./foot.inc.php"; |
include "./foot.inc.php"; |
| 167 |
?> |
?> |
| 168 |
</center> |
</center> |