| 1 |
<? |
<? |
| 2 |
|
require_once "../lib/db_open.inc.php"; |
| 3 |
require_once "./session_init.inc.php"; |
require_once "./session_init.inc.php"; |
| 4 |
require_once "./user_level.inc.php"; |
require_once "./user_level.inc.php"; |
| 5 |
?> |
?> |
| 6 |
<? |
<? |
| 7 |
set_user_action("search_user"); |
$page = (isset($_GET["page"]) ? intval($_GET["page"]) : 1); |
| 8 |
|
$rpp = (isset($_GET["rpp"]) ? intval($_GET["rpp"]) : 20); |
|
$page_max_record=20; |
|
|
|
|
|
if (isset($_GET["page"])) |
|
|
$page=intval($_GET["page"]); |
|
|
else |
|
|
$page=1; |
|
|
if ($page<1) |
|
|
$page=1; |
|
| 9 |
|
|
| 10 |
if (isset($_GET["type"])) |
$type = (isset($_GET["type"]) ? intval($_GET["type"]) : 0); |
| 11 |
$type=intval($_GET["type"]); |
$online = (isset($_GET["online"]) && $_GET["online"] == "1" ? 1 : 0); |
| 12 |
else |
$friend = (isset($_GET["friend"]) && $_GET["friend"] == "1" ? 1 : 0); |
| 13 |
$type=2; |
$search_text = (isset($_GET["search_text"]) ? $_GET["search_text"] : ""); |
| 14 |
|
|
| 15 |
|
$sql = "SELECT IF(UID = 0, 1, 0) AS is_guest, COUNT(*) AS u_count FROM user_online |
| 16 |
|
WHERE TIMESTAMPDIFF(SECOND, last_tm, NOW()) <= $BBS_user_off_line |
| 17 |
|
GROUP BY is_guest"; |
| 18 |
|
|
| 19 |
if (isset($_GET["online"])) |
$rs = mysqli_query($db_conn, $sql); |
| 20 |
$online=($_GET["online"]=="on"); |
if ($rs == false) |
| 21 |
else |
{ |
| 22 |
$online=0; |
echo("Count online user error" . mysqli_error($db_conn)); |
| 23 |
|
exit(); |
| 24 |
|
} |
| 25 |
|
|
| 26 |
if (isset($_GET["friend"])) |
$guest_online = 0; |
| 27 |
$friend=($_GET["friend"]=="on"); |
$user_online = 0; |
|
else |
|
|
$friend=0; |
|
| 28 |
|
|
| 29 |
if (isset($_GET["search_text"])) |
while ($row = mysqli_fetch_array($rs)) |
| 30 |
$search_text=trim($_GET["search_text"]); |
{ |
| 31 |
else |
if ($row["is_guest"]) |
| 32 |
$search_text=""; |
{ |
| 33 |
$search_author=addslashes(stripslashes($search_text)); |
$guest_online = $row["u_count"]; |
| 34 |
|
} |
| 35 |
|
else |
| 36 |
|
{ |
| 37 |
|
$user_online = $row["u_count"]; |
| 38 |
|
} |
| 39 |
|
} |
| 40 |
|
mysqli_free_result($rs); |
| 41 |
|
|
| 42 |
$db_conn=include "./db_open.inc.php"; |
$sql = "SELECT COUNT(user_list.UID) AS rec_count FROM user_list" . |
| 43 |
|
($online ? " INNER JOIN user_online ON user_list.UID = user_online.UID" : "") . |
| 44 |
|
($friend ? " INNER JOIN friend_list ON user_list.UID = friend_list.fUID" : "") . |
| 45 |
|
($type == 1 ? " INNER JOIN user_pubinfo ON user_list.UID = user_pubinfo.UID" : "") . |
| 46 |
|
" WHERE user_list.enable AND ". |
| 47 |
|
($type == 1 ? "nickname" : "username") . |
| 48 |
|
" LIKE '%" . mysqli_real_escape_string($db_conn, $search_text) . "%'" . |
| 49 |
|
($online ? " AND TIMESTAMPDIFF(SECOND, last_tm, NOW()) <= $BBS_user_off_line" : ""). |
| 50 |
|
($friend ? " AND friend_list.UID = " . $_SESSION["BBS_uid"] : ""); |
| 51 |
|
|
| 52 |
$rs=mysql_query("select user_online.SID from user_online". |
$rs = mysqli_query($db_conn, $sql); |
| 53 |
" where UID=0 and current_action not in". |
if ($rs == false) |
| 54 |
" ('max_user_limit','max_ip_limit','max_session_limit','exit')". |
{ |
| 55 |
" group by SID") |
echo("Query user error" . mysqli_error($db_conn)); |
| 56 |
or die("Count guest error!"); |
exit(); |
| 57 |
$guest_count=mysql_num_rows($rs); |
} |
|
mysql_free_result($rs); |
|
|
|
|
|
$rs=mysql_query("select user_online.SID from user_online". |
|
|
" where UID<>0 and current_action not in". |
|
|
" ('max_user_limit','max_ip_limit','max_session_limit','exit')". |
|
|
" group by SID") |
|
|
or die("Count user error!"); |
|
|
$user_count=mysql_num_rows($rs); |
|
|
mysql_free_result($rs); |
|
|
|
|
|
$rs=mysql_query("select count(user_list.UID) as rec_count from user_list". |
|
|
($online?" inner join user_online on user_list.UID=user_online.UID":""). |
|
|
($friend?" inner join friend_list on user_list.UID=friend_list.fUID":""). |
|
|
" inner join user_pubinfo on user_list.UID=user_pubinfo.UID where". |
|
|
" user_list.enable and ".($type==1?"user_pubinfo.nickname":"user_list.username"). |
|
|
" like '%$search_author%'". |
|
|
($online ? " and current_action not in". |
|
|
" ('max_user_limit','max_ip_limit','max_session_limit','exit')":""). |
|
|
($friend ? " and friend_list.UID=".$_SESSION["BBS_uid"]:"") |
|
|
) |
|
|
or die("Query user error!"); |
|
| 58 |
|
|
| 59 |
$row=mysql_fetch_array($rs); |
if ($row = mysqli_fetch_array($rs)) |
| 60 |
$u_count=$row["rec_count"]; |
{ |
| 61 |
|
$toa = $row["rec_count"]; |
| 62 |
|
} |
| 63 |
|
|
| 64 |
mysql_free_result($rs); |
mysqli_free_result($rs); |
| 65 |
|
|
| 66 |
$toa=$u_count; |
$page_total = ceil($toa / $rpp); |
| 67 |
if ($toa==0) |
if ($page > $page_total) |
| 68 |
$toa=1; |
{ |
| 69 |
|
$page = $page_total; |
| 70 |
|
} |
| 71 |
|
|
| 72 |
$page_total=intval($toa/$page_max_record); |
if ($page <= 0) |
| 73 |
if (($toa % $page_max_record)>0) |
{ |
| 74 |
$page_total++; |
$page = 1; |
| 75 |
if ($page>$page_total) |
} |
|
$page=$page_total; |
|
| 76 |
?> |
?> |
| 77 |
<html> |
<html> |
| 78 |
<head> |
<head> |
| 79 |
<meta http-equiv="Content-Type" content="text/html; charset=gb2312"> |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 80 |
<title>用户查找结果</title> |
<title>鐢ㄦ埛鏌ユ壘缁撴灉</title> |
| 81 |
<link rel="stylesheet" href="css/default.css" type="text/css"> |
<link rel="stylesheet" href="css/default.css" type="text/css"> |
|
|
|
| 82 |
<style type="text/css"> |
<style type="text/css"> |
| 83 |
TD.head,TD.level,TD.login_dt,TD.dark,TD.username |
TD.head,TD.level,TD.login_dt,TD.dark,TD.username |
| 84 |
{ |
{ |
| 88 |
} |
} |
| 89 |
TD.head |
TD.head |
| 90 |
{ |
{ |
| 91 |
font-family: 楷体_GB2312; |
font-family: 妤蜂綋; |
| 92 |
color:#909090; |
color: #909090; |
| 93 |
} |
} |
| 94 |
TD.login_dt,TD.level,TD.dark,TD.username |
TD.login_dt,TD.level,TD.dark,TD.username |
| 95 |
{ |
{ |
| 96 |
text-align:center; |
text-align: center; |
| 97 |
} |
} |
| 98 |
TD.login_dt,TD.dark |
TD.login_dt,TD.dark |
| 99 |
{ |
{ |
| 100 |
color:#909090; |
color: #909090; |
| 101 |
background-color:#eaf0Fa; |
background-color: #eaf0Fa; |
| 102 |
} |
} |
| 103 |
TD.head,TD.level |
TD.head,TD.level |
| 104 |
{ |
{ |
| 105 |
background-color:#fafbfc; |
background-color: #fafbfc; |
| 106 |
} |
} |
| 107 |
TD.level |
TD.level |
| 108 |
{ |
{ |
| 109 |
color:orange; |
color: orange; |
| 110 |
|
} |
| 111 |
|
TD.username |
| 112 |
|
{ |
| 113 |
|
background-color: #fafbfc; |
| 114 |
|
} |
| 115 |
|
TD.username:hover |
| 116 |
|
{ |
| 117 |
|
background-color: #eaf0Fa; |
| 118 |
} |
} |
| 119 |
</style> |
</style> |
| 120 |
|
|
| 121 |
<script language="JavaScript" src="/js/nw_open.js"></script> |
<script language="JavaScript" src="/js/nw_open.js"></script> |
| 122 |
|
<script language="JavaScript"> |
| 123 |
|
function ch_page(page) |
| 124 |
|
{ |
| 125 |
|
document.change_page.page.value = page; |
| 126 |
|
document.change_page.submit(); |
| 127 |
|
return false; |
| 128 |
|
} |
| 129 |
|
|
| 130 |
|
function ch_rpp() |
| 131 |
|
{ |
| 132 |
|
document.change_page.page.value = Math.floor(document.change_page.page.value * <? echo $rpp; ?> / document.change_page.rpp.value); |
| 133 |
|
document.change_page.submit(); |
| 134 |
|
return false; |
| 135 |
|
} |
| 136 |
|
</script> |
| 137 |
</head> |
</head> |
| 138 |
<body> |
<body> |
| 139 |
<center> |
<center> |
| 140 |
<table cols="2" border="0" cellpadding="0" cellspacing="0" width="770"> |
<table cols="2" border="0" cellpadding="0" cellspacing="0" width="770"> |
| 141 |
<tr> |
<tr> |
| 142 |
<td colspan="2" style="color:green;"> |
<td colspan="2" style="color:green;"> |
| 143 |
<a class="s2" href="main.php">枫林在线论坛</a>>>查找<? echo ($online?"在线":""); ?><? echo ($friend?"好友":"用户"); ?> |
<a class="s2" href="main.php"><? echo $BBS_name; ?></a>>>鏌ユ壘<? echo ($online?"鍦ㄧ嚎":""); ?><? echo ($friend?"濂藉弸":"鐢ㄦ埛"); ?> |
| 144 |
</td> |
</td> |
| 145 |
</tr> |
</tr> |
| 146 |
<tr bgcolor="#d0d3F0" height="2"> |
<tr bgcolor="#d0d3F0" height="2"> |
| 148 |
<tr> |
<tr> |
| 149 |
<td class="dark" width="3%"></td> |
<td class="dark" width="3%"></td> |
| 150 |
<td class="head" width="97%"> |
<td class="head" width="97%"> |
| 151 |
<? if ($u_count==0) |
<? |
| 152 |
|
if ($toa==0) |
| 153 |
{ |
{ |
| 154 |
?> |
?>鏈壘鍒版寚瀹氱敤鎴<? |
| 155 |
未找到指定用户<? } |
} |
| 156 |
else |
else |
| 157 |
{ |
{ |
| 158 |
?>用户查找结果(共<? echo $u_count; ?>位)<? } ?> |
?>鐢ㄦ埛鏌ユ壘缁撴灉锛堝叡<? echo $toa; ?>浣嶏級 |
| 159 |
(当前在线注册用户<? echo $user_count; ?>位,游客<? echo $guest_count; ?>位) |
<? |
| 160 |
|
} |
| 161 |
|
?>锛堝綋鍓嶅湪绾挎敞鍐岀敤鎴<? echo $user_online; ?>浣嶏紝娓稿<? echo $guest_online; ?>浣嶏級 |
| 162 |
</td> |
</td> |
| 163 |
</tr> |
</tr> |
| 164 |
</table> |
</table> |
| 171 |
<table bgcolor="#f0F3Fa" border="0" cellpadding="0" cellspacing="0" width="770"> |
<table bgcolor="#f0F3Fa" border="0" cellpadding="0" cellspacing="0" width="770"> |
| 172 |
<tr bgcolor="#d0d3F0" height="20"> |
<tr bgcolor="#d0d3F0" height="20"> |
| 173 |
<td class="title" width="4%"></td> |
<td class="title" width="4%"></td> |
| 174 |
<td class="title" width="15%">用户ID</td> |
<td class="title" width="15%">鐢ㄦ埛ID</td> |
| 175 |
<td class="title" width="20%">昵称</td> |
<td class="title" width="20%">鏄电О</td> |
| 176 |
<td class="title" width="12%">等级</td> |
<td class="title" width="12%">绛夌骇</td> |
| 177 |
<td class="title" width="18%">最后登陆时间</td> |
<td class="title" width="18%">鏈鍚庣櫥闄嗘椂闂</td> |
| 178 |
<td class="title" width="27%"></td> |
<td class="title" width="27%"></td> |
| 179 |
<td class="title" width="4%"></td> |
<td class="title" width="4%"></td> |
| 180 |
</tr> |
</tr> |
| 181 |
<? |
<? |
| 182 |
$color[0]="#f0F3Fa"; |
$sql = "SELECT user_list.UID, username, nickname, exp, gender, gender_pub, last_login_dt FROM user_list" . |
| 183 |
$color[1]="#FAFBFC"; |
($online ? " INNER JOIN user_online ON user_list.UID = user_online.UID" : "") . |
| 184 |
$color_index=-1; |
($friend ? " INNER JOIN friend_list ON user_list.UID = friend_list.fUID" : "") . |
| 185 |
$color_count=2; |
" INNER JOIN user_pubinfo ON user_list.UID = user_pubinfo.UID WHERE user_list.enable AND ". |
| 186 |
|
($type == 1 ? "nickname" : "username") . |
| 187 |
$rs=mysql_query("select user_list.UID,username,nickname,exp,". |
" LIKE '%" . mysqli_real_escape_string($db_conn, $search_text) . "%'" . |
| 188 |
"gender,gender_pub,last_login_dt from user_list". |
($online ? " AND TIMESTAMPDIFF(SECOND, last_tm, NOW()) <= $BBS_user_off_line" : ""). |
| 189 |
($online?" inner join user_online on user_list.UID=user_online.UID":""). |
($friend ? " AND friend_list.UID = " . $_SESSION["BBS_uid"] : "") . |
| 190 |
($friend?" inner join friend_list on user_list.UID=friend_list.fUID":""). |
" ORDER BY " . ($type == 1 ? "nickname" : "username") . |
| 191 |
" inner join user_pubinfo on user_list.UID=user_pubinfo.UID where". |
" LIMIT " . ($page-1) * $rpp . ", $rpp"; |
|
" user_list.enable and ".($type==1?"user_pubinfo.nickname":"user_list.username"). |
|
|
" like '%$search_author%'". |
|
|
($online ? " and current_action not in". |
|
|
" ('max_user_limit','max_ip_limit','max_session_limit','exit')":""). |
|
|
($friend ? " and friend_list.UID=".$_SESSION["BBS_uid"]:""). |
|
|
" order by ".($type==1?"nickname":"username"). |
|
|
" limit ".($page-1)*$page_max_record.",$page_max_record") |
|
|
or die("Query user error!"); |
|
| 192 |
|
|
| 193 |
while($row=mysql_fetch_array($rs)) |
$rs = mysqli_query($db_conn, $sql); |
| 194 |
|
if ($rs == false) |
| 195 |
|
{ |
| 196 |
|
echo("Query user error" . mysqli_error($db_conn)); |
| 197 |
|
exit(); |
| 198 |
|
} |
| 199 |
|
|
| 200 |
|
while ($row = mysqli_fetch_array($rs)) |
| 201 |
{ |
{ |
|
$color_index=($color_index+1)%$color_count; |
|
| 202 |
?> |
?> |
| 203 |
<tr height="25"> |
<tr height="25"> |
| 204 |
<td class="dark"> |
<td class="dark"> |
| 206 |
if ($row["gender_pub"]) |
if ($row["gender_pub"]) |
| 207 |
{ |
{ |
| 208 |
if ($row["gender"] == 'M') |
if ($row["gender"] == 'M') |
| 209 |
echo ("<font color=blue>♂</font>"); |
{ |
| 210 |
|
echo ("<font color=blue>鈾</font>"); |
| 211 |
|
} |
| 212 |
else |
else |
| 213 |
echo ("<font color=red>♀</font>"); |
{ |
| 214 |
|
echo ("<font color=red>鈾</font>"); |
| 215 |
|
} |
| 216 |
} |
} |
| 217 |
else |
else |
| 218 |
{ |
{ |
| 220 |
} |
} |
| 221 |
?> |
?> |
| 222 |
</td> |
</td> |
| 223 |
<td class="username" bgcolor="#fafbfc" onmouseover="this.bgColor='#eaf0Fa';" onmouseout="this.bgColor='#fafbfc';"> |
<td class="username"> |
| 224 |
<a class="s2" href="javascript:show_profile(<? echo $row["UID"]; ?>)"><? echo $row["username"]; ?></a> |
<a class="s2" href="javascript:show_profile(<? echo $row["UID"]; ?>)"><? echo $row["username"]; ?></a> |
| 225 |
</td> |
</td> |
| 226 |
<td class="dark"> |
<td class="dark"> |
| 233 |
<? echo $row["last_login_dt"]; ?> |
<? echo $row["last_login_dt"]; ?> |
| 234 |
</td> |
</td> |
| 235 |
<td class="level"> |
<td class="level"> |
| 236 |
<a class="s2" href="javascript:NW_open('send_msg.php?user_id=<? echo $row["UID"]; ?>','send_msg',500,300)">发送消息</a> |
<a class="s2" href="javascript:NW_open('send_msg.php?user_id=<? echo $row["UID"]; ?>','send_msg',500,300)">鍙戦佹秷鎭</a> |
|
<a class="s2" href="javascript:NW_open('bbs_email.php?user_id=<? echo $row["UID"]; ?>','send_msg',500,300)">发送邮件</a> |
|
| 237 |
</td> |
</td> |
| 238 |
<td align="center"> |
<td align="center"> |
| 239 |
</td> |
</td> |
| 240 |
</tr> |
</tr> |
| 241 |
<? |
<? |
| 242 |
} |
} |
| 243 |
|
|
| 244 |
|
mysqli_free_result($rs); |
| 245 |
?> |
?> |
| 246 |
</table> |
</table> |
|
<? |
|
|
mysql_free_result($rs); |
|
|
mysql_close($db_conn); |
|
|
?> |
|
| 247 |
<table cols="3" border="0" cellpadding="5" cellspacing="0" width="770"> |
<table cols="3" border="0" cellpadding="5" cellspacing="0" width="770"> |
| 248 |
<tr bgcolor="#d0d3F0" height="10"> |
<tr bgcolor="#d0d3F0" height="10"> |
| 249 |
<td colspan="3" > |
<td colspan="3" > |
| 254 |
</td> |
</td> |
| 255 |
</tr> |
</tr> |
| 256 |
<tr> |
<tr> |
| 257 |
<td width="25%" align="center" style="color:#909090"> |
<form action="search_user.php" method="get" id="change_page" name="change_page"> |
| 258 |
<form action="search_user.php" method="get" id="change_page" name="change_page"> |
<td width="30%" style="color:#909090"> |
| 259 |
<input type="hidden" id="search_text" name="search_text" value="<? echo $search_text;?>"> |
姣忛〉<select size="1" id="rpp" name="rpp" onchange="ch_rpp();"> |
| 260 |
<input type="hidden" id="online" name="online" value="<? echo ($online?"on":"off"); ?>"> |
<? |
| 261 |
<input type="hidden" id="friend" name="friend" value="<? echo ($friend?"on":"off"); ?>"> |
foreach ($BBS_rpp_options as $k => $v) |
| 262 |
分页: <? echo $page; ?>/<? echo $page_total; ?>页 |
{ |
| 263 |
<? if ($page>1) |
echo ("<option value=\"$v\"" . ($v == $rpp ? " selected" : "") . ">$v</option>"); |
| 264 |
{ |
} |
| 265 |
?><a class="s8" title="首页" href="search_user.php?page=1&type=<? echo $type; ?>&online=<? echo ($online?"on":"off"); ?>&friend=<? echo ($friend?"on":"off"); ?><? if ($search_text!="") echo "&search_text=".$search_text;?>"><font face=webdings>9</font></a><a class="s8" title="上一页" href="search_user.php?page=<? echo $page-1; ?>&type=<? echo $type; ?>&online=<? echo ($online?"on":"off"); ?>&friend=<? echo ($friend?"on":"off"); ?><? if ($search_text!="") echo "&search_text=".$search_text;?>"><font face=webdings>7</font></a><? } |
?> |
| 266 |
else |
</select>浜 |
| 267 |
{ |
<? |
| 268 |
?><font face=webdings>97</font><? } ?> |
if ($page > 1) |
| 269 |
<input id="page_id" name="page" value="<? echo ($page) ; ?>" size="2"> |
{ |
| 270 |
<? if ($page<$page_total) |
?> |
| 271 |
{ |
<a class="s8" title="棣栭〉" href="" onclick="return ch_page(1);"><font face=webdings>9</font></a> |
| 272 |
?><a class="s8" title="下一页" href="search_user.php?page=<? echo $page+1; ?>&type=<? echo $type; ?>&online=<? echo ($online?"on":"off"); ?>&friend=<? echo ($friend?"on":"off"); ?><? if ($search_text!="") echo "&search_text=".$search_text;?>"><font face=webdings>8</font></a><a class="s8" title="尾页" href="search_user.php?page=<? echo $page_total; ?>&type=<? echo $type; ?>&online=<? echo ($online?"on":"off"); ?>&friend=<? echo ($friend?"on":"off"); ?><? if ($search_text!="") echo "&search_text=".$search_text;?>"><font face=webdings>:</font></a><? } |
<a class="s8" title="涓婁竴椤" href="" onclick="return ch_page(<? echo ($page - 1); ?>);"><font face=webdings>7</font></a> |
| 273 |
else |
<? |
| 274 |
{ |
} |
| 275 |
?><font face=webdings>8:</font><? } ?> |
else |
| 276 |
</form> |
{ |
| 277 |
</td> |
?> |
| 278 |
<td width="50" align="center"> |
<font face=webdings>9 7</font> |
| 279 |
<form action="search_user.php" method="get" id="search"> |
<? |
| 280 |
<font color=#909090>查找用户</font> |
} |
| 281 |
<select name="type"> |
?> |
| 282 |
<option value="2" <? if ($type==2) echo "selected"; ?> >按用户名</option> |
绗<input id="page" name="page" value="<? echo ($page) ; ?>" style="width: 30px;">/<? echo $page_total; ?>椤 |
| 283 |
<option value="1" <? if ($type==1) echo "selected"; ?> >按昵称</option> |
<? |
| 284 |
</select> |
if ($page < $page_total) |
| 285 |
<input type="text" id="search_text" name="search_text" size="15"> |
{ |
| 286 |
<input type="checkbox" id="online" name="online" <? echo ($online?"checked":"");?> ><font color=#909090>在线</font> |
?> |
| 287 |
<input type="checkbox" id="friend" name="friend" <? echo ($friend?"checked":"");?> ><font color=#909090>好友</font> |
<a class="s8" title="涓嬩竴椤" href="" onclick="return ch_page(<? echo ($page + 1); ?>);"><font face=webdings>8</font></a> |
| 288 |
<input type=image src="images/search.gif" alt="查找用户" border="0" name="image"></a> |
<a class="s8" title="灏鹃〉" href="" onclick="return ch_page(<? echo ($page_total); ?>);"><font face=webdings>:</font></a> |
| 289 |
</form> |
<? |
| 290 |
|
} |
| 291 |
|
else |
| 292 |
|
{ |
| 293 |
|
?> |
| 294 |
|
<font face=webdings>8 :</font> |
| 295 |
|
<? |
| 296 |
|
} |
| 297 |
|
?> |
| 298 |
|
</td> |
| 299 |
|
<td width="50%"> |
| 300 |
|
<select name="type"> |
| 301 |
|
<option value="0" <? if ($type==0) echo "selected"; ?> >鎸夌敤鎴峰悕</option> |
| 302 |
|
<option value="1" <? if ($type==1) echo "selected"; ?> >鎸夋樀绉</option> |
| 303 |
|
</select> |
| 304 |
|
<input type="text" id="search_text" name="search_text" size="15" value="<? echo $search_text;?>"> |
| 305 |
|
<input type="checkbox" id="online" name="online" value="1" <? echo ($online ? "checked" : "");?>><font color=#909090>鍦ㄧ嚎</font> |
| 306 |
|
<input type="checkbox" id="friend" name="friend" value="1" <? echo ($friend ? "checked" : "");?>><font color=#909090>濂藉弸</font> |
| 307 |
|
<input type=image src="images/search.gif" alt="鏌ユ壘鐢ㄦ埛" border="0" name="image"></a> |
| 308 |
</td> |
</td> |
| 309 |
<td width="25"> |
<td width="10%"> |
| 310 |
</td> |
</td> |
| 311 |
|
</form> |
| 312 |
</tr> |
</tr> |
| 313 |
</table> |
</table> |
| 314 |
</center> |
</center> |
| 315 |
<? |
<? |
| 316 |
include "./foot.inc.php"; |
mysqli_close($db_conn); |
| 317 |
|
|
| 318 |
|
include "./foot.inc.php"; |
| 319 |
?> |
?> |
| 320 |
</body> |
</body> |
| 321 |
</html> |
</html> |
|
|
|