<!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>{{$site_name}}-{{$power}}</title>
        <meta name="keywords" content="{{$site_keywords}}" />
        <meta name="description" content="{{$site_desc}}" />
        <meta name="copyright" content="{{$power}}" />
        <meta name="MSSmartTagsPreventParsing" content="True" />
        <meta http-equiv="MSThemeCompatible" content="Yes" />
        <meta http-equiv="x-ua-compatible" content="ie=7" />
        <style type="text/css">@import url("{{$gen_css_path}}");</style>
        <script src="js/global.js" type="text/javascript"></script>
        <script src="js/index.js" type="text/javascript"></script>
        <script type="text/javascript">
            var hidden_feed  = "{{$lang.hidden_feed}}";
            var show_feed    = "{{$lang.show_feed}}";
            var math_failure = "{{$lang.math_failure}}";
            var input_not_null = "{{$lang.input_not_null}}";
        </script>
        <link href="js/googlecode/prettify.css" type="text/css" rel="stylesheet" />
        <script type="text/javascript" src="js/googlecode/prettify.js"></script>
        <link rel="alternate" type="application/rss+xml" href="rss.xml" title="Gen" />
        <link rel="Shortcut Icon" href="images/favicon.ico" type="image/x-icon" />
    </head>

    <body onload="prettyPrint()">
        <!-- START 调用头部 -->
        {{include file="library/header.html"}}
        <!-- END   调用头部 -->
        <div id="wrap">


            <div id="content">

                <div id="contentleft">
		{{section name=art loop=$article_list}}
                    <h3>
                        [{{if $article_list[art].is_original eq 1}}{{$lang.label_original}}{{else}}{{$lang.label_reship}}{{/if}}]
                        <a rel="bookmark" href="view_content.php?aid={{$article_list[art].article_id}}" title="{{$article_list[art].subject}}">
                            {{$article_list[art].subject}}
                        </a>
                    </h3>
                    <div class="date">
			{{$article_list[art].submit_time|date_format:"%Y-%m-%d %H:%I:%S"}} by {{$article_list[art].nickname}} .
                        <img src="{{$gen_img_path}}comment.png" />
                        <a rel="bookmark" href="view_content.php?aid={{$article_list[art].article_id}}">{{$article_list[art].repl_number}} Comment</a>
                        &nbsp;Reading {{$article_list[art].click_number}}&nbsp;<a href="./admin/content.php?act=add_content&mod=edit&aid={{$article_list[art].article_id}}" target="_blank">Editor</a>
                    </div>
                    <div style="clear:both;">
			{{$article_list[art].content}}
                        <div class="postmeta">
                            <span style=""><a rel="bookmark" href="view_content.php?aid={{$article_list[art].article_id}}">{{$lang.reading}}</a></span>
                            <p>{{$lang.category}} <a href="./list.php?step=category&act={{$article_list[art].category_id}}">{{$article_list[art].category_name}}</a>
                                &nbsp;{{$lang.tags}}
			 {{assign var="tags_id" value=","|explode:$article_list[art].tags_id}}
                                {{foreach from=$tags_id item=tag_id}}
                                {{section name=tag loop=$tags_list}}
                                {{if $tags_list[tag].tag_id eq $tag_id}}
                                <a href="./list.php?step=tag&act={{$tag_id}}">{{$tags_list[tag].tag_name}}</a>&nbsp;&nbsp;
                                {{/if}}
                                {{/section}}
			{{/foreach}}
                            </p>
                        </div>
                    </div>
		{{/section}}

                    <div class="sabrosus">
                        {{$page}}
                    </div>

                </div>

	{{include file="library/l_sidebar.html"}}
	{{include file="library/r_sidebar.html"}}
            </div>

            <!-- START 调用底部 -->
            {{include file="library/footer.html"}}
            <!-- END   调用底部 -->

    </body>
</html>