I am trying to display my bizrate code inside another sidebox. The code is:
Code:
<a href="http://www.bizrate.com/ratings_guide/cust_reviews__mid--76686.html" target="www.bizrate.com"><img src="http://medals.bizrate.com/medals/dynamic/76686_medal.gif" alt="BizRate Customer Certified (GOLD) Site" width="125" height="73" border="0" /></a>
Because the image display from this code is not secure, I want to only display this image on secure page.
I changed the code to the following:
Code:
<?php if($request_type=="NONSSL") {?><a href="http://www.bizrate.com/ratings_guide/cust_reviews__mid--76686.html" target="www.bizrate.com"><img src="http://medals.bizrate.com/medals/dynamic/76686_medal.gif" alt="BizRate Customer Certified (GOLD) Site" width="125" height="73" border="0" /></a><a href="http://seals.squaretrade.com/cW054/706059633.map" target="_blank"><img src="http://seals.squaretrade.com/cW054/706059633.gif" alt="Smarter, Safer, Easier Online Shopping" border="0" ismap="ismap" /></a>
I placed the code inside the template file where I wanted it to appear like this:
Code:
$content .= '<?php if($request_type=="NONSSL") {?>
<a href="http://www.bizrate.com/ratings_guide/cust_reviews__mid--76686.html" target="www.bizrate.com"><img src="http://medals.bizrate.com/medals/dynamic/76686_medal.gif" alt="BizRate Customer Certified (GOLD) Site" width="125" height="73" border="0" /></a><a href="http://seals.squaretrade.com/cW054/706059633.map" target="_blank"><img src="http://seals.squaretrade.com/cW054/706059633.gif" alt="Smarter, Safer, Easier Online Shopping" border="0" ismap="ismap" /></a>';
Unfortunately, this does not work. So I need help doing this the right way.
Thanks!
Bookmarks