<?php


  $https_www_address = str_replace('http://', 'https://', $_POST['HTTP_WWW_ADDRESS']);
?>

<p><b>Konfiguration</b></p>

<form name="install" action="install.php?step=6" method="post">

<p><b>Bitte geben Sie die Daten der sicheren Verbindung an:<br>Please enter the secure web server information:</b></p>

<table width="95%" border="0" cellpadding="2" class="formPage">
  <tr>
    <td width="30%" valign="top">Secure WWW Address:<br>Sichere Webadresse<br></td>
    <td width="70%" class="smallDesc">
      <?php echo bigware_fetch_inputfeld('HTTPS_WWW_ADDRESS', $https_www_address); ?>
      <img src="picture/layout/help_icon.gif" onClick="toggleBox('httpsWWW');"><br>
      <div id="httpsWWWSD">The full website address to the online store on the secure server<br>Die volle Internetadresse des SSL Servers</div>
      <div id="httpsWWW" class="longDescription">The secure web address to the online store, for example <i>https://ssl.my-hosting-company.com/my_name/catalog/</i><br>Die sichere Internetadresse des Onlineshops, z.B.  <i>https://ssl.my-hosting-company.com/my_name/catalog/</i></div>
    </td>
  </tr>
  <tr>
    <td width="30%" valign="top">Secure Cookie Domain:<br>Sichere Cookie Domain</td>
    <td width="70%" class="smallDesc">
      <?php echo bigware_fetch_inputfeld('HTTPS_COOKIE_DOMAIN', $_POST['HTTP_COOKIE_DOMAIN']); ?>
      <img src="picture/layout/help_icon.gif" onClick="toggleBox('httpsCookieD');"><br>
      <div id="httpsCookieDSD">The secure domain to store cookies in<br>Die SSL Shop-Cookie Domain</div>
      <div id="httpsCookieD" class="longDescription">The full or top-level domain of the secure server to store the cookies in, for example <i>ssl.my-hosting-company.com</i><br>Die vollständige SSL Top-Level-Domain für Cookies des Servers, z.B.  <i>ssl.my-hosting-company.com</i></div>
    </td>
  </tr>
  <tr>
    <td width="30%" valign="top">Secure Cookie Path:<br>SSL Cookie Pfad</td>
    <td width="70%" class="smallDesc">
      <?php echo bigware_fetch_inputfeld('HTTPS_COOKIE_PATH', $_POST['HTTP_COOKIE_PATH']); ?>
      <img src="picture/layout/help_icon.gif" onClick="toggleBox('dbCookieP');"><br>
      <div id="dbCookiePSD">The secure path to store cookies under<br>Der absolute Cookie Pfad unterhalb des Shops</div>
      <div id="dbCookieP" class="longDescription">The web address of the secure server to limit the cookie to, for example <i>/my_name/catalog/</i>Der SSL Cookie Pfad unterhalb des Shops, z.B.  <i>/my_name/catalog/</i></div>
    </td>
  </tr>
</table>

<p>&nbsp;</p>

<table border="0" width="100%" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center"><a href="index.php"><img src="picture/button_cancel.gif" border="0" alt="Cancel"></a></td>
    <td align="center"><input type="image" src="picture/button_continue.gif" border="0" alt="Continue"></td>
  </tr>
</table>

<?php
  reset($_POST);
  while (list($key, $value) = each($_POST)) {
    if (($key != 'x') && ($key != 'y')) {
      if (is_array($value)) {
        for ($i=0; $i<sizeof($value); $i++) {
          echo bigware_fetch_hidden_field($key . '[]', $value[$i]);
        }
      } else {
        echo bigware_fetch_hidden_field($key, $value);
      }
    }
  }
?>

</form>
