<!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" />
</head>

<body>
<div id="container">
	<tpl>include header.html</tpl><!-- end of header -->
    <div id="main">
    	<div class="right-main">
        	<h2><tpl>$img_list</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">
                <h1 class="photo-album-tit"><tpl>$class_array['class']['class_name']</tpl></h1>
            	<div id="photoList">
                	<div class="photo-album-wrap">
					<tpl>if $article_array!=''</tpl>
					<tpl>foreach $article_array as $val</tpl>
                    	<div class="albumlst">
                          	<tpl>if RWRITE=='1'</tpl>
                    		<a href="<tpl>WEB_HOST</tpl><tpl>PICURL</tpl><tpl>$val['article_id']</tpl>.html" target="_blank" alt="<tpl>$val['article_title']</tpl>" title="<tpl>$val['article_title']</tpl>"><img src="<tpl>if $val['article_img']!=''</tpl><tpl>WEB_HOST</tpl><tpl>$val['article_img']</tpl><tpl>else</tpl><tpl>WEB_HOST</tpl>/templates/default/images/no_img.jpg<tpl>/if</tpl>" class="album"/></a>
                            <tpl>else</tpl>
                            <a href="index.php?ctl=pic&act=front_pic_content&article_id=<tpl>$val['article_id']</tpl>" target="_blank" alt="<tpl>$val['article_title']</tpl>" title="<tpl>$val['article_title']</tpl>"><img src="<tpl>if $val['article_img']!=''</tpl><tpl>WEB_HOST</tpl><tpl>$val['article_img']</tpl><tpl>else</tpl><tpl>WEB_HOST</tpl>/templates/default/images/no_img.jpg<tpl>/if</tpl>" class="album"/></a>
                            <tpl>/if</tpl>
                            <div class="albumlst-r">
                                <div class="pl2">
                                    <tpl>if RWRITE=='1'</tpl>
                                	<a href="<tpl>WEB_HOST</tpl><tpl>PICURL</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></a>
                                    <tpl>else</tpl>
                                    <a href="index.php?ctl=pic&act=front_pic_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></a>
                               		<tpl>/if</tpl>
                                 </div><!-- end of pl2 -->
                                <span class="pl"><tpl>date("Y-m-d",$val['article_time'])</tpl><tpl>$img_update</tpl><!--更新--></span>
                            </div><!-- end of albumlst-r -->
                        </div><!-- end of albumlst -->
						<tpl>/foreach</tpl>
						<tpl>/if</tpl>
                        <div class="clear"></div>
                    </div><!-- end of photo-album-wrap -->
                </div><!-- end of photoList -->
                <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>$img_clss_list</tpl><!--内容分类--></h3>
            	<ul class="left-article-list">
					<tpl>if $class_array['top_class']!=''</tpl>
					<tpl>foreach $class_array['top_class'] as $val</tpl>
                    <li>
                    <tpl>if RWRITE=='1'</tpl>
                    <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>
                    <tpl>else</tpl>
                    <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>
                    <tpl>/if</tpl>
                    </li>
					<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>
                        	<li>
                        	<tpl>if RWRITE=='1'</tpl>
                        	<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>
                        	<tpl>else</tpl>
                        	<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>
                        	<tpl>/if</tpl>
                        	</li>
							<tpl>/foreach</tpl>
							<tpl>/if</tpl>
                        </ul>
					</li>
                </ul><!-- end of left-article-list -->
            	<h3><tpl>$img_new_list</tpl><!--最新图片--></h3>
            	<ul class="left-pic-list">
				<tpl>if $article_new_list!=''</tpl>
				<tpl>foreach $article_new_list as $val</tpl>
                	<li>
                    	<tpl>if RWRITE=='1'</tpl>
                		<a href="<tpl>WEB_HOST</tpl><tpl>PICURL</tpl><tpl>$val['article_id']</tpl>.html" target="_blank" title="<tpl>$val['article_title']</tpl>"><img src="<tpl>if $val['article_img']!=''</tpl><tpl>WEB_HOST</tpl><tpl>$val['article_img']</tpl><tpl>else</tpl><tpl>WEB_HOST</tpl>/templates/default/images/no_img.jpg<tpl>/if</tpl>" /></a>
                    	<tpl>else</tpl>
                    	<a href="index.php?ctl=pic&act=front_pic_content&article_id=<tpl>$val['article_id']</tpl>" target="_blank" title="<tpl>$val['article_title']</tpl>"><img src="<tpl>if $val['article_img']!=''</tpl><tpl>WEB_HOST</tpl><tpl>$val['article_img']</tpl><tpl>else</tpl><tpl>WEB_HOST</tpl>/templates/default/images/no_img.jpg<tpl>/if</tpl>" /></a>
                    	<tpl>/if</tpl>
                    </li>
					<tpl>/foreach</tpl>
					<tpl>/if</tpl>
                    <div class="clear"></div>
                </ul><!-- end of left-pic-list -->
            	<h3><tpl>$img_hot_list</tpl><!--热门图片--></h3>
            	<ul class="left-pic-list">
				<tpl>if $article_hot_list!=''</tpl>
				<tpl>foreach $article_hot_list as $val</tpl>
                	<li>
                		<tpl>if RWRITE=='1'</tpl>
                    	<a href="<tpl>WEB_HOST</tpl><tpl>PICURL</tpl><tpl>$val['article_id']</tpl>.html" target="_blank" title="<tpl>$val['article_title']</tpl>"><img src="<tpl>if $val['article_img']!=''</tpl><tpl>WEB_HOST</tpl><tpl>$val['article_img']</tpl><tpl>else</tpl><tpl>WEB_HOST</tpl>/templates/default/images/no_img.jpg<tpl>/if</tpl>" /></a>
                    	<tpl>else</tpl>
                    	<a href="index.php?ctl=pic&act=front_pic_content&article_id=<tpl>$val['article_id']</tpl>" target="_blank" title="<tpl>$val['article_title']</tpl>"><img src="<tpl>if $val['article_img']!=''</tpl><tpl>WEB_HOST</tpl><tpl>$val['article_img']</tpl><tpl>else</tpl><tpl>WEB_HOST</tpl>/templates/default/images/no_img.jpg<tpl>/if</tpl>" /></a>
                    	<tpl>/if</tpl>
                    </li>
					<tpl>/foreach</tpl>
					<tpl>/if</tpl>
                    <div class="clear"></div>
                </ul><!-- end of left-pic-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>
