<?php defined('PHPNEW_STATIC_TPL') === false && exit('PHPnew Blog');?>
</div><!-- #main_content -->
    <div style="text-align: left; clear: both; border-top: 1px solid silver; width: 950px; padding-right: 2px; padding-left: 8px; background-color: #EEF2DF;"><h3 style="font-weight: bolder; line-height: 28px; height: 28px; color: #004040;">|| 友情链接</h3>
    <!--{loop $link_array $val}-->
        [<a href="{$val[link_alink]}" target="_blank" title="{$val[link_tags]}"> {$val[link_name]} </a>]
    <!--{/loop}-->
    </div>
    <div style="border-top: 1px solid #C0C0C0; background: white url(./App/default_tpl/source/botbg.gif) no-repeat left bottom; clear: both; width: 950px; padding-right: 2px; text-align: right; padding-left: 8px; margin-top: 4px; line-height: 20px;">
    &copy; 汉邦国际技术在线 | <a href="./plugin.php?main=about.html">关于我们</a> | <a href="./plugin.php?main=statute.html">法律条款</a> | <a href="./plugin.php?main=maps.html">网站地图</a> | <a href="./plugin.php?main=gidea.html">意见建议</a> | <a href="./index.php?main=filing.html">日志归档</a> | {$timezone_str}<br />
     Powered by <a href="http://www.fenanr.com" target="_blank">{PHPNEW}</a> - Processed in {eval echo sprintf('%01.4f',microtime(true) - GET_MICROTIME);} second(s), <a href="javascript:;"{if $user_admin && mysql::$querynum} onclick="dialogs('dialogs')"{/if}>{eval echo count(mysql::$querynum)}</a> queries - {$html[siteicp]}{if $Hook_Bottom_Statistics} - {$Hook_Bottom_Statistics}{/if}
    </div>
    
</div> <!-- #main_div -->
<div style="height: 5px; width: 962px; margin: 0 auto; background:url('./App/default_tpl/source/p.jpg') repeat-x;"> </div><br />
{eval common_function_end()}

<!--{if $user_admin && mysql::$querynum}-->
    <!-- 处理一个管理员可以查看mysql日志 -->
    {eval $mysqllog = mysql::$querynum}
     <div id="dialogs" style="width:960px;height:auto;border:3px #84938F solid;text-align:center;display:none;position:absolute;z-index:10;background-color: #EAEFE0">
        <ul style="list-style:none; line-height: 20px; text-align: left; margin: 0; padding: 0;">
        <li style=" overflow: hidden;">
        <span style="display: block; margin: 3px; font-weight: bolder; float: left; width: 60%;">运行日志: </span>
        <input style="float: right; margin: 3px; cursor: pointer;" type="button" value="关闭弹出窗" id="shuts" />
        </li>
        <li class="order_mess" style="margin: 3px; text-align: left; height: auto; background-color: white; width: 950px; overflow: hidden;">
        <!--{loop $mysqllog $val}-->
            mysql: {$val} <br />
        <!--{/loop}-->
        </li>
        </ul>
    </div>
    <script type="text/javascript">
        function dialogs(container){
        	showDivs($("#"+container));
        	$("#shuts").click(function(){//关闭弹窗
        		$("#dialogs").hide();
        	});
        }
        function showDivs(obj){
         $(obj).show();
            centers(obj);
         $(window).scroll(function(){
            centers(obj);
         });
         $(window).resize(function(){
          centers(obj);
         }); 
        }
        function centers(obj){
             var windowWidth = document.documentElement.clientWidth;   
             var windowHeight = document.documentElement.clientHeight;   
             var popupHeight = $(obj).height();   
             var popupWidth = $(obj).width();
             $(obj).css({   
              "position": "absolute",
              'top':((windowHeight-popupHeight)/2 + $(document).scrollTop()) +'px',
              'left':(windowWidth-popupWidth)/2 +'px'
             });   
        }
    </script>
<!--{/if}-->

</body>
</html>