📄 print.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<!--#include file="conn.asp"-->
<!--#include file="system/ubb.asp" -->
<title><%=copyr%>旅行社旅游线路预订程序-打印线路详细信息</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css">
<!--
.样式1 {
font-size: 24px;
color: #000000;
}
td {
font-size: 9pt;
line-height: 24px;
color: #000000;
}
.ttt {
border: 2px solid #000000;
}
.tttt {
border-bottom-width: 1px;
border-top-style: none;
border-right-style: none;
border-bottom-style: solid;
border-left-style: none;
border-bottom-color: #000000;
}
body {
font-size: 9pt;
background-color: #FFFFFF;
}
-->
</style>
</head>
<%
dim id
id=request("id")
set rs=conn.execute("select * from xianlu where id="&id)
%>
<script>
function a4(){
t1.width=650;
t2.width=650;
}
function k16(){
t1.width=560;
t2.width=560;
}
function b5(){
t1.width=520;
t2.width=520;
}
</script>
<body>
<h2 align="center"><%=copyr%>-旅游线路信息</h2>
<div align="center">
<a style="cursor:hand;" onClick="a4();">A4纸张</a> <a style="cursor:hand;" onClick="k16();">16K纸张</a> <a style="cursor:hand;" onClick="b5();">B5纸张</a> <a style="cursor:hand;" onclick="window.print()">确定打印</a>
</div><br>
<table id="t1" width="650" border="0" align="center" cellpadding="5" cellspacing="0" class="ttt">
<tr>
<td height="39" bgcolor="#FFFFFF"> <p>● 线 路 ID 号:<span class="table1"><%=rs("id")%></span><br>
● 线 路 名 称:<span class="table1"><%=mfkiqpl(rs("x_name"))%></span><br>
● 线 路 类 型:<span class="table1"><%=mfkiqpl(rs("x_leixun"))%></span><br>
● 线 路 报 价:<span class="table1"><%= mfkiqpl(rs("x_baojia"))%></span><br>
● 线 路 时 间:<span class="table1"><%=mfkiqpl(rs("x_shijian"))%></span><br>
</p> </td>
</tr>
</table>
<table width="650" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="4"></td>
</tr>
</table>
<table id="t2" width="650" align="center" border="0" cellpadding="5" cellspacing="0" class="ttt">
<tr>
<td height="22" bgcolor="#FFFFFF" class="tttt">● 行 程 安 排</td>
</tr>
<tr>
<td height="22" bgcolor="#FFFFFF" class="tttt"><span class="text"><%=ubbcode(rs("x_anpai"))%></span></td>
</tr>
<tr>
<td height="22" bgcolor="#FFFFFF" class="tttt">● 线 路 景 点</td>
</tr>
<tr>
<td height="22" bgcolor="#FFFFFF" class="tttt"><span class="text"><%=ubbcode(rs("x_jingdian"))%></span></td>
</tr>
<tr>
<td height="22" bgcolor="#FFFFFF" class="tttt"><span>● 线 路 说 明</span></td>
</tr>
<tr>
<td height="22" bgcolor="#FFFFFF" class="tttt"><span class="text"><%=ubbcode(rs("x_shuoming"))%></span></td>
</tr>
<tr>
<td height="22" bgcolor="#FFFFFF" class="tttt"><span>● 备 注 事 项 </span></td>
</tr>
<tr>
<td height="22" bgcolor="#FFFFFF"><span class="text"><%=ubbcode(rs("x_zhushi"))%></span></td>
</tr>
</table>
<table width="650" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="4"></td>
</tr>
</table>
</td>
<%
closers(rs)
closeconn
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -