Google Busca:

quinta-feira, 13 de setembro de 2018

Serial Adobe Premiere Cs3 1132-0886-3359-3715-8171-7428

Adobe Premiere Cs3
Serial: 1132-0886-3359-3715-8171-7428
depois vem este outro: 1132-1222-3889-0821-8662-0589
e o authorization code: 4431 6865 6530 0429 8406 5215.

Segue em anexo o crack para subistituir o arquivo na past de instalaçao depois que voce terminou de instalar programa.

Crack Adobe Premiere Cs3.rar

terça-feira, 3 de maio de 2016

Policarbonato Goiania - Sombrite Goiania - Toldo Goiania - Acrilico - Sombrite sombreador - tenda garagem - cobertura corredor com calha - cobertura pergolado


--------------------------------------------------------------------------------------------------------

PUBLICIDADE:


www.coberturasflamboyant.com.br

Coberturas e planejados flamboyant ind. com. ltda

Fabricamos sombreadores, pergolados, cobertura para pergolado em policarbonato e acrilico, sombrites, tendas para garagem com tela decorativa, toldos, toldo retratil, cobertura retratil, em goiania e região, enviamos para todo brasil.

Faça seu orçamento em nosso telefone 62 - 982593066 - wellington
mande sua foto do local e metragem aproximada para obter orçamento sem compromisso.

\






































































sexta-feira, 28 de agosto de 2015

Autuado de acordo com o 2º do art. 1º do dec. mun. 3861/2009 Goiania

Se voce ganhou essa placa no seu lote... provavelmente voce foi multado por um desses fatores:


Decreto nº 3.861 de 19/10/2009

Norma Municipal - Goiânia - GO
Publicado no DOM em 21 out 2009
Regulamenta a fiscalização, lançamento e cobrança de taxa de serviço público pela limpeza de terreno situados no Município de Goiânia (Macro-Zona Construída).
O Prefeito de Goiânia, no uso de suas atribuição legais, com fulcro no art. 115, incisos IV, XXI e XXII da Lei Orgânica de Goiânia, no art. 32, da Lei Complementar nº 14/1992 - Código de Posturas de Goiânia, com a redação da Lei Complementar nº 184/2005, e no disposto no parágrafo único do art. 150, da Lei nº 5.040/1975 - Código Tributário Municipal,
Decreta:
Art. 1º Compete a Agência Municipal do Meio Ambiente - AMMA, fiscalizar os imóveis não edificados, situados no Município de Goiânia, nos termos do art. 32, da Lei Complementar nº 14/1992 - Código de Posturas de Goiânia, com as alterações da Lei Complementar nº 148/2005.
§ 1º A AMMA, ao constatar o não comprimento da obrigação de manter roçado ou capinado, limpo e drenado o imóvel objeto de fiscalização deverá NOTIFICAR o proprietário a cumprir, no prazo de 8 (oito) dias úteis contados da notificação, a obrigação de fazer.
§ 2º Pelo descumprimento da obrigação de fazer a limpeza do terreno na forma da notificação, a Fiscalização Municipal do Meio Ambiente, por meio de auto de infração, aplicará multa no valor de R$ 1.000,00 (mil reais) para os imóveis localizados na 1ª e 2ª zonas fiscais, de R$ 500,00 (quinhentos reais) para os imóveis localizados na 3ª Zona Fiscal e de R$ 250,00 (duzentos e cinquenta reais) para os imóveis localizados na 4ª Zona Fiscal.
§ 3º O auto de infração lavrado pela fiscalização ambiental da AMMA seguirá o rito processual administrativo aplicável aos procedimentos, com prazo de defesa e de pagamento.
§ 4º Decorridos os prazos administrativos, sem a ocorrência do pagamento do valor da multa aplicada, este será inscrito em dívida ativa, para fins de execução fiscal, pela Secretaria Municipal de Finanças.
Art. 2º Decorrido o prazo estipulado no § 1º, do art. 1º, a AMMA incontinentemente, informará à Companhia de Urbanização do Município de Goiânia - COMURG, via on-line ou outro meio hábil, o imóvel fiscalizado e inadimplente com a obrigação de fazer, para que seja executado o serviço de limpeza do referido terreno, identificando o imóvel pelo número da inscrição do Cadastro Imobiliário, nos termos do art. 1º deste Decreto.
§ 1º A COMURG realizará o serviço especial de limpeza, remoção e destinação final dos resíduos sólidos e comunicará, via on-line, à Secretaria Municipal de Finanças, identificando o nome a inscrição cadastral por proprietário do referido imóvel.
§ 2º A Secretaria Municipal de Finanças, através do Departamento de Receitas Imobiliárias - Divisão de Contribuições e Taxas Especiais, lançará o tributo em conformidade com a tabela das taxas de serviços especiais pela limpeza constante do Anexo I, deste Decreto.
§ 3º A divisão de Contribuições e Taxas Especiais notificará o contribuinte do lançamento e cobrança da taxa de serviços públicos pela limpeza do terreno, que deverá ser paga no prazo de 20 (vinte) dias, ou, se preferir, apresentar defesa no mesmo prazo, junto à Divisão de Contribuições e Taxas Especiais do Departamento da Receita Imobiliária da Secretaria Municipal de Finanças, contados do recebimento da notificação direta ou do edital de notificação.
§ 4º O não pagamento da Taxa de Serviços Públicos lançada pela Divisão de Contribuições e Taxa Especiais no prazo do § 3º, acarretará a inadimplência do contribuinte, com a incidência dos acréscimos legais, nos termos do Código Tributário Municipal, e a conseqüente inscrição do débito na dívida ativa para a efetivação da cobrança pelo Departamento de Cobrança e da Secretaria Municipal de Finanças.
Art. 3º O pagamento da taxa de serviços públicos elencado neste Decreto, deverá ser efetuado na Rede Bancária Autorizada, via DUAM - Código da Receita nº 3239 - Tesouro - 005 - SEFIN - Secretaria Municipal de Finanças.
Art. 4º O pagamento da multa decorrente do descumprimento da obrigação prevista, será efetuado na Rede Bancária Autorizada, via DUAM - Código da Receita nº 4790 e os recursos destinados ao FMMA - Fundo Municipal do Meio Ambiente - Código 310.
Art. 5º Caberá à Companhia de Processamento de Dados do Município - COMDATA a implantação de programas que atendam o aqui disposto, em caráter prioritário e de urgência.
Art. 6º Caberá à Procuradoria Geral do Município, na forma do art. 201, do Código Tributário Municipal, a cobrança executiva.
Art. 7º A COMURG estabelecerá o custo dos serviços de roçagem, capina e da coleta, remoção e destinação final dos resíduos sólidos retirados do imóvel, por meio de uma planilha de valor dos serviços públicos especiais e específicos, que serão tomados como base de cálculo para o lançamento e cobrança da Taxa de Serviço Público Especial.
Parágrafo único. Sempre que houver alterações dos custos dos serviços praticados, o Chefe do Executivo atualizará os valores tabelados pelo Anexo I.
Art. 8º A Divisão de Contribuições do Departamento da Receita Imobiliária passa a denominar-se Divisão de Contribuições e Taxas Especiais, acrescentando-se aos arts. 28 e 33, do Regimento Interno da Secretaria Municipal de Finanças, aprovado pelo Decreto nº 3.277, de 17 de agosto de 2009 as competências de lançamento e notificação para o pagamento da Taxa de Serviços Públicos em razão da limpeza compulsória de terreno na forma do art. 32, do Código de Posturas.
Art. 9º Este Decreto entra em vigor na data de sua publicação.
GABINETE DO PREFEITO DE GOIÂNIA, aos 19 dias do mês de outubro de 2009.
IRIS REZENDE
Prefeito de Goiânia
MAURO MIRANDO SOARES
Secretário do Governo Municipal

fone: http://www.normasbrasil.com.br/norma/decreto-3861-2009-goiania_174452.html

sábado, 6 de dezembro de 2014

SOLUCAO ERRO JOOMLA JF TEXTURIA ERRO BT SLIDESHOW There isn't any images, Please upload via modules management in admin section

PARA RESOLVER O PROBLEMA, A PRIMEIRA COISA QUE VOCE TEM QUE FAZER É CHECAR SE SUA PASTA /www/modules/mod_btslideshow_pro/images
tem permissao para upload de imagens em 775, para setar essas permissoes instale o cuteftp , entre com os dados de sua hospedagem, caminhe ate a pasta mod_btslideshow_pro click sobre a pasta imagem, botao direito, click em permissoes, setar 775.

caso isso já esteja habilitado, voce precisa acessar essa pasta e mudar o conteudo de um arquivo


/www/modules/mod_bt_backgroundslideshow/admin/formfields/ajax.php

EDITAR A LINHA  /mod_bt_backgroundslideshow/admin/formfields/ajax.php ... fazer busca e pelo codigo abaixo e subistituir as linha 5x em local diferente do mesmo arquivo.


$objFile->file = $file


trocar por


$objFile->file = str_replace('http://', '', $file);



CODIGO PRONTO PAR ACOMPARAÇAO: JA CONSERTADO:
AJAX.PHP


/**
 * @package  formfields
 * @version 1.2
 * @created Aug 2012
 * @author BowThemes
 * @email support@bowthems.com
 * @website http://bowthemes.com
 * @support     Forum - http://bowthemes.com/forum/
 * @copyright   Copyright (C) 2012 Bowthemes. All rights reserved.
 * @license     http://bowthemes.com/terms-and-conditions.html
 *
 */
// no direct access
defined('_JEXEC') or die('Restricted access');

jimport('joomla.form.formfield');
jimport('joomla.html.parameter');
require_once JPATH_ROOT . '/modules/mod_btslideshow_pro/helpers/images.php';

class JFormFieldAjax extends JFormField {

    protected $type = 'ajax';
    private $allowedExtensions = array('jpg', 'jpeg', 'png', 'gif');
    private $saveDir = '';
    private $result = array('success' => false, 'message' => '');
    private $items = array();

    protected function getInput() {
        /**
         * Lấy các ảnh đã có
         */
        $params = $this->form->getValue('params');
        $items = json_decode(base64_decode($params->gallery));
        foreach ($items as $item) {
            $this->items[] = $item->file;
        }
        $this->saveDir = JPATH_ROOT . '/modules/mod_btslideshow_pro/images';
        if (JRequest::get('post') && JRequest::getString('action')) {
           $obLevel = ob_get_level();
   if($obLevel){
    while ($obLevel > 0 ) {
     ob_end_clean();
     $obLevel --;
    }
   }else{
    ob_clean();
   }
            echo self::doPost();
            exit;
        }
    }

    private function doPost() {

        /**
         * xử lý dành cho load photset của flickr và album của photoset
         */
        $moduleID = JRequest::getInt('id', 0);
        $validated = false;
        if (JRequest::getString('action') == 'load_options') {
            $arrOptions = array();
            //danh cho source flickr
            if (JRequest::getString('flickrAPI')) {
                $params = array(
                    'api_key' => JRequest::getString('flickrAPI'),
                    'format' => 'php_serial'
                );

                if (!JRequest::getString('photosetid')) {
                    //lay user id tu username
                    $params['method'] = 'flickr.people.findByEmail';
                    $params['find_email'] = JRequest::getString('flickrUserID');
                    $encoded_params = array();
                    foreach ($params as $k => $v) {
                        $encoded_params[] = urlencode($k) . '=' . urlencode($v);
                    }
                    $url = "http://api.flickr.com/services/rest/?" . implode('&', $encoded_params);
                    $rsp = file_get_contents($url);
                    $objRSP = unserialize($rsp);
                    if ($objRSP['stat'] == 'ok') {
                        $params['user_id'] = $objRSP['user']['id'];
                    }
                    $params['method'] = 'flickr.photosets.getList';
                    $encoded_params = array();
                    foreach ($params as $k => $v) {
                        $encoded_params[] = urlencode($k) . '=' . urlencode($v);
                    }
                    $url = "http://api.flickr.com/services/rest/?" . implode('&', $encoded_params);
                    $rsp = file_get_contents($url);
                    $objRSP = unserialize($rsp);
                    if ($objRSP['stat'] == 'ok') {
                        foreach ($objRSP['photosets']['photoset'] as $photoSet) {
                            $objOption = new stdClass();
                            $objOption->value = $photoSet['id'];
                            $objOption->text = $photoSet['title']['_content'];
                            $arrOptions[] = $objOption;
                        }
                    } else {
                        $this->result['message'] = $objRSP['message'];
                    }
                } else {
                    $params['method'] = 'flickr.photosets.getInfo';
                    $params['photoset_id'] = JRequest::getString('photosetid');
                    $encoded_params = array();
                    foreach ($params as $k => $v) {
                        $encoded_params[] = urlencode($k) . '=' . urlencode($v);
                    }
                    $url = "http://api.flickr.com/services/rest/?" . implode('&', $encoded_params);
                    $rsp = file_get_contents($url);
                    $objRSP = unserialize($rsp);
                    if ($objRSP['stat'] == 'ok') {
                        $objOption = new stdClass();
                        $objOption->value = JRequest::getString('photosetid');
                        $objOption->text = $objRSP['photoset']['title']['_content'];
                        $arrOptions[] = $objOption;
                    } else {
                        $this->result['message'] = $objRSP['message'];
                    }
                }
                if (count($arrOptions) > 0) {
                    $arrOptions = array_reverse($arrOptions);
                    $objOption = new stdClass();
                    $objOption->value = 0;
                    $objOption->text = JText::_('MOD_BTSLIDESHOW_FLICKR_ALL_PHOTOSETS');
                    $arrOptions[] = $objOption;
                    $arrOptions = array_reverse($arrOptions);
                }
            } else if (JRequest::getString('picasaUserID')) {
                // build feed URL
                $userid = JRequest::getString('picasaUserID');
                $feedURL = 'http://picasaweb.google.com/data/feed/api/user/' . $userid . '?alt=rss&kind=album';
                @$sxml = simplexml_load_file($feedURL);
                if (isset($sxml) && $sxml) {
                    foreach ($sxml->channel->item as $entry) {
                        $guid = (string) $entry->guid;
                        $albumID = substr($guid, strrpos($guid, '/') + 1, strrpos($guid, '?') - 1 - strrpos($guid, '/'));
                        $objOption = new stdClass();
                        $objOption->value = $albumID;
                        $objOption->text = (string) $entry->title;
                        $arrOptions[] = $objOption;
                    }
                    if (count($arrOptions) > 0) {
                        $arrOptions = array_reverse($arrOptions);
                        $objOption = new stdClass();
                        $objOption->value = 0;
                        $objOption->text = JText::_('MOD_BTSLIDESHOW_PICASA_ALL_ALBUMS');
                        $arrOptions[] = $objOption;
                        $arrOptions = array_reverse($arrOptions);
                    }
                } else {
                    $this->result['message'] = 'Unable to find user with email ' . $userid . '@gmail.com';
                }
            }
            if (count($arrOptions) > 0) {
                $this->result['success'] = true;
                $this->result['options'] = $arrOptions;
            }
            return json_encode($this->result);
        }
        /**
         * Nếu không phải là lấy thông tin bài viết (chỉ có ở admin)
         */ else if (JRequest::getString('action') != 'get_article') {
            //kiem tra quyen ghi cua cac thu muc trong thu muc images
            if (
                    !is_writable($this->saveDir .  '/tmp')
                    || !is_writable($this->saveDir . '/slideshow')
                    || !is_writable($this->saveDir  . '/thumbnail')
                    || !is_writable($this->saveDir . '/manager')
                    || !is_writable($this->saveDir  . '/original')
            ) {
                $this->result['message'] = JText::_('MOD_BTSLIDESHOW_ERROR_SAVE_DIR_NOT_WRITABLE');
                $validated = false;
                return json_encode($this->result);
            } else {
                /**
                 * Check login & permission
                 */
                $isAdmin = JFactory::getApplication()->isAdmin();
                if (!$isAdmin) {
                    $this->result['message'] = JText::_('JERROR_ALERTNOAUTHOR');
                    $validated = false;
                    return json_encode($this->result);
                } else {
                    /**
                     * Xử lý dành riêng cho uploadify
                     */
                    //nếu là uploadify
                    if (JRequest::getString('action') == 'uploadify' && !empty($_FILES)) {
                        $validated = true;
                        $file = $_FILES['Filedata']['tmp_name'];

                        $objFile = new stdClass();
                        $extension = explode('.', $_FILES['Filedata']['name']);
                        $extension = strtolower($extension[count($extension) - 1]);
                        if (in_array($extension, $this->allowedExtensions)) {
                            $basename = substr($_FILES['Filedata']['name'], 0, strrpos($_FILES['Filedata']['name'], '.'));
                            $hashedName = md5($moduleID . '-' . 'upload-' . $basename);
                            $filename = "{$hashedName}.{$extension}";
                            if (!in_array($filename, $this->items)) {

                                if (!move_uploaded_file($file, "{$this->saveDir}/tmp/original/{$filename}")) {
                                    $this->result['message'] = JText::_('MOD_BTSLIDESHOW_ERROR_COULD_NOT_SAVE');
                                    $validated = false;
                                } else {
                                    BTImageHelper::resize($this->saveDir . "/tmp/original/{$filename}", $this->saveDir . "/tmp/manager/{$filename}", 128, 96);
                                    $objFile->filename = $filename;
                                    $objFile->title = $basename;
                                }
                            } else {
                                $this->result['message'] = JText::_('MOD_BTSLIDESHOW_FILE_EXISTED');
                                $validated = false;
                            }
                        } else {
                            $this->result['message'] = JText::_('MOD_BTSLIDESHOW_FILE_EXTENSION_INVALID');
                            $validated = false;
                        }
                        if ($validated) {
                            $this->result["success"] = true;
                            $this->result["files"] = $objFile;
                        }
                        return json_encode($this->result);
                    } else {

                        //lay tham so
                        $feedTitle = true;
                        $getLimit = JRequest::getInt('get_limit', false);

                        /**
                         * Xử lý danh cho get list ảnh
                         * Nếu không phải là upload file và delete ( tuc la lay danh sach các file ảnh có thể có)
                         */
                        if (JRequest::getString('action') == 'get') {
                            //array photo getted
                            $photos = array();
                            //nếu source là joomla folder
                            if (JRequest::getString('jFolderPath')) {
                                //lay tham so jFolderPath
                                $jFolderPath = JRequest::getString('jFolderPath');
                                //check validated folder
                                if (is_dir($jFolderPath)) {
                                    $open = opendir($jFolderPath);
                                    $filename = readdir($open);
                                    while ($filename !== false) {
                                        //check validated file
                                        if (filetype($jFolderPath . '/' . $filename) == "file") {
                                            $file = $jFolderPath . '/' . $filename;
                                            $fileInfo = pathinfo($file);

                                            $hashedName = md5($moduleID . '-' . 'jfolder-' . JRequest::getString('jFolderPath') . '-' . $fileInfo['filename']);
                                            if (
                                                    $file
                                                    && in_array(strtolower($fileInfo["extension"]), $this->allowedExtensions)
                                                    && !JFile::exists($this->saveDir . "/tmp/original/{$hashedName}.{$fileInfo["extension"]}")
                                                    && !in_array($hashedName . '.' . $fileInfo["extension"], $this->items)
                                            ) {
                                                $objFile = new stdClass();
                                                $objFile->file = str_replace('http://', '', $file);
                                                $objFile->title = ($feedTitle) ? $fileInfo['filename'] : '';
                                                $objFile->source = 'jfolder-' . JRequest::getString('jFolderPath');
                                                $photos[] = $objFile;
                                            }
                                        }
                                        $filename = readdir($open);
                                    }
                                    closedir($open);
                                } else {
                                    $this->result['message'] = JText::_('MOD_BTSLIDESHOW_ERROR_DIRECTORY');
                                    $validated = false;
                                }
                            }
                            //danh cho source flikr
                            if (JRequest::getString('flickrAPI')) {
                                $params = array(
                                    'api_key' => JRequest::getString('flickrAPI'),
                                    'format' => 'php_serial'
                                );
                                $arrPhotoSetIDs = array();
                                if (!JRequest::getString('photosetid')) {
                                    //lay user id tu username
                                    $params['method'] = 'flickr.people.findByEmail';
                                    $params['find_email'] = JRequest::getString('flickrUserID');
                                    $encoded_params = array();
                                    foreach ($params as $k => $v) {
                                        $encoded_params[] = urlencode($k) . '=' . urlencode($v);
                                    }
                                    $url = "http://api.flickr.com/services/rest/?" . implode('&', $encoded_params);
                                    $rsp = file_get_contents($url);
                                    $objRSP = unserialize($rsp);
                                    if ($objRSP['stat'] == 'ok') {
                                        $params['user_id'] = $objRSP['user']['id'];
                                    }
                                    $params['method'] = 'flickr.photosets.getList';
                                    $encoded_params = array();
                                    foreach ($params as $k => $v) {
                                        $encoded_params[] = urlencode($k) . '=' . urlencode($v);
                                    }
                                    $url = "http://api.flickr.com/services/rest/?" . implode('&', $encoded_params);
                                    $rsp = file_get_contents($url);
                                    $objRSP = unserialize($rsp);
                                    if ($objRSP['stat'] == 'ok') {
                                        foreach ($objRSP['photosets']['photoset'] as $photoSet) {
                                            $arrPhotoSetIDs[$photoSet['id']] = $photoSet['title']['_content'];
                                        }
                                    } else {
                                        $this->result["message"] = $objRSP['message'];
                                    }
                                } else {
                                    $params['method'] = 'flickr.photosets.getInfo';
                                    $params['photoset_id'] = JRequest::getString('photosetid');
                                    $encoded_params = array();
                                    foreach ($params as $k => $v) {
                                        $encoded_params[] = urlencode($k) . '=' . urlencode($v);
                                    }
                                    $url = "http://api.flickr.com/services/rest/?" . implode('&', $encoded_params);
                                    $rsp = file_get_contents($url);
                                    $objRSP = unserialize($rsp);
                                    if ($objRSP['stat'] == 'ok') {
                                        $arrPhotoSetIDs[JRequest::getString('photosetid')] = $objRSP['photoset']['title']['_content'];
                                    } else {
                                        $this->result["message"] = $objRSP['message'];
                                    }
                                }
                                foreach ($arrPhotoSetIDs as $photoSetID => $photoSetName) {
                                    $params['method'] = 'flickr.photosets.getPhotos';
                                    $params['photoset_id'] = $photoSetID;
                                    $encoded_params = array();
                                    foreach ($params as $k => $v) {
                                        $encoded_params[] = urlencode($k) . '=' . urlencode($v);
                                    }
                                    $url = "http://api.flickr.com/services/rest/?" . implode('&', $encoded_params);
                                    $rsp = file_get_contents($url);
                                    $objRSP = unserialize($rsp);

                                    if ($objRSP['stat'] == 'ok') {
                                        foreach ($objRSP['photoset']['photo'] as $photo) {
                                            if (isset($photo['originalsecret']) && isset($photo['originalformat'])) {
                                                $file = "http://farm" . $photo['farm'] . ".static.flickr.com/" . $photo['server'] . "/" . $photo->id . "_" . $photo['originalsecret'] . "_o." . $photo['originalformat'];
                                            } else {
                                                $file = "http://farm" . $photo['farm'] . ".static.flickr.com/" . $photo['server'] . "/" . $photo['id'] . "_" . $photo['secret'] . "_b.jpg";
                                            }
                                            $fileInfo = pathinfo($file);
                                            $hashedName = md5($moduleID . '-' . 'flickr-' . $photoSetName . '-' . $fileInfo['filename']);
                                            if (
                                                    $file
                                                    && !JFile::exists($this->saveDir . "/tmp/original/{$hashedName}.{$fileInfo["extension"]}")
                                                    && !in_array($hashedName . '.' . $fileInfo["extension"], $this->items)
                                            ) {
                                                $objFile = new stdClass();
                                                $objFile->file = str_replace('http://', '', $file);
                                                $objFile->title = ($feedTitle) ? $photo['title'] : '';
                                                $objFile->source = 'flickr-' . $photoSetName;

                                                $photos[] = $objFile;
                                            }
                                        }
                                    } else {
                                        $this->result["message"] = $objRSP['message'];
                                    }
                                }
                            }
                            //if source is picasa
                            if (JRequest::getString('picasaUserID')) {
                                // build feed URL
                                $userid = JRequest::getString('picasaUserID');
                                $arrFeedURLs = array();
                                if (JRequest::getString('albumid')) {
                                    $arrFeedURLs[] = 'http://picasaweb.google.com/data/feed/base/user/' . $userid . '/albumid/' . JRequest::getString('albumid') . '?alt=rss';
                                } else {
                                    $feedURL = 'http://picasaweb.google.com/data/feed/api/user/' . $userid . '?alt=rss&kind=album';
                                    @$sxml = simplexml_load_file($feedURL);
                                    if (isset($sxml) && $sxml) {
                                        foreach ($sxml->channel->item as $entry) {
                                            $guid = (string) $entry->guid;
                                            $albumID = substr($guid, strrpos($guid, '/') + 1, strrpos($guid, '?') - 1 - strrpos($guid, '/'));
                                            $arrFeedURLs[] = 'http://picasaweb.google.com/data/feed/base/user/' . $userid . '/albumid/' . $albumID . '?alt=rss';
                                        }
                                    } else {
                                        $this->result["success"] = false;
                                        $this->result['message'] = 'Unable to find user with email ' . $userid . '@gmail.com';
                                    }
                                }
                                foreach ($arrFeedURLs as $feedURL) {
                                    $sxml = @simplexml_load_file($feedURL);
                                    if ($sxml) {
                                        foreach ($sxml->channel->item as $entry) {
                                            $media = $entry->children('http://search.yahoo.com/mrss/');
                                            $file = (string) $media->group->content->attributes()->url;
                                            $fileInfo = pathinfo($file);
                                            $hashedName = md5($moduleID . '-' . 'picasa-' . (string) $sxml->channel->title . '-' . $fileInfo['filename']);
                                            if (
                                                    $file
                                                    && !JFile::exists($this->saveDir . "/tmp/original/{$hashedName}.{$fileInfo["extension"]}")
                                                    && !in_array($hashedName . '.' . $fileInfo["extension"], $this->items)
                                            ) {
                                                $objFile = new stdClass();
                                                $objFile->file = str_replace('http://', '', $file);
                                                $objFile->title = ($feedTitle) ? (string) $entry->title : '';
                                                $objFile->source = 'picasa-' . (string) $sxml->channel->title;
                                                $photos[] = $objFile;
                                            }
                                        }
                                    }
                                }
                            }
                            //nếu source là phoca
                            if (JRequest::getString('phoca_catid') !== '') {

                                require_once JPATH_ROOT . '/modules/mod_btslideshow_pro/helpers/helper.php';
                                $helper = new BTSlideshowHelper();
                                if (!$helper->checkPhocaComponent()) {
                                    $this->result["message"] = JText::_('MOD_BTSLIDESHOW_COM_PHOCA_NOT_EXIST');
                                } else {
                                    $rs = $helper->getPhocaPhotos(JRequest::getString('phoca_catid'));

                                    if (count($rs) > 0) {
                                        foreach ($rs as $photo) {
                                            $file = JPATH_ROOT . "/images/phocagallery/" . $photo->filename;
                                            $fileInfo = pathinfo($file);
                                            $hashedName = md5($moduleID . '-' . 'phoca-' . $photo->cat_name . '-' . $fileInfo['filename']);
                                            if (
                                                    $file
                                                    && !JFile::exists($this->saveDir . "/tmp/original/{$hashedName}.{$fileInfo["extension"]}")
                                                    && !in_array($hashedName . '.' . $fileInfo["extension"], $this->items)
                                            ) {
                                                $objFile = new stdClass();
                                                $objFile->file = str_replace('http://', '', $file);
                                                $objFile->title = ($feedTitle) ? $photo->title : '';
                                                $objFile->source = 'phoca-' . $photo->cat_name;
                                                $photos[] = $objFile;
                                            }
                                        }
                                    }
                                }
                            }//end of phoca
                            //if source is joom gallery
                            if (JRequest::getString('jgallery_catid') !== '') {
                                require_once JPATH_ROOT . '/modules/mod_btslideshow_pro/helpers/helper.php';
                                $helper = new BTSlideshowHelper();
                                if (!$helper->checkJGalleryComponent()) {
                                    $this->result["success"] = false;
                                    $this->result["message"] = JText::_('MOD_BTSLIDESHOW_COM_JOOMGALLERY_NOT_EXIST');
                                } else {
                                    $rs = $helper->getJoomGalleryPhotos(JRequest::getString('jgallery_catid'));
                                    if (count($rs) > 0) {
                                        foreach ($rs as $photo) {
                                            $file = JPATH_ROOT . "/images/joomgallery/originals/" . $photo->cat_name . '/' . $photo->filename;
                                            $fileInfo = pathinfo($file);
                                            $hashedName = md5($moduleID . '-' . 'jgallery-' . $photo->cat_name . '-' . $fileInfo['filename']);
                                            if (
                                                    $file
                                                    && !JFile::exists($this->saveDir . "/tmp/original/{$hashedName}.{$fileInfo["extension"]}")
                                                    && !in_array($hashedName . '.' . $fileInfo["extension"], $this->items)
                                            ) {
                                                $objFile = new stdClass();
                                                $objFile->file = str_replace('http://', '', $file);
                                                $objFile->title = ($feedTitle) ? $photo->title : '';
                                                $objFile->source = 'jgallery-' . $photo->cat_name;
                                                $photos[] = $objFile;
                                            }
                                        }
                                    }
                                }
                            }//end of jqallery
                            /**
                             * Xử lý ảnh source photo đã lấy về
                             */
                            if ($getLimit) {
                                $photos = array_slice($photos, 0, $getLimit);
                            }
                            if (count($photos) > 0) {
                                $this->result['success'] = true;
                                $this->result['files'] = json_encode($photos);
                            } else {
                                if (!isset($this->result['message']) || $this->result['message'] == '')
                                    $this->result["message"] = JText::_('MOD_BTSLIDESHOW_ERROR_NO_IMAGE');
                            }
                            return json_encode($this->result);
                        } else if (JRequest::getString('action') == 'upload' && JRequest::getString('btfile')) {
                            $file = 'http://' . JRequest::getString('btfile');
                            $source = JRequest::getString('source');
                            $fileInfo = pathinfo($file);
                            $objFile = new stdClass();
                            $hashedName = md5($moduleID . '-' . $source . '-' . $fileInfo['filename']);
                            //neu chua co file nay trong thu muc original thi load file do vao trong thu muc tmp
                            if (!JFile::exists($this->saveDir . "/tmp/original/{$hashedName}.{$fileInfo["extension"]}") && !in_array($hashedName . '.' . $fileInfo["extension"], $this->items)) {

                                $filename = "{$hashedName}.{$fileInfo["extension"]}";
                                if (!copy($file, "{$this->saveDir}/tmp/original/{$filename}")) {
                                    $this->result['message'] = JText::_('MOD_BTSLIDESHOW_ERROR_COULD_NOT_SAVE');
                                    $validated = false;
                                } else {
                                    BTImageHelper::resize($this->saveDir . "/tmp/original/{$filename}", $this->saveDir . "/tmp/manager/{$filename}", 128, 96);
                                    $objFile->filename = $filename;
                                    $objFile->title = ($feedTitle && JRequest::getString('title')) ? JRequest::getString('title') : '';
                                    $validated = true;
                                }
                            } else {
                                $this->result['message'] = JText::_('MOD_BTSLIDESHOW_FILE_EXISTED');
                                $validated = false;
                            }
                            if ($validated) {

                                $this->result['success'] = true;
                                $this->result['files'] = $objFile;
                            }
                            return json_encode($this->result);
                        } else if (JRequest::getString('action') == 'delete') {
                            $file = JRequest::getString('file');

                            $fileInfo = pathinfo($file);

                            try {
                                JFile::delete($this->saveDir . '/manager/' . $fileInfo['basename']);
                                JFile::delete($this->saveDir . '/original/' . $fileInfo['basename']);
                                JFile::delete($this->saveDir . '/slideshow/' . $fileInfo['basename']);
                                JFile::delete($this->saveDir . '/thumbnail/' . $fileInfo['basename']);
                                JFile::delete($this->saveDir . '/tmp/manager/' . $fileInfo['basename']);
                                JFile::delete($this->saveDir . '/tmp/original/' . $fileInfo['basename']);
                                $this->result['success'] = true;
                                $objFile = new stdClass();
                                $objFile->filename = $fileInfo['basename'];
                                $this->result["files"] = $objFile;
                            } catch (Exception $ex) {
                                $this->result['message'] = $ex->getMessage();
                                $validated = false;
                            }
                            return json_encode($this->result);
                        }
                    }
                }
            }
        } else if (JRequest::getString('action') == 'get_article') {

            // Check login & permission
            $user = JFactory::getUser();
            if (!$user->id) {
                $this->result['message'] = JText::_('MOD_BTSLIDESHOW_ERROR_NOT_LOGIN');
                $this->result['success'] = false;
                return json_encode($this->result);
            } else {
                if (JRequest::getString('article_id')) {
                    $id = JRequest::getString('article_id');
                    require_once JPATH_ROOT . '/modules/mod_btslideshow_pro/helpers/helper.php';
                    $helper = new BTSlideshowHelper();
                    if (JRequest::getString('k2') && JRequest::getString('k2') == 1) {
                        $article = $helper->getK2ArticleInfo($id);
                        $desc = $helper->truncate_string($article[0], 300);
                        require_once JPATH_ROOT . '/components/com_k2/helpers/route.php';
                        $this->result['success'] = true;
                        $this->result['link'] = K2HelperRoute::getItemRoute($id, $article[1]);
                        $this->result['desc'] = strip_tags($desc, '');
                    } else {
                        require_once JPATH_SITE . '/components/com_content/helpers/route.php';
                        $article = $helper->getArticleInfo($id);
                        $desc = $helper->truncate_string($article[0], 300);
                        $articleSlug = $id . ':' . $article[1];
                        $catSlug = $article[2] . ':' . $article[3];

                        $this->result['success'] = true;
                        $this->result['link'] = ContentHelperRoute::getArticleRoute($articleSlug, $catSlug);
                        $this->result['desc'] = strip_tags($desc, '');
                    }
                    return json_encode($this->result);
                } else {
                    $result['message'] = JText::_('Have some errors.');
                    $result['success'] = false;
                    return json_encode($this->result);
                }
            }
        }
    }

}

?>




OBS, SE SEU JOOMLA TIVER DANDO ALGUM ERRO PARA DESABILITAR ALGUMA FUNÇAO.. TODA HORA , INCLUSIVE NA HORA DE ENTRAR NO PAINEL DE CONTROLE ADMINISTRADOR, CONTATE O SUPORTE DO SEU HOST PARA DESABILITAR NO SEU SERVER  IRA FUNCIONAR....