<form name="billingAddressDetailsForm"> <ol> <?php if ($osC_Customer->isLoggedOn() === false) { ?> <li><?php echo osc_draw_label($osC_Language->get('email_address'), null, 'billing_email_address', true) . osc_draw_input_field('billing_email_address', $email_address); ?> </li> <li><?php echo osc_draw_label($osC_Language->get('field_customer_password'), null, 'billing_password', true) . osc_draw_password_field('billing_password'); ?> </li> <li style="margin-bottom: 10px"><?php echo osc_draw_label($osC_Language->get('field_customer_password_confirmation'), null, 'billing_confirm_password', true) . osc_draw_password_field('billing_confirm_password'); ?> </li> <?php } ?> <?php if ($osC_Customer->isLoggedOn() && osC_AddressBook::numberOfEntries() > 0) { ?> <li> <div style="float: right; padding: 0px 0px 10px 20px; text-align: center;"> <?php echo '<b>' . $osC_Language->get('please_select') . '</b><br />' . osc_image(DIR_WS_IMAGES . 'arrow_east_south.gif'); ?> </div>
?> </h6> <div class="content"> <p><?php echo $osC_Language->get('login_returning_customer_text'); ?> </p> <ul> <li><?php echo osc_draw_label($osC_Language->get('field_customer_email_address'), 'email_address') . '<br />' . osc_draw_input_field('email_address', $email_address); ?> </li> <li><?php echo osc_draw_label($osC_Language->get('field_customer_password'), 'password') . '<br />' . osc_draw_password_field('password'); ?> </li> </ul> <p><?php echo sprintf($osC_Language->get('login_returning_customer_password_forgotten'), osc_href_link(FILENAME_ACCOUNT, 'password_forgotten', 'SSL')); ?> </p> <div class="submitFormButtons" style="text-align: right;"> <?php echo osc_draw_image_submit_button('button_login.gif', null, 'id="btnLogin"'); ?> </div> </div>
<em>*</em></label> <div class="controls"> <?php echo osc_draw_password_field('billing_password'); ?> </div> </div> <div class="control-group"> <label class="control-label" for="billing_confirm_password"><?php echo $osC_Language->get('field_customer_password_confirmation'); ?> <em>*</em></label> <div class="controls"> <?php echo osc_draw_password_field('billing_confirm_password'); ?> </div> </div> <?php } ?> <?php if ($osC_Customer->isLoggedOn() && osC_AddressBook::numberOfEntries() > 0) { ?> <div class="row-fluid"> <div class="span9"> <?php echo $osC_Language->get('choose_billing_address'); ?>
<td width="30%"><?php echo $osC_Language->get('field_password'); ?> </td> <td width="70%"><?php echo osc_draw_password_field('password'); ?> </td> </tr> <tr> <td width="30%"><?php echo $osC_Language->get('field_password_confirmation'); ?> </td> <td width="70%"><?php echo osc_draw_password_field('confirmation'); ?> </td> </tr> <tr> <td colspan="2"> </td> </tr> <tr> <td width="30%"><?php echo $osC_Language->get('field_status'); ?> </td> <td width="70%"><?php echo osc_draw_checkbox_field('status', 'on', true); ?> </td>
<tr> <td width="30%" valign="top">Username:</td> <td width="70%" class="smallDesc"> <?php echo osc_draw_input_field('DB_SERVER_USERNAME'); ?> <img src="images/layout/help_icon.gif" onClick="toggleBox('dbUser');"><br> <div id="dbUserSD">Database username</div> <div id="dbUser" class="longDescription">The username used to connect to the database server. An example username is 'mysql_10'.<br><br>Note: Create and Drop permissions <b>are required</b> at this point of the installation procedure.</div> </td> </tr> <tr> <td width="30%" valign="top">Password:</td> <td width="70%" class="smallDesc"> <?php echo osc_draw_password_field('DB_SERVER_PASSWORD'); ?> <img src="images/layout/help_icon.gif" onClick="toggleBox('dbPass');"><br> <div id="dbPassSD">Database password</div> <div id="dbPass" class="longDescription">The password is used together with the username, which forms the database user account.</div> </td> </tr> <tr> <td width="30%" valign="top">Database Name:</td> <td width="70%" class="smallDesc"> <?php echo osc_draw_input_field('DB_DATABASE'); ?> <img src="images/layout/help_icon.gif" onClick="toggleBox('dbName');"><br> <div id="dbNameSD">Database Name</div> <div id="dbName" class="longDescription">The database used to hold the data. An example database name is 'osCommerce'.</div>
<div class="form-group has-feedback"> <label for="userName" class="control-label col-xs-3">Username</label> <div class="col-xs-9"> <?php echo osc_draw_input_field('DB_SERVER_USERNAME', NULL, 'required aria-required="true" id="userName" placeholder="Username"'); ?> <span class="fa fa-asterisk form-control-feedback text-danger"></span> <span class="help-block">The username used to connect to the database server.</span> </div> </div> <div class="form-group has-feedback"> <label for="passWord" class="control-label col-xs-3">Password</label> <div class="col-xs-9"> <?php echo osc_draw_password_field('DB_SERVER_PASSWORD', NULL, 'required aria-required="true" id="passWord"'); ?> <span class="fa fa-asterisk form-control-feedback text-danger"></span> <span class="help-block">The password that is used together with the username to connect to the database server.</span> </div> </div> <div class="form-group has-feedback"> <label for="dbName" class="control-label col-xs-3">Database Name</label> <div class="col-xs-9"> <?php echo osc_draw_input_field('DB_DATABASE', NULL, 'required aria-required="true" id="dbName" placeholder="Database"'); ?> <span class="fa fa-asterisk form-control-feedback text-danger"></span> <span class="help-block">The name of the database to hold the data in.</span> </div>
if ($messageStack->size('maintenance') > 0) { echo $messageStack->output('maintenance'); } ?> <form name="login" action="<?php echo osc_href_link(FILENAME_DEFAULT, 'maintenance=login', 'SSL'); ?> " method="post"> <ol> <li><?php echo osc_draw_label($osC_Language->get('field_username'), 'user_name') . osc_draw_input_field('user_name'); ?> </li> <li><?php echo osc_draw_label($osC_Language->get('field_password'), 'user_password') . osc_draw_password_field('user_password'); ?> </li> </ol> <p align="center"><?php echo osc_draw_image_submit_button('button_login.gif', $osC_Language->get('button_sign_in')); ?> </p> </form> </div> </div> </body> </html>
<tr> <td class="inputField"> <?php echo $osC_Language->get('param_database_username') . '<br />' . osc_draw_input_field('DB_SERVER_USERNAME', null, 'class="text"'); ?> <br /> <span><?php echo $osC_Language->get('param_database_username_description'); ?> </span> </td> </tr> <tr> <td class="inputField"> <?php echo $osC_Language->get('param_database_password') . '<br />' . osc_draw_password_field('DB_SERVER_PASSWORD', 'class="text"'); ?> <br /> <span><?php echo $osC_Language->get('param_database_password_description'); ?> </span> </td> </tr> <tr> <td class="inputField"> <?php echo $osC_Language->get('param_database_name') . '<br />' . osc_draw_input_field('DB_DATABASE', null, 'class="text"'); ?> <br /> <span><?php
<tr> <td class="inputField"> <?php echo $osC_Language->get('param_administrator_password') . '<br />' . osc_draw_password_field('CFG_ADMINISTRATOR_PASSWORD', 'class="text"'); ?> <br> <span><?php echo $osC_Language->get('param_administrator_password_description'); ?> </span> </td> </tr> <tr> <td class="inputField"> <?php echo $osC_Language->get('param_confirm_password') . '<br />' . osc_draw_password_field('CFG_CONFIRM_PASSWORD', 'class="text"'); ?> <br> <span><?php echo $osC_Language->get('param_administrator_password_description'); ?> </span> </td> </tr> <tr> <td class="inputField"> <?php echo osc_draw_checkbox_field('DB_INSERT_SAMPLE_DATA', 'true', true) . ' ' . $osC_Language->get('param_database_import_sample_data'); ?> <br> <span><?php
<td class="inputField"><?php echo 'Database Server<br />' . osc_draw_input_field('DB_SERVER', 'localhost', 'class="text"'); ?> </td> <td class="inputDescription">The address of the database server in the form of a hostname or IP address.</td> </tr> <tr> <td class="inputField"><?php echo 'Username<br />' . osc_draw_input_field('DB_SERVER_USERNAME', null, 'class="text"'); ?> </td> <td class="inputDescription">The username used to connect to the database server.</td> </tr> <tr> <td class="inputField"><?php echo 'Password<br />' . osc_draw_password_field('DB_SERVER_PASSWORD', 'class="text"'); ?> </td> <td class="inputDescription">The password that is used together with the username to connect to the database server.</td> </tr> <tr> <td class="inputField"><?php echo 'Database Name<br />' . osc_draw_input_field('DB_DATABASE', null, 'class="text"'); ?> </td> <td class="inputDescription">The name of the database to hold the data in.</td> </tr> </table> <p><?php echo osc_draw_button('Continue', 'triangle-1-e', null, 'primary');
echo OSCOM::getDef('my_password_title'); ?> </h6> <div class="content"> <ol> <li><?php echo osc_draw_label(OSCOM::getDef('field_customer_password_current'), 'password_current', null, true) . osc_draw_password_field('password_current'); ?> </li> <li><?php echo osc_draw_label(OSCOM::getDef('field_customer_password_new'), 'password_new', null, true) . osc_draw_password_field('password_new'); ?> </li> <li><?php echo osc_draw_label(OSCOM::getDef('field_customer_password_confirmation'), 'password_confirmation', null, true) . osc_draw_password_field('password_confirmation'); ?> </li> </ol> </div> </div> <div class="submitFormButtons"> <span style="float: right;"><?php echo osc_draw_image_submit_button('button_continue.gif', OSCOM::getDef('button_continue')); ?> </span> <?php echo osc_link_object(OSCOM::getLink(null, null, null, 'SSL'), osc_draw_image_button('button_back.gif', OSCOM::getDef('button_back'))); ?>
?> </div> <div id="dbUser" class="longDescription"><?php echo CONFIG_DATABASE_USERNAME_RESTRICTED_DESCRIPTION_LONG; ?> </div> </td> </tr> <tr> <td width="30%" valign="top"><?php echo CONFIG_DATABASE_PASSWORD; ?> </td> <td width="70%" class="smallDesc"> <?php echo osc_draw_password_field('DB_SERVER_PASSWORD', isset($_POST['DB_SERVER_PASSWORD']) ? $_POST['DB_SERVER_PASSWORD'] : ''); ?> <img src="templates/<?php echo $template; ?> /images/help_icon.gif" onClick="toggleBox('dbPass');"><br> <div id="dbPassSD"><?php echo CONFIG_DATABASE_PASSWORD_DESCRIPTION; ?> </div> <div id="dbPass" class="longDescription"><?php echo CONFIG_DATABASE_PASSWORD_DESCRIPTION_LONG; ?> </div> </td> </tr>
?> </h6> <div class="content"> <p><?php echo OSCOM::getDef('login_returning_customer_text'); ?> </p> <ol> <li><?php echo osc_draw_label(OSCOM::getDef('field_customer_email_address'), 'email_address') . osc_draw_input_field('email_address'); ?> </li> <li><?php echo osc_draw_label(OSCOM::getDef('field_customer_password'), 'password') . osc_draw_password_field('password'); ?> </li> </ol> <p><?php echo sprintf(OSCOM::getDef('login_returning_customer_password_forgotten'), OSCOM::getLink(null, null, 'PasswordForgotten', 'SSL')); ?> </p> <p align="right"><?php echo osc_draw_image_submit_button('button_login.gif', OSCOM::getDef('button_sign_in')); ?> </p> </div>
?> <em>*</em></label> <div class="controls"> <?php echo osc_draw_password_field('password', 'AUTOCOMPLETE="off"'); ?> </div> </div> <div class="control-group"> <label class="control-label" for="confirmation"><?php echo $osC_Language->get('field_customer_password_confirmation'); ?> <em>*</em></label> <div class="controls"> <?php echo osc_draw_password_field('confirmation', 'AUTOCOMPLETE="off"'); ?> </div> </div> <?php if (ACTIVATE_CAPTCHA == '1') { ?> <div class="control-group"> <label class="control-label" for="confirmation"> </label> <div class="controls"> <span class="captcha-image"><?php echo osc_image(osc_href_link(FILENAME_ACCOUNT, 'create=show_captcha', 'AUTO', true, false), $osC_Language->get('captcha_image_title'), 215, 80, 'id="captcha-code"'); ?> </span> <span class="captcha-field"> <span><?php
?> </p> <fieldset> <div><label for="user_name"><?php echo $osC_Language->get('field_username'); ?> </label><?php echo osc_draw_input_field('user_name', $osC_ObjectInfo->get('user_name')); ?> </div> <div><label for="user_password"><?php echo $osC_Language->get('field_password'); ?> </label><?php echo osc_draw_password_field('user_password'); ?> </div> <div><select name="accessModules" id="modulesList"><option value="-1" disabled="disabled">-- Access Modules --</option><option value="0"><?php echo $osC_Language->get('global_access'); ?> </option></select></div> <ul id="accessToModules" class="modulesListing"></ul> </fieldset> <p align="center"><?php echo osc_draw_hidden_field('subaction', 'confirm') . '<input type="submit" value="' . $osC_Language->get('button_save') . '" class="operationButton" /> <input type="button" value="' . $osC_Language->get('button_cancel') . '" onclick="document.location.href=\'' . osc_href_link_admin(FILENAME_DEFAULT, $osC_Template->getModule()) . '\';" class="operationButton" />'; ?> </p>
<td class="main"><?php echo ENTRY_PASSWORD; ?> </td> <td class="main"><?php echo osc_draw_password_field('password', '', '', true); ?> </td> </tr> <tr> <td class="main"><?php echo ENTRY_PASSWORD_CONFIRMATION; ?> </td> <td class="main"><?php echo osc_draw_password_field('confirmation', '', '', true); ?> </td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?> </td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox">
?> </td> </tr> <tr> <td class="inputField"><?php echo TEXT_USERNAME . '<br />' . osc_draw_input_field('CFG_ADMINISTRATOR_USERNAME', null, 'class="text"'); ?> </td> <td class="inputDescription"><?php echo TEXT_USERNAME_DESC; ?> </td> </tr> <tr> <td class="inputField"><?php echo TEXT_PASSWORD . '<br />' . osc_draw_password_field('CFG_ADMINISTRATOR_PASSWORD', null, 'class="text"'); ?> </td> <td class="inputDescription"><?php echo TEXT_PASSWORD_DESC; ?> </td> </tr> <?php if (is_writable($dir_fs_document_root) && is_writable($dir_fs_document_root . 'admin')) { ?> <tr> <td class="inputField"><?php echo TEXT_ADMIN_FOLDER_NAME . '<br />' . osc_draw_input_field('CFG_ADMIN_FOLDER', 'admin', 'class="text"'); ?>
<li><?php echo osc_draw_label($osC_Language->get('field_customer_newsletter'), 'newsletter') . osc_draw_checkbox_field('newsletter', '1'); ?> </li> <?php } ?> <li><?php echo osc_draw_label($osC_Language->get('field_customer_password'), 'password', null, true) . osc_draw_password_field('password'); ?> </li> <li><?php echo osc_draw_label($osC_Language->get('field_customer_password_confirmation'), 'confirmation', null, true) . osc_draw_password_field('confirmation'); ?> </li> </ol> </div> </div> <?php if (DISPLAY_PRIVACY_CONDITIONS == '1') { ?> <div class="moduleBox"> <h6><?php echo $osC_Language->get('create_account_terms_heading'); ?> </h6>
?> </p> <fieldset> <p><label for="user_name"><?php echo OSCOM::getDef('field_username'); ?> </label><?php echo osc_draw_input_field('user_name', null, 'tabindex="1"'); ?> </p> <p><label for="user_password"><?php echo OSCOM::getDef('field_password'); ?> </label><?php echo osc_draw_password_field('user_password', 'tabindex="2"'); ?> </p> </fieldset> <p><?php echo osc_draw_button(array('icon' => 'key', 'title' => OSCOM::getDef('button_login'))); ?> </p> </form> </div> <script type="text/javascript"> $('#user_name').focus(); </script>
<li><?php echo osc_draw_label($osC_Language->get('field_customer_newsletter'), 'newsletter') . osc_draw_checkbox_field('newsletter', '1'); ?> </li> <?php } ?> <li><?php echo osc_draw_label($osC_Language->get('field_customer_password'), 'password', null, true) . osc_draw_password_field('password', 'AUTOCOMPLETE="off" dir="ltr"'); ?> </li> <li><?php echo osc_draw_label($osC_Language->get('field_customer_password_confirmation'), 'confirmation', null, true) . osc_draw_password_field('confirmation', 'AUTOCOMPLETE="off" dir="ltr"'); ?> </li> <?php if (ACTIVATE_CAPTCHA == '1') { ?> <li class="clearfix captcha" style="height:130px !important;"> <table width="200" border="0"> <tr> <td> </td> <td><?php echo osc_image(osc_href_link(FILENAME_ACCOUNT, 'create=show_captcha', 'AUTO', true, false), $osC_Language->get('captcha_image_title'), 215, 80, 'id="captcha-code"'); ?> </td> <td> </td>
<td class="main"><b><?php echo ENTRY_EMAIL_ADDRESS; ?> </b></td> <td class="main"><?php echo osc_draw_input_field('email_address'); ?> </td> </tr> <tr> <td class="main"><b><?php echo ENTRY_PASSWORD; ?> </b></td> <td class="main"><?php echo osc_draw_password_field('password'); ?> </td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?> </td> </tr> <tr> <td class="smallText" colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a>'; ?> </td> </tr>
?> </b> <div> <p><?php echo $osC_Language->get('login_returning_customer_text'); ?> </p> <ol> <li><?php echo osc_draw_label($osC_Language->get('field_customer_email_address'), 'email_address', null, true) . osc_draw_input_field('email_address'); ?> </li> <li><?php echo osc_draw_label($osC_Language->get('field_customer_password'), 'password', null, true) . osc_draw_password_field('password'); ?> </li> </ol> <p><?php echo sprintf($osC_Language->get('login_returning_customer_password_forgotten'), osc_href_link(FILENAME_ACCOUNT, 'password_forgotten', 'SSL')); ?> </p> <p align="right"><?php echo osc_draw_image_submit_button('button_login.gif', $osC_Language->get('button_sign_in')); ?> </p> </div>
?> </td> </tr> <tr> <td class="inputField"><?php echo TEXT_DATABASE_USERNAME . '<br />' . osc_draw_input_field('DB_SERVER_USERNAME', null, 'class="text"'); ?> </td> <td class="inputDescription"><?php echo TEXT_DATABASE_USERNAME_DESC; ?> </td> </tr> <tr> <td class="inputField"><?php echo TEXT_DATABASE_PASSWORD . '<br />' . osc_draw_password_field('DB_SERVER_PASSWORD', 'class="text"'); ?> </td> <td class="inputDescription"><?php echo TEXT_DATABASE_PASSWORD_DESC; ?> </td> </tr> <tr> <td class="inputField"><?php echo TEXT_DATABASE_NAME . '<br />' . osc_draw_input_field('DB_DATABASE', null, 'class="text"'); ?> </td> <td class="inputDescription"><?php echo TEXT_DATABASE_NAME_DESC; ?>