You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

126 lines
3.5 KiB

<!-- $Id: maintreport.htt,v 1.1.1.1 2004/01/09 09:22:10 jeffo Exp $ -->
<HTML>
<HEAD>
<TITLE><%=PHRASE.419%> <%=PHRASE.64%></TITLE>
<BASEFONT FACE="Arial">
<%=SYSTEM.STARTIF?SESSION.browserapp MSIE INCLUDE %>
<STYLE>
<!--
BUTTON {font-size: 10px;height: 20;}
SELECT {font-size: 10px;height: 250;}
INPUT {font-size: 10px;height: 20;}
-->
</STYLE>
<%=SYSTEM.ENDIF%>
<%=SYSTEM.INCLUDEJS global.js %>
<SCRIPT language="JavaScript">
<!--
var down, csec, syncform;
function wdw_onLoad() {
syncform = top.findex.document.syncform
syncform.csec.value = <%=SYSTEM.autologout%>;
monitor();
}
function monitor() {
monitorrepeat();
}
function monitorrepeat() {
csec=syncform.csec.value;
csec--;
syncform.csec.value=csec;
if ((csec > 0)) {
down=setTimeout("monitorrepeat()",1000);
}
}
function reset_autotimer() {
syncform.csec.value=<%=SYSTEM.autologout%>;
}
function btn_report_click(objForm) {
var sURL, nSelected, sItem;
reset_autotimer();
if (document.reportwdw.rptno.selectedIndex==-1) {
alert("<%=PHRASE.504%>");
return false;
} else {
nSelected = objForm.rptno.selectedIndex;
sItem = objForm.rptno.options[nSelected].value;
<%=SYSTEM.STARTIF?SESSION.clid std INCLUDE %>
sURL="<%=PATHS.cgiroot%>/sreports.pl?tid="+objForm.tid.value+"&lang=<%=SESSION.lang%>&rptno="+sItem;
<%=SYSTEM.ELSE%>
sURL="<%=PATHS.cgiroot%>/creports.pl?tid="+objForm.tid.value+"&lang=<%=SESSION.lang%>&rptno="+sItem;
<%=SYSTEM.ENDIF%>
document.location.replace(sURL);
return false;
}
}
window.onload=wdw_onLoad;
// -->
</SCRIPT>
</HEAD>
<BODY BACKGROUND="<%=SYSTEM.BACKGROUND%>" BGCOLOR="<%=SYSTEM.BGCOLOR%>"
TEXT="<%=SYSTEM.TEXT%>" LINK="<%=SYSTEM.LINK%>"
VLINK="<%=SYSTEM.VLINK%>" ALINK="<%=SYSTEM.ALINK%>">
<CENTER>
<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=1 WIDTH="100%">
<TR>
<TD colspan="2" ALIGN="center" VALIGN="middle" NOWRAP>
<FONT SIZE=2 COLOR="<%=SYSTEM.HEADERCOLOR%>">
<B><%=CLIENT.clorg%></B><BR>
</FONT>
<FONT SIZE=4 COLOR="<%=SYSTEM.HEADERCOLOR%>">
<B><%=PHRASE.346%></B><BR>
</FONT>
</TD>
</TR>
<TR>
<TD colspan="2" ALIGN="center" VALIGN="middle" NOWRAP>
<FONT SIZE=2 COLOR="<%=SYSTEM.HEADERCOLOR%>"><%=SYSTEM.pwchange%></FONT>
</TD>
</TR>
</TABLE>
<%=SYSTEM.STARTIF?SESSION.clid std INCLUDE %>
<FORM METHOD=POST ACTION="<%=PATHS.cgiroot%>/sreports.pl"
Name="reportwdw">
<INPUT NAME="tid" TYPE=HIDDEN VALUE="<%=SESSION.tid%>">
&nbsp;<BR>
<SELECT NAME=rptno SIZE=8 onChange="reset_autotimer()" onDblClick="return btn_report_click(document.reportwdw)">
<%=SITE.REPORTS%>
</SELECT><BR>
<%=SYSTEM.ELSE%>
<FORM METHOD=POST ACTION="<%=PATHS.cgiroot%>/creports.pl"
Name="reportwdw">
<INPUT NAME="tid" TYPE=HIDDEN VALUE="<%=SESSION.tid%>">
&nbsp;<BR>
<SELECT NAME=rptno SIZE=8 onChange="reset_autotimer()" onDblClick="return btn_report_click(document.reportwdw)">
<%=CLIENT.REPORTS%>
</SELECT><BR>
<%=SYSTEM.ENDIF%>
&nbsp;<BR>
<!--
<%=SYSTEM.STARTIF?SESSION.browserapp MSIE INCLUDE %>
<A
<%=SYSTEM.ELSE%>
<A HREF="#top"
<%=SYSTEM.ENDIF%>
onMouseOver="document.execrpt.src='<%=PATHS.graphroot%>/<%=SESSION.lang%>/btnexecuteon.gif'"
onMouseOut="document.execrpt.src='<%=PATHS.graphroot%>/<%=SESSION.lang%>/btnexecuteoff.gif'"
onClick="return btn_report_click(document.reportwdw)"
><IMG NAME="execrpt" src="<%=PATHS.graphroot%>/<%=SESSION.lang%>/btnexecuteoff.gif" border=0 alt="<%=PHRASE.354%>"></A><BR>
-->
<INPUT TYPE=BUTTON NAME="execute" VALUE="<%=PHRASE.354%>" onClick="return btn_report_click(document.reportwdw)">
</FORM>
<P>
<FONT SIZE=1 COLOR="#8C8C8C">
<%=PHRASE.136%>
</FONT>
</P>
</CENTER>
</BODY>
</HTML>