Index: /branches/beta/html/admin/basis/mail_edit.php
===================================================================
--- /branches/beta/html/admin/basis/mail_edit.php	(revision 16801)
+++ /branches/beta/html/admin/basis/mail_edit.php	(revision 16801)
@@ -0,0 +1,105 @@
+<?php
+/*
+ * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ */
+require_once("../require.php");
+
+class LC_Page {
+	var $arrSession;
+	var $tpl_mode;
+	function LC_Page() {
+		$this->tpl_mainpage = "basis/mail_edit.tpl";
+		$this->tpl_subnavi = "basis/subnavi.tpl";
+		$this->tpl_mainno = "basis";
+		$this->tpl_subno = "mail";
+		$this->tpl_subtitle = "¥á¡¼¥ëÀßÄê";
+	}
+}
+
+$objQuery = new SC_Query();
+$objPage = new LC_Page();
+$objView = new SC_AdminView();
+$objSess = new SC_Session();
+
+//Ç§¾Ú²ÄÈÝ¤ÎÈ½Äê
+sfIsSuccess($objSess);
+
+$objPage->arrMailTEMPLATE = $arrMAILTEMPLATE;
+$objPage->arrSendType = $arrMailType;
+
+// ÊÔ½¸/¿·µ¬
+if ($_POST['mode'] == "edit") {
+	if (sfCheckNumLength($_POST['template_id']) === true) {
+		$result = $objQuery->select("*", "dtb_mailtemplate", "template_id = ?", array($_POST['template_id']));
+		if ($result) {
+			$objPage->arrForm = $result[0];
+		} else {
+			$objPage->arrForm['template_id'] = $_POST['template_id'];
+		}
+	} else {
+		$objPage->arrForm['template_id'] = 0;
+	}
+
+// ÅÐÏ¿
+} elseif ($_POST['mode'] == "regist" && sfCheckNumLength($_POST['template_id']) === true) {
+	// POST¥Ç¡¼¥¿¤Î°ú¤­·Ñ¤®
+	$objPage->arrForm = lfConvertParam($_POST);
+	$objPage->arrErr = fnErrorCheck($objPage->arrForm);
+	if ($objPage->arrErr) {
+		// ¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸
+		$objPage->tpl_msg = "¥¨¥é¡¼¤¬È¯À¸¤·¤Þ¤·¤¿";
+	} else {
+		// Àµ¾ï
+		lfRegist($objQuery, $objPage->arrForm, $_POST['template_id']);
+		// ´°Î»¥Ú¡¼¥¸
+		$objPage->tpl_mainpage = "basis/mail_complete.tpl";
+	}
+}
+
+$objView->assignobj($objPage);
+$objView->display(MAIN_FRAME);
+
+//-----------------------------------------------------------------------------------------------------------------------------------
+
+function lfRegist($objQuery, $arrVal, $id) {
+	$sqlval['template_name'] = $arrVal['template_name'];
+	$sqlval['subject'] = $arrVal['subject'];
+	$sqlval['creator_id'] = $_SESSION['member_id'];
+	$sqlval['body'] = $arrVal['body'];
+	$sqlval['send_type'] = $arrVal['send_type'];
+	$sqlval['update_date'] = "now()";
+	
+	$result = $objQuery->count("dtb_mailtemplate", "template_id=?", array($id));
+	if ($result > 0) {
+		$objQuery->update("dtb_mailtemplate", $sqlval, "template_id=?", array($id));
+	} else {
+		$sqlval['create_date'] = "now()";
+		$objQuery->insert("dtb_mailtemplate", $sqlval);
+	}
+}
+
+function lfConvertParam($array) {
+    $new_array["send_type"] = $array["send_type"];
+	$new_array["template_id"] = $array["template_id"];
+    $new_array["template_name"] = mb_convert_kana($array["template_name"],"KV");
+	$new_array["subject"] = mb_convert_kana($array["subject"] ,"KV");
+	$new_array["body"] = mb_convert_kana($array["body"] ,"KV");
+	
+	return $new_array;
+}
+
+/* ÆþÎÏ¥¨¥é¡¼¤Î¥Á¥§¥Ã¥¯ */
+function fnErrorCheck($array) {
+	$objErr = new SC_CheckError($array);
+	$objErr->doFunc(array("¥á¡¼¥ë¤Î¼ïÎà",'send_type'), array("EXIST_CHECK"));
+	$objErr->doFunc(array("¥Æ¥ó¥×¥ì¡¼¥È",'template_id'), array("EXIST_CHECK"));
+    $objErr->doFunc(array("¥Æ¥ó¥×¥ì¡¼¥È",'template_name'), array("EXIST_CHECK"));
+	$objErr->doFunc(array("¥á¡¼¥ë¥¿¥¤¥È¥ë",'subject',MTEXT_LEN,"BIG"), array("EXIST_CHECK", "MAX_LENGTH_CHECK"));
+	$objErr->doFunc(array("¥á¡¼¥ë¤ÎÆâÍÆ",'body',LTEXT_LEN,"BIG"), array("MAX_LENGTH_CHECK","EXIST_CHECK"));
+	
+	return $objErr->arrErr;
+}
+
+?>
Index: /branches/beta/html/admin/basis/mail_template.php
===================================================================
--- /branches/beta/html/admin/basis/mail_template.php	(revision 14676)
+++ /branches/beta/html/admin/basis/mail_template.php	(revision 16801)
@@ -15,9 +15,9 @@
     
     function LC_Page() {
-        $this->tpl_mainpage = 'basis/template.tpl';
-        $this->tpl_mainno = 'basis';
-        $this->tpl_subnavi = 'basis/subnavi.tpl';
-        $this->tpl_subno = 'mail';
-        $this->tpl_subtitle = '¥Æ¥ó¥×¥ì¡¼¥ÈÀßÄê';
+        $this->tpl_mainpage = "basis/mail_template.tpl";
+        $this->tpl_mainno = "basis";
+        $this->tpl_subnavi = "basis/subnavi.tpl";
+        $this->tpl_subno = "mail";
+        $this->tpl_subtitle = "¥á¡¼¥ëÀßÄê";
     }
 }
@@ -31,6 +31,5 @@
 sfIsSuccess($objSess);
 
-if ( $_GET['mode'] == "delete" && sfCheckNumLength($_GET['id'])===true ){
-    
+if ($_GET['mode'] == "delete" && sfCheckNumLength($_GET['id'])===true) {
     // ÅÐÏ¿ºï½ü
     $sql = "UPDATE dtb_mailtemplate SET del_flg = 1 WHERE template_id = ?";
@@ -43,5 +42,5 @@
 $linemax = count($list_data);
 
-for($i = 0;$i < count($list_data);$i++){
+for ($i = 0; $i < count($list_data); $i++) {
    $split_data = explode(".",$list_data[$i]["create_date"]);
    $list_data[$i]["create_date"] = $split_data[0];    
Index: /branches/beta/html/admin/basis/mail_preview.php
===================================================================
--- /branches/beta/html/admin/basis/mail_preview.php	(revision 16801)
+++ /branches/beta/html/admin/basis/mail_preview.php	(revision 16801)
@@ -0,0 +1,46 @@
+<?php
+/*
+ * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ */
+require_once("../require.php");
+
+class LC_Page {
+	var $arrSession;
+	var $list_data;
+
+	function LC_Page() {
+		$this->tpl_mainpage = "basis/mail_preview.tpl";
+	}
+}
+
+//---- ¥Ú¡¼¥¸½é´üÀßÄê
+$conn = new SC_DBConn();
+$objPage = new LC_Page();
+$objView = new SC_AdminView();
+$objSess = new SC_Session();
+$objDate = new SC_Date();
+
+// Ç§¾Ú²ÄÈÝ¤ÎÈ½Äê
+sfIsSuccess($objSess);
+
+if ( $_GET['mode']=="preview" || $_GET['id']){
+		$sql = "SELECT * FROM dtb_mailtemplate WHERE template_id = ? AND del_flg = 0";
+		$id = $_GET['id'];
+        $result = $conn->getAll($sql, array($id));
+        print($result[0]["header"]);
+        if ( $result ){
+            if ( $result[0]["mail_method"] == 2 ){
+            // ¥Æ¥­¥¹¥È·Á¼°¤Î»þ¤Ï¥¿¥°Ê¸»ú¤ò¥¨¥¹¥±¡¼¥×
+                $objPage->escape_flag = 1;
+            }
+            $objPage->list_data = $result[0];    
+        }
+    
+    }
+
+$objView->assignobj($objPage);
+$objView->display($objPage->tpl_mainpage);
+
+?>
Index: anches/beta/html/admin/basis/preview.php
===================================================================
--- /branches/beta/html/admin/basis/preview.php	(revision 14676)
+++ 	(revision )
@@ -1,46 +1,0 @@
-<?php
-/*
- * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
- *
- * http://www.lockon.co.jp/
- */
-require_once("../require.php");
-
-class LC_Page {
-	var $arrSession;
-	var $list_data;
-
-	function LC_Page() {
-		$this->tpl_mainpage = 'basis/preview.tpl';
-	}
-}
-
-//---- ¥Ú¡¼¥¸½é´üÀßÄê
-$conn = new SC_DBConn();
-$objPage = new LC_Page();
-$objView = new SC_AdminView();
-$objSess = new SC_Session();
-$objDate = new SC_Date();
-
-// Ç§¾Ú²ÄÈÝ¤ÎÈ½Äê
-sfIsSuccess($objSess);
-
-if ( $_GET['mode']=="preview" || $_GET['id']){
-		$sql = "SELECT * FROM dtb_mailtemplate WHERE template_id = ? AND del_flg = 0";
-		$id = $_GET['id'];
-        $result = $conn->getAll($sql, array($id));
-        print($result[0]["header"]);
-        if ( $result ){
-            if ( $result[0]["mail_method"] == 2 ){
-            // ¥Æ¥­¥¹¥È·Á¼°¤Î»þ¤Ï¥¿¥°Ê¸»ú¤ò¥¨¥¹¥±¡¼¥×
-                $objPage->escape_flag = 1;
-            }
-            $objPage->list_data = $result[0];    
-        }
-    
-    }
-
-$objView->assignobj($objPage);
-$objView->display($objPage->tpl_mainpage);
-
-?>
Index: anches/beta/html/admin/basis/mail.php
===================================================================
--- /branches/beta/html/admin/basis/mail.php	(revision 14676)
+++ 	(revision )
@@ -1,103 +1,0 @@
-<?php
-/*
- * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
- *
- * http://www.lockon.co.jp/
- */
-require_once("../require.php");
-
-class LC_Page {
-	var $arrSession;
-	var $tpl_mode;
-	function LC_Page() {
-		$this->tpl_mainpage = 'basis/mail.tpl';
-		$this->tpl_subnavi = 'basis/subnavi.tpl';
-		$this->tpl_mainno = 'basis';
-		$this->tpl_subno = 'mail';
-		$this->tpl_subtitle = '¥á¡¼¥ëÀßÄê';
-	}
-}
-
-$conn = new SC_DBConn();
-$objQuery = new SC_Query();
-$objPage = new LC_Page();
-$objView = new SC_AdminView();
-$objSess = new SC_Session();
-
-//Ç§¾Ú²ÄÈÝ¤ÎÈ½Äê
-sfIsSuccess($objSess);
-
-$objPage->arrMailTEMPLATE = $arrMAILTEMPLATE;
-
-$objPage->arrSendType = array("¥Ñ¥½¥³¥ó","·ÈÂÓ");
-
-if ( $_GET['mode'] == 'edit' && sfCheckNumLength($_GET['template_id']) === true ){
-	if ( sfCheckNumLength( $_GET['template_id']) ){
-		$sql = "SELECT * FROM dtb_mailtemplate WHERE template_id = ?";
-		$result = $conn->getAll($sql, array($_GET['template_id']) );
-		if ( $result ){
-			$objPage->arrForm = $result[0];
-		} else {
-			$objPage->arrForm['template_id'] = $_GET['template_id'];
-		}
-	}
-} elseif ( $_POST['mode'] == 'regist' && sfCheckNumLength( $_POST['template_id']) ){
-	// POST¥Ç¡¼¥¿¤Î°ú¤­·Ñ¤®
-	$objPage->arrForm = lfConvertParam($_POST);
-	$objPage->arrErr = fnErrorCheck($objPage->arrForm);
-	if ( $objPage->arrErr ){
-		// ¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸
-		$objPage->tpl_msg = "¥¨¥é¡¼¤¬È¯À¸¤·¤Þ¤·¤¿";
-	} else {
-		// Àµ¾ï
-		lfRegist($conn, $objPage->arrForm);
-		// ´°Î»¥á¥Ã¥»¡¼¥¸
-		$objPage->tpl_onload = "window.alert('¥á¡¼¥ëÀßÄê¤¬´°Î»¤·¤Þ¤·¤¿¡£');";
-	}
-}
-
-$objView->assignobj($objPage);
-$objView->display(MAIN_FRAME);
-
-//-----------------------------------------------------------------------------------------------------------------------------------
-
-function lfRegist( $conn, $data ){
-	
-	$data['creator_id'] = $_SESSION['member_id'];
-	
-	$sql = "SELECT * FROM dtb_mailtemplate WHERE template_id = ? AND del_flg = 0";
-	$result = $conn->getAll($sql, array($_POST['template_id']) );
-	if ( $result ){
-		$sql_where = "template_id = ". addslashes($_POST['template_id']);
-		$conn->query("UPDATE dtb_mailtemplate SET send_type = ?,template_id = ?, template_name = ?,subject = ?,body = ?,creator_id = ?, update_date = now() WHERE ".$sql_where, $data);
-	}else{
-		$conn->query("INSERT INTO dtb_mailtemplate (send_type,template_id,template_name,subject,body,creator_id,update_date,create_date) values ( ?,?,?,?,?,?,now(),now() )", $data);
-	}
-
-}
-
-function lfConvertParam($array) {
-	
-    $new_array["send_type"] = $array["send_type"];
-	$new_array["template_id"] = $array["template_id"];
-    $new_array["template_name"] = mb_convert_kana($array["template_name"],"KV");
-	$new_array["subject"] = mb_convert_kana($array["subject"] ,"KV");
-	$new_array["body"] = mb_convert_kana($array["body"] ,"KV");
-	
-	return $new_array;
-}
-
-/* ÆþÎÏ¥¨¥é¡¼¤Î¥Á¥§¥Ã¥¯ */
-function fnErrorCheck($array) {
-	
-	$objErr = new SC_CheckError($array);
-	$objErr->doFunc(array("¥á¡¼¥ë¤Î¼ïÎà",'send_type'), array("EXIST_CHECK"));
-	$objErr->doFunc(array("¥Æ¥ó¥×¥ì¡¼¥È",'template_id'), array("EXIST_CHECK"));
-    $objErr->doFunc(array("¥Æ¥ó¥×¥ì¡¼¥È",'template_name'), array("EXIST_CHECK"));
-	$objErr->doFunc(array("¥á¡¼¥ë¥¿¥¤¥È¥ë",'subject',MTEXT_LEN,"BIG"), array("EXIST_CHECK", "MAX_LENGTH_CHECK"));
-	$objErr->doFunc(array("¥á¡¼¥ë¤ÎÆâÍÆ",'body',LTEXT_LEN,"BIG"), array("MAX_LENGTH_CHECK","EXIST_CHECK"));
-
-	return $objErr->arrErr;
-}
-
-?>
Index: anches/beta/html/admin/basis/template_input.php
===================================================================
--- /branches/beta/html/admin/basis/template_input.php	(revision 15120)
+++ 	(revision )
@@ -1,110 +1,0 @@
-<?php
-/*
- * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
- *
- * http://www.lockon.co.jp/
- */
-require_once("../require.php");
-
-class LC_Page {
-	
-	var $arrSession;
-	var $site_info;
-	var $objDate;
-	var $arrForm;
-	var $mode;
-	var $arrMagazineType;
-	var $title;
-	
-	function LC_Page() {
-		$this->tpl_mainpage = 'basis/mail.tpl';
-		$this->tpl_mainno = 'basis';
-		$this->tpl_subnavi = 'basis/subnavi.tpl';
-		$this->tpl_subno = 'mail';
-	}
-}
-
-$conn = new SC_DBConn();
-$objPage = new LC_Page();
-$objView = new SC_AdminView();
-$objSess = new SC_Session();
-
-// Ç§¾Ú²ÄÈÝ¤ÎÈ½Äê
-sfIsSuccess($objSess);
-
-$objPage->arrSendType = array("¥Ñ¥½¥³¥ó","·ÈÂÓ");
-$objPage->mode = "regist";
-
-// id¤¬»ØÄê¤µ¤ì¤Æ¤¤¤ë¤È¤­¤Ï¡ÖÊÔ½¸¡×É½¼¨
-if ( $_REQUEST['template_id'] ){
-	$objPage->title = "ÊÔ½¸";
-} else {
-	$objPage->title = "¿·µ¬ÅÐÏ¿";
-}
-
-// ¥â¡¼¥É¤Ë¤è¤ë½èÍýÊ¬´ô
-if ( $_POST['mode'] == 'regist' ) {
-	
-	// ¿·µ¬ÅÐÏ¿
-	$objPage->arrForm = lfConvData( $_POST );
-    $objPage->arrErr = lfErrorCheck($objPage->arrForm);
-	
-	if ( ! $objPage->arrErr ){
-		// ¥¨¥é¡¼¤¬Ìµ¤¤¤È¤­¤ÏÅÐÏ¿¡¦ÊÔ½¸
-		lfRegistData( $objPage->arrForm, $_POST['template_id']);	
-	}
-} 
-
-$objView->assignobj($objPage);
-$objView->display(MAIN_FRAME);
-
-
-function lfRegistData( $arrVal, $id = null ){
-	
-	$query = new SC_Query();
-	
-    $sqlval['template_name'] = $arrVal['template_name'];
-	$sqlval['subject'] = $arrVal['subject'];
-	$sqlval['creator_id'] = $_SESSION['member_id'];
-	$sqlval['body'] = $arrVal['body'];
-	$sqlval['update_date'] = "now()";
-
-	if ( $id ){
-		$query->update("dtb_mailtemplate", $sqlval, "template_id=".$id );
-	} else {
-		$sqlval['create_date'] = "now()";
-		$query->insert("dtb_mailtemplate", $sqlval);
-	}
-}
-
-function lfConvData( $data ){
-	
-	 // Ê¸»úÎó¤ÎÊÑ´¹¡Êmb_convert_kana¤ÎÊÑ´¹¥ª¥×¥·¥ç¥ó¡Ë							
-	$arrFlag = array(
-					  "template_name" => "KV"
-                     ,"subject" => "KV"
-					 ,"body" => "KV"
-					);
-		
-	if ( is_array($data) ){
-		foreach ($arrFlag as $key=>$line) {
-			$data[$key] = mb_convert_kana($data[$key], $line);
-		}
-	}
-	return $data;
-}
-
-// ÆþÎÏ¥¨¥é¡¼¥Á¥§¥Ã¥¯
-function lfErrorCheck($array) {
-	$objErr = new SC_CheckError($array);
-	$objErr->doFunc(array("¥á¡¼¥ë·Á¼°", "send_type"), array("EXIST_CHECK"));
-    $objErr->doFunc(array("¥Æ¥ó¥×¥ì¡¼¥È", "template_name"), array("EXIST_CHECK"));
-	$objErr->doFunc(array("Subject", "subject"), array("EXIST_CHECK"));
-	$objErr->doFunc(array("ËÜÊ¸", 'body'), array("EXIST_CHECK"));
-
-	return $objErr->arrErr;
-}
-
-
-
-?>
Index: /branches/beta/data/Smarty/templates/admin/basis/mail_preview.tpl
===================================================================
--- /branches/beta/data/Smarty/templates/admin/basis/mail_preview.tpl	(revision 16801)
+++ /branches/beta/data/Smarty/templates/admin/basis/mail_preview.tpl	(revision 16801)
@@ -0,0 +1,127 @@
+<!--{*
+/*
+ * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ */
+*}-->
+<!--¡¡-->
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
+
+<head>
+<meta http-equiv="content-type" content="application/xhtml+xml; charset=<!--{$smarty.const.CHAR_CODE}-->" />
+<meta http-equiv="content-script-type" content="text/javascript" />
+<meta http-equiv="content-style-type" content="text/css" />
+<link rel="stylesheet" href="<!--{$smarty.const.URL_DIR}-->admin/css/contents.css" type="text/css" media="all" />
+<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/css.js"></script>
+<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/navi.js"></script>
+<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/win_op.js"></script>
+<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/site.js"></script>
+<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/admin.js"></script>
+<!--{include file='css/contents.tpl'}-->
+<title><!--{$tpl_subtitle}--></title>
+<script type="text/javascript">
+<!--
+self.moveTo(20,20);self.focus();
+//-->
+</script>
+</head>
+
+<body bgcolor="#ffffff" text="#666666" link="#007bb7" vlink="#007bb7" alink="#cc0000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="<!--{$tpl_onload}-->">
+<noscript>
+<link rel="stylesheet" href="<!--{$smarty.const.URL_DIR}-->admin/css/common.css" type="text/css" />
+</noscript>
+
+<div align="center">
+
+<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
+			<table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
+				<!--¥á¥¤¥ó¥¨¥ê¥¢-->
+				<tr>
+					<td align="center">
+						<table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
+							<tr><td height="14"></td></tr>
+							<tr>
+								<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
+							</tr>
+							<tr>
+								<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+								<td bgcolor="#cccccc">
+								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+									<tr>
+										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
+									</tr>
+									<tr>
+										<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
+										<td bgcolor="#636469" width="638" class="fs14n"><span style="color:#ffffff;"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¥á¡¼¥ë¥Æ¥ó¥×¥ì¡¼¥È¥×¥ì¥Ó¥å¡¼</span></td>
+										<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
+									</tr>
+									<tr>
+										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
+									</tr>
+									<tr>
+										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
+									</tr>
+								</table>
+
+								<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" " class="fs12n">
+									<tr>
+										<td bgcolor="#f2f1ec">¥á¡¼¥ë·Á¼°<span class="red"> *</span></td>
+										<td bgcolor="#ffffff">
+										<!--{if $list_data.send_type eq 0}-->¥Ñ¥½¥³¥ó<!--{else}-->·ÈÂÓ<!--{/if}-->
+										</td>
+									</tr>
+									<tr>
+										<td bgcolor="#f2f1ec" width="160">¥Æ¥ó¥×¥ì¡¼¥È<span class="red"> *</span></td>
+										<td bgcolor="#ffffff" width="557">
+										<!--{$list_data.template_name|escape}-->
+										</td>
+									</tr>
+									<tr>
+										<td bgcolor="#f2f1ec" width="160">¥á¡¼¥ë¥¿¥¤¥È¥ë<span class="red"> *</span></td>
+										<td bgcolor="#ffffff" width="557">
+										<!--{$list_data.subject|escape}-->
+										</td>
+									</tr>
+									<tr>
+										<td bgcolor="#f2f1ec" width="160">¥á¡¼¥ë¤ÎÆâÍÆ</td>
+										<td bgcolor="#ffffff" width="557">
+										<textarea  name="body" maxlength="<!--{$arrForm[$key].length}-->" style="color:#000000;background-color:#ffffff;border-width:0px;" cols="55" rows="12" class="area75" disabled="true"><!--{$list_data.body|escape}--></textarea></td>
+									</tr>						
+								</table>
+
+								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+									<tr>
+										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+										<td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
+										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+									</tr>
+									<tr>
+										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+										<td bgcolor="#e9e7de" align="center">
+										</td>
+										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+									</tr>
+									<tr>
+										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
+									</tr>
+								</table>
+								</td>
+								<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+							</tr>
+							<tr>
+								<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
+							</tr>
+							<tr><td height="30"></td></tr>
+						</table>
+					</td>
+				</tr>
+				<!--¥á¥¤¥ó¥¨¥ê¥¢-->
+			</table>
+<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
+</div>
+
+</body>
+</html>
+
Index: /branches/beta/data/Smarty/templates/admin/basis/mail_edit.tpl
===================================================================
--- /branches/beta/data/Smarty/templates/admin/basis/mail_edit.tpl	(revision 16801)
+++ /branches/beta/data/Smarty/templates/admin/basis/mail_edit.tpl	(revision 16801)
@@ -0,0 +1,198 @@
+<!--{*
+/*
+ * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ */
+*}-->
+<script language="JavaScript">
+<!--
+var flag = 0;
+
+function setFlag(){
+	flag = 1;
+}
+
+function checkFlagAndSubmit(){
+	if ( flag == 1 ){
+		if( confirm('ÆâÍÆ¤¬ÊÑ¹¹¤µ¤ì¤Æ¤¤¤Þ¤¹¡£Â³¹Ô¤¹¤ì¤ÐÊÑ¹¹ÆâÍÆ¤ÏÇË´þ¤µ¤ì¤Þ¤¹¡£\nµ¹¤·¤¤¤Ç¤·¤ç¤¦¤«¡©' )){
+			fnSetvalAndSubmit( 'form1', 'mode', 'edit' );
+		} else {
+			return false;
+		}
+	} else {
+		fnSetvalAndSubmit( 'form1', 'mode', 'edit' );
+	}
+}
+
+function lfnCheckSubmit(){
+	
+	fm = document.form1;
+	var err = '';
+	
+	if ( ! fm["send_type"][0].checked && ! fm["send_type"][1].checked ){
+		if ( err ) err += '\n';
+		err += '¥á¡¼¥ë¤Î·Á¼°¤òÆþÎÏ¤·¤Æ²¼¤µ¤¤¡£';
+	}
+	if ( ! fm["subject"].value ){
+		if ( err ) err += '\n';
+		err += 'Subject¤òÆþÎÏ¤·¤Æ²¼¤µ¤¤¡£';
+	}
+	if ( ! fm["body"].value ){
+		if ( err ) err += '\n';
+		err += '¥á¡¼¥ë¤ÎËÜÊ¸¤òÆþÎÏ¤·¤Æ²¼¤µ¤¤¡£';
+	}
+	if( ! fm["template_name"]){
+		if ( err ) err += '\n';
+		err += '¥Æ¥ó¥×¥ì¡¼¥È¤ÎÌ¾Á°¤òÆþÎÏ¤·¤Æ²¼¤µ¤¤¡£';
+	}
+	if ( err ){
+		alert(err);
+		return false;
+	} else {
+		if(window.confirm('ÆâÍÆ¤òÅÐÏ¿¤·¤Æ¤âµ¹¤·¤¤¤Ç¤¹¤«')){
+			return true;
+		}else{
+			return false;
+		}
+	}
+}
+//-->
+</script>
+
+<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
+<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
+<form name="form1" id="form1" method="POST" action="<!--{$smarty.server.PHP_SELF|escape}-->" onsubmit="return lfnCheckSubmit();" >
+<input type="hidden" name="mode" value="regist">
+<input type="hidden" name="template_id" value="<!--{$arrForm.template_id|escape}-->">
+	<tr valign="top">
+		<td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402">
+			<!--¢§SUB NAVI-->
+			<!--{include file=$tpl_subnavi}-->
+			<!--¢¥SUB NAVI-->
+		</td>
+		<td class="mainbg">
+			<!--¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
+			<table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
+				<!--¥á¥¤¥ó¥¨¥ê¥¢-->
+				<tr>
+					<td align="center">
+						<table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
+							<tr><td height="14"></td></tr>
+							<tr>
+								<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
+							</tr>
+							<tr>
+								<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+								<td bgcolor="#cccccc">
+								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+									<tr>
+										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
+									</tr>
+									<tr>
+										<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
+										<td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¥Æ¥ó¥×¥ì¡¼¥ÈÊÔ½¸</span></td>
+										<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
+									</tr>
+									<tr>
+										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
+									</tr>
+									<tr>
+										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
+									</tr>
+								</table>
+
+								<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
+									<tr class="fs12n">
+										<td bgcolor="#f2f1ec">¥á¡¼¥ë·Á¼°<span class="red"> *</span></td>
+										<td bgcolor="#ffffff">
+										<!--{assign var=key value="send_type"}-->
+										<!--{if $arrForm.template_id == 1}-->
+											<input type="radio" name="send_type" value="<!--{$smarty.const.MAIL_TYPE_PC}-->" id="send_type_0" checked="checked" /><label for="send_type_0">¥Ñ¥½¥³¥ó</label>&nbsp;
+										<!--{elseif $arrForm.template_id == 2}-->
+											<input type="radio" name="send_type" value="<!--{$smarty.const.MAIL_TYPE_MOBILE}-->" id="send_type_1" checked="checked" /><label for="send_type_1">·ÈÂÓ</label>&nbsp;
+										<!--{else}-->
+											<!--{html_radios_ex name="send_type" options=$arrSendType separator="&nbsp;" selected=$arrForm[$key]}-->
+										<!--{/if}-->
+										</td>
+									</tr>
+									<tr>
+										<td bgcolor="#f2f1ec" width="160" class="fs12n">¥Æ¥ó¥×¥ì¡¼¥È<span class="red"> *</span></td>
+										<td bgcolor="#ffffff" width="557" class="fs10n">
+										<!--{assign var=key value="template_name"}-->
+										<span class="red12"><!--{$arrErr[$key]}--></span>
+										<input type="text" name="template_name" value="<!--{$arrForm[$key]|escape}-->" onChange="setFlag();" size="30" class="box30" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
+										</td>
+									</tr>
+									<tr>
+										<td bgcolor="#f2f1ec" width="160" class="fs12n">¥á¡¼¥ë¥¿¥¤¥È¥ë<span class="red"> *</span></td>
+										<td bgcolor="#ffffff" width="557" class="fs10n">
+										<!--{assign var=key value="subject"}-->
+										<span class="red12"><!--{$arrErr[$key]}--></span>
+										<input type="text" name="subject" value="<!--{$arrForm[$key]|escape}-->" onChange="setFlag();" size="30" class="box30" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
+										</td>
+									</tr>
+									<tr>
+										<td bgcolor="#f2f1ec" colspan="2" class="fs12n"><span class="red"> *</span>Ì¾Á°¤òº¹¤·¹þ¤à¾ì¹ç¤Ï¡¢{name}¤ÈÆþÎÏ¤·¤Æ²¼¤µ¤¤¡£<br>
+										<span class="red"> *</span>ÃíÊ¸¾ðÊó¤òº¹¤·¹þ¤à¾ì¹ç¤Ï¡¢{order}¤ÈÆþÎÏ¤·¤Æ²¼¤µ¤¤¡£</td>
+									</tr>
+									<tr>
+										<td bgcolor="#f2f1ec" width="160" class="fs12">ËÜÊ¸</td>
+										<td bgcolor="#ffffff" width="557" class="fs10">
+										<!--{assign var=key value="body"}-->
+										<span class="red12"><!--{$arrErr[$key]}--></span>
+										<textarea name="body" cols="75" rows="20" class="area75" onChange="setFlag();" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"><!--{$arrForm[$key]|escape}--></textarea><br />
+										<span class="red"> ¡Ê¾å¸Â<!--{$smarty.const.LTEXT_LEN}-->Ê¸»ú¡Ë
+										</span>
+						
+										<div align="right">
+											<input type="button" width="110" height="30" value="Ê¸»ú¿ô¥«¥¦¥ó¥È" onclick="fnCharCount('form1','body','cnt_body');" border="0" name="next" id="next" />
+											<br>º£¤Þ¤Ç¤ËÆþÎÏ¤·¤¿¤Î¤Ï
+											<input type="text" name="cnt_body" size="4" class="box4" readonly = true style="text-align:right">
+											Ê¸»ú¤Ç¤¹¡£
+										</div>
+						
+										</td>
+									</tr>
+								</table>
+
+								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+									<tr>
+										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+										<td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
+										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+									</tr>
+									<tr>
+										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+										<td bgcolor="#e9e7de" align="center">
+										<table border="0" cellspacing="0" cellpadding="0" summary=" ">
+											<tr>
+												<td><input type="image" onMouseover="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="¤³¤ÎÆâÍÆ¤ÇÅÐÏ¿¤¹¤ë" border="0" name="subm" ></td>
+											</tr>
+										</table>
+										</td>
+										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+									</tr>
+									<tr>
+										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
+									</tr>
+								</table>
+								</td>
+								<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+							</tr>
+							<tr>
+								<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
+							</tr>
+							<tr><td height="30"></td></tr>
+						</table>
+					</td>
+				</tr>
+				<!--¥á¥¤¥ó¥¨¥ê¥¢-->
+			</table>
+			<!--¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
+		</td>
+	</tr>
+</form>
+</table>
+<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
+
Index: /branches/beta/data/Smarty/templates/admin/basis/mail_complete.tpl
===================================================================
--- /branches/beta/data/Smarty/templates/admin/basis/mail_complete.tpl	(revision 16801)
+++ /branches/beta/data/Smarty/templates/admin/basis/mail_complete.tpl	(revision 16801)
@@ -0,0 +1,73 @@
+<!--{*
+/*
+ * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ */
+*}-->
+<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
+<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
+<form name="form1" id="form1" method="post" action="./product_class.php">
+<input type="hidden" name="mode" value="">
+<input type="hidden" name="product_id" value="">
+	<tr valign="top">
+		<td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402">
+			<!-- ¥µ¥Ö¥Ê¥Ó -->
+			<!--{include file=$tpl_subnavi}-->
+		</td>
+		<td class="mainbg" >
+		<table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
+			<!--¥á¥¤¥ó¥¨¥ê¥¢-->
+			<tr>
+				<td align="center">
+				<table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
+					<tr><td height="14"></td></tr>
+					<tr>
+						<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
+					</tr>
+					<tr>
+						<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+						<td bgcolor="#f2f1ec">
+						<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+							<tr>
+								<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
+							</tr>
+							<tr>
+								<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
+								<td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¥Æ¥ó¥×¥ì¡¼¥ÈÊÔ½¸</span></td>
+								<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
+							</tr>
+							<tr>
+								<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
+							</tr>
+							<tr>
+								<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
+							</tr>
+						</table>
+						<!--´°Î»¥á¥Ã¥»¡¼¥¸¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
+						<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
+							<tr class="fs12n" height="400">
+								<td bgcolor="#ffffff" align="center">¥Æ¥ó¥×¥ì¡¼¥È¤ÎÅÐÏ¿¡¦ÊÔ½¸¤¬´°Î»¤·¤Þ¤·¤¿¡£
+								<br/><br/><a href="./mail_template.php">¥Æ¥ó¥×¥ì¡¼¥È°ìÍ÷¤ËÌá¤ë</a></td>								
+							</tr>
+						</table>
+						<!--´°Î»¥á¥Ã¥»¡¼¥¸¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
+						</td>
+						<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+					</tr>
+					<tr>
+						<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
+					</tr>
+					<tr><td height="30"></td></tr>
+
+				</table>
+				</td>
+			</tr>
+			<!--¥á¥¤¥ó¥¨¥ê¥¢-->
+		</table>
+		</td>
+	</tr>
+</form>
+</table>
+<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->		
+
Index: /branches/beta/data/Smarty/templates/admin/basis/mail_template.tpl
===================================================================
--- /branches/beta/data/Smarty/templates/admin/basis/mail_template.tpl	(revision 16801)
+++ /branches/beta/data/Smarty/templates/admin/basis/mail_template.tpl	(revision 16801)
@@ -0,0 +1,119 @@
+<!--{*
+/*
+ * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ */
+*}-->
+<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
+<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
+<form name="form1" id="form1" method="post" action="/admin/basis/mail_edit.php">
+<input type="hidden" name="mode" value="">
+<input type="hidden" name="template_id" value="">
+	<tr valign="top">
+		<td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402">
+			<!--¢§SUB NAVI-->
+			<!--{include file=$tpl_subnavi}-->
+			<!--¢¥SUB NAVI-->
+		</td>
+		<td class="mainbg">
+			<!--¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
+			<table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
+				<!--¥á¥¤¥ó¥¨¥ê¥¢-->
+				<tr>
+					<td align="center">
+						<table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
+							<tr><td height="14"></td></tr>
+							<tr>
+								<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
+							</tr>
+							<tr>
+								<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+								<td bgcolor="#cccccc">
+								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+									<tr>
+										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
+									</tr>
+									<tr>
+										<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
+										<td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¥Æ¥ó¥×¥ì¡¼¥È°ìÍ÷</span></td>
+										<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
+									</tr>
+									<tr>
+										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
+									</tr>
+									<tr>
+										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
+									</tr>
+								</table>
+
+								<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
+									<tr bgcolor="#f2f1ec" align="center" class="fs12n">
+										<td width="120">ºîÀ®Æü</td>
+										<td width="333">¥Æ¥ó¥×¥ì¡¼¥ÈÌ¾</td>
+										<td width="70">¥á¡¼¥ë·Á¼°</td>
+										<td width="40">ÊÔ½¸</td>
+										<td width="40">ºï½ü</td>
+										<td width="70">¥×¥ì¥Ó¥å¡¼</td>
+									</tr>
+									<!--{section name=data loop=$list_data}-->
+									<tr bgcolor="#ffffff" class="fs12n">
+										<td width="120" align="center"><!--{$list_data[data].create_date|escape}--></td>
+										<td width="333"><!--{$list_data[data].template_name|escape}--></td>
+										<!--{assign var=type value=$list_data[data].mail_method|escape}-->
+										<td width="70" align="center"><!--{if $list_data[data].send_type eq $smarty.const.MAIL_TYPE_PC}-->¥Ñ¥½¥³¥ó<!--{elseif $list_data[data].send_type eq $smarty.const.MAIL_TYPE_MOBILE}-->·ÈÂÓ<!--{/if}--></td>
+										<td width="40" align="center"><a href="./mail_edit.php" onClick="fnFormModeSubmit('form1','edit','template_id','<!--{$list_data[data].template_id}-->'); return false;">ÊÔ½¸</a></td>
+										<td width="40" align="center">
+										<!--{if $list_data[data].template_id > 2}-->
+										<a href="" onclick="fnDelete('<!--{$smarty.server.PHP_SELF|escape}-->?mode=delete&id=<!--{$list_data[data].template_id}-->'); return false;">ºï½ü</a>
+										<!--{else}-->(¸ÇÄê)<!--{/if}-->
+										</td>
+										<td width="70" align="center"><a href="" onclick="win03('./mail_preview.php?mode=preview&id=<!--{$list_data[data].template_id}-->','preview','750','550'); return false;" target="_blank">¥×¥ì¥Ó¥å¡¼</a></td>
+									</tr>
+									<!--{/section}-->
+								</table>
+
+								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
+									<tr>
+										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+										<td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
+										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
+									</tr>
+									<tr>
+										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+										<td bgcolor="#e9e7de" align="center">
+										<table border="0" cellspacing="0" cellpadding="0" summary=" ">
+											<tr>
+												<td>
+													<input type="button" name="subm" onClick="fnFormModeSubmit('form1','edit','',''); return false;"" value="¿·µ¬ºîÀ®" />¡¡
+													<!-- £È£Ô£Í£ÌºîÀ®¥¦¥£¥¶¡¼¥É¤ÏÊÝÎ± ¡Ê¼¡´ü³«È¯¡Ë
+													<input type="button" name="subm" onclick="location.href='./htmlmail_edit.php'" value="HTML¥Æ¥ó¥×¥ì¡¼¥ÈºîÀ®¥¦¥£¥¶¡¼¥É" />
+													-->
+												</td>
+											</tr>
+										</table>
+										</td>
+										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
+									</tr>
+									<tr>
+										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
+									</tr>
+								</table>
+								</td>
+								<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
+							</tr>
+							<tr>
+								<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
+							</tr>
+							<tr><td height="30"></td></tr>
+						</table>
+					</td>
+				</tr>
+				<!--¥á¥¤¥ó¥¨¥ê¥¢-->
+			</table>
+			<!--¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
+		</td>
+	</tr>
+</table>
+<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
+
Index: anches/beta/data/Smarty/templates/admin/basis/template_complete.tpl
===================================================================
--- /branches/beta/data/Smarty/templates/admin/basis/template_complete.tpl	(revision 14676)
+++ 	(revision )
@@ -1,58 +1,0 @@
-<!--{*
-/*
- * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
- *
- * http://www.lockon.co.jp/
- */
-*}-->
-<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
-<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
-<form name="form1" id="form1" method="post" action="./product_class.php">
-<input type="hidden" name="mode" value="">
-<input type="hidden" name="product_id" value="">
-	<tr valign="top">
-		<td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402">
-			<!-- ¥µ¥Ö¥Ê¥Ó -->
-			<!--{include file=$tpl_subnavi}-->
-		</td>
-		<td class="mainbg" >
-		<table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
-			<!--¥á¥¤¥ó¥¨¥ê¥¢-->
-			<tr>
-				<td align="center">
-				<table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
-
-					<tr><td height="14"></td></tr>
-					<tr>
-						<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
-					</tr>
-					<tr>
-						<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-						<td bgcolor="#f2f1ec">
-						<!--´°Î»¥á¥Ã¥»¡¼¥¸¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
-						<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" " height="402">
-							<tr class="fs12n" height="400">
-								<td bgcolor="#ffffff" align="center">¥Æ¥ó¥×¥ì¡¼¥È¤ÎÅÐÏ¿¡¦ÊÔ½¸¤¬´°Î»¤·¤Þ¤·¤¿
-								<br/><br/><a href="./template.php">¥Æ¥ó¥×¥ì¡¼¥È°ìÍ÷¤ËÌá¤ë</a></td>								
-							</tr>
-						</table>
-						<!--´°Î»¥á¥Ã¥»¡¼¥¸¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
-						</td>
-						<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-					</tr>
-					<tr>
-						<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
-					</tr>
-					<tr><td height="30"></td></tr>
-
-				</table>
-				</td>
-			</tr>
-			<!--¥á¥¤¥ó¥¨¥ê¥¢-->
-		</table>
-		</td>
-	</tr>
-</form>
-</table>
-<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->		
-
Index: anches/beta/data/Smarty/templates/admin/basis/template.tpl
===================================================================
--- /branches/beta/data/Smarty/templates/admin/basis/template.tpl	(revision 15120)
+++ 	(revision )
@@ -1,117 +1,0 @@
-<!--{*
-/*
- * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
- *
- * http://www.lockon.co.jp/
- */
-*}-->
-<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
-<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
-<form name="form1" id="form1" method="post" action="">
-	<tr valign="top">
-		<td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402">
-			<!--¢§SUB NAVI-->
-			<!--{include file=$tpl_subnavi}-->
-			<!--¢¥SUB NAVI-->
-		</td>
-		<td class="mainbg">
-			<!--¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
-			<table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
-				<!--¥á¥¤¥ó¥¨¥ê¥¢-->
-				<tr>
-					<td align="center">
-						<table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
-							<tr><td height="14"></td></tr>
-							<tr>
-								<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
-							</tr>
-							<tr>
-								<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-								<td bgcolor="#cccccc">
-								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-									<tr>
-										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
-									</tr>
-									<tr>
-										<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
-										<td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¥á¡¼¥ë¥Æ¥ó¥×¥ì¡¼¥È°ìÍ÷</span></td>
-										<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
-									</tr>
-									<tr>
-										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
-									</tr>
-									<tr>
-										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
-									</tr>
-								</table>
-
-								<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
-									<tr bgcolor="#f2f1ec" align="center" class="fs12n">
-										<td width="120">ºîÀ®Æü</td>
-										<td width="333">¥Æ¥ó¥×¥ì¡¼¥ÈÌ¾</td>
-										<td width="70">¥á¡¼¥ë·Á¼°</td>
-										<td width="40">ÊÔ½¸</td>
-										<td width="40">ºï½ü</td>
-										<td width="70">¥×¥ì¥Ó¥å¡¼</td>
-									</tr>
-									<!--{section name=data loop=$list_data}-->
-									<tr bgcolor="#ffffff" class="fs12n">
-										<td width="120" align="center"><!--{$list_data[data].create_date|escape}--></td>
-										<td width="333"><!--{$list_data[data].template_name|escape}--></td>
-										<!--{assign var=type value=$list_data[data].mail_method|escape}-->
-										<td width="70" align="center"><!--{if $list_data[data].send_type eq 0}-->¥Ñ¥½¥³¥ó<!--{else}-->·ÈÂÓ<!--{/if}--></td>
-										<td width="40" align="center"><a href="./mail.php?mode=edit&template_id=<!--{$list_data[data].template_id}-->">ÊÔ½¸</a></td>
-										<td width="40" align="center">
-										<!--{if $list_data[data].template_id > 2}-->
-										<a href="" onclick="fnDelete('<!--{$smarty.server.PHP_SELF|escape}-->?mode=delete&id=<!--{$list_data[data].template_id}-->'); return false;">ºï½ü</a>
-										<!--{else}-->(¸ÇÄê)<!--{/if}-->
-										</td>
-										<td width="70" align="center"><!--{if $list_data[data].send_type eq 0}--><a href="" onclick="win03('./preview.php?mode=preview&id=<!--{$list_data[data].template_id}-->','preview','750','550'); return false;" target="_blank"><!--{else}--><a href="" onclick="win03('./preview.php?id=<!--{$list_data[data].template_id}-->','preview','650','700'); return false;" target="_blank"><!--{/if}-->¥×¥ì¥Ó¥å¡¼</a></td>
-									</tr>
-									<!--{/section}-->
-								</table>
-
-								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-									<tr>
-										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-										<td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
-										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-									</tr>
-									<tr>
-										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-										<td bgcolor="#e9e7de" align="center">
-										<table border="0" cellspacing="0" cellpadding="0" summary=" ">
-											<tr>
-												<td>
-													<input type="button" name="subm" onclick="location.href='./template_input.php'" value="¿·µ¬ºîÀ®" />¡¡
-													<!-- £È£Ô£Í£ÌºîÀ®¥¦¥£¥¶¡¼¥É¤ÏÊÝÎ± ¡Ê¼¡´ü³«È¯¡Ë
-													<input type="button" name="subm" onclick="location.href='./htmlmail.php'" value="HTML¥Æ¥ó¥×¥ì¡¼¥ÈºîÀ®¥¦¥£¥¶¡¼¥É" />
-													-->
-												</td>
-											</tr>
-										</table>
-										</td>
-										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-									</tr>
-									<tr>
-										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
-									</tr>
-								</table>
-								</td>
-								<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-							</tr>
-							<tr>
-								<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
-							</tr>
-							<tr><td height="30"></td></tr>
-						</table>
-					</td>
-				</tr>
-				<!--¥á¥¤¥ó¥¨¥ê¥¢-->
-			</table>
-			<!--¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
-		</td>
-	</tr>
-</table>
-<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
-
Index: anches/beta/data/Smarty/templates/admin/basis/mail_list.tpl
===================================================================
--- /branches/beta/data/Smarty/templates/admin/basis/mail_list.tpl	(revision 14676)
+++ 	(revision )
@@ -1,136 +1,0 @@
-<!--{*
-/*
- * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
- *
- * http://www.lockon.co.jp/
- */
-*}-->
-<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
-<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
-<form name="form1" id="form1" method="post" action="./index.php">
-<input type="text" name="mode" value="<!--{$tpl_mode}-->">
-	<tr valign="top">
-		<td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402">
-			<!--¢§SUB NAVI-->
-			<!--{include file=$tpl_subnavi}-->
-			<!--¢¥SUB NAVI-->
-		</td>
-		<td class="mainbg">
-			<!--¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
-			<table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
-				<!--¥á¥¤¥ó¥¨¥ê¥¢-->
-				<tr>
-					<td align="center">
-						<table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
-							<tr><td height="14"></td></tr>
-							<tr>
-								<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
-							</tr>
-							<tr>
-								<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-								<td bgcolor="#cccccc">
-								<table width="680" border="0" cellspacing="0" cellpadding="0" summary=" ">
-									<tr>
-										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
-									</tr>
-									<tr>
-										<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
-										<td bgcolor="#636469" width="680" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¥á¡¼¥ë¥Æ¥ó¥×¥ì¡¼¥È°ìÍ÷</span></td>
-										<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
-									</tr>
-									<tr>
-										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
-									</tr>
-									<tr>
-										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
-									</tr>
-								</table>
-
-<!--¢§¥ê¥¹¥ÈÉ½¼¨ÉôÊ¬-->
-<table width="680" border="0" cellspacing="0" cellpadding="0" summary=" ">
-	<tr>
-		<td bgcolor="#f0f0f0" align="center">
-
-		<!--{if count($search_data) > 0}-->		
-
-			<table width="680" border="0" cellspacing="0" cellpadding="0" summary=" ">
-				<tr><td height="12"></td></tr>
-				<tr>
-					<td bgcolor="#cccccc">
-					<!--¸¡º÷·ë²ÌÉ½¼¨¥Æ¡¼¥Ö¥ë-->
-					<table width="680" border="0" cellspacing="1" cellpadding="5" summary=" ">
-						<tr bgcolor="#636469" align="center" class="fs12n">
-							<td width="220"><span class="white">ÆüÉÕ</span></td>
-							<td width="220"><span class="white">¥¿¥¤¥È¥ë</span></td>
-							<td width="60"><span class="white">¥Æ¥ó¥×¥ì¡¼¥È¤Î¼ïÎà</span></td>
-							<td width="60" "><span class="white">ÊÔ½¸</span></td>
-							<td width="60"><span class="white">ºï½ü</span></td>
-							<td width="60" ><span class="white">¥×¥ì¥Ó¥å¡¼</span></td>
-						</tr>
-						<!--{section name=data loop=$mail_list}-->
-							<!--¸ÜµÒ<!--{$smarty.section.data.iteration}-->-->
-							<tr bgcolor="#ffffff" class="fs12n">
-								<td align="center" ><!--{$mail_list[data].create_date|escape}--></td>
-								<td align="center" ><!--{$mail_list[data].template_name|escape}--></td>					
-								<td><!--{if $mail_list[data].send_type eq 0}-->¥Ñ¥½¥³¥ó<!--{else}-->·ÈÂÓ<!--{/if}--></td>
-								<td align="center" ><span class="icon_edit"><a href="#" onclick="return fnEdit('<!--{$mail_list[data].template_code|escape}-->');">ÊÔ½¸</a></span></td>
-								<td align="center" ><span class="icon_delete"><a href="#" onclick="return fnDelete('<!--{$mail_list[data].template_code|escape}-->');">ºï½ü</a></span></td>
-								<td align="center" ><span class="icon_delete"><a href="#" onclick="return fnDelete('<!--{$mail_list[data].template_code|escape}-->');">ºï½ü</a></span></td>
-							</tr>
-							<!--¸ÜµÒ<!--{$smarty.section.data.iteration}-->-->
-						<!--{/section}-->
-					</table>
-					<!--¸¡º÷·ë²ÌÉ½¼¨¥Æ¡¼¥Ö¥ë-->
-					</td>
-				</tr>
-			</table>
-
-		<!--{/if}-->
-
-		</td>
-	</tr>
-</form>
-</table>	
-
-<!--¢¥¥ê¥¹¥ÈÉ½¼¨ÉôÊ¬-->
-
-
-								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-									<tr>
-										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-										<td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
-										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-									</tr>
-									<tr>
-										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-										<td bgcolor="#e9e7de" align="center">
-										<table border="0" cellspacing="0" cellpadding="0" summary=" ">
-											<tr>
-												<td><input type="image" onMouseover="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="¤³¤ÎÆâÍÆ¤ÇÅÐÏ¿¤¹¤ë" border="0" name="subm" ></td>
-											</tr>
-										</table>
-										</td>
-										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-									</tr>
-									<tr>
-										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
-									</tr>
-								</table>
-								</td>
-								<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-							</tr>
-							<tr>
-								<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
-							</tr>
-							<tr><td height="30"></td></tr>
-						</table>
-					</td>
-				</tr>
-				<!--¥á¥¤¥ó¥¨¥ê¥¢-->
-			</table>
-			<!--¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
-		</td>
-	</tr>
-</form>
-</table>
-<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
Index: anches/beta/data/Smarty/templates/admin/basis/preview.tpl
===================================================================
--- /branches/beta/data/Smarty/templates/admin/basis/preview.tpl	(revision 14676)
+++ 	(revision )
@@ -1,127 +1,0 @@
-<!--{*
-/*
- * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
- *
- * http://www.lockon.co.jp/
- */
-*}-->
-<!--¡¡-->
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
-
-<head>
-<meta http-equiv="content-type" content="application/xhtml+xml; charset=<!--{$smarty.const.CHAR_CODE}-->" />
-<meta http-equiv="content-script-type" content="text/javascript" />
-<meta http-equiv="content-style-type" content="text/css" />
-<link rel="stylesheet" href="<!--{$smarty.const.URL_DIR}-->admin/css/contents.css" type="text/css" media="all" />
-<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/css.js"></script>
-<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/navi.js"></script>
-<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/win_op.js"></script>
-<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/site.js"></script>
-<script type="text/javascript" src="<!--{$smarty.const.URL_DIR}-->js/admin.js"></script>
-<!--{include file='css/contents.tpl'}-->
-<title><!--{$tpl_subtitle}--></title>
-<script type="text/javascript">
-<!--
-self.moveTo(20,20);self.focus();
-//-->
-</script>
-</head>
-
-<body bgcolor="#ffffff" text="#666666" link="#007bb7" vlink="#007bb7" alink="#cc0000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="<!--{$tpl_onload}-->">
-<noscript>
-<link rel="stylesheet" href="<!--{$smarty.const.URL_DIR}-->admin/css/common.css" type="text/css" />
-</noscript>
-
-<div align="center">
-
-<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
-			<table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
-				<!--¥á¥¤¥ó¥¨¥ê¥¢-->
-				<tr>
-					<td align="center">
-						<table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
-							<tr><td height="14"></td></tr>
-							<tr>
-								<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
-							</tr>
-							<tr>
-								<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-								<td bgcolor="#cccccc">
-								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-									<tr>
-										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
-									</tr>
-									<tr>
-										<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
-										<td bgcolor="#636469" width="638" class="fs14n"><span style="color:#ffffff;"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¥á¡¼¥ë¥Æ¥ó¥×¥ì¡¼¥È¥×¥ì¥Ó¥å¡¼</span></td>
-										<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
-									</tr>
-									<tr>
-										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
-									</tr>
-									<tr>
-										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
-									</tr>
-								</table>
-
-								<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
-									<tr class="fs12n">
-										<td bgcolor="#f2f1ec">¥á¡¼¥ë·Á¼°<span class="red"> *</span></td>
-										<td bgcolor="#ffffff">
-										<!--{if $list_data.send_type eq 0}-->¥Ñ¥½¥³¥ó<!--{else}-->·ÈÂÓ<!--{/if}-->
-										</td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">¥Æ¥ó¥×¥ì¡¼¥È<span class="red"> *</span></td>
-										<td bgcolor="#ffffff" width="557" class="fs10n">
-										<!--{$list_data.template_name|escape}-->
-										</td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">¥á¡¼¥ë¥¿¥¤¥È¥ë<span class="red"> *</span></td>
-										<td bgcolor="#ffffff" width="557" class="fs10n">
-										<!--{$list_data.subject|escape}-->
-										</td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="160" class="fs12">¥á¡¼¥ë¤ÎÆâÍÆ</td>
-										<td bgcolor="#ffffff" width="557" class="fs10">
-										<textarea  name="body" maxlength="<!--{$arrForm[$key].length}-->" style="color:#000000;background-color:#ffffff;border-width:0px;" cols="55" rows="12" class="area75" disabled="true"><!--{$list_data.body|escape}--></textarea></td>
-									</tr>						
-								</table>
-
-								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-									<tr>
-										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-										<td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
-										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-									</tr>
-									<tr>
-										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-										<td bgcolor="#e9e7de" align="center">
-										</td>
-										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-									</tr>
-									<tr>
-										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
-									</tr>
-								</table>
-								</td>
-								<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-							</tr>
-							<tr>
-								<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
-							</tr>
-							<tr><td height="30"></td></tr>
-						</table>
-					</td>
-				</tr>
-				<!--¥á¥¤¥ó¥¨¥ê¥¢-->
-			</table>
-<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
-</div>
-
-</body>
-</html>
-
Index: anches/beta/data/Smarty/templates/admin/basis/mail.tpl
===================================================================
--- /branches/beta/data/Smarty/templates/admin/basis/mail.tpl	(revision 15120)
+++ 	(revision )
@@ -1,197 +1,0 @@
-<!--{*
-/*
- * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
- *
- * http://www.lockon.co.jp/
- */
-*}-->
-<script language="JavaScript">
-<!--
-var flag = 0;
-
-function setFlag(){
-	flag = 1;
-}
-
-function checkFlagAndSubmit(){
-	if ( flag == 1 ){
-		if( confirm('ÆâÍÆ¤¬ÊÑ¹¹¤µ¤ì¤Æ¤¤¤Þ¤¹¡£Â³¹Ô¤¹¤ì¤ÐÊÑ¹¹ÆâÍÆ¤ÏÇË´þ¤µ¤ì¤Þ¤¹¡£\nµ¹¤·¤¤¤Ç¤·¤ç¤¦¤«¡©' )){
-			fnSetvalAndSubmit( 'form1', 'mode', 'edit' );
-		} else {
-			return false;
-		}
-	} else {
-		fnSetvalAndSubmit( 'form1', 'mode', 'edit' );
-	}
-}
-
-function lfnCheckSubmit(){
-	
-	fm = document.form1;
-	var err = '';
-	
-	if ( ! fm["send_type"][0].checked && ! fm["send_type"][1].checked ){
-		err += '¥á¡¼¥ë¤Î·Á¼°¤òÆþÎÏ¤·¤Æ²¼¤µ¤¤¡£';
-	}
-	if ( ! fm["subject"].value ){
-		err += 'Subject¤òÆþÎÏ¤·¤Æ²¼¤µ¤¤¡£';
-	}
-	if ( ! fm["body"].value ){
-		if ( err ) err += '\n';
-		err += '¥á¡¼¥ë¤ÎËÜÊ¸¤òÆþÎÏ¤·¤Æ²¼¤µ¤¤¡£';
-	}
-	if( ! fm["template_name"]){
-		if ( err ) err += '\n';
-		err += '¥Æ¥ó¥×¥ì¡¼¥È¤ÎÌ¾Á°¤òÆþÎÏ¤·¤Æ²¼¤µ¤¤¡£';
-	}
-	if ( err ){
-		alert(err);
-		return false;
-	} else {
-		if(window.confirm('ÆâÍÆ¤òÅÐÏ¿¤·¤Æ¤âµ¹¤·¤¤¤Ç¤¹¤«')){
-			return true;
-		}else{
-			return false;
-		}
-	}
-}
-//-->
-</script>
-
-<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
-<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
-<form name="form1" id="form1" method="POST" action="<!--{$smarty.server.PHP_SELF|escape}-->" onsubmit="return lfnCheckSubmit();" >
-<input type="hidden" name="mode" value="regist">
-<!--{assign var=key value="template_id"}-->
-<input type="hidden" name="template_id" value="<!--{$arrForm[$key]|escape}-->">
-	<tr valign="top">
-		<td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402">
-			<!--¢§SUB NAVI-->
-			<!--{include file=$tpl_subnavi}-->
-			<!--¢¥SUB NAVI-->
-		</td>
-		<td class="mainbg">
-			<!--¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
-			<table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
-				<!--¥á¥¤¥ó¥¨¥ê¥¢-->
-				<tr>
-					<td align="center">
-						<table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
-							<tr><td height="14"></td></tr>
-							<tr>
-								<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
-							</tr>
-							<tr>
-								<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-								<td bgcolor="#cccccc">
-								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-									<tr>
-										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
-									</tr>
-									<tr>
-										<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
-										<td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->¥á¡¼¥ëÀßÄê</span></td>
-										<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
-									</tr>
-									<tr>
-										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
-									</tr>
-									<tr>
-										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
-									</tr>
-								</table>
-
-								<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
-									<tr class="fs12n">
-										<td bgcolor="#f2f1ec">¥á¡¼¥ë·Á¼°<span class="red"> *</span></td>
-										<td bgcolor="#ffffff">
-										<!--{assign var=key value="send_type"}-->
-										<!--{if $arrForm.template_id == 1}-->
-											<input type="radio" name="send_type" value="0" id="send_type_0" checked="checked" /><label for="send_type_0">¥Ñ¥½¥³¥ó</label>&nbsp;
-										<!--{elseif $arrForm.template_id == 2}-->
-											<input type="radio" name="send_type" value="1" id="send_type_1" checked="checked" /><label for="send_type_1">·ÈÂÓ</label>&nbsp;
-										<!--{else}-->
-											<!--{html_radios_ex name="send_type" options=$arrSendType separator="&nbsp;" selected=$arrForm[$key]}-->
-										<!--{/if}-->
-										</td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">¥Æ¥ó¥×¥ì¡¼¥È<span class="red"> *</span></td>
-										<td bgcolor="#ffffff" width="557" class="fs10n">
-										<!--{assign var=key value="template_name"}-->
-										<span class="red12"><!--{$arrErr[$key]}--></span>
-										<input type="text" name="template_name" value="<!--{$arrForm[$key]|escape}-->" onChange="setFlag();" size="30" class="box30" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
-										</td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="160" class="fs12n">¥á¡¼¥ë¥¿¥¤¥È¥ë<span class="red"> *</span></td>
-										<td bgcolor="#ffffff" width="557" class="fs10n">
-										<!--{assign var=key value="subject"}-->
-										<span class="red12"><!--{$arrErr[$key]}--></span>
-										<input type="text" name="subject" value="<!--{$arrForm[$key]|escape}-->" onChange="setFlag();" size="30" class="box30" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
-										</td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" colspan="2" class="fs12n"><span class="red"> *</span>Ì¾Á°¤òº¹¤·¹þ¤à¾ì¹ç¤Ï¡¢{name}¤ÈÆþÎÏ¤·¤Æ²¼¤µ¤¤¡£<br>
-										<span class="red"> *</span>ÃíÊ¸¾ðÊó¤òº¹¤·¹þ¤à¾ì¹ç¤Ï¡¢{order}¤ÈÆþÎÏ¤·¤Æ²¼¤µ¤¤¡£</td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" width="160" class="fs12">ËÜÊ¸</td>
-										<td bgcolor="#ffffff" width="557" class="fs10">
-										<!--{assign var=key value="body"}-->
-										<span class="red12"><!--{$arrErr[$key]}--></span>
-										<textarea name="body" cols="75" rows="20" class="area75" onChange="setFlag();" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"><!--{$arrForm[$key]|escape}--></textarea><br />
-										<span class="red"> ¡Ê¾å¸Â<!--{$smarty.const.LTEXT_LEN}-->Ê¸»ú¡Ë
-										</span>
-						
-										<div align="right">
-											<input type="button" width="110" height="30" value="Ê¸»ú¿ô¥«¥¦¥ó¥È" onclick="fnCharCount('form1','body','cnt_body');" border="0" name="next" id="next" />
-											<br>º£¤Þ¤Ç¤ËÆþÎÏ¤·¤¿¤Î¤Ï
-											<input type="text" name="cnt_body" size="4" class="box4" readonly = true style="text-align:right">
-											Ê¸»ú¤Ç¤¹¡£
-										</div>
-						
-										</td>
-									</tr>
-								</table>
-
-								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-									<tr>
-										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-										<td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
-										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-									</tr>
-									<tr>
-										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-										<td bgcolor="#e9e7de" align="center">
-										<table border="0" cellspacing="0" cellpadding="0" summary=" ">
-											<tr>
-												<td><input type="image" onMouseover="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="¤³¤ÎÆâÍÆ¤ÇÅÐÏ¿¤¹¤ë" border="0" name="subm" ></td>
-											</tr>
-										</table>
-										</td>
-										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-									</tr>
-									<tr>
-										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
-									</tr>
-								</table>
-								</td>
-								<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-							</tr>
-							<tr>
-								<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
-							</tr>
-							<tr><td height="30"></td></tr>
-						</table>
-					</td>
-				</tr>
-				<!--¥á¥¤¥ó¥¨¥ê¥¢-->
-			</table>
-			<!--¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
-		</td>
-	</tr>
-</form>
-</table>
-<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
-
Index: anches/beta/data/Smarty/templates/admin/basis/template_input.tpl
===================================================================
--- /branches/beta/data/Smarty/templates/admin/basis/template_input.tpl	(revision 14676)
+++ 	(revision )
@@ -1,143 +1,0 @@
-<!--{*
-/*
- * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
- *
- * http://www.lockon.co.jp/
- */
-*}-->
-<script language="JavaScript">
-<!--
-function lfnCheckSubmit(){
-	
-	fm = document.form1;
-	var err = '';
-	
-	if ( ! fm["subject"].value ){
-		err += 'Subject¤òÆþÎÏ¤·¤Æ²¼¤µ¤¤¡£';
-	}
-	if ( ! fm["body"].value ){
-		if ( err ) err += '\n';
-		err += 'ËÜÊ¸¤òÆþÎÏ¤·¤Æ²¼¤µ¤¤¡£';
-	}
-	if ( err ){
-		alert(err);
-		return false;
-	} else {
-		if(window.confirm('ÆâÍÆ¤òÅÐÏ¿¤·¤Æ¤âµ¹¤·¤¤¤Ç¤¹¤«')){
-			return true;
-		}else{
-			return false;
-		}
-	}
-}
-//-->
-</script>
-
-<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
-<table width="878" border="0" cellspacing="0" cellpadding="0" summary=" ">
-<form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->" onSubmit="return lfnCheckSubmit();">
-<input type="hidden" name="mode" value="<!--{$mode}-->">
-<input type="hidden" name="template_id" value="<!--{$arrForm.template_id}-->">
-	<tr valign="top">
-		<td background="<!--{$smarty.const.URL_DIR}-->img/contents/navi_bg.gif" height="402">
-			<!--¢§SUB NAVI-->
-			<!--{include file=$tpl_subnavi}-->
-			<!--¢¥SUB NAVI-->
-		</td>
-		<td class="mainbg">
-			<!--¢§ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤«¤é-->
-			<table width="737" border="0" cellspacing="0" cellpadding="0" summary=" ">
-				<!--¥á¥¤¥ó¥¨¥ê¥¢-->
-				<tr>
-					<td align="center">
-						<table width="706" border="0" cellspacing="0" cellpadding="0" summary=" ">
-							<tr><td height="14"></td></tr>
-							<tr>
-								<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_top.jpg" width="706" height="14" alt=""></td>
-							</tr>
-							<tr>
-								<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_left.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-								<td bgcolor="#cccccc">
-								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-									<tr>
-										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_top.gif" width="678" height="7" alt=""></td>
-									</tr>
-									<tr>
-										<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_left.gif" width="22" height="12" alt=""></td>
-										<td bgcolor="#636469" width="638" class="fs14n"><span class="white"><!--¥³¥ó¥Æ¥ó¥Ä¥¿¥¤¥È¥ë-->ÇÛ¿®ÆâÍÆÀßÄê¡§<!--{$title}--></span></td>
-										<td background="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_right_bg.gif"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="18" height="1" alt=""></td>
-									</tr>
-									<tr>
-										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/contents_title_bottom.gif" width="678" height="7" alt=""></td>
-									</tr>
-									<tr>
-										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bar.jpg" width="678" height="10" alt=""></td>
-									</tr>
-								</table>
-
-								<table width="678" border="0" cellspacing="1" cellpadding="8" summary=" ">
-									<tr class="fs12n">
-										<td bgcolor="#f2f1ec">¥á¡¼¥ë·Á¼°<span class="red"> *</span></td>
-										<td bgcolor="#ffffff"><span <!--{if $arrErr.mail_method}--><!--{sfSetErrorStyle}--><!--{/if}-->><!--{html_radios name="mail_method" options=$arrMagazineType separator="&nbsp;" selected=$arrForm.mail_method}--></span>
-										<!--{if $arrErr.mail_method}--><br><span class="red12"><!--{$arrErr.mail_method}--></span><!--{/if}-->
-										</td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" class="fs12n">Subject<span class="red"> *</span></td>
-										<td bgcolor="#ffffff">
-										<input type="text" name="subject" size="65" class="box65" <!--{if $arrErr.subject}--><!--{sfSetErrorStyle}--><!--{/if}--> value="<!--{$arrForm.template_name|escape}-->" />
-										<!--{if $arrErr.subject}--><br><span class="red12"><!--{$arrErr.subject}--></span><!--{/if}-->
-										</td>
-									</tr>
-									<tr>
-										<td bgcolor="#f2f1ec" colspan="2" class="fs12n">ËÜÊ¸<span class="red"> *</span>¡ÊÌ¾Á°º¹¤·¹þ¤ß»þ¤Ï {name} ¤È¤¤¤ì¤Æ¤¯¤À¤µ¤¤¡Ë</td>
-									</tr>
-									<tr>
-										<td bgcolor="#ffffff" colspan="2">
-										<textarea name="body" cols="90" rows="40" class="area90" <!--{if $arrErr.body}--><!--{sfSetErrorStyle}--><!--{/if}-->><!--{$arrForm.body|escape}--></textarea>
-										<!--{if $arrErr.body}--><br><span class="red12"><!--{$arrErr.body}--></span><!--{/if}-->
-										</td>
-									</tr>
-								</table>
-
-								<table width="678" border="0" cellspacing="0" cellpadding="0" summary=" ">
-									<tr>
-										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-										<td><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_top.gif" width="676" height="7" alt=""></td>
-										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="5" alt=""></td>
-									</tr>
-									<tr>
-										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-										<td bgcolor="#e9e7de" align="center">
-										<table border="0" cellspacing="0" cellpadding="0" summary=" ">
-											<tr>
-												<td width="30%"></td>
-												<td width="40%" align = "center" valign="upper"><input type="image" onMouseover="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist_on.jpg',this)" onMouseout="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist.jpg',this)" src="<!--{$smarty.const.URL_DIR}-->img/contents/btn_regist.jpg" width="123" height="24" alt="¤³¤ÎÆâÍÆ¤ÇÅÐÏ¿¤¹¤ë" border="0" name="subm"></td>
-												<td width="30%" align = "right" valign="upper"><input type="button" width="110" height="30" value="Ê¸»ú¿ô¥«¥¦¥ó¥È" onclick="fnCharCount('form1','body','cnt_footer');" border="0" name="next" id="next" />
-												<br><span class="fs10n">º£¤Þ¤Ç¤ËÆþÎÏ¤·¤¿¤Î¤Ï<input type="text" name="cnt_footer" size="4" class="box4" readonly = true style="text-align:right">Ê¸»ú¤Ç¤¹¡£</span></td>
-											</tr>
-										</table>
-										</td>
-										<td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
-									</tr>
-									<tr>
-										<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/tbl_bottom.gif" width="678" height="8" alt=""></td>
-									</tr>
-								</table>
-								</td>
-								<td background="<!--{$smarty.const.URL_DIR}-->img/contents/main_right.jpg"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="14" height="1" alt=""></td>
-							</tr>
-							<tr>
-								<td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/contents/main_bottom.jpg" width="706" height="14" alt=""></td>
-							</tr>
-							<tr><td height="30"></td></tr>
-						</table>
-					</td>
-				</tr>
-				<!--¥á¥¤¥ó¥¨¥ê¥¢-->
-			</table>
-			<!--¢¥ÅÐÏ¿¥Æ¡¼¥Ö¥ë¤³¤³¤Þ¤Ç-->
-		</td>
-	</tr>
-</table>
-<!--¡ú¡ú¥á¥¤¥ó¥³¥ó¥Æ¥ó¥Ä¡ú¡ú-->
