<?php defined('PHPNEW_STATIC_TPL') === false && exit('PHPnew Blog');?>
<!DOCTYPE html><html><head>
    <meta charset="{$_config[default][charset]}" />
    <title>{$html[title]} by PHPnew Blog</title>
        <meta name="keywords" content="{$html[keywords]}" /> 
        <meta name="description" content="{$html[description]}" /> 
        <meta name="generator" content="{$html[generator]}" /> 
    <base href="{URL_HOST}" />
    <script src="./Static/Javascript/Jquery.js?v1.8.3" type="text/javascript"></script>
    {$url_rss}
<style type="text/css">
body{color:#2E2E2E;font-size:12px;background:#FFFFFF;}a{text-decoration:none;}a:link{color:#095C83;}a:visited{color:#095C83;}a:hover{color:#DC143C;text-decoration:underline;}a:active{color:#DC143C;text-decoration:underline;}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section {word-break:break-all; list-style: none; font-family: "Arial","宋体",sans-serif; margin: 0; padding: 0;}
table{border-collapse:collapse;border-spacing:0;width: 100%;}
th{text-align:inherit;}
fieldset,img{border:0;}
iframe{display:block;}
textarea{padding: 3px;}
input::-ms-clear{display:none;}

#index_header_leul{width: 400px; float: left; overflow: hidden; margin: 0 auto;}
#index_header_leul{line-height: 30px; height: 30px; text-align: left;}
#index_header_ul{width: 400px; float: right; text-align: right; overflow: hidden; margin: 0 auto;}
#index_header_ul li{font-size: 13px; float: right; line-height: 30px; height: 30px; text-align: center; background:url('./Static/Images/follow_btn.gif') no-repeat; background-position: center; width: 60px;}
#index_header_ul li a{color: #8A8A8A; display: block; text-decoration: none;}
#main_div{width: 960px; padding-left: 6px; padding-right: 6px; background: white url('./App/default_tpl/source/untitled.png'); margin: 0 auto; overflow: hidden;}
#header_div{background: #EBEAEC url('./App/default_tpl/source/topbacking.gif'); overflow: hidden; height: 115px;}
#header_list{height:30px; line-height: 30px; overflow: hidden; clear: both; background: #F8F8F8; border-top: 1px solid #C0C0C0;  border-bottom: 1px solid #C0C0C0;}
#header_list li{float: left;height: 30px; line-height: 30px;  border-right: 1px solid #C0C0C0; }
#header_list li a{display: block; padding-left: 8px; padding-right: 8px;}
#header_list li a:hover{text-decoration: none; background:#EEF0CC;}
#main_content{width: 960px; margin: 0 auto; overflow: hidden;}
.submitcss{cursor: pointer; padding: 3px;}
.pg{ overflow: hidden; clear: both; height: 24px; line-height: 24px;}
.pg strong, .pg a{margin-right:2px; text-align: center; float: left; color: white; width: 26px; height: 26px; line-height: 26px; display: block; background-color: #FF8040;}
.pg strong{font-weight: bolder; background-color: #3973A6;}
.pg .nxt,.pg .prev{background-color: #3973A6;}
.pg a:hover{height: 24px; background-color: #3973A6; text-decoration: none;}
.cat_div{overflow: hidden; height: 39px; margin: 8px; margin-bottom: 5px; clear: both;}
.cat_diva{float: left; border-bottom: 1px solid silver; line-height: 36px; text-align: center; width: 90%; height: 36px; background-color: #4586E7;}
.cat_divb{float:right; width: 10%; border-bottom: 1px solid silver; text-align: center; height: 36px; line-height: 36px; background-color: #FF8040;}
.cat_diva a:link,.cat_diva a:visited{color: white;}
.cat_divb a,.cat_diva a{display: block; text-decoration: none;}
<!--{if $Hook_Header_Css}-->
    {$Hook_Header_Css}
<!--{/if}-->
</style>
<script type="text/javascript">
    var base_url = '{URL_HOST}'; 
    var htaccess = '{$_CFG[htaccess]}';
    var link_href = '';
    var phpnew_version = '{PHPNEW} {VERSION}';
    var catid = '{$catid}';
    function js_header(url){
        url = url.replace(base_url,'./');
        window.location = base_url + url.replace('./','');
    }
    $(function (){
                if(!$.browser.msie){
                    $.ajaxSetup({async: false,timeout:60000,cache:false});
                }
                $("input[type='submit']").attr('class','submitcss');
                $("input[type='text']").each(function (){
                    if(!$(this).attr('accept')){
                        $(this).css({'border': '1px solid silver', 'padding': '2px'});
                    }
                })
                // main_right heigh
                var rh = $('#main_right').height();
                var lh = $('#main_left').height()
                if( lh < rh){
                    $('#main_left').height(rh);
                }
                
                $('.cat_div').find('[class*="cat_"]').mousemove(function (){
                    $(this).css({'margin-top':'2px'});
                    $(this).mouseout(function (){
                         $(this).css({'margin-top':'0px'}); 
                    })
                })
                
                $('.cat_diva').find('a[href*="'+catid+'"]').parent().css('background-color','#666B86');
                $('#header_list').find('a[href*="'+catid+'"]').parent().css({'background-color': '#EEF0CC'});
                $("input[type='reset']").attr('class','submitcss');
                $('#index_header_ul li').mouseover(function (){
                    $(this).css('background',"url('./Static/Images/follow_btn2.gif') no-repeat");
                    $(this).css('background-position','center');
                    $(this).mouseout(function (){
                        $(this).css('background',"url('./Static/Images/follow_btn.gif') no-repeat");
                        $(this).css('background-position','center');
                    })
                });
                
                $("a").each(function (){
                    if(htaccess == 1){
                        link_href = $(this).attr('href');
                        if(link_href && link_href.indexOf(base_url) < 0 && (link_href.indexOf('index.php?main=') >= 0 || link_href.indexOf('index.php?search=') >= 0) ){
                                link_href = link_href.replace('.html',''); 
                                link_href = link_href.replace(/[&|\=]/ig,'/').replace('.php?','/')+'.html';
                                link_href = link_href.replace('php.html','php');
                                link_href = link_href.replace('/.html','/');
                                $(this).attr('href',link_href);
                        }
                    }
                    if(!$(this).attr('title'))
                        $(this).attr('title', filter($(this).text())); 
                
                })
    <!--{if APP_ADMIN}-->
    $('.admin_list').children().css({'line-height': '2em', 'font-size':'13px', 'text-align': 'left', 'padding-left': '3px', 'color': '#ffffff', 'border-bottom': '2px solid {$c1}', 'background-color':'{$c4}','font-weight':'bold'});
    <!--{/if}-->
    })
    jQuery.fn.outer = function() {return $($(this).html(this.clone())).html();}
    function filter(str){str = str.replace(/&/g, '&amp;');str = str.replace(/</g, '&lt;');str = str.replace(/>/g, '&gt;');str = str.replace(/'/g, '&acute;');str = str.replace(/"/g, '&quot;');str = str.replace(/\|/g, '&brvbar;');return str;}
    <!--{if $Hook_Header_JS}-->
    {$Hook_Header_JS}
    <!--{/if}-->
    function js_search(){
        var ser = encodeURIComponent($('.search').val());
        if(ser.length < 3 || ser.length > 80){
            alert('非法字符搜索!');
            return false;
        }
        js_header('./index.php?search=index&'+ser+'.html');
    }
</script>
</head>

<body onkeydown="if(event.keyCode==27) return false;">
<div style="text-align: center; background: white url('./Static/Images/top_bk.jpg'); border-bottom: 1px solid #C0C0C0;">
    
    <div style="width: 960px;overflow: hidden; margin: 0 auto;">
        <ul id="index_header_leul">
            <li>
            <img src="./Static/Images/logo.gif" style="border: 2px solid white; width: 24px; vertical-align: top;" />
            <!--{if !$user_uid}-->
                <!--{if empty($qq_config[open]) === false}-->
                <a style="border-bottom: none;" href="./index.php?user=qqlogin.html"><img style=" vertical-align: top; margin-top: 3px;" src="./Static/Images/logo_style1.png" /></a>
                <!--{/if}-->
            <!--{else}-->
            <a href="./index.php?user=index.html" style="font-weight: bold;" title="用户中心">{USER_NAME}</a>
            <!--{/if}-->
            </li>
        </ul>
        <ul id="index_header_ul">
            <!--{if $user_admin}-->
            <li><a href="./index.php?admincp=index.html" title="管理中心">管理</a></li>
            <!--{elseif $user_uid}-->
            <li><a href="./index.php?user=index.html" title="用户中心">管理</a></li>
            <!--{/if}-->
            <li><a href="./index.php?main=filing.html" title="文章归档">归档</a></li>
             <!--{if empty($user_uid) === false}-->
                <li><a href="./index.php?search=index.html" title="信息搜索">搜索</a></li>
                <!--{else}-->
                    <li><a href="./index.php?user=login.html" title="用户中心">用户</a></li>
                <!--{/if}-->
        </ul>
    </div>

</div>
<div id="main_div">
    <div id="header_div">
        <div style="margin: 8px;"><br />
            <div style="overflow: hidden;"><img style="float: left; margin-left: 20px; margin-right: 6px;" width="38" style="vertical-align: middle;" src="./Static/Images/logo.gif" /><h1 style="color: white; float: left; font-size: 36px;"> {$html[title]}</h1></div>
            <div style="clear: both;"><h4 style="color: white; margin-left: 20px; font-size: 14px;">{$html[keywords_header]}</h4></div>
        </div>

    </div>
    <ul id="header_list">
            <li><a href="./index.php">首页</a></li>
            <!--{if !$meun_array}-->
             <li><a href="./index.php?main=filing.html">归档</a></li>
                <!--{if $user_admin}-->
                    <li><a href="./index.php?admincp=index.html">管理</a></li>
                <!--{elseif $user_uid}-->
                    <li><a href="./index.php?user=index.html">管理</a></li>
                <!--{/if}-->
            <!--{/if}-->
            <!--{loop $meun_array $val}-->
             <li><a href="{$val[link]}"{if $val[blank]} target="_blank"{/if}>{$val[c_name]}</a></li>
            <!--{/loop}-->
    </ul>
    <div id="main_content">
    <!-- header_div -->