<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' );
	//include_once( ROOT . 'meta/city.meta.php' );
?>
<table border="0" width="98%" id="table1" cellspacing="5" cellpadding="5" height="400px" align="center">
	<tr>
		<td valign="top">
		<div class="indent">
		
		<!-- main -->
		([foreach from=$dy_module_action item=item])
		<?php 
		if( is_array( $data = get_content_info_by_vote_text( ([$module_id]) ,  $_SESSION['dy_uid'] ,  0 , 12 ,   '([$item])' ) )  ):
		?>
		<h2>我([$item])　· · · · · ·　</h2>
		<?php
		$lines = array_chunk( $data , 5 );
		?>
		<table>
		<?php
		foreach( $lines as $line ):
		?>
		<tr>
		<?php
		foreach( $line as $item ):
		?>
		<td>
			([$template_list])
		</td>
		<?php endforeach;
		?>
		<tr/>
		<?php
		endforeach;
		?>
		</table>
		    <!--<p class="pl">&gt; <a href="?a=">所有([$item])的([$dy_module_content])</a></p></div><br/> -->
		<?php
		endif;
		?>
        
		([/foreach])
		</div>

		</td>
		<td width="300px" class=top>
		<!-- right -->
		<p align="center"  ><form action="?u=([$dy_module_en_name])_list" method="GET">
	<table align="center" class="info_box" cellspacing="5" cellpadding="5"><tr><td class="sbjtd">
    <p align="center" class="pl">
	<?php 
	if( $sinfo = get_module_search_fields_by_id( ([$module_id]) ) )
	{
		echo join( '、' , $sinfo );
	}
	?></p><input name="cat" type="hidden" value="1001"/><p align="center"><input name="search_text" type="text" size="20" maxlength="72"" value="" id="search_text"/>
       <input name="search_submit" type="submit" value="搜索"/><INPUT TYPE="hidden" name="u" value="([$dy_module_en_name])_list">
     </p></td></tr></table></p></form>
		
		</td>
	</tr>
</table>
<?php  
	include_once( ROOT . 'res/tpl/footer.tpl.html' );
?>
</body>

</html>