<!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=utf-8" />
<title><?php echo $channel['meta_title']?$channel['meta_title']:$channel['name']; ?> - <?php echo $meta['meta_title']; ?></title>
<meta name="description" content="<?php echo $channel['meta_description']?$channel['meta_description']:$channel['name']; ?>" />
<meta name="keywords" content="<?php echo $channel['meta_keywords']?$channel['meta_keywords']:$channel['name']; ?>" />
<link href="<?php echo $conf['weburl'];?>/themes/<?php echo $skin;?>/css/gnoyuhs.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="<?php echo $conf['weburl'];?>/themes/<?php echo $skin;?>/css/shijian.js"></script>
<link href="<?php echo $conf['weburl'];?>/js/search.css" type="text/css" rel="stylesheet" />
</head>
<body>
<?php include("header.php"); ?>
<div class="wrapper">
<div class="main">
<div class="crumbs"><a href="<?php echo $menu['index_url'];?>"><?php echo $lang['home'];?></a> &gt; <?php echo $nav;?></div>
<div class="right">
<div class="page">
<div class="maintitle"><p><?php echo $channel['name'];?></p></div>
            <?php
			if ($channel['sta']==1) {
			?>
			<div class="list">
			<?php echo $channel['description']; ?>
			</div>
			<?
			}elseif ($channel['sta']==0) {
				if ($content){
			?>
			<div class="list">
				<ul>
				<?php foreach ($content as $key => $value)  { ?>
				<li>
			
				<p><a href="<?php echo $value['content_url'];?>" title="<?php echo $value['name'];?>"><?php echo $value['return_name'];?></a>
				<span style="float:right"><?php echo $value['pubdate1'];?></span>
</p>
				<?php echo csubstr($value['description'],200);?>
				[<a href="<?php echo $value['content_url'];?>"><?php echo $lang['view_details'];?></a>] <?php if ($value['filetype']=='file'){ ?>[<a href="<?php echo $value['filename'];?>"><?php echo $lang['file_down'];?></a>]<?php } ?></li>
				<?php } ?>
				</ul>
				<div class="function">
					<?php echo $page;?>
				</div>
			</div>
				<?
				}
			}else {
				if ($content){
			?>
			<div class="cpics">
				<ul>
				<?php foreach ($content as $key => $value)  { ?>
				<li>
				<p><?php if ($value['small_image']!=""){ ?>
				<a href="<?php echo $value['content_url'];?>" title="<?php echo $value['name'];?>"><img src="<?php echo $value['small_image']; ?>" border="0" alt="<?php echo $value['name'];?>" /></a>
				<?php }?></p>
				<span><a href="<?php echo $value['content_url'];?>" title="<?php echo $value['name'];?>"><?php echo $value['return_name'];?></a></span>
				<?php echo $value['description'];?>
				</li>
				<?php } ?>
				</ul>
				<div class="function">
					<?php echo $page;?>
				</div>
			</div>
				<?
				}
			}
			?>
        </div>
	</div>
	<div class="left"><?php include("left.php"); ?></div>
	<div class="clear"></div>
	<div class="mainfoot"></div>	
</div>
</div>
<?php include("footer.php"); ?>
</body>
</html>