Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

500
 
685
 
685
 
account.php
_> 11 <?php
  22 /*
<> 3 -  $Id: account.php 500 2006-04-18 06:27:10Z hpdl $
   3+  $Id: account.php 685 2006-08-14 17:17:56Z hpdl $
44 
  55   osCommerce, Open Source E-Commerce Solutions
  66   http://www.oscommerce.com
     
 !
1515     function &getEntry() {
  1616       global $osC_Database, $osC_Customer;
  1717 
<> 18 -      $Qaccount = $osC_Database->query('select customers_gender, customers_firstname, customers_lastname, unix_timestamp(customers_dob) as customers_dob, customers_email_address from :table_customers where customers_id = :customers_id');
   18+      $Qaccount = $osC_Database->query('select customers_gender, customers_firstname, customers_lastname, date_format(customers_dob, "%Y") as customers_dob_year, date_format(customers_dob, "%m") as customers_dob_month, date_format(customers_dob, "%d") as customers_dob_date, customers_email_address from :table_customers where customers_id = :customers_id');
<_ 1919       $Qaccount->bindTable(':table_customers', TABLE_CUSTOMERS);
  2020       $Qaccount->bindInt(':customers_id', $osC_Customer->getID());
  2121       $Qaccount->execute();