Пример #1
0
function remote_forward($action,$query) {
	if (!$action) return "";
//	$api = "http://127.0.0.1:8080".$action;
//	$api = "http://ustore.tuanzbao.com".$action;
	$api = USTORE_REMOTE_HOST.$action;
	$r = Utility :: HttpRequest(getCurUrl($api,$query));
	return $r;
}
Пример #2
0
    }
}
$xml_data_filename = $module_path . $catppv_id . '.xml';
if (!file_exists($xml_data_filename)) {
    $xml_prodgallery_file = fopen($xml_data_filename, 'w');
    fwrite($xml_prodgallery_file, $xml_data_data);
    ///////// set chmod 0777 for creating .xml file  if server is not windows
    $os_string = php_uname('s');
    $cnt = substr_count($os_string, 'Windows');
    if ($cnt == 0) {
        @chmod($xml_data_filename, 0777);
    }
    fclose($xml_prodgallery_file);
}
$exist_url = JURI::root();
$server_path = getCurUrl($exist_url);
?>



<div id="powerfulmodcontent" style="background-color:#111111;">

	
	<object id="_slideshowBoxEmbed792293" width="<?php 
echo $bannerWidth;
?>
" height="<?php 
echo $bannerHeight;
?>
" type="application/x-shockwave-flash" data="<?php 
echo $server_path;