Changeset 19664 for branches/version-2_5-dev/data/class
- Timestamp:
- 2010/11/10 14:46:34 (16 years ago)
- bzr:base-revision:
- [email protected]
- bzr:committer:
- Kentaro Ohkouchi <[email protected]>
- bzr:file-ids:
data/class/SC_SendMail.php 16322@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2FSC_SendMail.php
data/class/pages/products/LC_Page_Products_Detail.php 15154@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fclass%2Fpages%2Fproducts%2FLC_Page_Products_Detail.php
data/mtb_constants_init.php 16505@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fdata%2Fmtb_constants_init.php
html/install/sql/insert_data.sql 15078@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fhtml%2Finstall%2Fsql%2Finsert_data.sql- bzr:mapping-version:
- v4
- bzr:repository-uuid:
- 1e3b908f-19a9-db11-a64c-001125224ba8
- bzr:revision-id:
- [email protected]
- bzr:revno:
- 2394
- bzr:revprop:branch-nick:
- branches/version-2_5-dev
- bzr:root:
- branches/version-2_5-dev
- bzr:timestamp:
- 2010-11-10 14:46:31.776000023 +0900
- bzr:user-agent:
- bzr2.2.0+bzr-svn1.0.3
- svn:original-date:
- 2010-11-10T05:46:31.776000Z
- Location:
- branches/version-2_5-dev/data/class
- Files:
-
- 2 edited
-
SC_SendMail.php (modified) (1 diff)
-
pages/products/LC_Page_Products_Detail.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/SC_SendMail.php
r18866 r19664 152 152 $_name = ereg_replace("<","<", $_name); 153 153 $_name = ereg_replace(">",">", $_name); 154 if(OS_TYPE != 'WIN') {155 // windowsでは文字化けするので使用しない。156 // $_name = mb_convert_encoding($_name,"JIS",CHAR_CODE);157 }158 154 $_name = mb_encode_mimeheader($_name, "JIS", 'B', "\n"); 159 155 $name_address = "\"". $_name . "\"<" . $mail_address . ">"; -
branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_Detail.php
r19661 r19664 132 132 //お気に入りボタン表示 133 133 $this->tpl_login = true; 134 135 /* 閲覧ログ機能は現在未使用136 137 $table = "dtb_customer_reading";138 $where = "customer_id = ? ";139 $arrval[] = $objCustomer->getValue('customer_id');140 //顧客の閲覧商品数141 $rpcnt = $objQuery->count($table, $where, $arrval);142 143 //閲覧数が設定数以下144 if ($rpcnt < CUSTOMER_READING_MAX){145 //閲覧履歴に新規追加146 lfRegistReadingData($product_id, $objCustomer->getValue('customer_id'));147 } else {148 //閲覧履歴の中で一番古いものを削除して新規追加149 $oldsql = "SELECT MIN(update_date) FROM ".$table." WHERE customer_id = ?";150 $old = $objQuery->getOne($oldsql, array($objCustomer->getValue("customer_id")));151 $where = "customer_id = ? AND update_date = ? ";152 $arrval = array($objCustomer->getValue("customer_id"), $old);153 //削除154 $objQuery->delete($table, $where, $arrval);155 //追加156 lfRegistReadingData($product_id, $objCustomer->getValue('customer_id'));157 }158 */159 134 } 160 135
Note: See TracChangeset
for help on using the changeset viewer.
