76 lines
1.5 KiB
Plaintext
76 lines
1.5 KiB
Plaintext
<html>
|
|
<%onerror error%>
|
|
<title>^IISLOG^</title>
|
|
^BodyTag^
|
|
<%if reqparam RF "cancel"%>
|
|
<%goto end%>
|
|
<%endif%>
|
|
<%if reqparam RF "help"%>
|
|
<%redirecthttp%>^HelpPath^<%msgbody.helptopic%><%/redirecthttp%>
|
|
<%endif%>
|
|
<%if reqparam RF "bdir"%>
|
|
<%redirect%>^HtmlaDll^?dir/bdir+<%servname%>/log?logdir?<%msgbody.logdir%><%/redirect%>
|
|
<%endif%>
|
|
<%!Clear enablelog%>
|
|
<%!Clear enablenewlog%>
|
|
|
|
<%if reqparam RF "enablelog"%>
|
|
<%if reqparam RF "enablenewlog"%>
|
|
<%if msgbody.enablelog EQ "1"%>
|
|
<%if msgbody.enablenewlog EQ "1"%>
|
|
<%if reqparam RF "logperiod"%>
|
|
<%goto ok%>
|
|
<%else%>
|
|
^MustSpecWhenLog^<p>
|
|
<%goto retm%>
|
|
<%endif%>
|
|
<%endif%>
|
|
<%endif%>
|
|
<%endif%>
|
|
<%endif%>
|
|
|
|
<%if reqparam RF "enablelog"%>
|
|
<%if reqparam RF "logtype"%>
|
|
<%goto ok%>
|
|
<%else%>
|
|
^MustSpecLogTrg^<p>
|
|
<%goto retm%>
|
|
<%endif%>
|
|
<%endif%>
|
|
|
|
<%label ok%>
|
|
<%!Update%>
|
|
<%label end%>
|
|
<%redirect%>^TopMenuPage^<%/redirect%>
|
|
<%label error%>
|
|
<%if reqstatus EQ 2500%>
|
|
<%if rpcstatus EQ 5%>
|
|
^AccDeniedToServ^
|
|
<%elif rpcstatus EQ 3%>
|
|
^InvOrMissDir^
|
|
<%elif rpcstatus EQ 31%>
|
|
^InvLog^
|
|
<%elif rpcstatus EQ 1062%>
|
|
^ServStopped^
|
|
<%elif rpcstatus EQ 2%>
|
|
^DirNotExist^
|
|
<%else%>
|
|
^RPCError^
|
|
<%endif%>
|
|
<%elif reqstatus EQ 8000%>
|
|
<%if invalidlogupdate EQ 1%>
|
|
^InvFile^
|
|
<%elif invalidlogupdate EQ 2%>
|
|
^InvODBC^
|
|
<%elif invalidlogupdate EQ 4%>
|
|
^InvSet^
|
|
<%else%>
|
|
^InvParam^
|
|
<%endif%>
|
|
<%else%>
|
|
^ErrorID^
|
|
<%endif%>
|
|
<br>
|
|
<%label retm%>
|
|
<a href="^TopMenuPage^">^RetMain^</a>
|
|
</html> |