if (!empty($_GET['state'])) { $intState = intval($_GET['state']); $arrWhere[] = " state = '{$intState}' "; $arrLink[] = 'state=' . $intState; } } else { if ($_GET['action'] == 'del') { if (!$objWebInit->checkPopedomG($_SESSION['user_id'], 'd')) { check::AlertExit('对不起,您没有删除权限', -1); } } else { if (!$objWebInit->checkPopedomG($_SESSION['user_id'], 'w')) { check::AlertExit('对不起,您没有写权限', -1); } } $objWebInit->doInfoAction($_GET['action'], $_POST['select']); } } if (!empty($_GET['title'])) { $strKeywords = strval(urldecode($_GET['title'])); if ($strKeywords[0] == '/') { //精确查询ID $strKeywords = substr($strKeywords, 1); if (is_numeric($strKeywords)) { $arrWhere[] = "id = '" . $strKeywords . "'"; } } else { $arrWhere[] = "title LIKE '%" . $_GET['title'] . "%'"; } $arrLink[] = 'title=' . $_GET['title']; }