📄 view.asp
字号:
<% option explicit%>
<!-- #include virtual="include/DataEnvi.asp" -->
<!-- #include virtual="/include/Page.asp" -->
<%
Dim C,conn
Dim IntID
Dim ObjDB,ObjRS,ObjRSName,ObjRSGuest
IntID = Request.QueryString("ID")
if Cint(IntID)=0 Then
Response.Write "<script language=javascript>alert('请选择日志信息');history.back();</script>"
Response.End
End if
Set conn=Server.CreateObject("ADODB.Connection")
OpenDBCrm( conn )
Set C = Server.CreateObject ("CMS2003.DBhandle")
C.Init(conn)
Set ObjRS = C.View("Select * From T_CRM_Viewlog Where ID = " & IntID)
Set ObjDB = Server.CreateObject("ADODB.Connection")
OpenDB objDB
Set ObjRSName = ObjDB.Execute("Select TrueName From t_OA_SYS_Account_Character Where AccountID = " & Objrs("OpePeople"))
conn.Close
Set conn = Nothing
%>
<%'==================================================================%>
<%Sub Main%>
<%'------------------------------------------------------------------%>
<form action="" method="post" onsubmit="return(CheckForm(this))" id=form1 name=form1>
<input type=hidden name=ID value="<%=Request.QueryString("ID")%>">
<table class=Ltable cellspacing=1 cellpadding=3>
<tr class=LHtr align="middle">
<td width="15%">日志基本信息</td>
<td width="85%"> </td>
</tr>
<%if ObjRSName("TrueName")="" or IsNull(ObjRSName("TrueName")) Then%>
<tr class=Ltr>
<td>操作人</td>
<td><input type="text" readonly class=Input Check=0 Show="操作人" name="_TrueName" value="不祥"></td>
</tr>
<%else%>
<tr class=Ltr>
<td>操作人</td>
<td><input type="text" readonly class=Input Check=0 Show="操作人" name="_TrueName" value="<%=ObjRSName("TrueName")%>"></td>
</tr>
<%End if%>
<tr class=Ltr>
<td>一级菜单名</td>
<td><input type="text" readonly class=Input Check=0 Show="一级菜单名" name="_FirstMenu" value="<%=ObjRS("FirstMenu")%>"></td>
</tr>
<tr class=Ltr>
<td>二级菜单名</td>
<td><input type="text" readonly class=Input Check=0 Show="二级菜单名" name="_SecondMenu" value="<%=ObjRS("SecondMenu")%>"></td>
</tr>
<tr class=Ltr>
<td>操作类型</td>
<td><input type="text" readonly class=Input Check=0 Show="操作类型" name="_Operation" value="<%=ObjRS("Operation")%>"></td>
</tr>
<tr class=Ltr>
<td>时间</td>
<td><input type="text" readonly class=Input Check=0 Show="时间" name="_OpeTime" value="<%=ObjRS("OpeTime")%>"></td>
</tr>
<tr class=Ltr>
<td>IP</td>
<td><input type="text" readonly class=Input Check=0 Show="IP" name="_OpeIP" value="<%=ObjRS("OpeIP")%>"></td>
</tr>
</table>
<table id=MoreInfo class=Ltable cellspacing=1 cellpadding=3>
<tr class=LStr>
<td width="15%">日志详细信息</td>
<td width="85%" colspan=3> </td>
</tr>
<tr class=Ltr>
<td>操作原因</td>
<td colspan=3><textarea cols="20" rows="2" readonly class=Input Check=0 Show="操作原因" name="_OpeDesc"><%=ObjRS("OpeDesc")%></textarea></td>
</tr>
<tr class=Ltr>
<td>所作改动</td><td><%=ObjRS("ChangeString")%></td>
</tr>
</table>
<table cellspacing=1 cellpadding=3>
<tr>
<td>
<input type="button" class=Button value="返 回" onclick="doList()" id=button1 name=button1></td>
<td></td>
</tr>
</table>
</FORM>
<%'------------------------------------------------------------------%>
<%
ObjRSName.Close
set ObjRSName=Nothing
End Sub%>
<%'==================================================================%>
<!-- #include virtual="Templet/Templet.asp" -->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -