Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

1840
 
1843
 
1843
 
account_edit.php
_> 11 <?php
  22 /*
<> 3 -  $Id: account_edit.php 1840 2008-12-12 12:32:40Z hpdl $
   3+  $Id: account_edit.php 1843 2008-12-12 13:32:10Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
2020 // needs to be included earlier to set the success message in the messageStack
  2121   require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_ACCOUNT_EDIT);
  2222 
<> 23 -  if (isset($HTTP_POST_VARS['action']) && ($HTTP_POST_VARS['action'] == 'process')) {
   23+  if (isset($HTTP_POST_VARS['action']) && ($HTTP_POST_VARS['action'] == 'process') && isset($HTTP_POST_VARS['formid']) && ($HTTP_POST_VARS['formid'] == $sessiontoken)) {
2424     if (ACCOUNT_GENDER == 'true') $gender = tep_db_prepare_input($HTTP_POST_VARS['gender']);
  2525     $firstname = tep_db_prepare_input($HTTP_POST_VARS['firstname']);
  2626     $lastname = tep_db_prepare_input($HTTP_POST_VARS['lastname']);
     
 !
142142 <!-- left_navigation_eof //-->
  143143     </table></td>
  144144 <!-- body_text //-->
<> 145 -    <td width="100%" valign="top"><?php echo tep_draw_form('account_edit', tep_href_link(FILENAME_ACCOUNT_EDIT, '', 'SSL'), 'post', 'onSubmit="return check_form(account_edit);"') . tep_draw_hidden_field('action', 'process'); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">
   145+    <td width="100%" valign="top"><?php echo tep_draw_form('account_edit', tep_href_link(FILENAME_ACCOUNT_EDIT, '', 'SSL'), 'post', 'onSubmit="return check_form(account_edit);"', true) . tep_draw_hidden_field('action', 'process'); ?><table border="0" width="100%" cellspacing="0" cellpadding="0">
<_ 146146       <tr>
  147147         <td><table border="0" width="100%" cellspacing="0" cellpadding="0">
  148148           <tr>