Skip to content

Instantly share code, notes, and snippets.

/chinese.html Secret

Created March 11, 2013 05:16
Show Gist options
  • Save anonymous/27663069655db7fd7a19 to your computer and use it in GitHub Desktop.
Save anonymous/27663069655db7fd7a19 to your computer and use it in GitHub Desktop.
<HTML><HEAD>
<meta http-equiv="keywords" content="data service, Data Service, A010102">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<META content="MSHTML 5.00.3813.800" name=GENERATOR><LINK
href="/css/text.css" rel=stylesheet type=text/css><LINK
href="/css/td.css" rel=stylesheet type=text/css>
<title>China Yearly Macro-economy Statistics(By District) --Advanced Search</title>
<style>
div#textdiv1{
height: 480;
width: 775;
overflow: auto;
padding: 0px 0px 10px 0px;
}
</style>
</HEAD>
<BODY bgcolor="#FFFFFF" leftmargin="0" topmargin="0" onresize=resize() marginwidth="0" marginheight="0">
<table width="775" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="/images/bg_top.jpg"><table width="775" height="80" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="250" valign="top"><img src="/images/title.gif" width="208" height="56"></td>
<td>
<table width="525" height="80" border="0" cellpadding="0" cellspacing="0">
<tr height=55>
<td>&nbsp;</td>
</tr>
<tr>
<td height="25" bgcolor="#000000">
<TABLE width="525" height="25" border=0 cellPadding=0 cellSpacing=0>
<TR>
<TD width="10" class="navigator"></TD>
<TD class="navigator" nowrap><b>China Yearly Provincial Macro-economy Statistics-- Result of Advanced Search</B></TD>
</TABLE>
</td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<div id=tablediv>
<div id=textdiv1>
<TABLE border=0 cellPadding=0 cellSpacing=0 class=maintext width=755>
<tr>
<td height="5" align=center colspan=2></td></tr>
<tr>
<td height="23" class=maintext colspan=2><b>(Time:2012)</b>
</td>
</tr>
</table>
<TABLE id=texttable1 border=0 cellPadding=0 cellSpacing=0 class=maintext width=755>
<thead bgcolor=#add8e6 >
<tr><td rowspan=2 class=tdtopdown>District</td><td colspan=1 class=tdtopleft >国内生产总值</td>
<tr><td class=tdtopleftdown >国内生产总值(亿元)</td></tr></thead><tr ><td class=td nowrap>&nbsp;北京</td><td class=tdleft nowrap align=right>17,801.02</td></tr>
<tr><td nowrap class=tdtail>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<td nowrap class=tdtail>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</TABLE>
</DIV>
</div>
</td>
</tr>
<tr>
<td align="right">
<form name=form1 target="_self" action="macroyradvshow.asp" method="post">
<table><tr><td>
<img id="img1" src="/images/member/btnen.jpg" style="cursor:hand;" visible="true" onclick="Change()"/>
</td></tr></table>
<input type=hidden name=code id=code value="A010102">
<input type=hidden name=ayear id=ayear value="2012">
<input type=hidden name=ifyuyan id=ifyuyan value="2">
<input type=hidden id="dq" name="dq" value="110000">
</form>
</td>
</tr>
<tr>
<td>
<!-- 开始bottom -->
<table border=0 cellspacing=0 cellpadding=0 width=775>
<tr>
<td height="23" bgcolor="#000000" class=white>&nbsp;&nbsp;&nbsp;
<a class=white href="javascript:selecttable()">[Copy to Clipboard]</a>
&nbsp;&nbsp;<a class=white href="javascript:printtable()">[Print Datasheet]</a>
&nbsp;&nbsp;<a class=white href="javascript:xlsdownload()">[Save as]</a></td>
</tr>
<tr>
<td align="center">
<form name=xlsform action="/function/toxls.asp" method="post">
<input type="hidden" id="txttoxls" name="txttoxls" />
</form>
<span class="maintext"><font face="Arial, Helvetica, sans-serif">&nbsp;Copyright
&copy; 2001-2004 ACMR</font>All China Marketing Resarch Co.,Ltd All Rights Reserved<br>
</span>
<iframe width=0 height=0 id=table1></iframe>
<script>
function xlsdownload() {
document.xlsform.submit()
}
function resize()
{
try
{
window.resizeTo(window.screen.availWidth,window.screen.availHeight )
window.moveTo(0,0);
}
catch(err1)
{return 0}
}
resize()
textdiv1.style.height =document.body.offsetHeight-170
function selecttable()
{
table1.document.execCommand("selectAll")
table1.document.execCommand("copy")
window.alert("Data has been coppied and can be pasted on opened Excel File!")
}
function printtable()
{
table1.focus();
table1.print();
}
function copytoiframe()
{
h1="<html><head><LINK href=\"/css/text.css\" rel=stylesheet type=text/css>"
h1+="<LINK href=\"/css/td.css\" rel=stylesheet type=text/css></head><body>"
gs="<table border=0 width=755 class=maintext><tr><td align=center colspan=2><b>Provided by :&nbsp;&nbsp; All China Marketing Resarch</b></td></tr></table>"
txt1=document.getElementById("tablediv").innerHTML+gs
document.getElementById("txttoxls").value=txt1
table1.document.write(h1)
table1.document.write(tablediv.innerHTML)
table1.document.write(gs)
table1.document.write("</body></html>")
table1.document.close()
}
copytoiframe()
document.getElementById("texttable1").isTextEdit
</script>
</td></tr></table>
<!-- end bottom -->
</td>
</tr>
</table>
<script>
function showenglish()
{
var str1="macroyradvshow.asp"
str1=str1.substring(0,str1.length-4)
str1=str1 + "e.asp"
var code="A010102"
var dq="110000"
var ayear="2012"
str1=str1 + "?code=" + code
if(dq!="") str1+="&dq=" +dq
if(ayear!="") str1+="&ayear=" +ayear
window.open(str1,"_blank","width=600,height=400,top=100,left=100,scrollbars=yes")
}
function Change()
{
var ss=document.form1.ifyuyan.value
if(ss=="1")
{document.form1.ifyuyan.value="2"}
if (ss=="2")
{document.form1.ifyuyan.value="1"}
document.form1.submit()
}
</script>
</BODY></HTML>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment