<!doctype html>
<html dir="{-:*_LD_-}">
<head>
<meta charset="utf-8" />
<title>{-:@MANAGE-}</title>
{-include:../meta-}
<script>
var GV = {
	_LD_ : '{-:*_LD_-}',
	LANG_NAME : '{-:*LANG_NAME-}'
};
</script>
</head>

<body>
<div class="container margin">

<form id="formEdit" action="" method="post">
<ul class="subnav subnav-tab">
	<li class="active"><a href="#">{-:@EDIT_GUESTBOOK-}</a></li>
</ul>
<div id="tabContent">
	<table class="formTable margin">
		<tr>
			<td class="inputTitle">{-:@NUMBERING-}</td>
			<td class="inputTitle">{-:@WHETHER_PUBLIC-}</td>
		</tr>
		<tr>
			<td class="inputArea">
				{-:$_GI['g_no']-}
			</td>
			<td class="inputArea">
				{-if:empty($_GI['g_password'])-}
					{-:@PUBLIC-}
				{-else:-}
					{-:@PRIVATE-}
				{-:/if-}
			</td>
		</tr>
		<tr>
			<td class="inputTitle">{-:@AUTHOR-}</td>
			<td class="inputTitle"></td>
		</tr>
		<tr>
			<td class="inputArea">
				{-if:empty($_GI['g_author'])-}{-:@GUEST-}{-else:-}{-:$_GI['g_author']-}{-:/if-}
				{-if:!empty($_GI['g_email'])-}<span class="badge">{-:$_GI['g_email']-}</span>{-:/if-}
			</td>
			<td class="inputArea">
			</td>
		</tr>
		<tr>
			<td class="inputTitle">{-:@STATUS-}</td>
			<td class="inputTitle">{-:@ADD_TIME-}</td>
		</tr>
		<tr>
			<td class="inputArea">
				<label><input type="radio" name="g_status" {-if:0 == $_GI['g_status']-} checked="checked"{-:/if-} value="0"> {-:@NOT_PASSED-}</label>
				<label><input type="radio" name="g_status" {-if:1 == $_GI['g_status']-} checked="checked"{-:/if-} value="1"> {-:@PASSED-}</label>
				<label><input type="radio" name="g_status" {-if:2 == $_GI['g_status']-} checked="checked"{-:/if-} value="2"> {-:@FILTER-}</label>
			</td>
			<td class="inputArea">
				{-:@TIME-}:{-:$_GI['g_add_time']|date~C('APP.TIME_FORMAT'),@me-} {-:@IP-}:{-:$_GI['g_add_ip']-}
			</td>
		</tr>
		<tr>
			<td class="inputTitle">{-:@CONTENT-}</td>
			<td class=""></td>
		</tr>
		<tr>
			<td class="inputArea">
				<textarea class="control-input" name="g_content" style="width:480px;height:105px;">{-:$_GI['g_content']-}</textarea>
			</td>
			<td class="inputTip">
				{-:@G_CONTENT_TIP-}
			</td>
		</tr>
		<tr>
			<td class="inputTitle">{-:@REPLY-} <span class="text-muted text-normal">{-:@G_REPLY_TIP-}</span></td>
			<td class="inputTitle">{-:@REPLY_TIME-}</td>
		</tr>
		<tr>
			<td class="inputArea">
				<textarea class="control-input" name="g_reply" style="width:480px;height:105px;">{-:$_GI['g_reply']-}</textarea>
			</td>
			<td class="inputArea">
				{-if:!empty($_GI['g_reply'])-}
					{-:$_GI['g_reply_time']|date~C('APP.TIME_FORMAT'),@me-}
				{-:/if-}
			</td>
		</tr>
	</table>
</div>
<div id="operation" class="margin">
	<input name="timeKey" type="hidden" value="{-:$_TK['timeKey']-}">
	<input name="token" type="hidden" value="{-:$_TK['token']-}">
	<input type="hidden" value="{-:$_GI['guestbook_id']-}" name="guestbook_id">
	<span class="btn btn-info submit" action="{-url:admin@guestbook/edit_guestbook_do-}" to="#formEdit">{-:@SUBMIT-}</span>
	<input class="btn" type="reset" value="{-:@RESET-}">
	<a class="btn" href="{-url:admin@guestbook/list_guestbook-}">{-:@BACK-}</a>
</div><!--/#operation-->
</form>

</div>
<script src="{-:*__RES__-}js/loga.js"></script>
<script src="{-:*__RES__-}js/jquery.js"></script>
<script src="{-:*__RES__-}fea/js/fea.min.js"></script>
<script src="{-:*__STYLE__-}js/common.js"></script>
<script src="{-:*__STYLE__-}js/admin.js"></script>
</body>
</html>