<!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>$image_one_array['article_title']</tpl> - <tpl>WEB_NAME</tpl></title>
<meta name="keywords" content="<tpl>$image_array[0]['article_keywords']</tpl>" />
<meta name="description" content="<tpl>$image_array[0]['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_image</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>$image_one_array['article_title']</tpl></h1>
                <div id="artiInfo" style="border:none; margin-top:0;"> 
                    <span class="art-time"><tpl>date("Y-m-d H:i:s",$image_one_array['article_time'])</tpl></span>
                    <span class="art-author"><tpl>$cont_upload</tpl><!--上传-->：<tpl>$image_one_array['article_author']</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 -->
				<tpl>if $image_one_array['image_art']!= ''</tpl>
              <div id="picShow">
                	<div id="tool">
                    	<span class="alignRight">&nbsp;</span>
                        <span class="alignLeft"><tpl>$cont_image_1</tpl><tpl>$image_num</tpl><tpl>$cont_image_2</tpl> / <tpl>$cont_image_count</tpl><tpl>$image_count</tpl><tpl>$cont_image_2</tpl></span>
                        <tpl>if $image_pre != 0</tpl><a href="index.php?ctl=pic&act=front_pic_content&article_id=<tpl>$image_one_array['article_id']</tpl>&image_num=<tpl>$image_pre</tpl>"><tpl>/if</tpl><tpl>$cont_image_pre</tpl><tpl>if $image_pre != 0</tpl></a><tpl>/if</tpl> / <tpl>if $image_next != 0</tpl><a href="index.php?ctl=pic&act=front_pic_content&article_id=<tpl>$image_one_array['article_id']</tpl>&image_num=<tpl>$image_next</tpl>"><tpl>/if</tpl><tpl>$cont_image_next</tpl><tpl>if $image_next != 0</tpl></a><tpl>/if</tpl>
                    </div><!--/tool-->
                    <div id="picLarge">
                    	<img src="<tpl>WEB_HOST</tpl><tpl>$image_one_array['image_art']</tpl>" /><br />
						<tpl>$image_one_array['image_info']</tpl>
                    </div><!--/picLarge-->
                  <div id="tool">
                    	<span class="alignRight">&nbsp;</span>
                         <span class="alignLeft"><tpl>$cont_image_1</tpl><tpl>$image_num</tpl><tpl>$cont_image_2</tpl> / <tpl>$cont_image_count</tpl><tpl>$image_count</tpl><tpl>$cont_image_2</tpl></span>
                         <tpl>if $image_pre != 0</tpl><a href="index.php?ctl=pic&act=front_pic_content&article_id=<tpl>$image_one_array['article_id']</tpl>&image_num=<tpl>$image_pre</tpl>"><tpl>/if</tpl><tpl>$cont_image_pre</tpl><tpl>if $image_pre != 0</tpl></a><tpl>/if</tpl> / <tpl>if $image_next != 0</tpl><a href="index.php?ctl=pic&act=front_pic_content&article_id=<tpl>$image_one_array['article_id']</tpl>&image_num=<tpl>$image_next</tpl>"><tpl>/if</tpl><tpl>$cont_image_next</tpl><tpl>if $image_next != 0</tpl></a><tpl>/if</tpl>
                </div>
              </div>
			  <tpl>/if</tpl>
				<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=pic&act=front_image_comment" method="post">
								<textarea class="comment" id="comment" name="comment"></textarea>
								<input type="hidden" name="article_id" id="article_id" value="<tpl>$image_one_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_hot_img</tpl><!--最新图片--></h3>
            	<ul class="left-pic-list">
				<tpl>if $image_new_list!=''</tpl>
				<tpl>foreach $image_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>$cont_new_img</tpl><!--热门图片--></h3>
            	<ul class="left-pic-list">
				<tpl>if $image_hot_list!=''</tpl>
				<tpl>foreach $image_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>
