<?php die;?><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-cn" />
<title><!--{$smarty.const.MICE_TITLE}--></title>
<base href="<!--{$smarty.const.MICE_URL}--><!--{$smarty.const.MICE_TPL}-->/admin/" />
<link href="css/Default.css" rel="stylesheet" type="text/css" />
<link href="css/fieldset.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
var baseurl = '<!--{$smarty.const.MICE_URL}--><!--{$smarty.const.MICE_TPL}-->/admin/';
</script>
<script type="text/javascript" src="js/Main.js"></script>
</head>

<body>
<table width="100%" border="0" cellspacing="6" cellpadding="0" style="border-collapse: separate; border-spacing: 6px;">
      <tr valign="top">
        <td>
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="blockTable">
            <tr>
			  <td width="100%" style="padding:6px 10px;" class="blockTd">&nbsp;</td>
            </tr>
			<tr>
              <td style="padding-top:0px;padding-left:6px;padding-right:6px;padding-bottom:8px;">
<!--内容开始-->
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="860" align="center" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#D5D5D5">
      <tr>
        <td height="28" bgcolor="#F9F9F9">&nbsp;<B>留言标签</B></td>
      </tr>
      <tr>
        <td height="28" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="28" class="bottomline" width="200" valign="top">&nbsp;撰写留言标签</td>
    <td height="28" class="bottomline">
&ltscript language="JavaScript"><br>
function CheckGBForm()<br>
{<br>
 if (document.gbform.name.value.length == 0)<br>
 {<br>
  alert("姓名不能为空！");<br>
  document.gbform.name.focus();<br>
  return false;<br>
 }<br>
<br>
 if (document.gbform.title.value.length == 0)<br>
 {<br>
  alert("标题不能为空！");<br>
  document.gbform.title.focus();<br>
  return false;<br>
 }<br>
<br>
 if (document.gbform.checkcode.value.length == 0)<br>
 {<br>
  alert("验证码不能为空！");<br>
  document.gbform.checkcode.focus();<br>
  return false;<br>
 }<br>
  return true;
}<br>
&lt/script>
<br><br>
	&ltform id="gbform" name="gbform" method="post" action="" onsubmit="return CheckGBForm()"><br>
			&lt!--{if $name==''}--><br>
			姓名:&ltinput name="name" type="text" size="50" maxlength="50"/><br>
			&lt!--{else}--><br>
			&ltinput name="name" type="hidden" value="&lt!--{$name}-->"/><br>
			&lt!--{/if}--><br>
			标题:&ltinput name="title" type="text" size="50" maxlength="250" /><br>
            内容:&lt!--{$editor}--><br>
            联系方式:&ltinput name="email" type="text" size="50" maxlength="200" />&nbsp;(如Email:cms@micecms.com;QQ:78825278)<br>
			验证码:&ltinput name="checkcode" type="text" size="30" maxlength="4" />&lt
			img src="&lt!--{$checkcode}-->" onClick="this.src=this.src+'/'" title="看不清?点击图片更新！"/><br>
			&ltinput type="submit" name="Submit" value="提交" /><br>
			&ltinput type="reset" name="Submit2" value="重置" /><br>
	&lt/form>
	</td>
  </tr>
  <tr>
    <td height="28" class="bottomline" width="200">&nbsp;</td>
    <td height="28" class="bottomline">
	<b>适用范围：</b>guestbook.php页面<br>
	<b>参数说明：</b><br>
	<font color="red">&lt!--{if $name==''}--><br>
			姓名:&ltinput name="name" type="text" size="50" maxlength="50"/><br>
			&lt!--{else}--><br>
			&ltinput name="name" type="hidden" value="&lt!--{$name}-->"/><br>
			&lt!--{/if}-->：</font>判断是否是已登录会员，已登录会员无需填写用户名<br>
	<font color="red">&lt!--{$editor}-->：</font>内容框，会调用一个可视化编辑器<br>
	<font color="red">注：</font>可参考guestbook.php页面
	</td>
  </tr>
  <tr>
    <td height="28" class="bottomline" width="200" valign="top">&nbsp;获取最新的留言列表</td>
    <td height="28" class="bottomline">
	&lt!--{foreach from=$FormRS item=form name=counter}--><br>
	&lta href="&lt!--{$smarty.const.MICE_URL}-->index.php/guestbooklist/&lt!--{$form->getFormId()}-->">&lt!--{'micefun'|MiceCutStr:$form->getTitle():12:''}-->&lt/a><br>
	&lt!--{/foreach}-->
	</td>
  </tr>
  <tr>
    <td height="28" class="bottomline" width="200">&nbsp;</td>
    <td height="28" class="bottomline">
	<b>功能说明：</b>显示最新的20条留言<br>
	<b>适用范围：</b>guestbook.php页面和guestbooklist.php页面
	</td>
  </tr>
  <tr>
    <td height="28" class="bottomline" width="200" valign="top">&nbsp;显示留言内容</td>
    <td height="28" class="bottomline">
	留言标题：&lt!--{$FormRS->getTitle()}--><br>
	留言人：&lt!--{$FormRS->getName()}--><br>
	留言时间：&lt!--{'micefun'|Num2Time:$FormRS->getCreatedat()}--><br>
	留言内容：&lt!--{'micefun'|MiceRestoreQuote:$FormRS->getContent()}--><br>
	管理员回复：&lt!--{'micefun'|MiceRestoreQuote:$FormRS->getRe()}-->
	</td>
  </tr>
  <tr>
    <td height="28" class="bottomline" width="200">&nbsp;</td>
    <td height="28" class="bottomline">
	<b>功能说明：</b>显示留言内容<br>
	<b>适用范围：</b>guestbooklist.php页面
	</td>
  </tr>
</table>
	</td>
   </tr>
</table>
<!--内容结束-->
		</td>
		</tr>
	</table></td>
  </tr>
</table>
</body>
</html>
