Index: /branches/feature-module-zeus/data/lib/slib.php
===================================================================
--- /branches/feature-module-zeus/data/lib/slib.php	(revision 15120)
+++ /branches/feature-module-zeus/data/lib/slib.php	(revision 15480)
@@ -540,4 +540,5 @@
 	// POST¤Î¥æ¥Ë¡¼¥¯ID¤È¥»¥Ã¥·¥ç¥ó¤Î¥æ¥Ë¡¼¥¯ID¤òÈæ³Ó(¥æ¥Ë¡¼¥¯ID¤¬POST¤µ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï¥¹¥ë¡¼)
 	$ret = $objSiteSess->checkUniqId();
+	
 	if($ret != true) {
 		// ¥¨¥é¡¼¥Ú¡¼¥¸¤ÎÉ½¼¨
@@ -1755,9 +1756,8 @@
 				$arrOther[$other_key]["value"] = "";
 			}
-		}
-		
+		}		
 		$objPage->arrOther = $arrOther;
 	}
-
+		
 	// ÅÔÆ»ÉÜ¸©ÊÑ´¹
 	global $arrPref;
@@ -1772,17 +1772,13 @@
 	// ¥á¡¼¥ëËÜÊ¸¤Î¼èÆÀ
 	$objMailView->assignobj($objPage);
+	
     $name = $objPage->arrOrder['order_name01']." ".$objPage->arrOrder['order_name02'];
     $objPage->tpl_body = ereg_replace( "(\{name\})", $name ,  $objPage->tpl_body );
     $tmp_subject = ereg_replace( "(\{name\})", $name ,  $tmp_subject );
-    
-    // $template_id==1¤Ï·ÈÂÓÍÑ
-    if($template_id == '1'){
-	   $body = $objMailView->fetch($arrMAILTPLPATH[1]);
-       $body = ereg_replace( "(\{order\})", $body ,  $objPage->tpl_body );
-    }else{
-       $body = $objMailView->fetch($arrMAILTPLPATH[0]); 
-       $body = ereg_replace( "(\{order\})", $body ,  $objPage->tpl_body );
-    }
-    
+	 
+    // ¼õÃíÆ°ÅªÉôÊ¬¤ò¼èÆÀ
+	$body = $objMailView->fetch($arrMAILTPLPATH[$template_id]);
+    $body = ereg_replace( "(\{order\})", $body ,  $objPage->tpl_body );
+        
 	// ¥á¡¼¥ëÁ÷¿®½èÍý
 	$objSendMail = new GC_SendMail();
@@ -1795,5 +1791,4 @@
 	$objSendMail->setItem('', $tosubject, $body, $from, $arrInfo['shop_name'], $from, $error, $error, $bcc);
 	$objSendMail->setTo($arrOrder["order_email"], $arrOrder["order_name01"] . " ". $arrOrder["order_name02"] ." ÍÍ");
-
 
 	// Á÷¿®¥Õ¥é¥°:true¤Î¾ì¹ç¤Ï¡¢Á÷¿®¤¹¤ë¡£
