$intCatID = 1; $strSearch = cleanQuery(Trim($_GET["q"])); $intPage = (int)$_GET["page"]; $intMaxRow = 10; $intPagePerOnce = 10; if ($intPage == 0) { $intPage = 1; } if($strSearch != ""){ $strCond = " AND STR_RESEARCH_SUBJECT LIKE '%" . $strSearch . "%' OR STR_RESEARCH_NAME LIKE '%" . $strSearch . "%'"; } ?>