dcrider1 Posted February 26, 2010 Share Posted February 26, 2010 This code is not in my account_edit.php file. How should I proceed? This part of the instructions. Find: <?php if (ACCOUNT_DOB == 'true') { ?> <tr> <td class="main"><?php echo ENTRY_DATE_OF_BIRTH; ?></td> <td class="main"><?php echo tep_draw_input_field('dob', tep_date_short($account['customers_dob'])) . ' ' . (tep_not_null(ENTRY_DATE_OF_BIRTH_TEXT) ? '<span class="inputRequirement">' . ENTRY_DATE_OF_BIRTH_TEXT . '</span>': ''); ?></td> </tr> <?php } ?> Replace with: <?php if (ACCOUNT_DOB == 'true') { // anti-hacker account $day = substr($account['customers_dob'], 8, 2); $month = substr($account['customers_dob'], 5, 2); $year = substr($account['customers_dob'], 0, 4); $day = isset($_POST['dob_ind']) ? $_POST['dob_ind'] : $day; $month = isset($_POST['dob_inm']) ? $_POST['dob_inm'] : $month; $year = isset($_POST['dob_in']) ? $_POST['dob_in'] : $year; ?> <tr> <td class="main"><?php echo ENTRY_DATE_OF_BIRTH; ?></td> <td class="main"><?php echo tep_pull_down_date('dob_in', $day, $month, $year, true) . ' ' . (tep_not_null(ENTRY_DATE_OF_BIRTH_TEXT) ? '<span class="inputRequirement">' . ENTRY_DATE_OF_BIRTH_TEXT . '</span>': ''); ?></td> </tr> <?php // EOF anti-hacker account } ?> Link to comment Share on other sites More sharing options...
dcrider1 Posted February 26, 2010 Author Share Posted February 26, 2010 disregard, found and fixed the problem. God gave me a little bit of brain tonight, lol Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.