<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset={sys_charset}">
<title>guestbook edit</title>
<link href="{adminStylePath}style/common.css" rel="stylesheet" type="text/css">
<LINK href="{adminStylePath}style/calendar.css" type="text/css" rel="stylesheet">
<script language="javascript" src="{adminStylePath}js/validate.js"></script>
<script language="javascript" src="{adminStylePath}js/common.js"></script>
<script language="javascript" src="{adminStylePath}js/calendar.js"></script>
<script language="javascript" src="{adminStylePath}js/calendar-setup.js"></script>
<script language="javascript" src="{adminStylePath}js/calendar-en.js"></script>
</head>

<body>
<table class="nav_table" cellpadding="0" cellspacing="0">	
	<tr>
		<td class="nav_td">{menu_nav}</td>
	</tr>	
</table>
<table class="toolbar_table" cellpadding="0" cellspacing="0">
	<tr>
		<td class="toolbar_td">{toolbar}</td>
	</tr>
</table>
<div class="line_space"><img src="{adminStylePath}images/blank.gif"></div>
<table cellpadding="0" cellspacing="0" class="edit_tb">
  
  <form name="editForm" method="post" action="" >
  	<input type="hidden" name="selectid" id="selectValue" value="{selectid}">
    <input type="hidden" name="selectValue" id="selectValue" value="{selectid}">
    <input type="hidden" name="edittype" value="">
    <input type="hidden" name="replyuid" value="{replyuid}">

    <tr id="area_base" style="display:"> 
      <td colspan="2">
      	<table cellpadding="0" cellspacing="0" width="100%" border="0" >	
			    <tr> 
			      <td width="20%" class="edit_td_txt">标题:</td>
			      <td width="80%"  class="edit_td_input">
			      	<input type="text" name="title" class="input_text" size="40" value="{title}"  require="false" dataType="LimitB" min="1" max="255"  msg="[1,255]个字符之内">
			      </td>
			    </tr>  
			    <tr> 
			      <td width="20%" class="edit_td_txt">内 容:</td>
			      <td width="80%"  class="edit_td_input">
			      	<textarea name="content" class="input_textarea" rows="6" style="width:90%">{content}</textarea>
			      </td>
			    </tr>
                 <tr> 
			      <td width="20%" class="edit_td_txt">回复内容:</td>
			      <td width="80%"  class="edit_td_input">
			      	<textarea name="replycontent" class="input_textarea" rows="6" style="width:90%">{replycontent}</textarea>
			      </td>
			    </tr>
			    <tr> 
			    	<td colspan="2" width="100%">
			    		<table cellpadding="0" cellspacing="0" width="100%" border="0">	
								<tr>
									<td width="20%" class="edit_td_txt">发布人:</td>
			      			<td width="20%" class="edit_td_input"><input type="text" name="nickname" class="input_text" size="20" value="{nickname}"  require="true" dataType="LimitB" min="1" max="255"  msg="[1,255]个字符之内"></td>
									<td width="20%" class="edit_td_txt">添加时间:</td>
						      <td class="edit_td_input">{addtime}</td>		     
								</tr>	
							</table>
			    	</td>
			    </tr>
                <tr> 
			      <td width="20%" class="edit_td_txt">联系方式:</td>
			      <td width="80%"  class="edit_td_input"><input type="text" name="contact" class="input_text" size="40" value="{contact}"  require="false" dataType="LimitB" min="1" max="255"  msg="[1,255]个字符之内"></td>
			    </tr>
                 <tr> 
			      <td width="20%" class="edit_td_txt">Email:</td>
			      <td width="80%"  class="edit_td_input"><input type="text" name="email" class="input_text" size="40" value="{email}"  require="false" dataType="LimitB" min="1" max="255"  msg="[1,255]个字符之内"></td>
			    </tr>
			    <tr> 
			    	<td colspan="2" width="100%">
			    		<table cellpadding="0" cellspacing="0" width="100%" border="0">	
								<tr>
									<td width="20%" class="edit_td_txt">回复人:</td>
			      			<td width="20%" class="edit_td_input"><input type="text" name="replynickname" class="input_text" size="20" value="{replynickname}"  require="false" dataType="LimitB" min="1" max="255"  msg="[1,255]个字符之内"></td>
									<td width="20%" class="edit_td_txt">回复时间:</td>
						      <td class="edit_td_input">
                              <input type="text" name="replytime" id="replytime" class="input_text" value="{replytime}">
						      	<script>
                                    function catcalc(cal)
                                    {
                                        document.getElementById("replytime").value = cal.date.print("%Y-%m-%d %H:%M:%S");
                                    }
                                    Calendar.setup({
                                        inputField: "replytime",
                                        ifFormat:"%Y-%m-%d %H:%M:%S",
                                        onUpdate:catcalc,
                                        showsTime:true
                                    });
								</script>
                              </td>		      
								</tr>	
							</table>
			    	</td>
			    </tr>
                <tr id="template_layout"> 
			      <td width="20%" class="edit_td_txt">板块位置:</td>
			      <td width="80%" class="edit_td_input">
			      	<table width="100%" cellpadding="0" cellspacing="0" border="0">	
								<tr>
									<td>
										{eifrtf_layout_select}
									</td>
			      			<td>
			      				<input type="button" name="btn_add" value="添加..." onClick="openSelectWin('../mod_template/template_layout_select.php?act=insert&type=0')">
			      				<input type="button" name="btn_delete" value="删除所选项" onClick="referencebrowser_removeReference('layout_id',1)">
										<input type="button" name="btn_preview" value="预览所选项" onClick="referencebrowser_openBrowser('layout_id','../mod_template/template_view.php?layout_id=')">
										<input type="button" name="btn_selectAll" value="全选" onClick="referencebrowser_selectAllReference('layout_id',1)">
			      			</td>     
								</tr>	
							</table>
			      </td>
			    </tr>
                <tr> 
			      <td width="20%" class="edit_td_txt">标 记:</td>
			      <td width="80%"  class="edit_td_input">{flag}</td>
			    </tr>
      	</table>
      </td>
    </tr>    
    
  </form>
</table>

</body>
</html>

