
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title><?php option_info('site.name'); ?></title>
<link rel="shortcut icon" href="<?php option_info('site.url'); ?>favicon.ico" />
<link href="<?php stylesheet_url('css/common.css'); ?>" rel="stylesheet">
<link href="<?php stylesheet_url('css/index.css'); ?>" rel="stylesheet">
<link href="<?php stylesheet_url('css/feedback.css'); ?>" rel="stylesheet">
</head>
<body >
<?php load_template('header.php'); ?>
<div class="class_wraptop">
	<p><strong>当前位置：</strong><a href="<?php option_info('site.url'); ?>">首页</a><font style="color: #666;">&gt;&nbsp;反馈</font></p>
</div>

<div id ="content">
<?php if ($succeed) : ?>
	<div class="title">反馈成功</div>
		<div class="contentbox"><div class="font14 wel gray6">亲爱的<?php option_info('site.name'); ?>用户，感谢您对我们的支持！</div></div>
	</div>
<?php else : ?>
	<div class="title">意见反馈</div>
		<div class="contentbox">
			<form id="myfeedback" action="<?php create_url('feedback/list'); ?>"  method="post">
			<div class="font14 wel gray6">亲爱的<?php option_info('site.name'); ?>用户</div>
			<div class="gray6">请在下面填写您遇到的问题或意见建议，并留下您的联系方式，感谢您对<?php option_info('site.name'); ?>的支持!</div>
			<textarea class="u-ipt" id="body" name="body" style="width:570px;height:155px;margin-top: 15px;"></textarea>
			<span class="tip-error nocont">*此处不能为空</span>
			<div class="mail-cont">
				<span class="font14 contip">联系方式：</span>
				<input class="u-ipt" name="contact" id="contact" value="电话/邮箱/QQ" />&nbsp;
				<span class="font14 contip">验证码：</span><input type="text" class="u-ipt u-ipt-1<?php echo has_errors('verifycode') ? ' u-ipt-err' : ''; ?>" id="verifycode" name="verifycode"/>
				<img class="code-img" src="<?php create_url('captcha', array('_t' => time())); ?>" id="captcha" alt="验证码"/>
				<a href="javascript:void(0);" onclick="javascript:document.getElementById('captcha').src = '<?php create_url('captcha', array('_t' => time())); ?>'.replace(/(_t\s*=[\s]*)([^\s\&]+)/g, '_t=' + Math.random());return false;" class="f-ib">换一张</a>
			</div>
			<div class="fb-content" ><div id="sub"></div></div>
			</form>
		</div>
	</div>
<?php endif; ?>
</div>

<?php load_template('footer.php'); ?>
<script type="text/javascript" src="<?php active_theme_url(); ?>jquery-1.4.3.min.js"></script>
<script type="text/javascript" src="<?php active_theme_url(); ?>jquery.boxy.js"></script>
<script type="text/javascript" src="<?php active_theme_url(); ?>jquery.autocomplete.js"></script>
<script type="text/javascript" src="<?php active_theme_url(); ?>common.js"></script>
<script type="text/javascript" src="<?php active_theme_url(); ?>feedback.js"></script>

</body>
</html>
