Esempio n. 1
0
      <div class="clear"></div>
    </div>
  </div>
  <div class="clear"> </div>
</div>
<div class="content-box-b">
  <div class="content-box-b-r">
    <div class="content-box-b-l"></div>
  </div>
</div>
<div id="footer">
  <div id="footer-r">
    <div id="footer-l">
      <div id="footer-misc"> <a href="#top">到最顶上</a><br />
        Transplanted By <a href="http://blog.meiu.cn/" target="_blank">Lingter</a> </div>
      <div id="footer-copyright">磐石博客系统 Monolith Blog System<br />
        Version Beta <a href="javascript:">1.0 Release</a><span id="footer-security"></span><br />
				页面执行时间 <?php 
echo getprocesstime($startime);
?>
 秒 | 数据库查询次数 <?php 
echo $MyDatabase->QueryCount;
?>
 次
      </div>
      <div class="clear"></div>
    </div>
  </div>
</div>
</div>
</html>
Esempio n. 2
0
<?php

if (SHOW_DEBUG == 1) {
    echo "页面执行时间 <strong>" . getprocesstime($startime) . "</strong> 秒|";
    echo Database::Get()->PrintDebug();
}
Esempio n. 3
0
<?php

//更新用户访问信息
if ($user->uid != '') {
    $SqlStr = 'UPDATE `' . DB_TABLE_PRE . 'user_ext` SET thisvisit=' . TIMESTAMP . ' WHERE uid=' . $user->uid;
    $MyDatabase->SqlStr = $SqlStr;
    if ($MyDatabase->ExecuteQuery()) {
    } else {
        ErrorMsg($SqlStr . '文件:' . __FILE__ . '<br />行数:' . __LINE__ . '<br />原因:更新用户状态失败!');
    }
}
//Gzip是否启用
$str_gzip = '<font color=red>disable</font>';
if (Extension_Loaded('zlib')) {
    $str_gzip = '<font color=green>enable</font>';
}
//SQL查询次数
$str_sqlcount = $MyDatabase->QueryCount;
//代码执行时间
$str_processtime = getprocesstime($startime);
require TP . 'foot.php';