| 1 |
<? |
<? |
| 2 |
|
require_once "../lib/common.inc.php"; |
| 3 |
require_once "../lib/db_open.inc.php"; |
require_once "../lib/db_open.inc.php"; |
| 4 |
|
require_once "../bbs/session_init.inc.php"; |
| 5 |
?> |
?> |
| 6 |
<? |
<? |
| 7 |
if (isset($_GET["type"])) |
if (isset($_GET["type"])) |
| 28 |
<html> |
<html> |
| 29 |
<head> |
<head> |
| 30 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 31 |
<title>枫林在线 - 搜索</title> |
<title><? echo $BBS_name; ?> - 搜索</title> |
| 32 |
<link rel="stylesheet" href="css/default.css" type="text/css"> |
<link rel="stylesheet" href="css/default.css" type="text/css"> |
| 33 |
</head> |
</head> |
| 34 |
|
|
| 40 |
<table width="760" border="0" cellpadding="0" cellspacing="0"> |
<table width="760" border="0" cellpadding="0" cellspacing="0"> |
| 41 |
<tr height=20 bgcolor=#F3F9FC> |
<tr height=20 bgcolor=#F3F9FC> |
| 42 |
<td width="20"> </td> |
<td width="20"> </td> |
| 43 |
<td>枫林在线 >> <a href="search.php">搜索</a> >> <? echo $title; ?></td> |
<td><? echo $BBS_name; ?> >> <a href="search.php">搜索</a> >> <? echo $title; ?></td> |
| 44 |
<td width="20"> </td> |
<td width="20"> </td> |
| 45 |
</tr> |
</tr> |
| 46 |
<tr> |
<tr> |
| 113 |
case "doc": |
case "doc": |
| 114 |
?> |
?> |
| 115 |
请选择版块,并输入查找内容,"%"为通配符。 |
请选择版块,并输入查找内容,"%"为通配符。 |
| 116 |
<form action="/bbs/bbs.php" method="get" target="_blank"> |
<form action="/bbs/list.php" method="get" target="_blank" onsubmit="return (sid.value != 0);"> |
| 117 |
<select name="sid" value="0"> |
<select name="sid" value="0"> |
|
<option value="0">--请选择版块--</option> |
|
| 118 |
<? |
<? |
| 119 |
$rs_class=mysql_query("select CID,title from section_class where enable order by sort_order"); |
require_once "../bbs/section_list_dst.inc.php"; |
| 120 |
while($row_class=mysql_fetch_array($rs_class)) |
|
| 121 |
{ |
echo section_list_dst($db_conn); |
|
?><option value="0">==<? echo $row_class["title"];?>==</option> |
|
|
<? |
|
|
$rs_section=mysql_query("select SID,title from section_config where CID=". |
|
|
$row_class["CID"]." and enable and read_user_level<=11 order by sort_order"); |
|
|
while($row_section=mysql_fetch_array($rs_section)) |
|
|
{ |
|
|
?><option value="<? echo $row_section['SID'];?>"> ├<? echo $row_section["title"]; ?></option> |
|
|
<? |
|
|
} |
|
|
mysql_free_result($rs_section); |
|
|
} |
|
|
mysql_free_result($rs_class); |
|
| 122 |
?> |
?> |
| 123 |
</select> |
</select> |
| 124 |
<input name="search_text" value=""> |
<input name="search_text" value=""> |
| 125 |
<input type="submit" value="搜索" onclick="return (sid.value!='0');"> |
<input type="submit" value="搜索"> |
| 126 |
</form> |
</form> |
| 127 |
<? |
<? |
| 128 |
break; |
break; |