$_GET['user_type'] = null; $strKeywords = substr($strKeywords, 1); if (is_numeric($strKeywords)) { $arrWhere[] = "user_id = '" . $strKeywords . "'"; } } else { $arrWhere[] = "user_name LIKE '%" . $strKeywords . "%' or real_name LIKE '%" . $strKeywords . "%' or nick_name LIKE '%" . $strKeywords . "%' or email LIKE '%" . $strKeywords . "%' or mobile LIKE '%" . $strKeywords . "%'"; } $arrLink[] = 'title=' . $_GET['title']; } if ($_GET['status'] == '1' || $_GET['status'] == '0' || $_GET['status'] == '2' || $_GET['status'] == '3' || $_GET['status'] == '4' || $_GET['status'] == '5') { $arrWhere[] = "status='" . $_GET['status'] . "'"; $arrLink[] = 'status=' . $_GET['status']; } } else { $objWebInit->doInfoAction($_GET['action'], $_POST['select']); } } $strWhere = implode(' AND ', $arrWhere); if (!empty($strWhere)) { $strWhere = ' WHERE ' . $strWhere; } if (empty($_GET['sort'])) { $strOrder = ' ORDER BY submit_date DESC'; } elseif ($_GET['sort'] == 1) { $strOrder = ' ORDER BY user_id DESC'; } elseif ($_GET['sort'] == 2) { $strOrder = ' ORDER BY user_id ASC'; } $arrLink[] = 'sort=' . $_GET['sort']; if (!isset($_GET['page']) || $_GET['page'] == '') {