source: trunk/searchKeywordContent.php

Last change on this file was 2, checked in by george, 14 years ago
  • Přidáno: Trunk revize 13719.
File size: 1.5 KB
Line 
1<?php
2
3/***************************************************************************
4* Dolphin Smart Community Builder
5* -----------------
6* begin : Mon Mar 23 2006
7* copyright : (C) 2006 BoonEx Group
8* website : http://www.boonex.com/
9* This file is part of Dolphin - Smart Community Builder
10*
11* Dolphin is free software. This work is licensed under a Creative Commons Attribution 3.0 License.
12* http://creativecommons.org/licenses/by/3.0/
13*
14* Dolphin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
15* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16* See the Creative Commons Attribution 3.0 License for more details.
17* You should have received a copy of the Creative Commons Attribution 3.0 License along with Dolphin,
18* see license.txt file; if not, write to marketing@boonex.com
19***************************************************************************/
20
21require_once('inc/header.inc.php');
22require_once(BX_DIRECTORY_PATH_INC . 'design.inc.php');
23require_once(BX_DIRECTORY_PATH_INC . 'languages.inc.php');
24bx_import('BxDolSearch');
25
26$bAjaxMode = ( isset( $_SERVER['HTTP_X_REQUESTED_WITH'] ) and $_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest' ) ? true : false;
27$aChoice = $_REQUEST['section'];
28$oZ = new BxDolSearch($aChoice);
29$sCode = $oZ->response();
30if (mb_strlen($sCode) > 0)
31 echo $sCode;
32else
33 echo $oZ->getEmptyResult();
34
35?>
Note: See TracBrowser for help on using the repository browser.