<?php
/*
  $Id: cresecure.php,v 1.0.0.0 2008/01/10 13:41:11 datazen Exp $

  CRE Loaded, Open Source E-Commerce Solutions
  http://www.creloaded.com

  Copyright (c) 2008 CRE Loaded
  Copyright (c) 2003 osCommerce

  Released under the GNU General Public License

*/
if (defined('MODULE_ADDONS_CRESECURE_STATUS') &&  MODULE_ADDONS_CRESECURE_STATUS == 'True') {  
  ?>
  <!-- ControlScan InfoBox //-->
  <tr>
    <td valign="top">
      <?php
      $cs_domain = (defined('MODULE_ADDONS_CRESECURE_CRE_ID')) ? MODULE_ADDONS_CRESECURE_CRE_ID : '';
      if ($cs_domain == '') return false;
      $cnt = 0;
      $cs_box_string = "";
      $cs_box_string .= "<!-- ControlScan //--><center>\n";
      $cs_box_string .= '<!-- START CRESECURE SITE SEAL - PLEASE DO NOT MODIFY-->' . "\n";       
      if (defined('MODULE_ADDONS_CRESECURE_SEAL_TYPE') &&  ereg('EVSSL', MODULE_ADDONS_CRESECURE_SEAL_TYPE)) { 
        $cs_box_string .= '<a href="//www.controlscan.com/seal/verify5.php?id=207&amp;dom=' . $cs_domain . '" target="verify"><img border="0" src="//www.controlscan.com/seal/sealx5.php?id=207&amp;dom=' . $cs_domain . '" oncontextmenu="alert(\'Copying Prohibited by Law - Trademark of ControlScan.com\'); return false;" /></a>' . "\n";
        $cnt++;
      }
      if (defined('MODULE_ADDONS_CRESECURE_SEAL_TYPE') &&  ereg('Business Review', MODULE_ADDONS_CRESECURE_SEAL_TYPE)) {
        if ($cnt >= 1) $cs_box_string .= '<br>' . "\n"; 
        $cs_box_string .= '<a href="//www.controlscan.com/seal/verify5.php?id=206&amp;dom=' . $cs_domain . '" target="verify"><img border="0" src="//www.controlscan.com/seal/sealx5.php?id=206&amp;dom=' . $cs_domain . '" oncontextmenu="alert(\'Copying Prohibited by Law - Trademark of ControlScan.com\'); return false;" /></a>' . "\n";
        $cnt++;
      }
      if (defined('MODULE_ADDONS_CRESECURE_SEAL_TYPE') &&  ereg('Verified', MODULE_ADDONS_CRESECURE_SEAL_TYPE)) {
        if ($cnt >= 1) $cs_box_string .= '<br>' . "\n"; 
        $cs_box_string .= '<a href="//www.controlscan.com/seal/verify5.php?id=205&amp;dom=' . $cs_domain . '" target="verify"><img border="0" src="//www.controlscan.com/seal/sealx5.php?id=205&amp;dom=' . $cs_domain . '" oncontextmenu="alert(\'Copying Prohibited by Law - Trademark of ControlScan.com\'); return false;" /></a>' . "\n";
        $cnt++;
      }
      if (defined('MODULE_ADDONS_CRESECURE_SEAL_CUSTOM') &&  MODULE_ADDONS_CRESECURE_SEAL_CUSTOM != '') {
        if ($cnt >= 1) $cs_box_string .= '<br>' . "\n"; 
        $cs_box_string .= MODULE_ADDONS_CRESECURE_SEAL_CUSTOM;
      }      
      $cs_box_string .= '<!-- STOP CRESECURE SITE SEAL - PLEASE DO NOT MODIFY -->' . "\n"; 
      $cs_box_string .= "</center><!-- ControlScan_eof //-->\n";
      echo $cs_box_string;
      ?>
    </td>
  </tr>
  <!-- ControlScan InfoBox //eof-->
  <?php
}
?>