Index: temp/trunk/html/admin/total/index.php
===================================================================
--- temp/trunk/html/admin/total/index.php	(revision 2918)
+++ temp/trunk/html/admin/total/index.php	(revision 2919)
@@ -393,5 +393,5 @@
 
 // ±ß¥°¥é¥Õ¤ÎºîÀ® 
-function lfGetGraphPie($arrResults, $keyname, $type, $title = "") {
+function lfGetGraphPie($arrResults, $keyname, $type, $title = "", $sdate, $edate) {
 	
 	$ret_path = "";
@@ -424,9 +424,9 @@
 			// ¥á¥¤¥ó¥¿¥¤¥È¥ëºîÀ®
 			$arrKey = array_keys($arrList);
-			list($sy, $sm, $sd) = split("/" , $arrKey[0]);
-			list($ey, $em, $ed) = split("/" , $arrKey[count($arrKey) - 1]);
-			$startKey = $sy . "Ç¯" . $sm . "·î" . $sd . "Æü";
-			$endKey = $ey . "Ç¯" . $em . "·î" . $ed . "Æü";
-			$objGraphPie->drawTitle("½¸·×´ü´Ö¡§" . $startKey . " - " . $endKey);
+			list($sy, $sm, $sd) = split("[/ ]" , $sdate);
+			list($ey, $em, $ed) = split("[/ ]" , $edate);
+			$start_date = $sy . "Ç¯" . $sm . "·î" . $sd . "Æü";
+			$end_date = $ey . "Ç¯" . $em . "·î" . $ed . "Æü";
+			$objGraphLine->drawTitle("½¸·×´ü´Ö¡§" . $start_date . " - " . $end_date);
 					
 			// ±ß¥°¥é¥ÕÉÁ²è
@@ -443,5 +443,5 @@
 
 // ËÀ¥°¥é¥Õ¤ÎºîÀ® 
-function lfGetGraphBar($arrResults, $keyname, $type, $xtitle, $ytitle) {
+function lfGetGraphBar($arrResults, $keyname, $type, $xtitle, $ytitle, $sdate, $edate) {
 	$ret_path = "";
 	
@@ -467,9 +467,9 @@
 			// ¥á¥¤¥ó¥¿¥¤¥È¥ëºîÀ®
 			$arrKey = array_keys($arrList);
-			list($sy, $sm, $sd) = split("/" , $arrKey[0]);
-			list($ey, $em, $ed) = split("/" , $arrKey[count($arrKey) - 1]);
-			$startKey = $sy . "Ç¯" . $sm . "·î" . $sd . "Æü";
-			$endKey = $ey . "Ç¯" . $em . "·î" . $ed . "Æü";
-			$objGraphBar->drawTitle("½¸·×´ü´Ö¡§" . $startKey . " - " . $endKey);
+			list($sy, $sm, $sd) = split("[/ ]" , $sdate);
+			list($ey, $em, $ed) = split("[/ ]" , $edate);
+			$start_date = $sy . "Ç¯" . $sm . "·î" . $sd . "Æü";
+			$end_date = $ey . "Ç¯" . $em . "·î" . $ed . "Æü";
+			$objGraphLine->drawTitle("½¸·×´ü´Ö¡§" . $start_date . " - " . $end_date);
 			
 			$objGraphBar->drawGraph();
@@ -633,5 +633,5 @@
 	if($graph) {
 		$image_key = "job_" . $type;
-		$objPage->tpl_image = lfGetGraphPie($objPage->arrResults, "job_name", $image_key, "(Çä¾åÈæÎ¨)");
+		$objPage->tpl_image = lfGetGraphPie($objPage->arrResults, "job_name", $image_key, "(Çä¾åÈæÎ¨)", $sdate, $edate);
 	}
 	
@@ -674,5 +674,5 @@
 		$xtitle = "(Ç¯Îð)";
 		$ytitle = "(Çä¾å¹ç·×)";
-		$objPage->tpl_image = lfGetGraphBar($objPage->arrResults, "age_name", $image_key, $xtitle, $ytitle);
+		$objPage->tpl_image = lfGetGraphBar($objPage->arrResults, "age_name", $image_key, $xtitle, $ytitle, $sdate, $edate);
 	}
 	
