404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.138.141.138: ~ $
<?php

class SearchService extends BaseSerevice {

	public function getSoundexSuggestions($word){
		$transArray2 = $this->getTG()->getDB()->getSoundexSuggestions($word, $this);
		foreach ($transArray2 as $word2){
			// 				$contId = $word['id'];
			$related = $word2['searchedWord'];
			$wordId = $word2['id'];
			if(!empty($related)){
				$this->hasSoundex = true;
				$answerArray [] = ['text'=>$related, 'id'=> EnumWord::GET_TRANSLATION.":".$wordId];
			}

		}
		if(is_array($transArray2) && sizeof($transArray2)>0) {
			if($this->getTG()->getUser()->hasRole(EnumRole::TRANSLATOR)){

				$answerArray [] = $this->getTG()->keyboard->getTranslatorInlineKeyboard();
			}
			$this->getTG()->askMultipleChoiceQuestion("کدوم کلمه منظورت بود؟", $answerArray, $this->getTG()->chat_id);
		}
	}
}

?>

Filemanager

Name Type Size Permission Actions
invite Folder 2755
translate Folder 2755
BaseMessageService.class.php File 268 B 0755
BaseService.class.php File 364 B 0755
ButtonService.class.php File 6.81 KB 0755
CallbackService.class.php File 2.51 KB 0755
ContributionService.class.php File 1.76 KB 0755
GermanButtonService.class.php File 2.19 KB 0755
IntentService.class.php File 7.37 KB 0755
SearchService.class.php File 811 B 0755
TTSService.class.php File 769 B 0755