==================== */

defined('COT_CODE') or die('Wrong URL');

$mode   = cot_import('mode', 'G', 'ALP');
$search = urldecode (cot_import('search', 'G', 'TXT'));
$how_search = cot_import('how_search', 'G', 'ALP');

switch ($mode) {
case 'search':
	if ($how_search == "on") {
		$sql_search_string = "
                SELECT page_alias, page_title, page_text FROM cot_pages