Exemple #1
0
<?php

defined('_JEXEC') or die;
global $isnid;
global $mid;
$url = "http://www.intellispire.com/network/order/banner.php?zone={$zoneid}&sku={$sku}&ref={$package}&isnid={$isnid1}&mid={$machineid}";
$remote_data = isJInstallerHelper::url_retrieve_curl($url);
if ($remote_data) {
    print $remote_data;
}
 function remote()
 {
     if (isset($this->remote_data)) {
         return;
     }
     $url = UPDATER_DISPLAY . '?package=' . urlencode($this->sku);
     $remote_data = isJInstallerHelper::url_retrieve_curl($url);
     $remote_data = Spyc::YAMLLoad($remote_data);
     //    print "<pre>\n";
     //    print "$url\n";
     //    print_r($remote_data);
     //    print "</pre>\n";
     $this->set($remote_data, 'description');
     $this->set($remote_data, 'link_home');
     $this->set($remote_data, 'link_extdir');
     $this->set($remote_data, 'link_support');
     $this->remote_data = $remote_data;
 }