6002.asp
来自「关于网络渗透技术的详细讲解」· ASP 代码 · 共 763 行 · 第 1/3 页
ASP
763 行
<!--#include file="conn1.asp" -->
<!---#include file="form_check.asp"---> <%
' dim conn
' dim connstr
'on error resume next
' connstr="DBQ="+server.mappath("/sgs/Depot/NBArticle.asp")+";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};"
' set conn=server.createobject("ADODB.CONNECTION")
' conn.open connstr
%>
<%'---赋值
if session("master_name")<>"" then
'Const sCacheName="NB274868191"
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from 6002 where id="&request("id")
rs.open sql,conn,1,3
nsrsb=rs("nsrsb")
nsrmc=rs("nsrmc")
scjyd=rs("scjyd")
lxdh=rs("lxdh")
sqlzs=rs("sqlzs")
je=rs("je")
ssqq1=rs("ssqq1")
ssqq2=rs("ssqq2")
sqly=rs("sqly")
fddbr=rs("fddbr")
bsry=rs("bsry")
blsj1=rs("blsj1")
jbr1=rs("jbr1")
jbr2=rs("jbr2")
jbr3=rs("jbr3")
jbr4=rs("jbr4")
fzr1=rs("fzr1")
bmfzr=rs("bmfzr")
fzr2=rs("fzr2")
fzr3=rs("fzr3")
blsj2=rs("blsj2")
zgjz1=rs("zgjz1")
zgjz2=rs("zgjz2")
zgjz3=rs("zgjz3")
blsj3=rs("blsj3")
blsj4=rs("blsj4")
blsj5=rs("blsj5")
else
if session("userid")(1)<>"" then
nsrsb=session("userid")(1)
nsrmc=session("userid")(19)
end if
end if
%>
<%'----------添加
if REQUEST("bb")="提交" then
Const sCacheName="NB274868191"
%>
<%
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from 6002"
rs.open sql,conn,1,3
%>
<% rs.addnew
rs("name")=request("name")
rs("nsrsb")=request("nsrsb")
rs("nsrmc")=request("nsrmc")
rs("scjyd")=request("scjyd")
rs("lxdh")=request("lxdh")
rs("sqlzs")=request("sqlzs")
rs("je")=request("je")
rs("ssqq1")=request("ssqq1")
rs("ssqq2")=request("ssqq2")
rs("sqly")=request("sqly")
rs("fddbr")=request("fddbr")
rs("bsry")=request("bsry")
rs("blsj1")=request("blsj1")
rs("jbr1")=request("jbr1")
rs("jbr2")=request("jbr2")
rs("jbr3")=request("jbr3")
rs("jbr4")=request("jbr4")
rs("fzr1")=request("fzr1")
rs("bmfzr")=request("bmfzr")
rs("fzr2")=request("fzr2")
rs("fzr3")=request("fzr3")
rs("blsj2")=request("blsj2")
rs("zgjz1")=request("zgjz1")
rs("zgjz2")=request("zgjz2")
rs("zgjz3")=request("zgjz3")
rs("blsj3")=request("blsj3")
rs("blsj4")=request("blsj4")
rs("blsj5")=request("blsj5")
rs("is_pass")=0
rs("add_date")=cstr(date())
rs.update
id=rs("id")
'-------
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from nsr_work"
rs.open sql,conn,1,3
rs.addnew
rs("nsr_mc")=request("nsrmc")
rs("nsr_id")=request("nsrsb")
rs("work")="企业所得税税前列支申请审批"
rs("work_state")="0"
rs("work_id")=id
rs("reg_name")=session("userid")(1)
rs("add_date")=cstr(date())
rs("form_id")="6002"
rs.update%>
<%session("userid")=""
response.Redirect "myform.asp"
end if
'-------------------
%><title>企业所得税税前列支申请审批表</title>
<!--[if gte mso 9]><xml>
<o:DocumentProperties>
<o:Author>bmv8d</o:Author>
<o:Template>Normal</o:Template>
<o:LastAuthor>chen</o:LastAuthor>
<o:Revision>4</o:Revision>
<o:TotalTime>29</o:TotalTime>
<o:Created>2005-04-17T02:07:00Z</o:Created>
<o:LastSaved>2005-04-17T10:25:00Z</o:LastSaved>
<o:Pages>1</o:Pages>
<o:Words>211</o:Words>
<o:Characters>1208</o:Characters>
<o:Company>fzgs</o:Company>
<o:Lines>10</o:Lines>
<o:Paragraphs>2</o:Paragraphs>
<o:CharactersWithSpaces>1417</o:CharactersWithSpaces>
<o:Version>11.5606</o:Version>
</o:DocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:Zoom>75</w:Zoom>
<w:SpellingState>Clean</w:SpellingState>
<w:GrammarState>Clean</w:GrammarState>
<w:FormsDesign/>
<w:PunctuationKerning/>
<w:DrawingGridVerticalSpacing>7.8 磅</w:DrawingGridVerticalSpacing>
<w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery>
<w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:SpaceForUL/>
<w:BalanceSingleByteDoubleByteWidth/>
<w:DoNotLeaveBackslashAlone/>
<w:ULTrailSpace/>
<w:DoNotExpandShiftReturn/>
<w:AdjustLineHeightInTable/>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:UseFELayout/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</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:"\@黑体";
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:"\@宋体";
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;}
/* 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;}
p.MsoToc1, li.MsoToc1, div.MsoToc1
{mso-style-update:auto;
mso-style-noshow:yes;
mso-style-next:正文;
margin:0cm;
margin-bottom:.0001pt;
text-align:center;
mso-pagination:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:宋体;
mso-bidi-font-family:"Times New Roman";
mso-font-kerning:1.0pt;}
span.GramE
{mso-style-name:"";
mso-gram-e:yes;}
/* Page Definitions */
@page
{mso-page-border-surround-header:no;
mso-page-border-surround-footer:no;}
@page Section1
{size:595.3pt 841.9pt;
margin:2.0cm 68.05pt 2.0cm 68.05pt;
mso-header-margin:42.55pt;
mso-footer-margin:49.6pt;
mso-paper-source:0;
layout-grid:15.6pt;}
div.Section1
{page:Section1;}
body {
background-color: #CCCCCC;
}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:普通表格;
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?