[ Index ]
 

Code source de osCommerce 2.2ms2-060817

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/catalog/install/templates/pages/ -> install_5.php (source)

   1  <?php
   2  /*
   3    $Id: install_5.php,v 1.22 2003/07/09 01:11:06 hpdl Exp $
   4  
   5    osCommerce, Open Source E-Commerce Solutions
   6    http://www.oscommerce.com
   7  
   8    Copyright (c) 2003 osCommerce
   9  
  10    Released under the GNU General Public License
  11  */
  12  
  13    $https_www_address = str_replace('http://', 'https://', $HTTP_POST_VARS['HTTP_WWW_ADDRESS']);
  14  ?>
  15  
  16  <p class="pageTitle">New Installation</p>
  17  
  18  <p><b>osCommerce Configuration</b></p>
  19  
  20  <form name="install" action="install.php?step=6" method="post">
  21  
  22  <p><b>Please enter the secure web server information:</b></p>
  23  
  24  <table width="95%" border="0" cellpadding="2" class="formPage">
  25    <tr>
  26      <td width="30%" valign="top">Secure WWW Address:</td>
  27      <td width="70%" class="smallDesc">
  28        <?php echo osc_draw_input_field('HTTPS_WWW_ADDRESS', $https_www_address); ?>
  29        <img src="images/layout/help_icon.gif" onClick="toggleBox('httpsWWW');"><br>
  30        <div id="httpsWWWSD">The full website address to the online store on the secure server</div>
  31        <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></div>
  32      </td>
  33    </tr>
  34    <tr>
  35      <td width="30%" valign="top">Secure Cookie Domain:</td>
  36      <td width="70%" class="smallDesc">
  37        <?php echo osc_draw_input_field('HTTPS_COOKIE_DOMAIN', $HTTP_POST_VARS['HTTP_COOKIE_DOMAIN']); ?>
  38        <img src="images/layout/help_icon.gif" onClick="toggleBox('httpsCookieD');"><br>
  39        <div id="httpsCookieDSD">The secure domain to store cookies in</div>
  40        <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></div>
  41      </td>
  42    </tr>
  43    <tr>
  44      <td width="30%" valign="top">Secure Cookie Path:</td>
  45      <td width="70%" class="smallDesc">
  46        <?php echo osc_draw_input_field('HTTPS_COOKIE_PATH', $HTTP_POST_VARS['HTTP_COOKIE_PATH']); ?>
  47        <img src="images/layout/help_icon.gif" onClick="toggleBox('dbCookieP');"><br>
  48        <div id="dbCookiePSD">The secure path to store cookies under</div>
  49        <div id="dbCookieP" class="longDescription">The web address of the secure server to limit the cookie to, for example <i>/my_name/catalog/</i></div>
  50      </td>
  51    </tr>
  52  </table>
  53  
  54  <p>&nbsp;</p>
  55  
  56  <table border="0" width="100%" cellspacing="0" cellpadding="0">
  57    <tr>
  58      <td align="center"><a href="index.php"><img src="images/button_cancel.gif" border="0" alt="Cancel"></a></td>
  59      <td align="center"><input type="image" src="images/button_continue.gif" border="0" alt="Continue"></td>
  60    </tr>
  61  </table>
  62  
  63  <?php
  64    reset($HTTP_POST_VARS);
  65    while (list($key, $value) = each($HTTP_POST_VARS)) {
  66      if (($key != 'x') && ($key != 'y')) {
  67        if (is_array($value)) {
  68          for ($i=0; $i<sizeof($value); $i++) {
  69            echo osc_draw_hidden_field($key . '[]', $value[$i]);
  70          }
  71        } else {
  72          echo osc_draw_hidden_field($key, $value);
  73        }
  74      }
  75    }
  76  ?>
  77  
  78  </form>


Généré le : Mon Nov 26 19:48:25 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics