--- fenglin/bbs/search_user.php 2004/12/01 08:30:48 1.3 +++ fenglin/bbs/search_user.php 2025/03/28 10:32:21 1.13 @@ -1,146 +1,249 @@ - $page_total) +{ + $page = $page_total; +} -$page_total=intval($toa/$page_max_record); -if (($toa % $page_max_record)>0) - $page_total++; -if ($page>$page_total) - $page=$page_total; +if ($page <= 0) +{ + $page = 1; +} ?> - - 用户查找结果 + + 鐢ㄦ埛鏌ユ壘缁撴灉 - + + + +
- - - + + + + + + +
- +
+ >>鏌ユ壘 +
+ - 未找到指定用户鏈壘鍒版寚瀹氱敤鎴用户查找结果(共位) +?>鐢ㄦ埛鏌ユ壘缁撴灉锛堝叡浣嶏級 +锛堝綋鍓嶅湪绾挎敞鍐岀敤鎴浣嶏紝娓稿浣嶏級
- - - - - - - - - -
- - - - - - - + + + - +
+ + + + + + + + + +♂',''),'') as gender". - " from user_list". - " 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%' order by ".($type==1?"nickname":"username"). - " limit ".($page-1)*$page_max_record.",$page_max_record") - or die("Query user error!"); +$rs = mysqli_query($db_conn, $sql); +if ($rs == false) +{ + echo("Query user error" . mysqli_error($db_conn)); + exit(); +} -do +while ($row = mysqli_fetch_array($rs)) { - $color_index=($color_index+1)%$color_count; ?> - - - + - 鈾"); } - else + else { + echo (""); + } + } + else + { + echo ("?"); + } ?> - - + + + + +
鐢ㄦ埛ID鏄电О绛夌骇鏈鍚庣櫥闄嗘椂闂
- + - - )"> - + )"> + + + + + + ','send_msg',500,300)">鍙戦佹秷鎭 +
- - - - + +
@@ -151,43 +254,68 @@ mysql_close($db_conn);
-
- - 分页: /页 -1) -{ -?>9797 - -8:8: -
-
- +
+
+ 姣忛〉浜 + 1) +{ +?> + 9 + 7 + +9 7 + + 绗/椤 + + 8 + : + +8 : + + + + + >鍦ㄧ嚎 + >濂藉弸 + +
-