62,041
社区成员
发帖
与我相关
我的任务
分享
<%@ Control Language="c#" AutoEventWireup="false" Inherits="FLX.Portal.PageModeTemplate" %>
<style type="text/css">
<!--
.STYLE1 {color: #FF0000}
-->
</style>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<!--media=print 这个属性可以在打印时有效-->
<style media=print>
.Noprint{display:none;}
.PageNext{page-break-after: always;}
</style>
<style>
.tdp
{
border-bottom: 1 solid #000000;
border-left: 1 solid #000000;
border-right: 0 solid #ffffff;
border-top: 0 solid #ffffff;
}
.tabp
{
border-color: #000000 #000000 #000000 #000000;
border-style: solid;
border-top-width: 2px;
border-right-width: 2px;
border-bottom-width: 1px;
border-left-width: 1px;
}
.NOPRINT {
font-family: "宋体";
font-size: 9pt;
}
</style>
<script>
//按钮事件
var directPrint = function(){
pagesetup_null();
document.all.WebBrowser.ExecWB(6,6);
}
//设置网页打印的页眉页脚为空
function pagesetup_null(){
var hkey_root,hkey_path,hkey_key;
hkey_root="HKEY_CURRENT_USER"
hkey_path="\\Software\\Microsoft\\Internet Explorer\\PageSetup\\";
try{
var RegWsh = new ActiveXObject("WScript.Shell");
hkey_key="header";
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"");
hkey_key="footer";
RegWsh.RegWrite(hkey_root+hkey_path+hkey_key,"");
}catch(e){}
}
</script>
</head>
<body >
<center class="Noprint" >
<p>
<OBJECT id=WebBrowser classid=CLSID:8856F961-340A-11D0-A96B-00C04FD705A2 height=0 width=0>
</OBJECT>
<div id="div1">
<input type=button name="打印" value="打印" style="font-size: 9pt; min-width:15px; min-height:10px" onclick="directPrint()" id="Button1" />
</div>
</p>
</center>
<div class="page">
<table id="Table_01" width="780" height="360" border="0" cellpadding="0" cellspacing="0">
<tr><td width="931" style="position:relative; padding:inherit; "><div id="Layer2" align="center" style="position:absolute;
left:57px; top:98px; width:55px; height:20px; z-index:2;">FEKPO</div>
<div id="Layer6" style="position:absolute; left:450px; top:72px; width:119px; height:23px; z-index:6;
vertical-align:middle" align="center">一星期内有效</div>
<div id="Layer9" style="position:absolute; left:95px; top:276px; width:153px; height:24px; z-index:9;"
align="left">7188881131464</div>
<table width="98%" align="center" runat="server" height="" style="position:absolute; top:134px; left: 62px; width: 686px;">
<tr>
<td width="106" align="left" height="20" >北京 FOR </td>
<td width="54" height="20" align="center" >王世鹏</td>
<td width="40" height="20" align="center" >C10</td>
<td height="20" width="44" align="center" >A级</td>
<td height="20" width="65" align="center" >2008-03-21</td>
<td height="20" width="34" align="center" >09:00</td>
<td height="20" width="147" align="center" >高级/高等</td>
<td height="20" width="57" align="center" >2008-03-21</td>
<td height="20" width="55" align="center" >2008-03-27</td>
<td height="20" width="40" >无任何行李</td>
</tr>
</table>
<div id="Layer10" style="position:absolute; left:98px; top:314px; height:19px; z-index:10; width: 62px;" align="center">086</div>
<div id="layer9" style="position:absolute; left:247px; top:315px; height:18px; z-index:10; width: 260px;" align="center">纵横天地电子商旅公司</div>
<div id="layer" align="center" style="position:absolute; left:684px; top:273px; width:63px; height:24px;
z-index:2;">40.00¥</div>
<div id="layer2" align="left" style="position:absolute; left:203px; top:73px; width:203px; height:20px; z-
index:2;">421023198409102978</div>
<div id="layer3" style="position:absolute; left:272px; top:281px; height:19px; z-index:10; width: 67px;" align="center">APKS</div>
<div id="layer4" align="center" style="position:absolute;
left:57px; top:72px; width:55px; height:20px; z-index:2;">方信</div>
<div id="layer5" align="center" style="position:absolute; left:403px; top:277px; width:55px; height:24px;
z-index:2;">无</div>
<div id="layer6" align="center" style="position:absolute; left:643px; top:308px; width:85px; height:24px;
z-index:2;">2008-03-21</div>
<table width="98%" align="center" runat="server" height="" style="position:absolute; top:252px; left: 190px; width: 556px; height: 21px;">
<tr>
<td width="102" align="left" height="20" >1000.00¥</td>
<td width="91" height="20" align="center" >90.00¥</td>
<td height="20" width="90" align="center" >70.00¥</td>
<td height="20" width="100" align="center" >40.00¥</td>
<td height="20" width="149" align="center" >1200.00¥</td>
</tr>
</table></td></tr>
</table>
</div>
</body>
</html>