<!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=gb2312" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<base href="<?php echo $DIRCMS['site_url'];?>" />
<link href="template/<?php echo $DIRCMS['tpl_name'];?>/css/share.css" rel="stylesheet" type="text/css" />
<link href="template/<?php echo $DIRCMS['tpl_name'];?>/css/guestbook.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="images/js/jquery.min.js" type="text/javascript"></script>
<title>写留言</title>
</head>

<body>
<!-- 头部 -->
	<?php include template('head');?>
<!-- 正文 -->
	<div class="ads_960"><script language="javascript" src="<?php echo $DIRCMS[site_url];?>ads.js.php?id=8"></script></div>
	<div class="position"><?php echo $dir_postion;?></div>
	<div class="guestbook_content">
	<a href="guestbook/index.php">查看留言列表</a><br />
		<form action="" method="post" name="myform">		
			<table width="100%">
			<caption><strong>写留言</strong></caption>
				<tr><td  align="left">留言标题：</td><td width="82%">
				<input type="text" name="info[title]" class="input_text" size="40" />
				</td></tr>	
				<tr><td  align="left" valign="top">留言内容：</td><td width="82%">
				<input type="hidden" name="do_submit" value="1" />
				<input type="hidden" name="action" value="post" />		
				<?php echo $contentform;?>
				</td></tr>
				<tr><td  align="left">验 证 码：</td><td width="82%">
				<input type="text" name="chkcode" class="input_text" size="5" /> <img src="<?php echo $DIRCMS['site_url'];?>checkcode.php" onclick="this.src='<?php echo $DIRCMS[site_url];?>checkcode.php?id='+Math.random()*5;" style="cursor:pointer;" alt="验证码,看不清楚?请点击刷新验证码"/>
				</td></tr>	
				<tr><td></td><td  align="left"><input type="button" value="确 定" name="dosubmit" onclick="this.form.submit();" class="yl_btn" />
				&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" value="清 除" name="doreset" class="yl_btn" />
				</td></tr>
			</table>	
		</form>
	</div>
<!-- 底部 -->
	<?php include template('footer');?>
</body>
</html>