
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<title>{/$Title/}</title>
<link href="imagefiles/style.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE="JavaScript" src="imagefiles/func.js"></SCRIPT>
</head>
<SCRIPT LANGUAGE="JavaScript">
<!--
	function xmlexport()
	{			
		document.exportform.action='sql_xml.php';
		document.exportform.target='_blank';
		document.exportform.submit();
	}
	function csvexport()
	{			
		document.exportform.action='sql_csv.php';
		document.exportform.target='_blank';
		document.exportform.submit();
	}
	function textexport()
	{			
		document.exportform.action='sql_txt.php';
		document.exportform.target='_blank';
		document.exportform.submit();
	}
	function print_url()
	{	
		var _url = document.location;
		window.open('templates/print/index.php?url='+_url);
	}
//-->
</SCRIPT>
<FORM METHOD=POST ACTION="" name=exportform>
<INPUT TYPE="hidden" name=datas value={/$SqlDatas/}>
<INPUT TYPE="hidden" name=datastitle value={/$SqlDatasTitle/}>
<INPUT TYPE="hidden" name=website VALUE={/$website/}>
<INPUT TYPE="hidden" name=fname VALUE={/$fname/}>
<INPUT TYPE="hidden" name=sql VALUE={/$Sql/}>
<INPUT TYPE="hidden" name=nowview VALUE={/$NowView/}>
<INPUT TYPE="hidden" name=recordnum VALUE={/$NowView/}>
<INPUT TYPE="hidden" name=fieldtype VALUE={/$FieldType/}>
</FORM>
<body topmargin="0">
<center>
  <table width="100%" border="0" cellpadding="0" cellspacing="0" >
    <tr> 
      <td width="1%" height="383">&nbsp; 
      </td>
      <td width="99%" ><table width="99%"  border="0" align="left" cellpadding="0" cellspacing="0">
          <tr> 
            <td valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
				  <SCRIPT LANGUAGE="JavaScript">
				  <!--
				if(top.location == self.location)
				{
				document.write("<tr>                  <td width=70%><div align=right></div>  <img src=imagefiles/logo.gif width=200 height=60 border=0></td>                  <td width=30% valign=middle>										</td>                </tr>");
				
				}
				
				//-->
			   </SCRIPT>
				<tr class=titlefont_02> 
                  <td width="70%">&nbsp;&nbsp;正在查看 － {/$NowView/} | {/$QuickLink/} 
                  </td>
                  <td width="30%" valign="middle">
<div align="right">数据导出:&nbsp;&nbsp;
<A HREF="#" {/if $textexport == ""/} onclick="window.alert('TXT文件导出未实现')"{/else/} onclick="textexport()" {//if/} TITLE=TXT文件导出><img src="imagefiles/text.gif" width="16" height="16" align="absmiddle" border=0></A>&nbsp;
<A HREF="#" {/if $xmlexport == ""/} onclick="window.alert('XML文件导出未实现')"{/else/} onclick="xmlexport()" {//if/} TITLE=XML文件导出><img src="imagefiles/xxml.gif" width="16" height="16" align="absmiddle" border=0></A>&nbsp;
<A HREF="{/$csvexport|default:"#"/}" {/if $cvsexport == ""/} onclick="window.alert('EXCEL文件导出未实现')"{/else/} onclick="csvexport()"{//if/}  TITLE=EXCEL文件导出><img src="imagefiles/icon_xls1.gif" width="16" height="16" align="absmiddle" border=0></A>
&nbsp;|&nbsp;<A HREF="#" TITLE=数据打印格式 target=_blank><img src="imagefiles/printer.gif" width="20" height="16" align="absmiddle" border=0 onclick="window.print()"></A>&nbsp;&nbsp;</div></td>
                </tr>
              </table> 
            </td>
          </tr>
          <tr> 
            <td height="586" valign="top" class="cod"> 
              <div class="mainbody"><div id="loading">
      <center>正在更新报表，请稍候……<br />这一般需要 10 秒钟</center>
    </div>{/$Main/}</div></td>
          </tr>
          <tr> 
            <td height="24" class=copyright> 
              <p>{/$CopyRight/}
              </td>
          </tr>
        </table></td>
    </tr>
  </table>

</center>
<script language="javascript" type="text/javascript">
    document.getElementById("loading").style.display='none';
  </script>
</body>

</html>

