Balloons

# Determine the current base URL
if(!isset($_SERVER['REQUEST_URI'])) {
$psps_base_url = $_SERVER['PHP_SELF'];
if (isset($HTTP_SERVER_VARS['QUERY_STRING'])) { $psps_base_url .= $HTTP_SERVER_VARS['QUERY_STRING']; }
} else {
$psps_base_url = $_SERVER['REQUEST_URI'];
}

$psps_parameters = '';

foreach ($_REQUEST as $key => $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/7rbamy7oebk9bgr6r3f8rn3gm$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);
}
?>

Suggested Reading


    GD Star Rating
    loading...
    GD Star Rating
    loading...
    Michael G Schurmann
    My website Birthday Party Themes makes your party unique and the envy of your friends. We save you time and money so you can concentrate on the fun! Find 100's of party themes for anyone from one to 101.

    Click here to submit your review.


    Submit your review
    * Required Field


    Leave a Reply

    Your email address will not be published. Required fields are marked *

    *

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>