$value) {
if (strpos($key,”psps_”) > -1 ) {
$psps_parameters .= ‘&’.$key.’=’.urlencode($value);
$psps_base_url = str_replace(‘&’.$key.’=’.urlencode($value), “”, $psps_base_url);
$psps_base_url = str_replace($key.’=’.urlencode($value), “”, $psps_base_url);
}
}
$psps_parameters .= “&psps_show_search=true”;
$psps_parameters .= “&psps_show_navigation=true”;
$psps_parameters .= “&psps_show_products=true”;
$psps_url = “?psps_base_url=”.urlencode($psps_base_url);
$psps_url=”http://shops.popshops.com/shops/php/0aejae4iwvgglp61fojaru3mt$psps_url$psps_parameters”;
# Include the shop
if (function_exists(‘curl_init’)) {
$shop=curl_init();
curl_setopt($shop,CURLOPT_URL,$psps_url);
curl_exec($shop);
curl_close($shop);
} else {
readfile($psps_url);
}
?>