Index: /branches/dev/html/admin/basis/template_input.php
===================================================================
--- /branches/dev/html/admin/basis/template_input.php	(revision 13636)
+++ /branches/dev/html/admin/basis/template_input.php	(revision 13649)
@@ -18,7 +18,7 @@
 	
 	function LC_Page() {
-		$this->tpl_mainpage = 'mail/template_input.tpl';
+		$this->tpl_mainpage = 'basis/template_input.tpl';
 		$this->tpl_mainno = 'mail';
-		$this->tpl_subnavi = 'mail/subnavi.tpl';
+		$this->tpl_subnavi = 'basis/subnavi.tpl';
 		$this->tpl_subno = "template";
 	}
@@ -47,5 +47,5 @@
 	
 	// ÊÔ½¸
-	$sql = "SELECT * FROM dtb_mailmaga_template WHERE template_id = ? AND del_flg = 0";
+	$sql = "SELECT * FROM dtb_templates WHERE template_id = ? AND delete_flag = 0";
 	$result = $conn->getAll($sql, array($_GET['template_id']));
 	$objPage->arrForm = $result[0];
@@ -67,5 +67,5 @@
 	
 	// ´°Î»²èÌÌÉ½¼¨
-	$objPage->tpl_mainpage = 'mail/template_complete.tpl';
+	$objPage->tpl_mainpage = 'basis/template_complete.tpl';
 	
 } 
