Index: /branches/feature-module-update/html/sitemap.php
===================================================================
--- /branches/feature-module-update/html/sitemap.php	(revision 15531)
+++ /branches/feature-module-update/html/sitemap.php	(revision 15531)
@@ -0,0 +1,300 @@
+<?php
+/**
+ *
+ * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
+ *
+ * http://www.lockon.co.jp/
+ *
+ */
+
+/**
+ * Sitemap¥×¥í¥È¥³¥ë ¥Õ¥¡¥¤¥ëÀ¸À®¥â¥¸¥å¡¼¥ë.
+ * PHP versions 4 and 5
+ *
+ * <pre>
+ * ¤³¤Î¥â¥¸¥å¡¼¥ë¤Ï Sitemap¥×¥í¥È¥³¥ë¤ËÂÐ±þ¤·¤¿ XML¥Õ¥¡¥¤¥ë¤ò½ÐÎÏ¤¹¤ë.
+ * EC-CUBE ¥¤¥ó¥¹¥È¡¼¥ë¥Ç¥£¥ì¥¯¥È¥ê¤Î html¥Ç¥£¥ì¥¯¥È¥ê¤ØÇÛÃÖ¤¹¤ë¤³¤È¤Ë¤è¤êÆ°ºî¤¹¤ë.
+ *
+ * ¤³¤Î¥â¥¸¥å¡¼¥ë¤Ë¤è¤ê, °Ê²¼¤Î¥Ú¡¼¥¸¤Î¥µ¥¤¥È¥Þ¥Ã¥×¤¬À¸À®¤µ¤ì¤ë.
+ * 1. $staticURL ¤Ç»ØÄê¤·¤¿¥Ú¡¼¥¸
+ * 2. ´ÉÍý²èÌÌ¤Î¥Ç¥¶¥¤¥ó´ÉÍý¤«¤éÀ¸À®¤·¤¿¥Ú¡¼¥¸
+ * 3. ¸ø³«¤µ¤ì¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¾¦ÉÊ°ìÍ÷¥Ú¡¼¥¸
+ * 4. ¸ø³«¤µ¤ì¤Æ¤¤¤ë¤¹¤Ù¤Æ¤Î¾¦ÉÊ¾ÜºÙ¥Ú¡¼¥¸
+ * 5. html/mobile °Ê²¼¤Î¾åµ­¥Ú¡¼¥¸
+ *
+ * ¤³¤Î¥â¥¸¥å¡¼¥ë¤òÀßÃÖ¸å, ³Æ¸¡º÷¥¨¥ó¥¸¥ó¤Ë¥µ¥¤¥È¥Þ¥Ã¥×¤òÅÐÏ¿¤¹¤ë¤³¤È¤Ë¤è¤ê, ¸¡º÷¥¨¥ó¥¸¥ó¤Î
+ * ¥¤¥ó¥Ç¥Ã¥¯¥¹²½¤¬Â¥¿Ê¤µ¤ì¤ë.
+ * </pre>
+ * @see https://www.google.com/webmasters/tools/siteoverview?hl=ja
+ * @see https://siteexplorer.search.yahoo.com/mysites
+ *
+ * @author Kentaro Ohkouchi
+ * @version $Id$
+ *
+ */
+require_once("require.php");
+// --------------------------------------------------------------------- ½é´üÀßÄê
+// :TODO: filemtime ´Ø¿ô¤ò»È¤¨¤Ð¡¢ÀÅÅª¤Ê¥Ú¡¼¥¸¤Î¹¹¿·»þ´Ö¤â¼èÆÀ¤¹¤ë¤è¤¦¤Ë¤Ç¤­¤½¤¦
+//
+// Æ°Åª¤ËÀ¸À®¤µ¤ì¤Ê¤¤¥Ú¡¼¥¸¤òÇÛÎó¤Ç»ØÄê
+$staticURL = array(SITE_URL, MOBILE_SITE_URL, SITE_URL . "rss/index.php");
+// :TODO: ³Æ¥Ú¡¼¥¸¤Î changefreq ¤ä priority ¤ò»ØÄê¤Ç¤­¤ë¤è¤¦¤Ë¤¹¤ë
+// ----------------------------------------------------------------------------
+
+// ----------------------------------------------------------------------------
+// }}}
+// {{{ View Logic
+
+/**
+ * Sitemap ¤Î <url /> ¤òÀ¸À®¤¹¤ë.
+ *
+ * @param string $loc ¥Ú¡¼¥¸¤Î URL ¢¨É¬¿Ü
+ * @param string $lastmod ¥Õ¥¡¥¤¥ë¤ÎºÇ½ª¹¹¿·Æü YYYY-MM-DD or  W3C Datetime ·Á¼°
+ * @param string $changefreq ¥Ú¡¼¥¸¤Î¹¹¿·ÉÑÅÙ
+ * @param double $priority URL ¤ÎÍ¥ÀèÅÙ
+ * @return Sitemap ·Á¼°¤Î <url />
+ * @see https://www.google.com/webmasters/tools/docs/ja/protocol.html#xmlTagDefinitions
+ */
+function createSitemap($loc, $lastmod = "", $changefreq = "", $priority = "") {
+    printf("\t<url>\n");
+    printf("\t\t<loc>%s</loc>\n", htmlentities($loc, ENT_QUOTES, "UTF-8"));
+    if (!empty($lastmod)) {
+        printf("\t\t<lastmod>%s</lastmod>\n", $lastmod);
+    }
+    if (!empty($changefreq)) {
+        printf("\t\t<changefreq>%s</changefreq>\n", $changefreq);
+    }
+    if(!empty($priority)) {
+        printf("\t\t<priority>%01.1f</priority>\n", $priority);
+    }
+    printf("\t</url>\n");
+}
+
+$objQuery = new SC_Query();
+
+//¥­¥ã¥Ã¥·¥å¤·¤Ê¤¤(Ç°¤Î¤¿¤á)
+header("Paragrama: no-cache");
+
+//XML¥Æ¥­¥¹¥È
+header("Content-type: application/xml; charset=utf-8");
+
+// É¬¤º UTF-8 ¤È¤·¤Æ½ÐÎÏ
+mb_http_output("UTF-8");
+ob_start('mb_output_handler');
+
+print("<?xml version='1.0' encoding='UTF-8'?>\n");
+print("<urlset xmlns='http://www.sitemaps.org/schemas/sitemap/0.9'>\n");
+
+// ----------------------------------------------------------------------------
+// }}}
+// {{{ Controller Logic
+
+// ÀÅÅª¤Ê¥Ú¡¼¥¸¤ò½èÍý
+foreach($staticURL as $url) {
+    createSitemap($url, '', 'daily', 1.0);
+}
+// ¥Ú¡¼¥¸¤Î¥Ç¡¼¥¿¤ò¼èÆÀ
+$objPageData = new LC_PageLayout;
+
+// TOP¥Ú¡¼¥¸¤ò½èÍý
+$topPage = getTopPage($objPageData->arrPageList);
+createSitemap($topPage[0]['url'], date2W3CDatetime($topPage[0]['update_date']),
+                'daily', 1.0);
+
+// ÊÔ½¸²ÄÇ½¥Ú¡¼¥¸¤ò½èÍý
+$editablePages = getEditablePage($objPageData->arrPageList);
+foreach($editablePages as $editablePage) {
+    createSitemap($editablePage['url'], date2W3CDatetime($editablePage['update_date']));
+}
+
+// ¾¦ÉÊ°ìÍ÷¥Ú¡¼¥¸¤ò½èÍý
+$products = getAllProducts();
+foreach($products as $product) {
+    createSitemap($product['url'], '', 'daily');
+}
+$mobileProducts = getAllProducts(true);
+foreach($mobileProducts as $mobileProduct) {
+    createSitemap($mobileProduct['url'], '', 'daily');
+}
+
+// ¾¦ÉÊ¾ÜºÙ¥Ú¡¼¥¸¤ò½èÍý
+$details = getAllDetail();
+foreach($details as $detail) {
+    createSitemap($detail['url'], date2W3CDatetime($detail['update_date']));
+}
+$mobileDetails = getAllDetail(true);
+foreach($mobileDetails as $mobileDetail) {
+    createSitemap($mobileDetail['url'], date2W3CDatetime($mobileDetail['update_date']));
+}
+
+print("</urlset>\n");
+
+// ----------------------------------------------------------------------------
+// }}}
+// {{{ Model Logic
+
+/**
+ * TOP¥Ú¡¼¥¸¤Î¾ðÊó¤ò¼èÆÀ
+ *
+ * @param array $pageData ¤¹¤Ù¤Æ¤Î¥Ú¡¼¥¸¾ðÊó¤ÎÇÛÎó
+ * @return TOP¥Ú¡¼¥¸¤Î¾ðÊó
+ */
+function getTopPage($pageData) {
+    $arrRet = array();
+    foreach($pageData as $page) {
+        if ($page['page_id'] == "1") {
+            $page['url'] = SITE_URL . $page['url'];
+            $arrRet[0] = $page;
+            return $arrRet;
+        }
+    }
+}
+
+/**
+ * ¤¹¤Ù¤Æ¤ÎÊÔ½¸²ÄÇ½¥Ú¡¼¥¸¤Î¾ðÊó¤ò¼èÆÀ¤¹¤ë.
+ *
+ * @param array $pageData ¤¹¤Ù¤Æ¤Î¥Ú¡¼¥¸¾ðÊó¤ÎÇÛÎó
+ * @return ÊÔ½¸²ÄÇ½¥Ú¡¼¥¸
+ */
+function getEditablePage($pageData) {
+    $arrRet = array();
+    $i = 0;
+    foreach($pageData as $page) {
+        if ($page['page_id'] > 4) {
+            $arrRet[$i] = $page;
+            $i++;
+        }
+    }
+    return $arrRet;
+}
+
+/**
+ * date·Á¼°¤ÎÊ¸»úÎó¤ò W3C Datetime ·Á¼°¤ËÊÑ´¹¤·¤Æ½ÐÎÏ¤¹¤ë.
+ *
+ * @param date $date ÊÑ´¹¤¹¤ëÆüÉÕ
+ */
+function date2W3CDatetime($date) {
+    $arr = array();
+    // Àµµ¬É½¸½¤ÇÊ¸»úÎó¤òÃê½Ð
+    ereg("^([0-9]{4})-([0-9]{2})-([0-9]{2}) ([0-9]{2}):([0-9]{2}):([0-9]{2})",
+        $date, $arr);
+    // :TODO: time zone ¤â¼èÆÀ¤¹¤ë¤Ù¤­...
+    return sprintf("%04d-%02d-%02dT%02d:%02d:%02d+09:00",
+            $arr[1], $arr[2], $arr[3], $arr[4], $arr[5], $arr[6]);
+}
+
+// ----------------------------------------------------------------------------
+// }}}
+// {{{ DB Access Objects
+
+/**
+ * ¥Ú¡¼¥¸¥Ç¡¼¥¿¤ò°·¤¦¥¯¥é¥¹.
+ */
+class LC_PageLayout {
+
+    var $arrPageData;		// ¥Ú¡¼¥¸¥Ç¡¼¥¿³ÊÇ¼ÍÑ
+    var $arrPageList;		// ¥Ú¡¼¥¸¥Ç¡¼¥¿³ÊÇ¼ÍÑ
+
+    /**
+     * ¥³¥ó¥¹¥È¥é¥¯¥¿.
+     */
+    function LC_PageLayout() {
+        $this->arrPageList = $this->getPageData();
+    }
+
+    /**
+     * ¥Ö¥í¥Ã¥¯¾ðÊó¤ò¼èÆÀ¤¹¤ë.
+     *
+     * @param string $where WHERE¶ç
+     * @param array  $arrVal WHERE¶ç¤ÎÃÍ¤ò³ÊÇ¼¤·¤¿ÇÛÎó
+     * @return ¥Ö¥í¥Ã¥¯¾ðÊó
+     */
+    function getPageData($where = '', $arrVal = ''){
+        $objDBConn = new SC_DbConn;		// DBÁàºî¥ª¥Ö¥¸¥§¥¯¥È
+        $sql = "";						// ¥Ç¡¼¥¿¼èÆÀSQLÀ¸À®ÍÑ
+        $arrRet = array();				// ¥Ç¡¼¥¿¼èÆÀÍÑ
+
+        // SQLÀ¸À®(url ¤È update_date °Ê³°¤ÏÉÔÍ×¡©)
+        $sql .= " SELECT";
+        $sql .= " page_id";				// ¥Ú¡¼¥¸ID
+        $sql .= " ,page_name";			// Ì¾¾Î
+        $sql .= " ,url";				// URL
+        $sql .= " ,php_dir";			// phpÊÝÂ¸Àè¥Ç¥£¥ì¥¯¥È¥ê
+        $sql .= " ,tpl_dir";			// tplÊÝÂ¸Àè¥Ç¥£d¥ì¥¯¥È¥ê
+        $sql .= " ,filename";			// ¥Õ¥¡¥¤¥ëÌ¾¾Î
+        $sql .= " ,header_chk ";		// ¥Ø¥Ã¥À¡¼»ÈÍÑFLG
+        $sql .= " ,footer_chk ";		// ¥Õ¥Ã¥¿¡¼»ÈÍÑFLG
+        $sql .= " ,author";				// author¥¿¥°
+        $sql .= " ,description";		// description¥¿¥°
+        $sql .= " ,keyword";			// keyword¥¿¥°
+        $sql .= " ,update_url";			// ¹¹¿·URL
+        $sql .= " ,create_date";		// ¥Ç¡¼¥¿ºîÀ®Æü
+        $sql .= " ,update_date";		// ¥Ç¡¼¥¿¹¹¿·Æü
+        $sql .= " FROM ";
+        $sql .= "     dtb_pagelayout";
+
+        // where¶ç¤Î»ØÄê¤¬¤¢¤ì¤ÐÄÉ²Ã
+        if ($where != '') {
+            $sql .= " WHERE " . $where;
+        }
+
+        $sql .= " ORDER BY 	page_id";
+
+        $arrRet = $objDBConn->getAll($sql, $arrVal);
+
+        $this->arrPageData = $arrRet;
+
+        return $arrRet;
+    }
+}
+
+/**
+ * ¤¹¤Ù¤Æ¤Î¾¦ÉÊ°ìÍ÷¥Ú¡¼¥¸¤ò¼èÆÀ¤¹¤ë.
+ *
+ * @param boolean $isMobile ¥â¥Ð¥¤¥ë¥Ú¡¼¥¸¤ò¼èÆÀ¤¹¤ë¾ì¹ç true
+ * @return ¸¡º÷¥¨¥ó¥¸¥ó¤«¤é¥¢¥¯¥»¥¹²ÄÇ½¤Ê¾¦ÉÊ°ìÍ÷¥Ú¡¼¥¸¤Î¾ðÊó
+ */
+function getAllProducts($isMobile = false) {
+    $conn = new SC_DBConn();
+    $sql = "SELECT category_id FROM dtb_category WHERE del_flg = 0";
+    $result = $conn->getAll($sql);
+
+    $mobile = "";
+    if ($isMobile) {
+        $mobile = "mobile/";
+    }
+
+    $arrRet = array();
+    for ($i = 0; $i < count($result); $i++) {
+        // :TODO: ¥«¥Æ¥´¥ê¤ÎºÇ½ª¹¹¿·Æü¤ò¼èÆÀ¤Ç¤­¤ë¤è¤¦¤Ë¤¹¤ë
+        $page = array("url" => SITE_URL . sprintf("%sproducts/list.php?category_id=%d", $mobile, $result[$i]['category_id']));
+        $arrRet[$i] = $page;
+    }
+    return $arrRet;
+}
+
+/**
+ * ¤¹¤Ù¤Æ¤Î¾¦ÉÊ¾ÜºÙ¥Ú¡¼¥¸¤ò¼èÆÀ¤¹¤ë.
+ *
+ * @param boolean $isMobile ¥â¥Ð¥¤¥ë¥Ú¡¼¥¸¤ò¼èÆÀ¤¹¤ë¾ì¹ç true
+ * @return ¸¡º÷¥¨¥ó¥¸¥ó¤«¤é¥¢¥¯¥»¥¹²ÄÇ½¤Ê¾¦ÉÊ¾ÜºÙ¥Ú¡¼¥¸¤Î¾ðÊó
+ */
+function getAllDetail($isMobile = false) {
+    $conn = new SC_DBConn();
+    $sql = "SELECT product_id, update_date FROM dtb_products WHERE del_flg = 0 AND status = 1";
+    $result = $conn->getAll($sql);
+
+    $mobile = "";
+    if ($isMobile) {
+        $mobile = "mobile/";
+    }
+
+    $arrRet = array();
+    for ($i = 0; $i < count($result); $i++) {
+        $page = array("url" => SITE_URL. sprintf("%sproducts/detail.php?product_id=%d", $mobile, $result[$i]['product_id']),
+                        "update_date" => $result[$i]['update_date']);
+        $arrRet[$i] = $page;
+    }
+    return $arrRet;
+}
+?>
Index: /branches/feature-module-update/data/Smarty/templates/products/review.tpl
===================================================================
--- /branches/feature-module-update/data/Smarty/templates/products/review.tpl	(revision 15079)
+++ /branches/feature-module-update/data/Smarty/templates/products/review.tpl	(revision 15531)
@@ -26,78 +26,79 @@
 <div align="center">
 <table width="550" border="0" cellspacing="0" cellpadding="0" summary=" ">
-	<tr><td height="15"></td></tr>
-	<tr><td bgcolor="#ffa85c"><img src="<!--{$smarty.const.URL_DIR}-->misc/_.gif" width="1" height="5" alt=""></td></tr>
-	<tr>
-		<td align="center" bgcolor="ffffff">
-		<table width="500" border="0" cellspacing="0" cellpadding="0" summary=" ">
-		<form name="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
-		<input type="hidden" name="mode" value="confirm">
-		<input type="hidden" name="product_id" value="<!--{$arrForm.product_id}-->">
-			<tr><td height="15"></td></tr>
-			<tr>
-				<td><img src="<!--{$smarty.const.URL_DIR}-->img/products/review_title.jpg" width="500" height="40" alt="お客様の声書き込み"></td>
-			</tr>
-			<tr><td height="15"></td></tr>
-			<tr>
-				<td class="fs12">以下の商品について、お客様のご意見、ご感想をどしどしお寄せください。<br>
-				「<span class="red">※</span>」印は入力必須項目です。<br>
-				ご入力後、一番下の「確認ページへ」ボタンをクリックしてください。</td>
-			</tr>
-			<tr><td height="15"></td></tr>
-			<tr>
-				<td bgcolor="#cccccc">
-				<table width="500" border="0" cellspacing="1" cellpadding="10" summary=" ">
-					<tr>
-						<td width="107" bgcolor="#f0f0f0" class="fs12n">商品名</td>
-						<td width="350" bgcolor="#ffffff" class="fs12n"><!--{$arrForm.name|escape}--></td>
-					</tr>
-					<tr>
-						<td bgcolor="#f0f0f0" class="fs12n">投稿者名<span class="red">※</span></td>
-						<td bgcolor="#ffffff" class="fs12n"><span class="red"><!--{$arrErr.reviewer_name}--></span><input type="text" name="reviewer_name" value="<!--{$arrForm.reviewer_name|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{$arrErr.reviewer_name|SfGetErrorColor}-->" size="40" class="box40" /></td>
-					</tr>
-					<tr>
-						<td bgcolor="#f0f0f0" class="fs12n">ホームページアドレス</td>
-						<td bgcolor="#ffffff" class="fs12n"><span class="red"><!--{$arrErr.reviewer_url}--></span><input type="text" name="reviewer_url" value="<!--{$arrForm.reviewer_url}-->" maxlength="<!--{$smarty.const.MTEXT_LEN}-->" style="<!--{$arrErr.reviewer_url|SfGetErrorColor}-->" size="40" class="box40" /></td>
-					</tr>
-					<tr>
-						<td bgcolor="#f0f0f0" class="fs12n">性別</td>
-						<td bgcolor="#ffffff" class="fs12n"><input type="radio" name="sex" id="man" value="1"><label for="man" <!--{if $arrForm.sex eq 1}-->checked<!--{/if}-->>男性</label>　<input type="radio" name="sex" id="woman" value="2" <!--{if $arrForm.sex eq 2}-->checked<!--{/if}-->><label for="woman">女性</label></td>
-					</tr>
-					<tr>
-						<td bgcolor="#f0f0f0" class="fs12n">おすすめレベル<span class="red">※</span></td>
-						<td bgcolor="#ffffff" class="fs12n">
-							<span class="red"><!--{$arrErr.recommend_level}--></span>
-							<select name="recommend_level" style="<!--{$arrErr.recommend_level|sfGetErrorColor}-->" >
-							<option value="" selected>選択してください</option>
-							<!--{html_options options=$arrRECOMMEND selected=$arrForm.recommend_level}-->
-							</select>
-						</td>
-					</tr>
-					<tr>
-						<td bgcolor="#f0f0f0" class="fs12">タイトル<span class="red">※</span></td>
-						<td bgcolor="#ffffff" class="fs12"><span class="red"><!--{$arrErr.title}--></span>
-						<input type="text" name="title" value="<!--{$arrForm.title|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{$arrErr.title|SfGetErrorColor}-->" size="40" class="box40"></td>
-					</tr>
-					<tr>
-						<td bgcolor="#f0f0f0" class="fs12">コメント<span class="red">※</span></td>
-						<td bgcolor="#ffffff" class="fs12"><span class="red"><!--{$arrErr.comment}--></span>
-						<textarea name="comment" value="<!--{$arrForm.comment|escape}-->" maxlength="<!--{$smarty.const.LTEXT_LEN}--> "style="<!--{$arrErr.comment|SfGetErrorColor}-->" class="area40"><!--{$arrForm.comment|escape}--></textarea></td>
-					</tr>
-				</table>
-				</td>
-			</tr>
-			<tr><td height="15"></td></tr>
-			<tr>
-				<td align="center">
-				<input type="image" onMouseover="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/common/b_confirm_on.gif',this)" onMouseout="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/common/b_confirm.gif',this)" src="<!--{$smarty.const.URL_DIR}-->img/common/b_confirm.gif" width="150" height="30" alt="確認ページへ" name="conf" id="conf">
-				</td>
-			</tr>
-			<tr><td height="30"></td></tr>
-		</form>
-		</table>
-		</td>
-	</tr>
-	<tr><td bgcolor="#ffa85c"><img src="<!--{$smarty.const.URL_DIR}-->misc/_.gif" width="1" height="5" alt=""></td></tr>
-	<tr><td height="20"></td></tr>
+    <tr><td height="15"></td></tr>
+    <tr><td bgcolor="#ffa85c"><img src="<!--{$smarty.const.URL_DIR}-->misc/_.gif" width="1" height="5" alt=""></td></tr>
+    <tr>
+        <td align="center" bgcolor="ffffff">
+        <table width="500" border="0" cellspacing="0" cellpadding="0" summary=" ">
+        <form name="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
+        <input type="hidden" name="mode" value="confirm">
+        <input type="hidden" name="product_id" value="<!--{$arrForm.product_id}-->">
+        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->">
+            <tr><td height="15"></td></tr>
+            <tr>
+                <td><img src="<!--{$smarty.const.URL_DIR}-->img/products/review_title.jpg" width="500" height="40" alt="お客様の声書き込み"></td>
+            </tr>
+            <tr><td height="15"></td></tr>
+            <tr>
+                <td class="fs12">以下の商品について、お客様のご意見、ご感想をどしどしお寄せください。<br>
+                「<span class="red">※</span>」印は入力必須項目です。<br>
+                ご入力後、一番下の「確認ページへ」ボタンをクリックしてください。</td>
+            </tr>
+            <tr><td height="15"></td></tr>
+            <tr>
+                <td bgcolor="#cccccc">
+                <table width="500" border="0" cellspacing="1" cellpadding="10" summary=" ">
+                    <tr>
+                        <td width="107" bgcolor="#f0f0f0" class="fs12n">商品名</td>
+                        <td width="350" bgcolor="#ffffff" class="fs12n"><!--{$arrForm.name|escape}--></td>
+                    </tr>
+                    <tr>
+                        <td bgcolor="#f0f0f0" class="fs12n">投稿者名<span class="red">※</span></td>
+                        <td bgcolor="#ffffff" class="fs12n"><span class="red"><!--{$arrErr.reviewer_name}--></span><input type="text" name="reviewer_name" value="<!--{$arrForm.reviewer_name|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{$arrErr.reviewer_name|sfGetErrorColor}-->" size="40" class="box40" /></td>
+                    </tr>
+                    <tr>
+                        <td bgcolor="#f0f0f0" class="fs12n">ホームページアドレス</td>
+                        <td bgcolor="#ffffff" class="fs12n"><span class="red"><!--{$arrErr.reviewer_url}--></span><input type="text" name="reviewer_url" value="<!--{$arrForm.reviewer_url}-->" maxlength="<!--{$smarty.const.MTEXT_LEN}-->" style="<!--{$arrErr.reviewer_url|sfGetErrorColor}-->" size="40" class="box40" /></td>
+                    </tr>
+                    <tr>
+                        <td bgcolor="#f0f0f0" class="fs12n">性別</td>
+                        <td bgcolor="#ffffff" class="fs12n"><input type="radio" name="sex" id="man" value="1"><label for="man" <!--{if $arrForm.sex eq 1}-->checked<!--{/if}-->>男性</label>　<input type="radio" name="sex" id="woman" value="2" <!--{if $arrForm.sex eq 2}-->checked<!--{/if}-->><label for="woman">女性</label></td>
+                    </tr>
+                    <tr>
+                        <td bgcolor="#f0f0f0" class="fs12n">おすすめレベル<span class="red">※</span></td>
+                        <td bgcolor="#ffffff" class="fs12n">
+                            <span class="red"><!--{$arrErr.recommend_level}--></span>
+                            <select name="recommend_level" style="<!--{$arrErr.recommend_level|sfGetErrorColor}-->" >
+                            <option value="" selected>選択してください</option>
+                            <!--{html_options options=$arrRECOMMEND selected=$arrForm.recommend_level}-->
+                            </select>
+                        </td>
+                    </tr>
+                    <tr>
+                        <td bgcolor="#f0f0f0" class="fs12">タイトル<span class="red">※</span></td>
+                        <td bgcolor="#ffffff" class="fs12"><span class="red"><!--{$arrErr.title}--></span>
+                        <input type="text" name="title" value="<!--{$arrForm.title|escape}-->" maxlength="<!--{$smarty.const.STEXT_LEN}-->" style="<!--{$arrErr.title|sfGetErrorColor}-->" size="40" class="box40"></td>
+                    </tr>
+                    <tr>
+                        <td bgcolor="#f0f0f0" class="fs12">コメント<span class="red">※</span></td>
+                        <td bgcolor="#ffffff" class="fs12"><span class="red"><!--{$arrErr.comment}--></span>
+                        <textarea name="comment" value="<!--{$arrForm.comment|escape}-->" maxlength="<!--{$smarty.const.LTEXT_LEN}--> "style="<!--{$arrErr.comment|sfGetErrorColor}-->" class="area40"><!--{$arrForm.comment|escape}--></textarea></td>
+                    </tr>
+                </table>
+                </td>
+            </tr>
+            <tr><td height="15"></td></tr>
+            <tr>
+                <td align="center">
+                <input type="image" onMouseover="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/common/b_confirm_on.gif',this)" onMouseout="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/common/b_confirm.gif',this)" src="<!--{$smarty.const.URL_DIR}-->img/common/b_confirm.gif" width="150" height="30" alt="確認ページへ" name="conf" id="conf">
+                </td>
+            </tr>
+            <tr><td height="30"></td></tr>
+        </form>
+        </table>
+        </td>
+    </tr>
+    <tr><td bgcolor="#ffa85c"><img src="<!--{$smarty.const.URL_DIR}-->misc/_.gif" width="1" height="5" alt=""></td></tr>
+    <tr><td height="20"></td></tr>
 </table>
 </div>
Index: /branches/feature-module-update/data/Smarty/templates/products/review_confirm.tpl
===================================================================
--- /branches/feature-module-update/data/Smarty/templates/products/review_confirm.tpl	(revision 15079)
+++ /branches/feature-module-update/data/Smarty/templates/products/review_confirm.tpl	(revision 15531)
@@ -26,68 +26,69 @@
 <div align="center">
 <table width="550" border="0" cellspacing="0" cellpadding="0" summary=" ">
-	<tr><td height="15"></td></tr>
-	<tr><td bgcolor="#ffa85c"><img src="../misc/_.gif" width="1" height="5" alt=""></td></tr>
-	<tr>
-		<td align="center" bgcolor="ffffff">
-		<table width="500" border="0" cellspacing="0" cellpadding="0" summary=" ">
-		<form name="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
-		<input type="hidden" name="mode" value="complete">
-		<!--{foreach from=$arrForm key=key item=item}-->
-		<!--{if $key ne "mode"}-->
-		<input type="hidden" name="<!--{$key|escape}-->" value="<!--{$item|escape}-->"><!--{/if}-->
-		<!--{/foreach}-->
-			<tr><td height="15"></td></tr>
-			<tr>
-				<td><img src="<!--{$smarty.const.URL_DIR}-->img/products/review_title.jpg" width="500" height="40" alt="お客様の声書き込み"></td>
-			</tr>
-			<tr><td height="15"></td></tr>
-			<tr>
-				<td bgcolor="#cccccc">
-				<table width="500" border="0" cellspacing="1" cellpadding="10" summary=" ">
-					<tr>
-						<td width="107" bgcolor="#f0f0f0" class="fs12n">商品名</td>
-						<td width="350" bgcolor="#ffffff" class="fs12n"><!--{$arrForm.name|escape}--></td>
-					</tr>
-					<tr>
-						<td bgcolor="#f0f0f0" class="fs12n">投稿者名<span class="red">※</span></td>
-						<td bgcolor="#ffffff" class="fs12n"><!--{$arrForm.reviewer_name|escape}--></td>
-					</tr>
-					<tr>
-						<td bgcolor="#f0f0f0" class="fs12n">ホームページアドレス</td>
-						<td bgcolor="#ffffff" class="fs12n"><!--{$arrForm.reviewer_url}--></td>
-					</tr>
-					<tr>
-						<td bgcolor="#f0f0f0" class="fs12n">性別</td>
-						<td bgcolor="#ffffff" class="fs12n"><!--{if $arrForm.sex eq 1 }-->男性<!--{elseif $arrForm.sex eq 2 }-->女性<!--{/if}--></td>
-					</tr>
-					<tr>
-						<td bgcolor="#f0f0f0" class="fs12n">おすすめレベル<span class="red">※</span></td>
-						<td bgcolor="#ffffff" class="fs12n"><span class="red"><!--{$arrRECOMMEND[$arrForm.recommend_level]}--></span></td>
-					</tr>
-					<tr>
-						<td bgcolor="#f0f0f0" class="fs12">タイトル<span class="red">※</span></td>
-						<td bgcolor="#ffffff" class="fs12"><!--{$arrForm.title|escape}--></td>
-					</tr>
-					<tr>
-						<td bgcolor="#f0f0f0" class="fs12">コメント<span class="red">※</span></td>
-						<td bgcolor="#ffffff" class="fs12"><!--{$arrForm.comment|escape|nl2br}--></td>
-					</tr>
-				</table>
-				</td>
-			</tr>
-			<tr><td height="15"></td></tr>
-			<tr>
-				<td align="center">
-					<input type="image" onclick=" mode.value='return';" onmouseover="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/common/b_back_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/common/b_back.gif',this)" src="<!--{$smarty.const.URL_DIR}-->img/common/b_back.gif" width="150" height="30" alt="戻る"  name="back" id="back" />
-					<input type="image" onmouseover="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/common/b_send_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/common/b_send.gif',this)" src="<!--{$smarty.const.URL_DIR}-->img/common/b_send.gif" width="150" height="30" alt="送信"  name="send" id="send" />
-				</td>
-			</tr>
-			<tr><td height="30"></td></tr>
-		</form>
-		</table>
-		</td>
-	</tr>
-	<tr><td bgcolor="#ffa85c"><img src="../misc/_.gif" width="1" height="5" alt=""></td></tr>
-	<tr><td height="20"></td></tr>
+    <tr><td height="15"></td></tr>
+    <tr><td bgcolor="#ffa85c"><img src="../misc/_.gif" width="1" height="5" alt=""></td></tr>
+    <tr>
+        <td align="center" bgcolor="ffffff">
+        <table width="500" border="0" cellspacing="0" cellpadding="0" summary=" ">
+        <form name="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
+        <input type="hidden" name="mode" value="complete">
+        <!--{foreach from=$arrForm key=key item=item}-->
+        <!--{if $key ne "mode"}-->
+        <input type="hidden" name="<!--{$key|escape}-->" value="<!--{$item|escape}-->"><!--{/if}-->
+        <!--{/foreach}-->
+        <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->">
+            <tr><td height="15"></td></tr>
+            <tr>
+                <td><img src="<!--{$smarty.const.URL_DIR}-->img/products/review_title.jpg" width="500" height="40" alt="お客様の声書き込み"></td>
+            </tr>
+            <tr><td height="15"></td></tr>
+            <tr>
+                <td bgcolor="#cccccc">
+                <table width="500" border="0" cellspacing="1" cellpadding="10" summary=" ">
+                    <tr>
+                        <td width="107" bgcolor="#f0f0f0" class="fs12n">商品名</td>
+                        <td width="350" bgcolor="#ffffff" class="fs12n"><!--{$arrForm.name|escape}--></td>
+                    </tr>
+                    <tr>
+                        <td bgcolor="#f0f0f0" class="fs12n">投稿者名<span class="red">※</span></td>
+                        <td bgcolor="#ffffff" class="fs12n"><!--{$arrForm.reviewer_name|escape}--></td>
+                    </tr>
+                    <tr>
+                        <td bgcolor="#f0f0f0" class="fs12n">ホームページアドレス</td>
+                        <td bgcolor="#ffffff" class="fs12n"><!--{$arrForm.reviewer_url}--></td>
+                    </tr>
+                    <tr>
+                        <td bgcolor="#f0f0f0" class="fs12n">性別</td>
+                        <td bgcolor="#ffffff" class="fs12n"><!--{if $arrForm.sex eq 1 }-->男性<!--{elseif $arrForm.sex eq 2 }-->女性<!--{/if}--></td>
+                    </tr>
+                    <tr>
+                        <td bgcolor="#f0f0f0" class="fs12n">おすすめレベル<span class="red">※</span></td>
+                        <td bgcolor="#ffffff" class="fs12n"><span class="red"><!--{$arrRECOMMEND[$arrForm.recommend_level]}--></span></td>
+                    </tr>
+                    <tr>
+                        <td bgcolor="#f0f0f0" class="fs12">タイトル<span class="red">※</span></td>
+                        <td bgcolor="#ffffff" class="fs12"><!--{$arrForm.title|escape}--></td>
+                    </tr>
+                    <tr>
+                        <td bgcolor="#f0f0f0" class="fs12">コメント<span class="red">※</span></td>
+                        <td bgcolor="#ffffff" class="fs12"><!--{$arrForm.comment|escape|nl2br}--></td>
+                    </tr>
+                </table>
+                </td>
+            </tr>
+            <tr><td height="15"></td></tr>
+            <tr>
+                <td align="center">
+                    <input type="image" onclick=" mode.value='return';" onmouseover="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/common/b_back_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/common/b_back.gif',this)" src="<!--{$smarty.const.URL_DIR}-->img/common/b_back.gif" width="150" height="30" alt="戻る"  name="back" id="back" />
+                    <input type="image" onmouseover="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/common/b_send_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$smarty.const.URL_DIR}-->img/common/b_send.gif',this)" src="<!--{$smarty.const.URL_DIR}-->img/common/b_send.gif" width="150" height="30" alt="送信"  name="send" id="send" />
+                </td>
+            </tr>
+            <tr><td height="30"></td></tr>
+        </form>
+        </table>
+        </td>
+    </tr>
+    <tr><td bgcolor="#ffa85c"><img src="../misc/_.gif" width="1" height="5" alt=""></td></tr>
+    <tr><td height="20"></td></tr>
 </table>
 </div>
