Index: temp/trunk/html/admin/design/template.php
===================================================================
--- temp/trunk/html/admin/design/template.php	(revision 3260)
+++ temp/trunk/html/admin/design/template.php	(revision 3263)
@@ -263,17 +263,14 @@
 	
 	sfprintr($arrTemplate);
-	
-/*	
 	// TOP¤òÊÑ¹¹¤·¤¿¾ì¹ç¤Ë¤ÏÁ´²èÌÌÊÑ¹¹
 	if ($objPage->tpl_subno_template == $objPage->arrSubnavi[1]){
 		// ¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤ò¥³¥Ô¡¼
-		copy($arrTemplate[$chk_tpl]["TopTemplate"], ROOT_DIR . $tpl_path . "top.tpl");
-		copy($arrTemplate[$chk_tpl]["ProdTemplate"], ROOT_DIR . $tpl_path . "product.tpl");
-		copy($arrTemplate[$chk_tpl]["DetailTemplate"], ROOT_DIR . $tpl_path . "detail.tpl");
-		copy($arrTemplate[$chk_tpl]["MypageTemplate"], ROOT_DIR . $tpl_path . "mypage.tpl");
+		copy(ROOT_DIR . $tpl_path . $arrTemplate[0]['template_code'] . "top.tpl", ROOT_DIR . $tpl_path . "top.tpl");
+//		copy($arrTemplate[$chk_tpl]["ProdTemplate"], ROOT_DIR . $tpl_path . "product.tpl");
+//		copy($arrTemplate[$chk_tpl]["DetailTemplate"], ROOT_DIR . $tpl_path . "detail.tpl");
+//		copy($arrTemplate[$chk_tpl]["MypageTemplate"], ROOT_DIR . $tpl_path . "mypage.tpl");
 	}else{
 		// ¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤ò¥³¥Ô¡¼
 		copy($arrTemplate[$chk_tpl][$tpl_element], ROOT_DIR . INCLUDE_DIR . $tpl_name);
 	}
-*/
-}
+}
