Breaking it out such as:
PHP Code:
<?php if ($request_type == 'SSL') { ?>
<div align="center">
<script type="text/javascript" language="javascript">TrustLogo("https://www.sweetzouzou.com/includes/templates/Sweet%20ZouZou/images/trustlogo.gif", "SC", "none");</script>
<script type="text/javascript" language="javascript">var ANS_customer_id="5cfbffe6-d2d0-4d16-a198-3c001937b1cc";</script>
<script type="text/javascript" language="javascript" src="//VERIFY.AUTHORIZE.NET/anetseal/seal.js" ></script>
<a href="http://www.authorize.net/" id="AuthorizeNetText" target="_blank"></a>
<a href="https://www.paypal.com/us/verified/pal=admin%40sweetzouzou%2ecom" target="_blank"><img src="https://www.paypal.com/en_US/i/icon/verification_seal.gif" border="0" alt="Official PayPal Seal"></a>
</div>
<?php } ?>
Now the IF is in php and the rest of the code is not ...
You would need to ensure that code is what you are trying to run ... the php code IF just says only show it if the SSL is active ... $request_type == 'SSL' ... then do the IF statement ...
Bookmarks