OpenDataServices(); //Creating the object $l_objSearch = new Search($l_objConnection); unset($l_arrSearchEngine); $l_intCount = 0; unset($l_output); //********** Search News if ($l_intBuscaPub == 1) { $l_arrSearchEngine = $l_objSearch->SearchEngine($l_strSearch, $f_arrData['community']); while ( $l_intCount < count($l_arrSearchEngine) ){ $l_outputNews .= ''; $l_outputNews .= ''.$l_arrSearchEngine[$l_intCount]["data"].''; $l_outputNews .= ''; $l_outputNews .= ''; $l_outputNews .= ''.$l_arrSearchEngine[$l_intCount]["titulo"].''; $l_outputNews .= ' '; $l_intCount++; } $counter_news = $l_intCount; } //********** Search Event if ($l_intBuscaEvt == 1) { $l_objEvent = new Event($l_objConnection); $l_arrSearchEngine = $l_objEvent->frontSearch($l_strSearch, $f_arrData['community']); $l_intAux = 0; while ( $l_arrEvt = $l_arrSearchEngine->next() ) { $l_outputEvt .= ''; $l_outputEvt .= ' '.$l_arrEvt["evttit"].''; $l_outputEvt .= "
".var_dump($l_arrEvt).'
'; $l_outputEvt .= ''; $l_outputEvt .= ' '; $l_intAux++; } $l_intCount += $l_intAux; $counter_evt = $l_intAux; } //********** Search Users if ($l_intBuscaPess == 1) { $l_objSearch1 = new Search($l_objConnection); $l_arrUser = $l_objSearch1->searchUser($l_strSearch, $f_arrData['community']); $l_intAux = 0; while ( $l_intAux < count($l_arrUser) ) { $l_outputPeople .= ''; $l_outputPeople .= ''.$l_arrUser[$l_intAux]["titulo"].''; $l_outputPeople .= ''; $l_intAux++; } $l_intCount += $l_intAux; $counter_people = $l_intAux; } //********** Search Library Docs if ($l_intBuscaLib == 1) { $l_intAux = 0; $l_objDoc = new LibDoc($l_objConnection); $l_objRecordSet = $l_objDoc->frontSearch($l_strSearch, $g_arrUsrData["usrcod"], $g_arrUsrData["groups"], "0", $f_arrData['community']); while ($l_arrRow = $l_objRecordSet->next()) { $find = 1; $l_outputDoc .= '
'.$l_arrRow["doctitle"].'

'; $l_intAux++; } $l_intCount += $l_intAux; $counter_docs = $l_intAux; } //********* Search Forum $l_objForMsg = new ForMsg($l_objConnection); if ($l_intBuscaFor == 1) { //Forum $l_intAux = 0; $l_arrSubject = $l_objForMsg->SearchEngine($l_strSearch, null, null, IS_FOR_FORUM, $f_arrData['community']); $l_intAux = count($l_arrSubject['assunto']); for($i = 0; $i < $l_intAux; $i++) { $assunto = $l_arrSubject['descricao'][$i]; $l_outputForum .= ' '.$assunto.'
  '; } $l_intCount += $l_intAux; $counter_forum = $l_intAux; } //********* Search Faq //include_once("incReg/permission.inc"); //if ($f_isLogged) //{ if ($l_intBuscaPR == 1) { //Faq $l_intAux = 0; $l_arrSubject = $l_objForMsg->SearchEngine($l_strSearch, null, null, IS_FOR_FAQ, $f_arrData['community']); $l_intAux = count($l_arrSubject['assunto']); for($i = 0; $i < $l_intAux; $i++) { $pergunta = $l_arrSubject['descricao'][$i]; $l_outputFaq .= ' '.$pergunta.'
  '; } $l_intCount += $l_intAux; $counter_faq = $l_intAux; } //} //Closing the connection $l_objDataAccessServices->CloseDataServices($l_objConnection); // Header of community if (isset($f_arrData['community'])) { $header = "header_".$f_arrData['community']; $header = "ltCPub/".$$header; include($header); } else { //include("ltCPub/header_pre_login.php"); include("incCPub/page_header.inc"); } //include('ltCPub/basic_page_header.php'); ?>
   
 
Resultados da Busca por:
 
 
0){ ?>DocumentosDocumentos 0){ ?>EventosEventos 0){ ?>PessoasPessoas 0){ ?>NotíciasNotícias 0){ ?>FórumFórum 0){ ?>P&RP&R
 
Documentos
 
Eventos

 

Pessoas

 

Notícias

 

Fórum

 

P&R