127 lines
9.0 KiB
HTML
127 lines
9.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="utf-8"/>
|
|
<meta name="viewport"
|
|
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
|
|
<title>{$Think.config.web.gzip.title}</title>
|
|
<meta name="applicable-device" content="pc,mobile"/>
|
|
<meta http-equiv="Cache-Control" content="no-transform"/>
|
|
<meta http-equiv="Cache-Control" content="no-siteapp"/>
|
|
<meta name="keywords" content="{$Think.config.web.gzip.keywords}"/>
|
|
<meta name="description" content="{$Think.config.web.gzip.description}"/>
|
|
<meta name="renderer" content="webkit"/>
|
|
<meta name="apple-mobile-web-app-capable" content="yes"/>
|
|
<link rel="icon" href="/favicon.ico" mce_href="/favicon.ico" type="image/x-icon"/>
|
|
<link href="/static/style/bootstrap.min.css" rel="stylesheet" type="text/css"/>
|
|
<link href="/static/style/tool.css" rel="stylesheet" type="text/css"/>
|
|
<!--[if lt IE 9]>
|
|
<script src="http://apps.bdimg.com/libs/html5shiv/3.7/html5shiv.min.js"></script>
|
|
<script src="http://apps.bdimg.com/libs/respond.js/1.4.2/respond.min.js"></script><![endif]-->
|
|
{:$Think.config.web.header}
|
|
</head>
|
|
<body>{include file="header" /}
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-12 col10main">
|
|
<div class="accordion" id="accordion2">
|
|
<div class="accordion-group">
|
|
<ul class="nav nav-tabs hbflag">
|
|
<li role="presentation"><a href="/checkweixin/">微信域名检测工具</a></li>
|
|
<li role="presentation"><a href="/htaccess2nginx/">htaccess转nginx</a></li>
|
|
<li role="presentation"><a href="/shortcut/">生成桌面快捷方式</a></li>
|
|
<li role="presentation"><a href="/px2rem/">rem与px转换工具</a></li>
|
|
<li role="presentation"><a href="/favicon/">在线制作ico图标</a></li>
|
|
<li role="presentation"><a href="/createmeta/">生成网页Meta标签</a></li>
|
|
<li role="presentation" class="active"><a href="/gzip/">网站Gzip压缩检测</a></li>
|
|
<li role="presentation" class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown"
|
|
href="javascript:;" role="button"
|
|
aria-haspopup="true" aria-expanded="false">更多工具<span
|
|
class="caret"> </span></a>
|
|
<ul class="dropdown-menu">
|
|
<li role="presentation"><a href="/refresh/">在线定时刷新网址</a></li>
|
|
<li role="presentation"><a href="/tiaoseban/">在线调色板</a></li>
|
|
<li role="presentation"><a href="/checkurl/">网站死链检测</a></li>
|
|
<li role="presentation"><a href="/whois/"> Whois查询工具</a></li>
|
|
<li role="presentation"><a href="/chaicp/">ICP网站备案查询</a></li>
|
|
<li role="presentation"><a href="/chameta/">Meta标签优化分析</a></li>
|
|
<li role="presentation"><a href="/checkkeyword/">网页关键词密度检测</a></li>
|
|
<li role="presentation"><a href="/webstatus/">HTTP状态码查询</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="panel">
|
|
<form id="form1" class="form-horizontal" method="post">
|
|
<div class="input-group mb5">
|
|
<input class="form-control" type="text" name="q" id="url" value="{$q}" placeholder="输入网址"/>
|
|
<span class="input-group-btn"><button class="btn btn-success" type="submit" id="get_remote">检测</button></span>
|
|
</div>
|
|
{if $q && $gzip}
|
|
<div class="form-group">
|
|
<div class="col-sm-8">
|
|
<table class="table table-hover table-bordered table-striped">
|
|
<caption>
|
|
<strong>Header信息</strong>
|
|
</caption>
|
|
{foreach $gzip.head as $key=>$vo}
|
|
<tr><td style="width:140px">{$key}</td><td>{$vo}</td></tr>
|
|
{/foreach}
|
|
</table>
|
|
</div>
|
|
<div class="col-sm-4">
|
|
<table class="table table-hover table-bordered table-striped">
|
|
<caption>
|
|
<strong>网址 {$url} 检测结果</strong>
|
|
</caption>
|
|
<tr>
|
|
<td style="width:140px">是否压缩</td>
|
|
<td class="text-center">
|
|
<strong>{if $gzip.jc.ystype=='gzip'}<font color="green">是</font>{else/}<font color="red">否</font>{/if}</strong>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width:140px">压缩类型</td>
|
|
<td class="text-center">{$gzip.jc.ystype}</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width:140px">原始文件大小</td>
|
|
<td class="text-center">{$gzip.jc.ysize}</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width:140px">压缩后文件大小</td>
|
|
<td class="text-center">{$gzip.jc.yssize}</td>
|
|
</tr>
|
|
<tr>
|
|
<td style="width:140px">压缩率(估计值)</td>
|
|
<td class="text-center">{$gzip.jc.ysl} %</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
{elseif $q}
|
|
<div class="form-group"><div class="col-sm-12 text-left"><h3><strong style="color:#c00">查询异常(请检查网站能否正常访问)</strong></h3></div></div>
|
|
{/if}
|
|
<div class="form-group" style="margin-top:50px">
|
|
<div class="col-sm-12"><p>最近查询: |