<!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>$article_array['article_title']</tpl> - <tpl>WEB_NAME</tpl></title>
<meta name="keywords" content="<tpl>$article_array['article_keywords']</tpl>" />
<meta name="description" content="<tpl>$article_array['article_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>$cont_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">
            	<div id="artiContent">
                	<h1><tpl>$article_array['article_title']</tpl></h1>
                    <div id="artiInfo"> 
                        <span class="art-time"><tpl>date("Y-m-d H:i:s",$article_array['article_time'])</tpl></span>
                        <span class="art-author"><tpl>$cont_edit</tpl><!--编辑-->：<tpl>$article_array['article_author']</tpl>&nbsp;&nbsp;<tpl>$cont_source</tpl>：<tpl>$article_array['article_source']</tpl></span>
						<span class="art-comment"><!--查看已有的--><a href="#respond"><tpl>$cont_comment_1</tpl><tpl>$comment_num</tpl><tpl>$cont_comment_2</tpl></a> / <a href="#addComment"><tpl>$cont_comment_post</tpl></a></span></span>
                    </div><!-- end of artiInfo -->
                    <p style="text-align:center;"><tpl>$article_array['body_content']</tpl></p>
                </div><!-- end of pagebar -->
				<h4 id="respond"><tpl>$cont_comment_count</tpl><!--共有--><tpl>intval($comment_num)</tpl><tpl>$cont_comment_count1</tpl><!--条留言-->：</h4>
				<ol class="commentlist">
					<tpl>if $comment_array!=''</tpl>
					<tpl>foreach $comment_array as $val</tpl>
					<li>
						<div class="comment-div">
							<div class="comment-author">
								<tpl>if $val['member_img'] != ''</tpl><img class="avatar" src="<tpl>WEB_HOST</tpl>/<tpl>$val['member_img']</tpl>" alt="<tpl>$val['comment_author']</tpl>" /><tpl>else</tpl><img class="avatar" src="<tpl>WEB_HOST</tpl>/templates/default/images/01.jpg" alt="<tpl>$val['comment_author']</tpl>" /><tpl>/if</tpl>
								<cite class="fn"><a href="#"><tpl>$val['comment_author']</tpl></a></cite>
								<span class="says"><tpl>$cont_comment_say</tpl><!--说到-->：</span></div><!-- end of comment-author -->
							<div class="comment-meta">
								<tpl>$cont_comment_post_time</tpl><!--发表于--> <tpl>date("Y-m-d H:i",$val['comment_time'])</tpl></div><!-- end of comment-meta -->
							<p><tpl>nl2br($val['comment_body'])</tpl></p>
							<tpl>if $val['comment_repost'] != ''</tpl>
							<ul class="children">
								<li>
									<div class="comment-div">
										<div class="comment-author">
											<img class="avatar" src="<tpl>WEB_HOST</tpl>/templates/default/images/avatar.jpg" alt="<tpl>$cont_comment_admin</tpl>" />
											<cite class="fn"><a href="#"><tpl>$cont_comment_admin</tpl><!--管理员--></a></cite>
											<span class="says"><tpl>$cont_comment_say</tpl><!--说到-->：</span></div><!-- end of comment-author -->
										<div class="comment-meta">
											<tpl>$cont_comment_repost_time</tpl><!--回复于--> <tpl>date("Y-m-d H:i",$val['comment_repost_time'])</tpl></div><!-- end of comment-meta -->
										<p><tpl>nl2br($val['comment_repost'])</tpl></p>
									</div><!-- end of comment-div -->
								</li>
							</ul>
							<tpl>/if</tpl>
						</div>
						<!-- end of comment-div -->
					</li>
					<tpl>/foreach</tpl>
					<tpl>/if</tpl>
				</ol><!-- end of commentlist -->
				<div class="pagebar">
				<tpl>$show_page</tpl>
                </div><!-- end of pagebar -->
				<div id="addComment">
					<h4><tpl>$cont_comment_post</tpl><!--发表评论--></h4>
					<tpl>if OPEN_COMMENT=='1' and $_SESSION['member_name']==''</tpl>
					<div id="noLogin">
						<a href="#"><tpl>$cont_member_login</tpl></a><tpl>$cont_member_login_1</tpl><a href="index.php?ctl=member&act=front_member_register"><tpl>$cont_member_reg</tpl></a>。
					</div><!-- end of onLogin -->
					<tpl>/if</tpl>
					<div id="couldAdd">
						<div id="commentTxt">
							<form name="comment_form" id="comment_form" action="index.php?ctl=article&act=front_article_comment" method="post">
								<textarea class="comment" id="comment" name="comment"></textarea>
								<input type="hidden" name="article_id" id="article_id" value="<tpl>$article_array['article_id']</tpl>">
								<p><tpl>if COMMENT_CODE=='1'</tpl><tpl>$cont_post_code</tpl>：<input name="post_code" id="post_code" type="text" style="text-transform:uppercase; width:40px" class="textInput" />&nbsp;<tpl>$login_code</tpl>&nbsp;&nbsp;<tpl>/if</tpl>
								<input type="submit" name="button" class="btnInput" value="<tpl>$cont_comment_submit</tpl>" /></p>
							</form>
						</div><!-- end of commentTxt -->
					</div>
					<!-- end of couldAdd -->
				</div><!-- end of addComment -->
                <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>$cont_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>$cont_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>
