<!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><tpl>$class_array['class']['class_name']</tpl> - <tpl>WEB_NAME</tpl></title>
<meta name="keywords" content="<tpl>$class_array['class']['class_keywords']</tpl>" />
<meta name="description" content="<tpl>$class_array['class']['class_description']</tpl>" />
<link type="text/css" rel="stylesheet" href="<tpl>WEB_HOST</tpl>/templates/default/css/style.css" />
<link type="text/css" rel="stylesheet" href="<tpl>WEB_HOST</tpl>/templates/default/css/pages.css" />
<link type="text/css" rel="stylesheet" href="<tpl>WEB_HOST</tpl>/templates/default/css/ie.css" />
<script type="text/javascript" src="<tpl>WEB_HOST</tpl>/js/jquery/jquery.js"></script>
</head>

<body>
<div id="container">
		<tpl>include header.html</tpl><!-- end of header -->
    <div id="main">
    	<div class="right-main">
        	<h2><tpl>$list_article</tpl><!--文章列表--></h2>
            <div class="clear"></div>
            <div id="whereUR">
            	<tpl>$common_location</tpl><!--您所在的位置-->：<a href="<tpl>WEB_HOST</tpl>"><tpl>$common_index</tpl><!--首页--></a><tpl>foreach $class_menu as $v</tpl> > <a href="index.php?ctl=class&act=front_class&class_id=<tpl>$v['class_id']</tpl>"><tpl>$v['class_name']</tpl></a><tpl>/foreach</tpl>
            </div><!-- end of whereUR -->
            <div id="contentWrapper">
            	<ul id="articleList">
					<tpl>foreach $article_array as $val</tpl>
					<tpl>if RWRITE=='1'</tpl>
                	<li><a href="<tpl>WEB_HOST</tpl><tpl>ARTICLEURL</tpl><tpl>$val['article_id']</tpl>.html" target="_blank" alt="<tpl>$val['article_title']</tpl>" title="<tpl>$val['article_title']</tpl>"><tpl>if $val['article_title_color']!=''</tpl><font color="<tpl>$val['article_title_color']</tpl>"><tpl>/if</tpl><tpl>$val['article_title']</tpl><tpl>if $val['article_title_color']!=''</tpl></font><tpl>/if</tpl></a><span class="date"><tpl>date("Y-m-d",$val['article_time'])</tpl></span></li>
                	<tpl>else</tpl>
                	<li><a href="index.php?ctl=article&act=front_article_content&article_id=<tpl>$val['article_id']</tpl>" target="_blank" alt="<tpl>$val['article_title']</tpl>" title="<tpl>$val['article_title']</tpl>"><tpl>if $val['article_title_color']!=''</tpl><font color="<tpl>$val['article_title_color']</tpl>"><tpl>/if</tpl><tpl>$val['article_title']</tpl><tpl>if $val['article_title_color']!=''</tpl></font><tpl>/if</tpl></a><span class="date"><tpl>date("Y-m-d",$val['article_time'])</tpl></span></li>
					<tpl>/if</tpl>
                	<tpl>/foreach</tpl>
                </ul><!-- end of articleList -->
                <div class="pagebar">
					<tpl>$show_page</tpl>
                </div><!-- end of pagebar -->
                <div id="contentWrapperTop"></div>
                <div id="contentWrapperBottom"></div>
            </div>
            <!-- end of contentWrapper -->
        </div><!-- end of right-main -->
        <div class="left-side">
            <div class="left-article">
            	<h3><tpl>$list_class</tpl><!--内容分类--></h3>
            	<ul class="left-article-list">
					<tpl>if $class_array['top_class']!=''</tpl>
					<tpl>foreach $class_array['top_class'] as $val</tpl>
					<tpl>if RWRITE=='1'</tpl>
                    <li><a href="<tpl>WEB_HOST</tpl><tpl>CLASSURL</tpl><tpl>$val['class_id']</tpl>.html" title="<tpl>$val['class_name']</tpl>" ><tpl>$val['class_name']</tpl></a></li>
                    <tpl>else</tpl>
                    <li><a href="index.php?ctl=class&act=front_class&class_id=<tpl>$val['class_id']</tpl>" title="<tpl>$val['class_name']</tpl>" ><tpl>$val['class_name']</tpl></a></li>
					<tpl>/if</tpl>
                    <tpl>/foreach</tpl>
					<tpl>/if</tpl>
                    <li><tpl>$class_array['class']['class_name']</tpl>
						 <ul>
						 	<tpl>if $class_array['sun_class']!=''</tpl>
						 	<tpl>foreach $class_array['sun_class'] as $val</tpl>
						 	<tpl>if RWRITE=='1'</tpl>
                        	<li><a href="<tpl>WEB_HOST</tpl><tpl>CLASSURL</tpl><tpl>$val['class_id']</tpl>.html" title="<tpl>$val['class_name']</tpl>" ><tpl>$val['class_name']</tpl></a></li>
                        	<tpl>else</tpl>
                        	<li><a href="index.php?ctl=class&act=front_class&class_id=<tpl>$val['class_id']</tpl>" title="<tpl>$val['class_name']</tpl>" ><tpl>$val['class_name']</tpl></a></li>
							<tpl>/if</tpl>
                        	<tpl>/foreach</tpl>
							<tpl>/if</tpl>
                        </ul>
					</li>
                </ul><!-- end of left-article-list -->
            	<h3><tpl>$list_new_article</tpl><!--最新文章--></h3>
            	<ul class="left-article-list">
					<tpl>if $article_new_list!=''</tpl>
					<tpl>foreach $article_new_list as $val</tpl>
					<tpl>if RWRITE=='1'</tpl>
                	<li><a href="<tpl>WEB_HOST</tpl><tpl>ARTICLEURL</tpl><tpl>$val['article_id']</tpl>.html" target="_blank" title="<tpl>$val['article_title']</tpl>"><tpl>if $val['article_title_color']!=''</tpl><font color="<tpl>$val['article_title_color']</tpl>"><tpl>/if</tpl><tpl>$val['article_title']</tpl><tpl>if $val['article_title_color']!=''</tpl></font><tpl>/if</tpl></a></li>
                	<tpl>else</tpl>
                	<li><a href="index.php?ctl=article&act=front_article_content&article_id=<tpl>$val['article_id']</tpl>" target="_blank" title="<tpl>$val['article_title']</tpl>"><tpl>if $val['article_title_color']!=''</tpl><font color="<tpl>$val['article_title_color']</tpl>"><tpl>/if</tpl><tpl>$val['article_title']</tpl><tpl>if $val['article_title_color']!=''</tpl></font><tpl>/if</tpl></a></li>
					<tpl>/if</tpl>
                	<tpl>/foreach</tpl>
					<tpl>/if</tpl>
                </ul><!-- end of left-article-list -->
            	<h3><tpl>$list_hot_article</tpl><!--热门文章--></h3>
            	<ul class="left-article-list">
					<tpl>if $article_hot_list!=''</tpl>
					<tpl>foreach $article_hot_list as $val</tpl>
					<tpl>if RWRITE=='1'</tpl>
                	<li><a href="<tpl>WEB_HOST</tpl><tpl>ARTICLEURL</tpl><tpl>$val['article_id']</tpl>.html" target="_blank" title="<tpl>$val['article_title']</tpl>"><tpl>if $val['article_title_color']!=''</tpl><font color="<tpl>$val['article_title_color']</tpl>"><tpl>/if</tpl><tpl>$val['article_title']</tpl><tpl>if $val['article_title_color']!=''</tpl></font><tpl>/if</tpl></a></li>
                	<tpl>else</tpl>
                	<li><a href="index.php?ctl=article&act=front_article_content&article_id=<tpl>$val['article_id']</tpl>" target="_blank" title="<tpl>$val['article_title']</tpl>"><tpl>if $val['article_title_color']!=''</tpl><font color="<tpl>$val['article_title_color']</tpl>"><tpl>/if</tpl><tpl>$val['article_title']</tpl><tpl>if $val['article_title_color']!=''</tpl></font><tpl>/if</tpl></a></li>
					<tpl>/if</tpl>
                	<tpl>/foreach</tpl>
					<tpl>/if</tpl>
                </ul><!-- end of left-article-list -->
            </div><!-- end of left-article -->
        </div><!-- end of left-side -->
        <div class="clear"></div>
    </div><!-- end of main -->
    <div id="footer">
<tpl>include footer.html </tpl>
    </div><!-- end of footer -->
</div><!-- end of container -->
</body>
</html>
