Index: temp/trunk/html/admin/batch/daily.php
===================================================================
--- temp/trunk/html/admin/batch/daily.php	(revision 3445)
+++ temp/trunk/html/admin/batch/daily.php	(revision 3448)
@@ -65,6 +65,11 @@
 
 // ¥ê¥¢¥ë¥¿¥¤¥à¤Ç½¸·×¤ò¼Â»Ü¤¹¤ë¡£½¸·×¤¬½ªÎ»¤·¤Æ¤¤¤ë¥ì¥³¡¼¥É¤Ï¼Â»Ü¤·¤Ê¤¤¡£
-function lfRealTimeDailyTotal() {
-	
+/*
+	$sdate:YYYY-MM-DD hh:mm:ss·Á¼°¤ÎÆüÉÕ
+	$edate:YYYY-MM-DD hh:mm:ss·Á¼°¤ÎÆüÉÕ
+*/
+function lfRealTimeDailyTotal($sdate, $edate) {
+	$pass = strtotime($edate) - strtotime($sdate);
+	print(($pass / (24 * 3600)));
 }
 
Index: temp/trunk/html/admin/total/index.php
===================================================================
--- temp/trunk/html/admin/total/index.php	(revision 2962)
+++ temp/trunk/html/admin/total/index.php	(revision 3448)
@@ -133,4 +133,7 @@
 
 			$objPage->tpl_page_type = "total/page_term.tpl";
+			// Ì¤½¸·×¥Ç¡¼¥¿¤Î½¸·×¤ò¹Ô¤¦
+			lfRealTimeDailyTotal($sdate, $edate);
+			
 			// ¸¡º÷·ë²Ì¤Î¼èÆÀ
 			$objPage = lfGetOrderTerm($type, $sdate, $edate, $objPage);
Index: temp/trunk/html/shopping/complete.php
===================================================================
--- temp/trunk/html/shopping/complete.php	(revision 2812)
+++ temp/trunk/html/shopping/complete.php	(revision 3448)
@@ -474,5 +474,4 @@
 		$sqlval['stock'] = null;
 		$objQuery->update("dtb_products_class", $sqlval, $where, $arrID);
-		$ret = $objQuery->getLastQuery();
 	// ºß¸Ë¤ò¸º¤é¤¹
 	} else {
@@ -482,5 +481,4 @@
 		}		
 		$objQuery->update("dtb_products_class", $sqlval, $where, $arrID);
-		$ret = $objQuery->getLastQuery();
 	}
 }
