<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><?php echo _conf( 'WEB_SITE_SEO_TOP_WORD' ) ?><?php echo $top_title ?> - <?php echo _conf( 'WEB_SITE_NAME' ) ?></title>
<meta name="keywords" content="<?php echo _conf( 'WEB_SITE_SEO_META_KEYWORD' ) ?>">
<meta name="description" content="<?php echo _conf( 'WEB_SITE_SEO_META_DESCRIP' ) ?>">
<?php echo _conf('WEB_SITE_SEO_HEADER_CODE'); ?>
<link href="res/css/douya.css" rel="stylesheet" type="text/css">
</head>

<body>

<?php  
	include_once( ROOT . 'res/tpl/header.tpl.html' );
?>
<table border="0" width="98%" id="table1" cellspacing="5" cellpadding="5" height="400px" align="center">
	<tr>
		<td class="top">
		<h2>感谢参与<?php echo $plan ?>[<a href="?a=riki&tag=<?php echo urlencode( $plan ) ?>">?</a>]</h2>
		<span class="explain"><?php echo $plan ?>鼓励用户对网站内容进行补全和监督而使<?php echo _conf( 'WEB_SITE_NAME' ) ?>每个成员受益。</span>
		
		<?php if( is_array( $suggest ) ): ?>
		<p><a href="#my">&gt; 直接提交我的建议</a></p>
		<p class="h3">最近的5个建议 </p>
		<?php foreach( $suggest as $item ): ?>
		<img src="<?php echo show_user_small_icon( $item['dy_uid'] ) ?>">&nbsp;&nbsp;<a href="?a=pepole&uid=<?php echo $item['dy_uid'] ?>"><?php echo $item['dy_nickname'] ?></a> 在 <?php echo $item['dy_add_time'] ?> 对此页面建议 [ <?php $st = get_suggest_type(); echo $st[$item['dy_type']] ?> ] [ <?php $ss = get_suggest_status(); echo $ss[$item['dy_status']] ?> ]<br/>
		<textarea style="width:500px;height:80px"><?php echo htmlspecialchars( $item['dy_content'] ) ?></textarea>
		<br/><br/>
		<?php endforeach; ?>
		<?php endif; ?>
		<!-- main --><a name="my"></a>
		<p class="h3">我的建议</p>
		<?php //print_r( $_REQUEST ); ?>
		<form action="?a=to_admin_save" method="POST" name="to_admin_form">
		<select name="dy_type">
		<?php 
		$types = get_suggest_type();
		if( is_array( $types ) )
		{
			foreach( $types as $key=>$type )
			{
				if( $key == $_REQUEST['type']  )
				{
					echo '<option value="' . $key . '" selected>' . $type . '</option>';
				}
				else
				{
					echo '<option value="' . $key . '" >' . $type . '</option>';
				
				}
			}
		}
		
		?>
		</select> 相关页面为 <a href="<? echo $_REQUEST['forward'] ?>" target="_blank"><? echo $_REQUEST['forward'] ?></a><br/><br/>
		<TEXTAREA NAME="dy_content" ROWS="10" COLS="80" >请在这里进行详细的描述</TEXTAREA><INPUT TYPE="hidden" name="dy_url" value="<?php echo $_REQUEST['forward'] ?>">
		<br/><br/><input type="submit" value="报告信息" class="dbutton">
		</form><?php echo $vf_js; ?>
		
		
		</td>
		<td width="300px" class=top>
		<!-- right -->
		
		</td>
	</tr>
</table>
<?php  
	include_once( ROOT . 'res/tpl/footer.tpl.html' );
?>
</body>

</html>