EC CUBEでコメント欄を設けるタグ
<!–この商品に対するお客様の声–>
<div id="customervoicearea">
<h2><img src="<!–{$TPL_DIR}–>img/products/title_voice.jpg" width="580" height="30" alt="この商品に対するお客様の声" /></h2>
<!–{if count($arrReview) < $smarty.const.REVIEW_REGIST_MAX}–>
<!–★新規コメントを書き込む★–>
<a href="./review.php"
onclick="win02('./review.php?product_id=<!–{$arrProduct.product_id}–>','review','580','580'); return false;"
onmouseover="chgImg('<!–{$TPL_DIR}–>img/products/b_comment_on.gif','review');"
onmouseout="chgImg('<!–{$TPL_DIR}–>img/products/b_comment.gif','review');" target="_blank">
<img src="<!–{$TPL_DIR}–>img/products/b_comment.gif" width="150" height="22" alt="新規コメントを書き込む" name="review" id="review" />
</a>
<!–{/if}–>
<!–{if count($arrReview) > 0}–>
<ul>
<!–{section name=cnt loop=$arrReview}–>
<li>
<p class="voicedate"><!–{$arrReview[cnt].create_date|sfDispDBDate:false}–> 投稿者:<!–{if $arrReview[cnt].reviewer_url}–><a href="<!–{$arrReview[cnt].reviewer_url}–>" target="_blank"><!–{$arrReview[cnt].reviewer_name|escape}–></a><!–{else}–><!–{$arrReview[cnt].reviewer_name|escape}–><!–{/if}–> おすすめレベル:<span class="price"><!–{assign var=level value=$arrReview[cnt].recommend_level}–><!–{$arrRECOMMEND[$level]|escape}–></span></p>
<p class="voicetitle"><!–{$arrReview[cnt].title|escape}–></p>
<p class="voicecomment"><!–{$arrReview[cnt].comment|escape|nl2br}–></p>
</li>
<!–{/section}–>
</ul>
<!–{/if}–>
</div>
<!–お客様の声ここまで–>