Your IP : 216.73.216.50


Current Path : /proc/1908984/root/proc/self/root/proc/self/root/proc/2411249/cwd/
Upload File :
Current File : //proc/1908984/root/proc/self/root/proc/self/root/proc/2411249/cwd/dummy_text.tar

css/index.html000064400000000032152351527300007327 0ustar00<html><body></body></html>js/index.html000064400000000032152351527300007153 0ustar00<html><body></body></html>config.php000064400000003323152351527300006526 0ustar00<?php 
/*
* @package   YouTech Shortcodes
* @author    YouTech Company http://smartaddons.com/
* @copyright Copyright (C) 2015 YouTech Company
* @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*/
defined('_JEXEC') or die;
	class YT_Shortcode_dummy_text_config {
	static function get_config() {
	        // dummy text
	        return array(
	        	'what' => array(
                    'type'   => 'select',
                    'values' => array(
                        'paras' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_PARAS'),
                        'words' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_WORDS'),
                        'bytes' => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_BYTES'),
                    ),
                    'default' => 'paras',
                    'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_WHAT'),
                    'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_WHAT_DESC'),
                    'child'   => array(
                        'cache' => array(
                            'type'    => 'bool',
                            'default' => 'yes',
                            'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CACHE'),
                            'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_CACHE_DESC')
                        ),
						'amount' => array(
							'type'    => 'slider',
							'min'     => 1,
							'max'     => 200,
							'step'    => 1,
							'default' => 1,
							'name'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_AMOUNT'),
							'desc'    => JText::_('PLG_SYSTEM_YOUTECH_SHORTCODES_AMOUNT_DESC')
						),
                    )
                )
	        );
	    }
	}

?>
shortcode.php000064400000001432152351527300007252 0ustar00<?php 
/*
* @package   YouTech Shortcodes
* @author    YouTech Company http://smartaddons.com/
* @copyright Copyright (C) 2015 YouTech Company
* @license   http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*/
defined('_JEXEC') or die;
function dummy_textYTShortcode($atts = null, $content = null) {
        $atts = ytshortcode_atts(array(
            'amount' => 1,
            'what'   => 'paras',
            'cache'  => 'yes',
            'class'  => ''
            ), $atts, 'dummy_text');

        $xml = simplexml_load_file('http://www.lipsum.com/feed/xml?amount=' . $atts['amount'] . '&what=' . $atts['what'] . '&start=0');
        $return = '<div class="yt-dummy-text"><p>' . str_replace("\n", "</p><p>", $xml->lipsum) . '</p></div>';
        return $return;
    }
?>