<form id="comment-mgr-form" action="admin.php?mod=comment&code=ajax&op=submit" method="post" enctype="multipart/form-data"> <table cellspacing="1" cellpadding="4" width="500" align="center" class="tableborder"> <tr class="header"> <td colspan="2">评论编辑</td> </tr> <tr> <td class="td_title">评分</td> <td> <select class="ca-items" name="score" style="width:100%;"> <option value="1" {if $comment['score']==1}selected="selected"{/if}>1</option> <option value="2" {if $comment['score']==2}selected="selected"{/if}>2</option> <option value="3" {if $comment['score']==3}selected="selected"{/if}>3</option> <option value="4" {if $comment['score']==4}selected="selected"{/if}>4</option> <option value="5" {if $comment['score']==5}selected="selected"{/if}>5</option> </select> </td> </tr> <tr> <td class="td_title">内容</td> <td> <textarea class="ca-items" name="content" style="width:100%;height:50px;">{echo htmlspecialchars($comment['content'])}</textarea> </td> </tr> <tr> <td class="td_title">回复</td> <td> <textarea class="ca-items" name="reply" style="width:100%;">{echo htmlspecialchars($comment['reply'])}</textarea> </td> </tr> <tr> <td class="td_title">署名</td> <td> <input type="text" class="ca-items" name="user_name" style="width:100%;" value="{$comment['user_name']}" /> </td> </tr> <tr> <td colspan="2"> <center> <input type="hidden" class="ca-items" name="id" value="{$comment['id']}" /> <input type="button" value="保存" class="button" onclick="comment_mgr_form_submit()" /> </center> </td> </tr> </table> </form>