<!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=<?php echo SYS_CHARSET ?>" />
<title><?php echo $article_array['title'] ?> _<?php echo $sys_title ?></title>
<meta name="keywords" content="<?php echo $article_array['title'] ?>" />
<meta name="description" content="<?php echo $article_array['title'] ?>" />
<link rel="stylesheet" type="text/css" href="<?php echo SYS_FRONT_STYLE_PATH?>style/style.css" />
<script type="text/javascript" src="<?php echo SYS_FRONT_STYLE_PATH?>js/common.js"></script>

<base target="_self" />
</head>

<body>
<?php include("inc_topbar.tpl.html"); ?>
<div id="wrap">
<!--Content, Left, Right, Middle, Outer, Advertisement--> 
<!--Header-->
<div id="header">
<?php 
include("inc_pagetitle.tpl.html"); 
include("inc_mainmenu.tpl.html"); 
include("inc_submenu.tpl.html"); 
include("inc_navigation.tpl.html"); 
?>
</div>
<!--/Header-->

<!--Content-->

<!--C1 layout-->
<div class="contentR">
<!--C1-R layout-->	
<div class="sideR">
<!-- SubChannel -->
<!-- /SubChannel -->
<div id="hotview" class="sideblock">
<h3><?php echo $layout_title_array['hotview'] ?></h3>
<div style="height: 203px;">
<ul class="msgtitlelist" >
<?php
$hotview_array=getLayoutn('hotview');
foreach($hotview_array as $row){
?>
<li><a href='article.php?id=<?php echo $row['id'] ?>' target='_self'><?php echo $row['title'] ?></a></li>
<?php } ?>
</ul>
</div>
</div>

</div>
<!--/C1-R layout-->	

<!--C1-L layout-->
<div class="mainarea">
<div class="category">
<h3><strong><?php echo $lang['layout_id_0_title'] ?></strong></h3>
<?php
$list_article_array=getSubjectList();
if($list_article_array) :
?>
<ul class="msgtitlelist">
<?php
foreach($list_article_array['list'] as $row){
$issuetime = getDateTimeMk_MD($row['issuetime']);
?>
<li><cite><?php echo $issuetime ?></cite><a href="article.php?id=<?php echo $row['id'] ?>"><?php echo $row['title'] ?></a></li>
<?php
}
?>
</ul>
<div class="pages">
<?php echo $list_article_array['page'] ?>
</div>
<?php endif; ?>
</div>
</div>
<!--/C1-L layout-->
</div>
<!--/C1 layout-->

<!--/Content -->

<?php include("inc_footer.tpl.html"); ?> 
</body>
</html>
