Changeset 318
- Timestamp:
- 2007/02/21 19:47:18 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/html/admin/products/upload_csv.php
r153 r318 120 120 121 121 if(!$err) { 122 lfRegistProduct($objQuery );122 lfRegistProduct($objQuery, $line); 123 123 $regist++; 124 124 } … … 240 240 * ÀâÌÀ¡¡¡§¾¦ÉÊÅÐÏ¿ 241 241 */ 242 function lfRegistProduct($objQuery ) {242 function lfRegistProduct($objQuery, $line = "") { 243 243 global $objFormParam; 244 244 $arrRet = $objFormParam->getHashArray(); … … 270 270 // ÅÐÏ¿»þ´Ö¤òÀ¸À®(DB¤Înow()¤À¤Ècommit¤·¤¿ºÝ¡¢¤¹¤Ù¤ÆƱ°ì¤Î»þ´Ö¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¦) 271 271 $time = date("Y-m-d H:i:s"); 272 $m = (float)microtime(); 273 list($dummy, $m_time) = split("\.", $m); 274 $time .= ".$m_time"; 272 // Éðʲ¼¤òÀ¸À® 273 if($line != "") { 274 $microtime = sprintf("%06d", $line); 275 $time .= ".$microtime"; 276 } 275 277 $sqlval['update_date'] = $time; 276 278 $sqlval['creator_id'] = $_SESSION['member_id'];
Note: See TracChangeset
for help on using the changeset viewer.