<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><?php echo $top_title ?> - <?php echo _conf( 'WEB_SITE_NAME' ) ?></title>
<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 valign="top">
		<!-- main -->
	<h2><?php echo _conf( 'WEB_MODULE_GUIDE' ) ?>　
    </h2>
    <br/>
	<p align="center"  >
	<table align="center" class="info_box" style="width:400px" cellspacing="5" cellpadding="5"><tr><td class="sbjtd">
    <p align="center" class="pl">
	<?php 
	if( $sinfo = get_module_search_fields_by_id( $_REQUEST['id'] ) )
	{
		echo join( '、' , $sinfo );
	}
	?></p><input name="cat" type="hidden" value="1001"/><p align="center"><input name="search_text" type="text" size="36" maxlength="72"" value="" id="page_focus"/>
       <input name="search_submit" type="submit" value="搜索"/>
     </p></td></tr></table></p>
    &gt; <a href="?a=module_insert&id=<?php echo $_REQUEST['id'] ?>">添加<?php echo _conf( 'WEB_SITE_NAME' ) ?>没有的<?php echo $m['dy_module_content'] ?></a>
	<br/>
	 <h2>最有用的新评论　· · · · · ·　
    <span class="pl">( <a href="/review/latest/book/">浏览所有新的评论</a> )</span></h2>
		
		</td>
		<td width="300px" class=top>
		<!-- right -->
		<h2>标签汇总　· · · · · ·　
    </h2><?php $tag_data = array_chunk( $tags , 10 ); ?>
	<?php foreach( $tag_data as $tag_line ): ?>
    <div style="width:135px;float:left;" class="explain"><div class="indent"><span style="line-height:25px;font-size:12px;border-bottom:1px dotted #DDDDDD;">
    <?php foreach( $tag_line as $tag ): ?>
	<a href="?a=tag_list&m=<?php echo $_REQUEST['id'] ?>&tag=<?php echo  $tag['tag'] ; ?>"><?php echo $tag['tag']; ?></a>(<?php echo $tag['c']; ?>)<br/>
	<?php endforeach; ?>
    </span></div>
    </div>
	<?php endforeach; ?>
    
	
	
	<br clear="all"/><div class="pl2" align="right">&gt; <a href="/book/tag/">浏览全部标签</a></div>
		<!-- 新内容呈现模版开始 -->
		<?php show_module_view(); ?>
		<!-- 新内容呈现模版结束 -->

		</td>
	</tr>
</table>
<?php  
	include_once( ROOT . 'res/tpl/footer.tpl.html' );
?>
</body>

</html>