404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.140.192.22: ~ $
<?php

class BilderBuch extends FrontDesk {

    function processText(){
        if (strpos ( $text, "neue" ) === 0) {
            $imageMaker = new PostFromInternet($this->botUsername, "random");
            $photoText = $imageMaker->getPost();
    
            $photo = $photoText[0];
            //$photo = $this->addWaterMark($photo);
            $photo_text = $photoText[1];
            
            $key="trnsl.1.1.20161227T200147Z.ea68ee52a784814b.d57d90672c621ed4b707e054a845d8e0367ad95d";
            $translator = new Translator($key);
            $photo_text_translated = $translator->translate(strip_tags($photo_text), "de-fa");
            $photo_text_translated .= " ";
            
            $this->apiRequest ( "sendPhoto", array (
                    'chat_id' =>  $this->chat_id,
                    "photo" => $photo
            ) );
            $this->apiRequest ( "sendMessage", array (
                    'chat_id' => $this->chat_id,
                    "text" => $photo_text
            ) );
            $this->apiRequest ( "sendMessage", array (
                    'chat_id' => $this->chat_id,
                    "text" => $photo_text_translated
            ) );
            $this->apiRequest ( "sendMessage", array (
                    'chat_id' => 44903244,
                    "text" => $this->user ['username']." asked neue"
            ) );
            $this->apiRequest ( "sendPhoto", array (
                    'chat_id' => 44903244,
                    "photo" => $photo
            ) );
        }
    }

}

Filemanager

Name Type Size Permission Actions
BilderBuch.class.php File 1.51 KB 0644