[ Index ] |
|
Code source de osCommerce 2.2ms2-060817 |
1 <?php 2 /* 3 $Id: create_account.php,v 1.65 2003/06/09 23:03:54 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 require ('includes/application_top.php'); 14 15 // needs to be included earlier to set the success message in the messageStack 16 require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_CREATE_ACCOUNT); 17 18 $process = false; 19 if (isset($HTTP_POST_VARS['action']) && ($HTTP_POST_VARS['action'] == 'process')) { 20 $process = true; 21 22 if (ACCOUNT_GENDER == 'true') { 23 if (isset($HTTP_POST_VARS['gender'])) { 24 $gender = tep_db_prepare_input($HTTP_POST_VARS['gender']); 25 } else { 26 $gender = false; 27 } 28 } 29 $firstname = tep_db_prepare_input($HTTP_POST_VARS['firstname']); 30 $lastname = tep_db_prepare_input($HTTP_POST_VARS['lastname']); 31 if (ACCOUNT_DOB == 'true') $dob = tep_db_prepare_input($HTTP_POST_VARS['dob']); 32 $email_address = tep_db_prepare_input($HTTP_POST_VARS['email_address']); 33 if (ACCOUNT_COMPANY == 'true') $company = tep_db_prepare_input($HTTP_POST_VARS['company']); 34 $street_address = tep_db_prepare_input($HTTP_POST_VARS['street_address']); 35 if (ACCOUNT_SUBURB == 'true') $suburb = tep_db_prepare_input($HTTP_POST_VARS['suburb']); 36 $postcode = tep_db_prepare_input($HTTP_POST_VARS['postcode']); 37 $city = tep_db_prepare_input($HTTP_POST_VARS['city']); 38 if (ACCOUNT_STATE == 'true') { 39 $state = tep_db_prepare_input($HTTP_POST_VARS['state']); 40 if (isset($HTTP_POST_VARS['zone_id'])) { 41 $zone_id = tep_db_prepare_input($HTTP_POST_VARS['zone_id']); 42 } else { 43 $zone_id = false; 44 } 45 } 46 $country = tep_db_prepare_input($HTTP_POST_VARS['country']); 47 $telephone = tep_db_prepare_input($HTTP_POST_VARS['telephone']); 48 $fax = tep_db_prepare_input($HTTP_POST_VARS['fax']); 49 if (isset($HTTP_POST_VARS['newsletter'])) { 50 $newsletter = tep_db_prepare_input($HTTP_POST_VARS['newsletter']); 51 } else { 52 $newsletter = false; 53 } 54 $password = tep_db_prepare_input($HTTP_POST_VARS['password']); 55 $confirmation = tep_db_prepare_input($HTTP_POST_VARS['confirmation']); 56 57 $error = false; 58 59 if (ACCOUNT_GENDER == 'true') { 60 if ( ($gender != 'm') && ($gender != 'f') ) { 61 $error = true; 62 63 $messageStack->add('create_account', ENTRY_GENDER_ERROR); 64 } 65 } 66 67 if (strlen($firstname) < ENTRY_FIRST_NAME_MIN_LENGTH) { 68 $error = true; 69 70 $messageStack->add('create_account', ENTRY_FIRST_NAME_ERROR); 71 } 72 73 if (strlen($lastname) < ENTRY_LAST_NAME_MIN_LENGTH) { 74 $error = true; 75 76 $messageStack->add('create_account', ENTRY_LAST_NAME_ERROR); 77 } 78 79 if (ACCOUNT_DOB == 'true') { 80 if (checkdate(substr(tep_date_raw($dob), 4, 2), substr(tep_date_raw($dob), 6, 2), substr(tep_date_raw($dob), 0, 4)) == false) { 81 $error = true; 82 83 $messageStack->add('create_account', ENTRY_DATE_OF_BIRTH_ERROR); 84 } 85 } 86 87 if (strlen($email_address) < ENTRY_EMAIL_ADDRESS_MIN_LENGTH) { 88 $error = true; 89 90 $messageStack->add('create_account', ENTRY_EMAIL_ADDRESS_ERROR); 91 } elseif (tep_validate_email($email_address) == false) { 92 $error = true; 93 94 $messageStack->add('create_account', ENTRY_EMAIL_ADDRESS_CHECK_ERROR); 95 } else { 96 $check_email_query = tep_db_query("select count(*) as total from " . TABLE_CUSTOMERS . " where customers_email_address = '" . tep_db_input($email_address) . "'"); 97 $check_email = tep_db_fetch_array($check_email_query); 98 if ($check_email['total'] > 0) { 99 $error = true; 100 101 $messageStack->add('create_account', ENTRY_EMAIL_ADDRESS_ERROR_EXISTS); 102 } 103 } 104 105 if (strlen($street_address) < ENTRY_STREET_ADDRESS_MIN_LENGTH) { 106 $error = true; 107 108 $messageStack->add('create_account', ENTRY_STREET_ADDRESS_ERROR); 109 } 110 111 if (strlen($postcode) < ENTRY_POSTCODE_MIN_LENGTH) { 112 $error = true; 113 114 $messageStack->add('create_account', ENTRY_POST_CODE_ERROR); 115 } 116 117 if (strlen($city) < ENTRY_CITY_MIN_LENGTH) { 118 $error = true; 119 120 $messageStack->add('create_account', ENTRY_CITY_ERROR); 121 } 122 123 if (is_numeric($country) == false) { 124 $error = true; 125 126 $messageStack->add('create_account', ENTRY_COUNTRY_ERROR); 127 } 128 129 if (ACCOUNT_STATE == 'true') { 130 $zone_id = 0; 131 $check_query = tep_db_query("select count(*) as total from " . TABLE_ZONES . " where zone_country_id = '" . (int)$country . "'"); 132 $check = tep_db_fetch_array($check_query); 133 $entry_state_has_zones = ($check['total'] > 0); 134 if ($entry_state_has_zones == true) { 135 $zone_query = tep_db_query("select distinct zone_id from " . TABLE_ZONES . " where zone_country_id = '" . (int)$country . "' and (zone_name like '" . tep_db_input($state) . "%' or zone_code like '%" . tep_db_input($state) . "%')"); 136 if (tep_db_num_rows($zone_query) == 1) { 137 $zone = tep_db_fetch_array($zone_query); 138 $zone_id = $zone['zone_id']; 139 } else { 140 $error = true; 141 142 $messageStack->add('create_account', ENTRY_STATE_ERROR_SELECT); 143 } 144 } else { 145 if (strlen($state) < ENTRY_STATE_MIN_LENGTH) { 146 $error = true; 147 148 $messageStack->add('create_account', ENTRY_STATE_ERROR); 149 } 150 } 151 } 152 153 if (strlen($telephone) < ENTRY_TELEPHONE_MIN_LENGTH) { 154 $error = true; 155 156 $messageStack->add('create_account', ENTRY_TELEPHONE_NUMBER_ERROR); 157 } 158 159 160 if (strlen($password) < ENTRY_PASSWORD_MIN_LENGTH) { 161 $error = true; 162 163 $messageStack->add('create_account', ENTRY_PASSWORD_ERROR); 164 } elseif ($password != $confirmation) { 165 $error = true; 166 167 $messageStack->add('create_account', ENTRY_PASSWORD_ERROR_NOT_MATCHING); 168 } 169 170 if ($error == false) { 171 $sql_data_array = array('customers_firstname' => $firstname, 172 'customers_lastname' => $lastname, 173 'customers_email_address' => $email_address, 174 'customers_telephone' => $telephone, 175 'customers_fax' => $fax, 176 'customers_newsletter' => $newsletter, 177 'customers_password' => tep_encrypt_password($password)); 178 179 if (ACCOUNT_GENDER == 'true') $sql_data_array['customers_gender'] = $gender; 180 if (ACCOUNT_DOB == 'true') $sql_data_array['customers_dob'] = tep_date_raw($dob); 181 182 tep_db_perform(TABLE_CUSTOMERS, $sql_data_array); 183 184 $customer_id = tep_db_insert_id(); 185 186 $sql_data_array = array('customers_id' => $customer_id, 187 'entry_firstname' => $firstname, 188 'entry_lastname' => $lastname, 189 'entry_street_address' => $street_address, 190 'entry_postcode' => $postcode, 191 'entry_city' => $city, 192 'entry_country_id' => $country); 193 194 if (ACCOUNT_GENDER == 'true') $sql_data_array['entry_gender'] = $gender; 195 if (ACCOUNT_COMPANY == 'true') $sql_data_array['entry_company'] = $company; 196 if (ACCOUNT_SUBURB == 'true') $sql_data_array['entry_suburb'] = $suburb; 197 if (ACCOUNT_STATE == 'true') { 198 if ($zone_id > 0) { 199 $sql_data_array['entry_zone_id'] = $zone_id; 200 $sql_data_array['entry_state'] = ''; 201 } else { 202 $sql_data_array['entry_zone_id'] = '0'; 203 $sql_data_array['entry_state'] = $state; 204 } 205 } 206 207 tep_db_perform(TABLE_ADDRESS_BOOK, $sql_data_array); 208 209 $address_id = tep_db_insert_id(); 210 211 tep_db_query("update " . TABLE_CUSTOMERS . " set customers_default_address_id = '" . (int)$address_id . "' where customers_id = '" . (int)$customer_id . "'"); 212 213 tep_db_query("insert into " . TABLE_CUSTOMERS_INFO . " (customers_info_id, customers_info_number_of_logons, customers_info_date_account_created) values ('" . (int)$customer_id . "', '0', now())"); 214 215 if (SESSION_RECREATE == 'True') { 216 tep_session_recreate(); 217 } 218 219 $customer_first_name = $firstname; 220 $customer_default_address_id = $address_id; 221 $customer_country_id = $country; 222 $customer_zone_id = $zone_id; 223 tep_session_register('customer_id'); 224 tep_session_register('customer_first_name'); 225 tep_session_register('customer_default_address_id'); 226 tep_session_register('customer_country_id'); 227 tep_session_register('customer_zone_id'); 228 229 // restore cart contents 230 $cart->restore_contents(); 231 232 // build the message content 233 $name = $firstname . ' ' . $lastname; 234 235 if (ACCOUNT_GENDER == 'true') { 236 if ($gender == 'm') { 237 $email_text = sprintf(EMAIL_GREET_MR, $lastname); 238 } else { 239 $email_text = sprintf(EMAIL_GREET_MS, $lastname); 240 } 241 } else { 242 $email_text = sprintf(EMAIL_GREET_NONE, $firstname); 243 } 244 245 $email_text .= EMAIL_WELCOME . EMAIL_TEXT . EMAIL_CONTACT . EMAIL_WARNING; 246 tep_mail($name, $email_address, EMAIL_SUBJECT, $email_text, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS); 247 248 tep_redirect(tep_href_link(FILENAME_CREATE_ACCOUNT_SUCCESS, '', 'SSL')); 249 } 250 } 251 252 $breadcrumb->add(NAVBAR_TITLE, tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL')); 253 ?> 254 <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"> 255 <html <?php echo HTML_PARAMS; ?>> 256 <head> 257 <meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET; ?>"> 258 <title><?php echo TITLE; ?></title> 259 <base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>"> 260 <link rel="stylesheet" type="text/css" href="stylesheet.css"> 261 <?php require ('includes/form_check.js.php'); ?> 262 </head> 263 <body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0"> 264 <!-- header //--> 265 <?php require(DIR_WS_INCLUDES . 'header.php'); ?> 266 <!-- header_eof //--> 267 268 <!-- body //--> 269 <table border="0" width="100%" cellspacing="3" cellpadding="3"> 270 <tr> 271 <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> 272 <!-- left_navigation //--> 273 <?php require(DIR_WS_INCLUDES . 'column_left.php'); ?> 274 <!-- left_navigation_eof //--> 275 </table></td> 276 <!-- body_text //--> 277 <td width="100%" valign="top"><?php echo tep_draw_form('create_account', tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'), 'post', 'onSubmit="return check_form(create_account);"') . tep_draw_hidden_field('action', 'process'); ?><table border="0" width="100%" cellspacing="0" cellpadding="0"> 278 <tr> 279 <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> 280 <tr> 281 <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> 282 <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_account.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> 283 </tr> 284 </table></td> 285 </tr> 286 <tr> 287 <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> 288 </tr> 289 <tr> 290 <td class="smallText"><br><?php echo sprintf(TEXT_ORIGIN_LOGIN, tep_href_link(FILENAME_LOGIN, tep_get_all_get_params(), 'SSL')); ?></td> 291 </tr> 292 <tr> 293 <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> 294 </tr> 295 <?php 296 if ($messageStack->size('create_account') > 0) { 297 ?> 298 <tr> 299 <td><?php echo $messageStack->output('create_account'); ?></td> 300 </tr> 301 <tr> 302 <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> 303 </tr> 304 <?php 305 } 306 ?> 307 <tr> 308 <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> 309 <tr> 310 <td class="main"><b><?php echo CATEGORY_PERSONAL; ?></b></td> 311 <td class="inputRequirement" align="right"><?php echo FORM_REQUIRED_INFORMATION; ?></td> 312 </tr> 313 </table></td> 314 </tr> 315 <tr> 316 <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> 317 <tr class="infoBoxContents"> 318 <td><table border="0" cellspacing="2" cellpadding="2"> 319 <?php 320 if (ACCOUNT_GENDER == 'true') { 321 ?> 322 <tr> 323 <td class="main"><?php echo ENTRY_GENDER; ?></td> 324 <td class="main"><?php echo tep_draw_radio_field('gender', 'm') . ' ' . MALE . ' ' . tep_draw_radio_field('gender', 'f') . ' ' . FEMALE . ' ' . (tep_not_null(ENTRY_GENDER_TEXT) ? '<span class="inputRequirement">' . ENTRY_GENDER_TEXT . '</span>': ''); ?></td> 325 </tr> 326 <?php 327 } 328 ?> 329 <tr> 330 <td class="main"><?php echo ENTRY_FIRST_NAME; ?></td> 331 <td class="main"><?php echo tep_draw_input_field('firstname') . ' ' . (tep_not_null(ENTRY_FIRST_NAME_TEXT) ? '<span class="inputRequirement">' . ENTRY_FIRST_NAME_TEXT . '</span>': ''); ?></td> 332 </tr> 333 <tr> 334 <td class="main"><?php echo ENTRY_LAST_NAME; ?></td> 335 <td class="main"><?php echo tep_draw_input_field('lastname') . ' ' . (tep_not_null(ENTRY_LAST_NAME_TEXT) ? '<span class="inputRequirement">' . ENTRY_LAST_NAME_TEXT . '</span>': ''); ?></td> 336 </tr> 337 <?php 338 if (ACCOUNT_DOB == 'true') { 339 ?> 340 <tr> 341 <td class="main"><?php echo ENTRY_DATE_OF_BIRTH; ?></td> 342 <td class="main"><?php echo tep_draw_input_field('dob') . ' ' . (tep_not_null(ENTRY_DATE_OF_BIRTH_TEXT) ? '<span class="inputRequirement">' . ENTRY_DATE_OF_BIRTH_TEXT . '</span>': ''); ?></td> 343 </tr> 344 <?php 345 } 346 ?> 347 <tr> 348 <td class="main"><?php echo ENTRY_EMAIL_ADDRESS; ?></td> 349 <td class="main"><?php echo tep_draw_input_field('email_address') . ' ' . (tep_not_null(ENTRY_EMAIL_ADDRESS_TEXT) ? '<span class="inputRequirement">' . ENTRY_EMAIL_ADDRESS_TEXT . '</span>': ''); ?></td> 350 </tr> 351 </table></td> 352 </tr> 353 </table></td> 354 </tr> 355 <?php 356 if (ACCOUNT_COMPANY == 'true') { 357 ?> 358 <tr> 359 <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> 360 </tr> 361 <tr> 362 <td class="main"><b><?php echo CATEGORY_COMPANY; ?></b></td> 363 </tr> 364 <tr> 365 <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> 366 <tr class="infoBoxContents"> 367 <td><table border="0" cellspacing="2" cellpadding="2"> 368 <tr> 369 <td class="main"><?php echo ENTRY_COMPANY; ?></td> 370 <td class="main"><?php echo tep_draw_input_field('company') . ' ' . (tep_not_null(ENTRY_COMPANY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COMPANY_TEXT . '</span>': ''); ?></td> 371 </tr> 372 </table></td> 373 </tr> 374 </table></td> 375 </tr> 376 <?php 377 } 378 ?> 379 <tr> 380 <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> 381 </tr> 382 <tr> 383 <td class="main"><b><?php echo CATEGORY_ADDRESS; ?></b></td> 384 </tr> 385 <tr> 386 <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> 387 <tr class="infoBoxContents"> 388 <td><table border="0" cellspacing="2" cellpadding="2"> 389 <tr> 390 <td class="main"><?php echo ENTRY_STREET_ADDRESS; ?></td> 391 <td class="main"><?php echo tep_draw_input_field('street_address') . ' ' . (tep_not_null(ENTRY_STREET_ADDRESS_TEXT) ? '<span class="inputRequirement">' . ENTRY_STREET_ADDRESS_TEXT . '</span>': ''); ?></td> 392 </tr> 393 <?php 394 if (ACCOUNT_SUBURB == 'true') { 395 ?> 396 <tr> 397 <td class="main"><?php echo ENTRY_SUBURB; ?></td> 398 <td class="main"><?php echo tep_draw_input_field('suburb') . ' ' . (tep_not_null(ENTRY_SUBURB_TEXT) ? '<span class="inputRequirement">' . ENTRY_SUBURB_TEXT . '</span>': ''); ?></td> 399 </tr> 400 <?php 401 } 402 ?> 403 <tr> 404 <td class="main"><?php echo ENTRY_POST_CODE; ?></td> 405 <td class="main"><?php echo tep_draw_input_field('postcode') . ' ' . (tep_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="inputRequirement">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?></td> 406 </tr> 407 <tr> 408 <td class="main"><?php echo ENTRY_CITY; ?></td> 409 <td class="main"><?php echo tep_draw_input_field('city') . ' ' . (tep_not_null(ENTRY_CITY_TEXT) ? '<span class="inputRequirement">' . ENTRY_CITY_TEXT . '</span>': ''); ?></td> 410 </tr> 411 <?php 412 if (ACCOUNT_STATE == 'true') { 413 ?> 414 <tr> 415 <td class="main"><?php echo ENTRY_STATE; ?></td> 416 <td class="main"> 417 <?php 418 if ($process == true) { 419 if ($entry_state_has_zones == true) { 420 $zones_array = array(); 421 $zones_query = tep_db_query("select zone_name from " . TABLE_ZONES . " where zone_country_id = '" . (int)$country . "' order by zone_name"); 422 while ($zones_values = tep_db_fetch_array($zones_query)) { 423 $zones_array[] = array('id' => $zones_values['zone_name'], 'text' => $zones_values['zone_name']); 424 } 425 echo tep_draw_pull_down_menu('state', $zones_array); 426 } else { 427 echo tep_draw_input_field('state'); 428 } 429 } else { 430 echo tep_draw_input_field('state'); 431 } 432 433 if (tep_not_null(ENTRY_STATE_TEXT)) echo ' <span class="inputRequirement">' . ENTRY_STATE_TEXT; 434 ?> 435 </td> 436 </tr> 437 <?php 438 } 439 ?> 440 <tr> 441 <td class="main"><?php echo ENTRY_COUNTRY; ?></td> 442 <td class="main"><?php echo tep_get_country_list('country') . ' ' . (tep_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?></td> 443 </tr> 444 </table></td> 445 </tr> 446 </table></td> 447 </tr> 448 <tr> 449 <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> 450 </tr> 451 <tr> 452 <td class="main"><b><?php echo CATEGORY_CONTACT; ?></b></td> 453 </tr> 454 <tr> 455 <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> 456 <tr class="infoBoxContents"> 457 <td><table border="0" cellspacing="2" cellpadding="2"> 458 <tr> 459 <td class="main"><?php echo ENTRY_TELEPHONE_NUMBER; ?></td> 460 <td class="main"><?php echo tep_draw_input_field('telephone') . ' ' . (tep_not_null(ENTRY_TELEPHONE_NUMBER_TEXT) ? '<span class="inputRequirement">' . ENTRY_TELEPHONE_NUMBER_TEXT . '</span>': ''); ?></td> 461 </tr> 462 <tr> 463 <td class="main"><?php echo ENTRY_FAX_NUMBER; ?></td> 464 <td class="main"><?php echo tep_draw_input_field('fax') . ' ' . (tep_not_null(ENTRY_FAX_NUMBER_TEXT) ? '<span class="inputRequirement">' . ENTRY_FAX_NUMBER_TEXT . '</span>': ''); ?></td> 465 </tr> 466 </table></td> 467 </tr> 468 </table></td> 469 </tr> 470 <tr> 471 <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> 472 </tr> 473 <tr> 474 <td class="main"><b><?php echo CATEGORY_OPTIONS; ?></b></td> 475 </tr> 476 <tr> 477 <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> 478 <tr class="infoBoxContents"> 479 <td><table border="0" cellspacing="2" cellpadding="2"> 480 <tr> 481 <td class="main"><?php echo ENTRY_NEWSLETTER; ?></td> 482 <td class="main"><?php echo tep_draw_checkbox_field('newsletter', '1') . ' ' . (tep_not_null(ENTRY_NEWSLETTER_TEXT) ? '<span class="inputRequirement">' . ENTRY_NEWSLETTER_TEXT . '</span>': ''); ?></td> 483 </tr> 484 </table></td> 485 </tr> 486 </table></td> 487 </tr> 488 <tr> 489 <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> 490 </tr> 491 <tr> 492 <td class="main"><b><?php echo CATEGORY_PASSWORD; ?></b></td> 493 </tr> 494 <tr> 495 <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> 496 <tr class="infoBoxContents"> 497 <td><table border="0" cellspacing="2" cellpadding="2"> 498 <tr> 499 <td class="main"><?php echo ENTRY_PASSWORD; ?></td> 500 <td class="main"><?php echo tep_draw_password_field('password') . ' ' . (tep_not_null(ENTRY_PASSWORD_TEXT) ? '<span class="inputRequirement">' . ENTRY_PASSWORD_TEXT . '</span>': ''); ?></td> 501 </tr> 502 <tr> 503 <td class="main"><?php echo ENTRY_PASSWORD_CONFIRMATION; ?></td> 504 <td class="main"><?php echo tep_draw_password_field('confirmation') . ' ' . (tep_not_null(ENTRY_PASSWORD_CONFIRMATION_TEXT) ? '<span class="inputRequirement">' . ENTRY_PASSWORD_CONFIRMATION_TEXT . '</span>': ''); ?></td> 505 </tr> 506 </table></td> 507 </tr> 508 </table></td> 509 </tr> 510 <tr> 511 <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> 512 </tr> 513 <tr> 514 <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> 515 <tr class="infoBoxContents"> 516 <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> 517 <tr> 518 <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> 519 <td><?php echo tep_image_submit('button_continue.gif', IMAGE_BUTTON_CONTINUE); ?></td> 520 <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> 521 </tr> 522 </table></td> 523 </tr> 524 </table></td> 525 </tr> 526 </table></form></td> 527 <!-- body_text_eof //--> 528 <td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2"> 529 <!-- right_navigation //--> 530 <?php include(DIR_WS_INCLUDES . 'column_right.php'); ?> 531 <!-- right_navigation_eof //--> 532 </table></td> 533 </tr> 534 </table> 535 <!-- body_eof //--> 536 537 <!-- footer //--> 538 <?php include(DIR_WS_INCLUDES . 'footer.php'); ?> 539 <!-- footer_eof //--> 540 <br> 541 </body> 542 </html> 543 <?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Mon Nov 26 19:48:25 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |