<?php die;?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<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>
<meta name="keywords" content="<!--{$smarty.const.MICE_TITLE}-->,在线留言,<!--{$smarty.const.MICE_KW}-->" />
<meta name="description" content="在线留言,<!--{$smarty.const.MICE_DP}-->" />
<meta http-equiv="imagetoolbar" content="no" />
<base href="<!--{$smarty.const.MICE_URL}-->" />
<link href="css/global.css" rel="stylesheet" type="text/css" />
<link href="css/common.css" rel="stylesheet" type="text/css" />
<link href="<!--{$smarty.const.MICE_URL}--><!--{$smarty.const.MICE_TPL}-->/index/css/theme<!--{'micefun'|MiceSession:'index_theme'}-->.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/AC_RunActiveContent.js"></script>
<script type="text/javascript" src="js/default.js"></script>
<script language="JavaScript">
function CheckGBForm()
{
 if (document.gbform.name.value.length == 0)
 {
  alert("姓名不能为空！");
  document.gbform.name.focus();
  return false;
 }

 if (document.gbform.title.value.length == 0)
 {
  alert("标题不能为空！");
  document.gbform.title.focus();
  return false;
 }

 if (document.gbform.checkcode.value.length == 0)
 {
  alert("验证码不能为空！");
  document.gbform.checkcode.focus();
  return false;
 }

  return true;
}
</script>
<link rel="icon" href="<!--{$smarty.const.MICE_URL}-->favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="<!--{$smarty.const.MICE_URL}-->favicon.ico" type="image/x-icon" />
</head>

<body>
<!--{include file="index/header.php"}-->
<div id="midcon">
  <div id="midleft">
    <table width="750" height="36" border="0" cellpadding="0" cellspacing="0" id="midleftBt">
      <tr>
        <td class="midlBt"><img src="imgs/arr4.gif" width="15" height="15" align="absmiddle" style="margin:auto 5px auto 8px;" />在线留言</td>
        <td align="right" style="padding-right:8px; color:#999999;"><a href="<!--{'micefun'|GetUrl:'index'}-->">首页</a>—<a href="<!--{$smarty.const.MICE_URL}-->index.php/guestbook">在线留言</a></td>
      </tr>
    </table>	
	
    <table width="720" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:18px;">
      <tr>
        <td width="720" align="left" valign="top"><table width="720" border="0" cellpadding="7" cellspacing="0" class="protable">
            <form id="gbform" name="gbform" method="post" action="" onsubmit="return CheckGBForm()">
			<!--{if 'micefun'|MiceSession:'mu__userid'>0}-->
			<input name="name" type="hidden" value="<!--{'micefun'|MiceSession:'mu__loginname'}-->"/>
			<!--{else}-->
			<tr>
              <td width="20%" align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">姓名:&nbsp;(<font color='red'>*</font>)</td>
              <td width="80%" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><input name="name" type="text" size="50" maxlength="50"/></td>
            </tr>	
			<!--{/if}-->
			<tr>
              <td width="20%" align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">标题:&nbsp;(<font color='red'>*</font>)</td>
              <td width="80%" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><input name="title" type="text" size="50" maxlength="250" /></td>
            </tr>
			<tr>
              <td width="20%" align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">内容:</td>
              <td width="80%" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><!--{$editor}--></td>
            </tr>
			<tr>
              <td width="20%" align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">联系方式:</td>
              <td width="80%" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><input name="email" type="text" size="50" maxlength="200" />&nbsp;(如Email:cms@micecms.com;QQ:78825278)</td>
            </tr>
			<tr>
			  <td align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">验证码:&nbsp;(<font color='red'>*</font>)</td>
			  <td valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><input name="checkcode" type="text" size="30" maxlength="4" />
		      <img width="80" height="20" src="<!--{$checkcode}-->" onClick="this.src=this.src+'/'" title="看不清?点击图片更新！"/></td>
		    </tr>
			<tr>
			  <td align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">&nbsp;</td>
			  <td valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">&nbsp;</td>
		    </tr>
			<tr>
			  <td align="right" valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;">&nbsp;</td>
			  <td valign="top" style="line-height:20px; padding-left:12px; padding-right:12px;"><input type="submit" name="Submit" value="提交" />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" name="Submit2" value="重置" /></td>
		    </tr>
			</form>
        </table></td>
      </tr>
    </table>

    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="30">&nbsp;</td>
      </tr>
    </table>
  </div>
  <div id="midright">
    <div class="mrBT">最新留言</div>
	<div id="mrNavCon">
		<!--{foreach from=$FormRS item=form name=counter}-->
			<a href="<!--{$smarty.const.MICE_URL}-->index.php/guestbooklist/<!--{$form->getFormId()}-->" class="quk"><!--{'micefun'|MiceCutStr:$form->getTitle():12:''}--></a>
		<!--{/foreach}-->
	</div>
  <div class="mrBT" style="margin-top:20px;">服务项目</div>
		<div id="mrSCon">
		<!--{assign var=subsql value='WHERE category_id LIKE \'%,120,%\' ORDER BY istop DESC,createdat DESC'}-->
		<!--{foreach from='micefun'|ArticlePagerList:$subsql:4:1 item=Article name=counter}-->
			<!--{assign var=aid value='#'|cat:$Article->getArticleId()}-->
			<a href="<!--{'micefun'|ListUrl:120:1:$aid}-->" class="quk"><!--{$Article->getTitle()}--></a>
		<!--{/foreach}-->
	</div>
	<form action="<!--{$smarty.const.MICE_URL}-->index.php/poll" method="post" name="formpoll" id="formpoll">
	<div class="mrBT" style="margin-top:20px;"><!--{'micefun'|PollTitle:1}--></div>
		<div id="mrSCon">
		<input type="hidden" name="pollid" id="pollid" value="1">
		<!--{assign var=checks value='micefun'|PollChecks:1}-->
		<!--{foreach from='micefun'|PollList:1:0:5 item=poll name=counter}-->
			<label class="quk2"><input type="<!--{$checks}-->" name="poll<!--{if $checks=='checkbox'}-->[<!--{$poll->getPollId()}-->]<!--{/if}-->" id="poll<!--{if $checks=='checkbox'}-->[<!--{$poll->getPollId()}-->]<!--{/if}-->" value="<!--{$poll->getPollId()}-->" <!--{if $poll->getIsdefault()==0}-->checked<!--{/if}-->/><!--{$poll->getTitle()}--></label>
		<!--{/foreach}-->
		<div class="quk2"><input class="submit" type="submit" value="投票" /> <a href="<!--{$smarty.const.MICE_URL}-->index.php/pollresults/1">查看结果</a></div>
	</div>
	</form>
  </div>
  <div style="clear:both;"></div>
</div>
<!--{include file="index/footer.php"}-->
</body>
</html>