Index: temp/trunk/html/admin/design/template.php
===================================================================
--- temp/trunk/html/admin/design/template.php	(revision 3244)
+++ temp/trunk/html/admin/design/template.php	(revision 3246)
@@ -32,4 +32,11 @@
 sfIsSuccess($objSess);
 
+
+	// ¥Æ¥ó¥×¥ì¡¼¥È¥Ç¡¼¥¿¤ò¼èÆÀ¤¹¤ë
+	$objQuery = new SC_Query();
+	$sql = "SELECT template_code,template_name,file_path FROM dtb_template ORDER BY create_date DESC";
+	$arrTemplate = $objQuery->getall($sql);
+
+
 // GET¤ÎÃÍ¤ò¼õ¤±¼è¤ë
 $get_tpl_subno_template = $_GET['tpl_subno_template'];
@@ -101,9 +108,4 @@
 	// DB¤«¤é¸½ºßÁªÂò¤µ¤ì¤Æ¤¤¤ë¥Ç¡¼¥¿¼èÆÀ
 	$arrDefcheck = lfgetTemplaeData();
-	
-	// ¥Æ¥ó¥×¥ì¡¼¥È¥Ç¡¼¥¿¤ò¼èÆÀ¤¹¤ë
-	$objQuery = new SC_Query();
-	$sql = "SELECT template_code,template_name,file_path FROM dtb_template ORDER BY create_date DESC";
-	$arrTemplate = $objQuery->getall($sql);
 	
 	switch($objPage->tpl_subno_template) {
