Changeset 19669 for branches/version-2_5-dev/data/class
- Timestamp:
- 2010/11/12 16:18:52 (16 years ago)
- bzr:base-revision:
- [email protected]
- bzr:committer:
- Kentaro Ohkouchi <[email protected]>
- bzr:file-ids:
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
html/install/sql/create_table_mysql.sql 15078@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fhtml%2Finstall%2Fsql%2Fcreate_table_mysql.sql
html/install/sql/create_table_pgsql.sql 15078@1e3b908f-19a9-db11-a64c-001125224ba8:branches%2Ffeature-module-update%2Fhtml%2Finstall%2Fsql%2Fcreate_table_pgsql.sql
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:
- 2399
- bzr:revprop:branch-nick:
- branches/version-2_5-dev
- bzr:root:
- branches/version-2_5-dev
- bzr:timestamp:
- 2010-11-12 16:18:48.940000057 +0900
- bzr:user-agent:
- bzr2.2.1+bzr-svn1.0.4
- svn:original-date:
- 2010-11-12T07:18:48.940000Z
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/products/LC_Page_Products_Detail.php
r19664 r19669 320 320 //お気に入りボタン表示 321 321 $this->tpl_login = true; 322 323 /* 閲覧ログ機能は現在未使用 324 325 $table = "dtb_customer_reading"; 326 $where = "customer_id = ? "; 327 $arrval[] = $objCustomer->getValue('customer_id'); 328 //顧客の閲覧商品数 329 $rpcnt = $objQuery->count($table, $where, $arrval); 330 331 //閲覧数が設定数以下 332 if ($rpcnt < CUSTOMER_READING_MAX){ 333 //閲覧履歴に新規追加 334 lfRegistReadingData($product_id, $objCustomer->getValue('customer_id')); 335 } else { 336 //閲覧履歴の中で一番古いものを削除して新規追加 337 $oldsql = "SELECT MIN(update_date) FROM ".$table." WHERE customer_id = ?"; 338 $old = $objQuery->getOne($oldsql, array($objCustomer->getValue("customer_id"))); 339 $where = "customer_id = ? AND update_date = ? "; 340 $arrval = array($objCustomer->getValue("customer_id"), $old); 341 //削除 342 $objQuery->delete($table, $where, $arrval); 343 //追加 344 lfRegistReadingData($product_id, $objCustomer->getValue('customer_id')); 345 } 346 */ 347 } 348 322 } 349 323 350 324 // 規格選択セレクトボックスの作成
Note: See TracChangeset
for help on using the changeset viewer.
