[php]
//error_reporting(0);
if($_REQUEST[‘subin’]){
include (“https://centralyachtagent.com/snapins/seas_snyachts.php?”.$_SERVER[‘QUERY_STRING’]);
}
if($_REQUEST[‘ebclick’]){
include (“https://centralyachtagent.com/yachts2.php?”.$_SERVER[‘QUERY_STRING’]);
}
//error_reporting(0);
if($_REQUEST[‘subin’]){
$xml=file_get_contents(“https://centralyachtagent.com/snapins/snyachts-xml.php?”.$_SERVER[‘QUERY_STRING’]);
// you will need to parse the $xml variable here
}
if($_REQUEST[‘ebclick’]){
$file = file_get_contents(“https://centralyachtagent.com/yachtscagents-xml.php?”.$_SERVER[‘QUERY_STRING’]);
echo $file;
}
[/php]
