📄 printall.asp
字号:
<!--#include file="../include/AdoConn.asp"-->
<%
'等到文本缓冲完才显示
response.buffer = true
projectcode=session("ProjectCode")
'if Projectcode="" then
' Response.Write "您没有填写项目,无法打印。<br>打印空文档,请到<a href='/DownLoad/DownLoad.htm#4'>下载中心</a>下载申报书。"
' Response.End
'end if
set rst=server.CreateObject ("adodb.recordset")
strsqlobj="select 项目类别,项目类别名称,项目名称,主持单位 from xt_VD_ProjectName where 项目编码='"&ProjectCode&"'"
rst.Open strsqlobj,strconn
'创建一个数据库协作单位信息记录对象
set rst1=server.createobject("ADODB.recordset")
Strsql1="select 单位名称 from xt_vd_ProjectCompany where 项目编码='"&ProjectCode&"'order by 单位序号"
rst1.CursorType =3
rst1.CursorLocation =3
rst1.LockType =2
rst1.open Strsql1,strconn
N=9
redim xieZhuo(N)
for i=0 to N
xieZhuo(i)=""
next
dim cordCount '协作单位个数
cordCount=rst1.RecordCount
if cordCount>0 then
for i=0 to rst1.RecordCount-1
xieZhuo(i)=rst1("单位名称")
rst1.MoveNext
next
end if
%>
<%
'告诉浏览器用word来显示文档内容
Response.ContentType = "application/msword"
'文档设定
response.AddHeader "content-disposition", "inline; filename=Apply.doc"
%>
<html xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:w="urn:schemas-microsoft-com:office:word"
xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=GB2312">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 9">
<meta name=Originator content="Microsoft Word 9">
<link rel=File-List href="./Print_word_1.files/filelist.xml">
<title></title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>KWServer</o:Author>
<o:LastAuthor>KWServer</o:LastAuthor>
<o:Revision>1</o:Revision>
<o:TotalTime>1</o:TotalTime>
<o:Created>2002-10-29T06:36:00Z</o:Created>
<o:LastSaved>2002-10-29T06:37:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Company>KeWei</o:Company>
<o:Lines>1</o:Lines>
<o:Paragraphs>1</o:Paragraphs>
<o:Version>9.2812</o:Version>
</o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:PunctuationKerning/>
<w:DrawingGridVerticalSpacing>7.8 磅</w:DrawingGridVerticalSpacing>
<w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery>
<w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery>
<w:Compatibility>
<w:SpaceForUL/>
<w:BalanceSingleByteDoubleByteWidth/>
<w:DoNotLeaveBackslashAlone/>
<w:ULTrailSpace/>
<w:DoNotExpandShiftReturn/>
<w:AdjustLineHeightInTable/>
<w:UseFELayout/>
</w:Compatibility>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:黑体;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimHei;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:1 135135232 16 0 262144 0;}
@font-face
{font-family:楷体_GB2312;
panose-1:2 1 6 9 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:modern;
mso-font-pitch:fixed;
mso-font-signature:1 135135232 16 0 262144 0;}
@font-face
{font-family:仿宋_GB2312;
panose-1:2 1 6 9 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:modern;
mso-font-pitch:fixed;
mso-font-signature:1 135135232 16 0 262144 0;}
@font-face
{font-family:"\@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"\@楷体_GB2312";
panose-1:2 1 6 9 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:modern;
mso-font-pitch:fixed;
mso-font-signature:1 135135232 16 0 262144 0;}
@font-face
{font-family:"\@黑体";
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:1 135135232 16 0 262144 0;}
@font-face
{font-family:"\@仿宋_GB2312";
panose-1:2 1 6 9 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:modern;
mso-font-pitch:fixed;
mso-font-signature:1 135135232 16 0 262144 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
mso-pagination:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:宋体;
mso-font-kerning:1.0pt;}
h1
{mso-style-next:正文;
margin-top:17.0pt;
margin-right:0cm;
margin-bottom:16.5pt;
margin-left:0cm;
text-align:justify;
text-justify:inter-ideograph;
line-height:240%;
mso-pagination:lines-together;
page-break-after:avoid;
mso-outline-level:1;
font-size:22.0pt;
font-family:"Times New Roman";
mso-font-kerning:22.0pt;}
/* Page Definitions */
@page
{mso-page-border-surround-header:no;
mso-page-border-surround-footer:no;}
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
mso-header-margin:42.55pt;
mso-footer-margin:49.6pt;
mso-paper-source:0;
layout-grid:15.6pt;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=ZH-CN style='tab-interval:21.0pt;text-justify-trim:punctuation'>
<div class=Section1 style='layout-grid:15.6pt'>
<p class=MsoNormal style='line-height:200%'><span lang=EN-US
style='font-size:16.0pt'><o:p></o:p></span></p>
<p class=MsoNormal align=center style='text-align:center;line-height:200%'><b
style='mso-bidi-font-weight:normal'><span lang=EN-US style='font-size:24.0pt;
mso-bidi-font-size:12.0pt;mso-fareast-font-family:楷体_GB2312'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></b></p>
<p class=MsoNormal align=center style='text-align:center;line-height:200%'><b
style='mso-bidi-font-weight:normal'><span lang=EN-US style='font-size:24.0pt;
mso-bidi-font-size:12.0pt;mso-fareast-font-family:楷体_GB2312'><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></b></p>
<h1 align=center style='text-align:center'><span style='font-size:24.0pt;
mso-bidi-font-size:22.0pt;font-family:黑体;mso-ascii-font-family:"Times New Roman"'>沈阳市科学技术计划项目申报书</span><span
lang=EN-US style='font-size:24.0pt;mso-bidi-font-size:22.0pt;mso-fareast-font-family:
黑体'><o:p></o:p></span></h1>
<p class=MsoNormal><span lang=EN-US><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
<![if !supportEmptyParas]>
<![endif]>
<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><![if !supportEmptyParas]> <![endif]><o:p></o:p></span></p>
<table border=0 cellspacing=0 cellpadding=0 width=595 style='width:446.4pt;
border-collapse:collapse;mso-padding-alt:0cm 5.4pt 0cm 5.4pt'>
<tr style='height:52.2pt'>
<td width=231 style='width:173.6pt;padding:0cm 5.4pt 0cm 5.4pt;height:52.2pt'>
<p class=MsoNormal style='margin-left:9.0pt;text-align:justify;text-justify:
distribute-all-lines'><span style='font-size:14.0pt;mso-bidi-font-size:12.0pt;
font-family:黑体;mso-ascii-font-family:"Times New Roman"'>应用开发研究计划</span><span
lang=EN-US style='font-size:14.0pt;mso-bidi-font-size:12.0pt;mso-fareast-font-family:
黑体'><o:p></o:p></span></p>
</td>
<td width=16 style='width:11.8pt;padding:0cm 5.4pt 0cm 5.4pt;height:52.2pt'>
<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:14.0pt;mso-bidi-font-size:12.0pt;font-family:黑体;mso-ascii-font-family:
"Times New Roman"'>:</span><span lang=EN-US style='font-size:14.0pt;
mso-bidi-font-size:12.0pt;mso-fareast-font-family:黑体'><o:p></o:p></span></p>
</td>
<td width=348 colspan=2 style='width:261.0pt;padding:0cm 5.4pt 0cm 5.4pt;
height:52.2pt'>
<p class=MsoNormal style='margin-left:.3pt'>
<![if !supportEmptyParas]>
<![endif]>
<%
if left(rst("项目类别"),1)="1" then response.write right(rst("项目类别名称"),len(rst("项目类别名称"))-instr(rst("项目类别名称"),":")) end if
%>
<span
lang=EN-US style='font-size:12.0pt;font-family:宋体'><o:p> </o:p></span></p>
</td>
</tr>
<tr style='height:52.2pt'>
<td width=231 style='width:173.6pt;padding:0cm 5.4pt 0cm 5.4pt;height:52.2pt'>
<p class=MsoNormal style='margin-left:9.0pt;text-align:justify;text-justify:
distribute-all-lines'><span style='font-size:14.0pt;mso-bidi-font-size:12.0pt;
font-family:黑体;mso-ascii-font-family:"Times New Roman"'>科技攻关计划</span><span
lang=EN-US style='font-size:14.0pt;mso-bidi-font-size:12.0pt;mso-fareast-font-family:
黑体'><o:p></o:p></span></p>
</td>
<td width=16 style='width:11.8pt;padding:0cm 5.4pt 0cm 5.4pt;height:52.2pt'>
<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:14.0pt;mso-bidi-font-size:12.0pt;font-family:黑体;mso-ascii-font-family:
"Times New Roman"'>:</span><span lang=EN-US style='font-size:14.0pt;
mso-bidi-font-size:12.0pt;mso-fareast-font-family:黑体'><o:p></o:p></span></p>
</td>
<td width=348 colspan=2 style='width:261.0pt;padding:0cm 5.4pt 0cm 5.4pt;
height:52.2pt'>
<p class=MsoNormal style='margin-left:.3pt'>
<![if !supportEmptyParas]>
<![endif]>
<span
lang=EN-US style='font-size:12.0pt;font-family:宋体'><o:p>
<%
if left(rst("项目类别"),1)="2" then response.write right(rst("项目类别名称"),len(rst("项目类别名称"))-instr(rst("项目类别名称"),":")) end if
%>
</o:p></span></p>
</td>
</tr>
<tr style='height:52.25pt'>
<td width=231 style='width:173.6pt;padding:0cm 5.4pt 0cm 5.4pt;height:52.25pt'>
<p class=MsoNormal style='margin-left:9.0pt;text-align:justify;text-justify:
distribute-all-lines'><span style='font-size:14.0pt;mso-bidi-font-size:12.0pt;
font-family:黑体;mso-ascii-font-family:"Times New Roman"'>科技产业化计划</span><span
lang=EN-US style='font-size:14.0pt;mso-bidi-font-size:12.0pt;mso-fareast-font-family:
黑体'><o:p></o:p></span></p>
</td>
<td width=16 style='width:11.8pt;padding:0cm 5.4pt 0cm 5.4pt;height:52.25pt'>
<p class=MsoNormal align=center style='text-align:center'><span
style='font-size:14.0pt;mso-bidi-font-size:12.0pt;font-family:黑体;mso-ascii-font-family:
"Times New Roman"'>:</span><span lang=EN-US style='font-size:14.0pt;
mso-bidi-font-size:12.0pt;mso-fareast-font-family:仿宋_GB2312'><o:p></o:p></span></p>
</td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -