DaedalusMC
asked on
How to grab a multi-line CGI input into a variable
I'm trying to save the input from a CGI that pulls information from a database and throws it into an HTML file where ever the key <%ReportList%> is present.
I need to change some of the Directory paths in this list without really changing them in the file structure.
I've tried storing the data to a string and call the replace function but no matter how I store the output of the CGI it only grabs the first line.
Is this output a function of the CGI executable or is it from the Javascript?
Thanks in advance
--Mike
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE><%Title%></TITLE>
<script language="JavaScript"><!--
<%LogonMessageContents%>
// --></script>
<script language="Javascript"><!--
gpd="<%Apd%>"
bparms="<%BrowserParms%>"
rcf="<%ReportCodeFilter%>"
sda="<%JavaScriptSelDateAp pRpt%>"
function stdpopulate(form)
{
with(form)
{
ReportCodeFilter.value = rcf;
SelDateAppRpt.value = sda;
Apd.value = gpd;
BrowserParms.value = bparms;
}
}
function stdsubmit(form)
{
stdpopulate(form);
form.submit();
}
function newWinAndSubmit(form)
{
with (form) {
target = "_blank"
stdsubmit(form);
}
}
function conditionalSubmit(form)
{
var str = bparms;
if (str.lastIndexOf("Frames=Y ") == -1)
{
stdsubmit(form);
}
else
{
newWinAndSubmit(form);
}
}
// --></script>
<form name="RptReturn" action="<%Protocol%>//Icar us/convers ion/cgi-bi n2/iacquir e.exe" method="POST" target="_top">
<input type="hidden" name="iAcqCmd" value="Back">
<input type="hidden" name="ReportPath" value="<%ReportPath%>">
<input type="hidden" name="AqlFile" value="_ACQDEF_">
<input type="hidden" name="PageNumber" value="<%CurrentPageNumber %>">
<input type="hidden" name="ReportSet" value="<%ReportSet%>">
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="ReportCodeFilter" value="">
<input type="hidden" name="SelDateAppRpt" value="">
</form>
<form name="AppHeaderForm1" action="<%Protocol%>//Icar us/convers ion/cgi-bi n2/iacquir e.exe" method="POST" target="_top">
<input type="hidden" name="iAcqCmd" value="GetOpenReportDlg">
<input type="hidden" name="ReportSet" value="<%ReportSet%>">
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="ReportCodeFilter" value="">
<input type="hidden" name="SelDateAppRpt" value="">
</form>
...........
...........
...........
<!-- This table contains the app/reports list-->
<table>
<tr>
<td valign="top"> </td>
<td align="left" valign="top" width="100%%">
<FORM name = "HiddenData">
<input type="hidden" name="ReportList" value="{<%ReportList%>}">
</FORM>
<SCRIPT LANGUAGE="JavaScript"><!--
document.HiddenData.Report List.value .replace(/ ACQOTG/, "ACQPROD");
// -->
</SCRIPT>
I need to change some of the Directory paths in this list without really changing them in the file structure.
I've tried storing the data to a string and call the replace function but no matter how I store the output of the CGI it only grabs the first line.
Is this output a function of the CGI executable or is it from the Javascript?
Thanks in advance
--Mike
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE><%Title%></TITLE>
<script language="JavaScript"><!--
<%LogonMessageContents%>
// --></script>
<script language="Javascript"><!--
gpd="<%Apd%>"
bparms="<%BrowserParms%>"
rcf="<%ReportCodeFilter%>"
sda="<%JavaScriptSelDateAp
function stdpopulate(form)
{
with(form)
{
ReportCodeFilter.value = rcf;
SelDateAppRpt.value = sda;
Apd.value = gpd;
BrowserParms.value = bparms;
}
}
function stdsubmit(form)
{
stdpopulate(form);
form.submit();
}
function newWinAndSubmit(form)
{
with (form) {
target = "_blank"
stdsubmit(form);
}
}
function conditionalSubmit(form)
{
var str = bparms;
if (str.lastIndexOf("Frames=Y
{
stdsubmit(form);
}
else
{
newWinAndSubmit(form);
}
}
// --></script>
<form name="RptReturn" action="<%Protocol%>//Icar
<input type="hidden" name="iAcqCmd" value="Back">
<input type="hidden" name="ReportPath" value="<%ReportPath%>">
<input type="hidden" name="AqlFile" value="_ACQDEF_">
<input type="hidden" name="PageNumber" value="<%CurrentPageNumber
<input type="hidden" name="ReportSet" value="<%ReportSet%>">
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="ReportCodeFilter" value="">
<input type="hidden" name="SelDateAppRpt" value="">
</form>
<form name="AppHeaderForm1" action="<%Protocol%>//Icar
<input type="hidden" name="iAcqCmd" value="GetOpenReportDlg">
<input type="hidden" name="ReportSet" value="<%ReportSet%>">
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="ReportCodeFilter" value="">
<input type="hidden" name="SelDateAppRpt" value="">
</form>
...........
...........
...........
<!-- This table contains the app/reports list-->
<table>
<tr>
<td valign="top"> </td>
<td align="left" valign="top" width="100%%">
<FORM name = "HiddenData">
<input type="hidden" name="ReportList" value="{<%ReportList%>}">
</FORM>
<SCRIPT LANGUAGE="JavaScript"><!--
document.HiddenData.Report
// -->
</SCRIPT>
Add the "g" modifier:
<SCRIPT LANGUAGE="JavaScript"><!--
document.HiddenData.Report List.value .replace(/ ACQOTG/g, "ACQPROD");
// -->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript"><!--
document.HiddenData.Report
// -->
</SCRIPT>
ASKER
I only wanted to modify the first instance.
The problem I'm having is when the CGI dumps the data for the <%ReportList%> variable it has multiple lines, only the first of which is stored in the variable to be searched.
I hope that helps out.
Thanks again.
--Mike
The problem I'm having is when the CGI dumps the data for the <%ReportList%> variable it has multiple lines, only the first of which is stored in the variable to be searched.
I hope that helps out.
Thanks again.
--Mike
Not sure to understand where lies the problem.
In the generated source code - in the browser - does the input ReportList contain all the data, or is it here that you have only the first line?
In this second case the problem lies in the CGI.
Else, you maybe need to replace all \r\n by nothing in your CGI variable.
In the generated source code - in the browser - does the input ReportList contain all the data, or is it here that you have only the first line?
In this second case the problem lies in the CGI.
Else, you maybe need to replace all \r\n by nothing in your CGI variable.
ASKER
Here is the HTTP Output - You can see where the CGI dumps the info into the HTML template.
I don't have access to change anything in the CGI app so I have to change the printed HTML
I marked it with a line of stars in the output below
If there is an easier way to just change the HTML code after it has been generated by the CGI that would be fine too.
Thanks,
--Mike
************************** *
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
Date: Thu, 13 Apr 2006 20:54:00 GMT
Connection: close
Content-type: text/html
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>Open Report</TITLE>
<script language="JavaScript"><!--
//-- This function opens an alert box and fills
//-- it with the content inside the Logon Message file.
function PopupLogonMessageWindow() {
alert(" Welcome to the\n***Conversion ACquire Server***\n\n If you have any problems\n or questions email\n\n idontcare@goaway.com\n\n Thanks\n");
}
// --></script>
<script language="Javascript"><!--
gpd="qwqHlguaODk0nIG2iCGWo rg7ALpBE50 SY3jJz"
bparms="Frames=N Bver=1"
rcf=""
sda="20040229"
function stdpopulate(form)
{
with(form)
{
ReportCodeFilter.value = rcf;
SelDateAppRpt.value = sda;
Apd.value = gpd;
BrowserParms.value = bparms;
}
}
function stdsubmit(form)
{
stdpopulate(form);
form.submit();
}
function newWinAndSubmit(form)
{
with (form) {
target = "_blank"
stdsubmit(form);
}
}
function conditionalSubmit(form)
{
var str = bparms;
if (str.lastIndexOf("Frames=Y ") == -1)
{
stdsubmit(form);
}
else
{
newWinAndSubmit(form);
}
}
// --></script>
<form name="RptReturn" action="http://Icarus/conversion/cgi-bin2/iacquire.exe" method="POST" target="_top">
<input type="hidden" name="iAcqCmd" value="Back">
<input type="hidden" name="ReportPath" value="_ACQDEF_">
<input type="hidden" name="AqlFile" value="_ACQDEF_">
<input type="hidden" name="PageNumber" value="1">
<input type="hidden" name="ReportSet" value="\\ACQOTG\O$\ACQHNB\ REPORTS">
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="ReportCodeFilter" value="">
<input type="hidden" name="SelDateAppRpt" value="">
</form>
<form name="AppHeaderForm1" action="http://Icarus/conversion/cgi-bin2/iacquire.exe" method="POST" target="_top">
<input type="hidden" name="iAcqCmd" value="GetOpenReportDlg">
<input type="hidden" name="ReportSet" value="\\ACQOTG\O$\ACQHNB\ REPORTS">
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="ReportCodeFilter" value="">
<input type="hidden" name="SelDateAppRpt" value="">
</form>
<form name="AppHeaderForm2" action="http://Icarus/conversion/cgi-bin2/iacquire.exe" method="POST" target="_top">
<input type="hidden" name="iAcqCmd" value="GetFavoritesDlg">
<input type="hidden" name="ReportSet" value="\\ACQOTG\O$\ACQHNB\ REPORTS">
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="ReportCodeFilter" value="">
<input type="hidden" name="SelDateAppRpt" value="">
</form>
<form name="AppHeaderForm3" action="http://Icarus/conversion/cgi-bin2/iacquire.exe" method="POST" target="_top">
<input type="hidden" name="iAcqCmd" value="GetOptionsDlg">
<input type="hidden" name="ReportPath" value="_ACQDEF_">
<input type="hidden" name="CurrentPage" value="1">
<input type="hidden" name="ReportSet" value="\\ACQOTG\O$\ACQHNB\ REPORTS">
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="ReportCodeFilter" value="">
<input type="hidden" name="SelDateAppRpt" value="">
</form>
<form name="AppHeaderForm4" action="http://Icarus/conversion/cgi-bin2/iacquire.exe" method="POST" target="_top">
<input type="hidden" name="iAcqCmd" value="Logoff">
<input type="hidden" name="ResultsDir" value="//Icarus/conversion /results">
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="ReportCodeFilter" value="">
<input type="hidden" name="SelDateAppRpt" value="">
</form>
<form name="AppHeaderForm5" action="http://Icarus/conversion/cgi-bin2/iacquire.exe" method="POST" target="_top">
<input type="hidden" name="iAcqCmd" value="GetAboutDlg">
<input type="hidden" name="ReportPath" value="_ACQDEF_">
<input type="hidden" name="CurrentPage" value="1">
<input type="hidden" name="ReportSet" value="\\ACQOTG\O$\ACQHNB\ REPORTS">
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="ReportCodeFilter" value="">
<input type="hidden" name="SelDateAppRpt" value="">
</form>
<script language="JavaScript"><!--
function cal_pf_form1(cmd, seldateapprpt, reportset, report_code_filter)
{
var myform = document.forms.CalForm1;
with (myform) {
iAcqCmd.value = cmd;
ReportSet.value = reportset;
// must set global variables so stdsubmit works
rcf = report_code_filter;
sda = seldateapprpt;
stdsubmit(myform);
}
}
function cal_pf_form2(reportpath, report_code_filter)
{
var myform = document.forms.CalForm2;
with (myform) {
ReportPath.value = reportpath;
// must set global variable so stdsubmit works
rcf = report_code_filter;
// Really don't want full path here, but don't want to create
// more javascript to parse out what we need, so we'll send
// what we have, and assume server will fix it for us.
sda = reportpath;
stdsubmit(myform);
}
}
// --></script>
<form name="CalForm1" action="http://Icarus/conversion/cgi-bin2/iacquire.exe" method="POST">
<input type="hidden" name="iAcqCmd" value="">
<input type="hidden" name="ReportSet" value="">
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="ReportCodeFilter" value="">
<input type="hidden" name="SelDateAppRpt" value="">
</form>
<form name="CalForm2" action="http://Icarus/conversion/cgi-bin2/iacquire.exe" method="POST">
<input type="hidden" name="iAcqCmd" value="OpenReport">
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="ReportCodeFilter" value="">
<input type="hidden" name="SelDateAppRpt" value="">
<input type="hidden" name="ReportPath" value="">
<input type="hidden" name="CurrentPage" value="1">
</form>
<script language="JavaScript"><!--
function SetCalParms(form)
{
var monthStringLut = new Array(12);
monthStringLut[0] = "01"
monthStringLut[1] = "02"
monthStringLut[2] = "03"
monthStringLut[3] = "04"
monthStringLut[4] = "05"
monthStringLut[5] = "06"
monthStringLut[6] = "07"
monthStringLut[7] = "08"
monthStringLut[8] = "09"
monthStringLut[9] = "10"
monthStringLut[10] = "11"
monthStringLut[11] = "12"
with (form)
{
var monthIndex = Month.selectedIndex
var yearIndex = Year.selectedIndex
var dayIndex = Day.selectedIndex
var yearStr = Year.options[yearIndex].va lue
var reportDate = yearStr + monthStringLut[monthIndex] + Day.options[dayIndex].valu e
// Must set these global variables so that stdsubmit works. Note that
// these variables, and stdpopulate() itself, are in the parent
parent.rcf = ReportCodeFilter.value;
parent.sda = reportDate;
parent.stdpopulate(form)
}
return true;
}
function SubmitCalParms(form)
{
if (SetCalParms(form))
{
parent.stdsubmit(form);
}
}
function SetReportFilter(form)
{
with (form)
{
// Must set these global variables so that stdsubmit works. Note that
// these variables, and stdpopulate() itself, are in the parent
parent.rcf = ReportCodeFilter.value;
// parent.sda = reportDate;
parent.stdpopulate(form)
}
return true;
}
function ApplyReportFilter(form)
{
if (SetReportFilter(form))
{
parent.stdsubmit(form);
}
}
function ClearReportFilter(form)
{
form.ReportCodeFilter.valu e = "";
if (SetReportFilter(form))
{
parent.stdsubmit(form);
}
}
// --></script>
</HEAD>
<BODY bgcolor="#FFFFFF" text="#000000" link="#970045" vlink="#000080" alink="#000080" topmargin="0" onLoad="PopupLogonMessageW indow()">
<table border="0" cellpadding="3" cellspacing="0" width="100%%"
bgcolor="#DDDDDD" bordercolor="#FFFFFF" style="border-bottom: 1px solid rgb(255,255,255)">
<tr>
<td width="50%%" bgcolor="#DDDDDD" valign="middle"><font color="#000000" size="4" face="Arial">Open Report by Day</font></td>
<td align="right" valign="bottom">
<a href=javascript:parent.std submit(par ent.docume nt.AppHead erForm1)>< font size="2" face="Arial">Reports</font ></a>
<font size="2" face="Arial"> <strong>·</strong> </font>
<a href=javascript:parent.std submit(par ent.docume nt.AppHead erForm2)>< font size="2" face="Arial">Favorites</fo nt></a>
<font size="2" face="Arial"> <strong>·</strong> </font>
<a href=javascript:parent.std submit(par ent.docume nt.AppHead erForm3)>< font size="2" face="Arial">Options</font ></a>
<font size="2" face="Arial"> <strong>·</strong> </font>
<a href=javascript:parent.std submit(par ent.docume nt.AppHead erForm4)>< font size="2" face="Arial">Logout</font> </a>
<font size="2" face="Arial"> <strong>·</strong> </font>
<a href=javascript:parent.std submit(par ent.docume nt.AppHead erForm5)>< font size="2" face="Arial">About</font>< /a>
<font size="2" face="Arial"> <strong>·</strong> </font>
<a href="../help.htm" target="_blank"><font size="2" face="Arial">Help</font></ a>
</td>
</tr>
</table>
<p><font size="3">To open a report select a date in the calendar and then click on one of the reports listed to the right of the calendar.</font></p>
<!-- This table wraps the calendar and report list-->
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td valign="top">
<!--Do not edit the following line!-->
<form name = "OpenReportDlg" action="http://Icarus/conversion/cgi-bin2/iacquire.exe" method="POST" target="_top" onSubmit="return SetCalParms(OpenReportDlg) ">
<input type="hidden" name="iAcqCmd" value="GetOpenReportDlg">
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="SelDateAppRpt" value="">
<input type="hidden" name="ReportCodeFilter" value="">
<!-- This table contains the calendar and controls below the calendar-->
<table border="1" cellpadding="0" cellspacing="0">
<tr>
<td>
<TABLE border='0' cellpadding='0' cellspacing='0'><TR><td align='center' colspan='7' width='175' bgcolor='#970045' nowrap>
<font color='#FFFFFF' size='3' face='Arial'>February 29, 2004</font></td></tr><TR>< td align='center' colspan='7' width='175' bgcolor='#970045' nowrap>
<a href=javascript:parent.cal _pf_form1( "FirstDayW ithReports ",20040229 ,"\\\\acqo tg\\o$\\AC QHNB\\REPO RTS","")>< img src="../images/fmnthrpt.gi f" alt="First day with reports" border="0" width="14" height="14"></a><a href=javascript:parent.cal _pf_form1( "PrevMonth WithReport s",2004022 9,"\\\\acq otg\\o$\\A CQHNB\\REP ORTS","")> <img src="../images/pmnthrpt.gi f" alt="Previous month with reports" border="0" width="14" height="14"></a> &nbs p;<a href=javascript:parent.cal _pf_form1( "TodaysDat e",2004022 9,"\\\\acq otg\\o$\\A CQHNB\\REP ORTS","")> <img src="../images/today.gif" alt="Today's date" border="0" width="14" height="14"></a> &nbs p;<a href=javascript:parent.cal _pf_form1( "NextMonth WithReport s",2004022 9,"\\\\acq otg\\o$\\A CQHNB\\REP ORTS","")> <img src="../images/nmnthrpt.gi f" alt="Next month with reports" border="0" width="14" height="14"></a><a href=javascript:parent.cal _pf_form1( "LastDayWi thReports" ,20040229, "\\\\acqot g\\o$\\ACQ HNB\\REPOR TS","")><i mg src="../images/lmnthrpt.gi f" alt="Most recent day with reports" border="0" width="14" height="14"></a></td></tr> <tr><td align='right' width='25' bgcolor='#EEEEEE'><font size='2' face='Arial'><strong>Su</s trong></fo nt></td><t d align='right' width='25' bgcolor='#EEEEEE'><font size='2' face='Arial'><strong>Mo</s trong></fo nt></td><t d align='right' width='25' bgcolor='#EEEEEE'><font size='2' face='Arial'><strong>Tu</s trong></fo nt></td><t d align='right' width='25' bgcolor='#EEEEEE'><font size='2' face='Arial'><strong>We</s trong></fo nt></td><t d align='right' width='25' bgcolor='#EEEEEE'><font size='2' face='Arial'><strong>Th</s trong></fo nt></td><t d align='right' width='25' bgcolor='#EEEEEE'><font size='2' face='Arial'><strong>Fr</s trong></fo nt></td><t d align='right' width='25' bgcolor='#EEEEEE'><font size='2' face='Arial'><strong>Sa</s trong></fo nt></td></ TR><TR><TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040201,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>1</a ></font></ TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040202,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>2</a ></font></ TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040203,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>3</a ></font></ TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040204,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>4</a ></font></ TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040205,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>5</a ></font></ TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040206,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>6</a ></font></ TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040207,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>7</a ></font></ TD>
</TR><TR><TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040208,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>8</a ></font></ TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040209,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>9</a ></font></ TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040210,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>10</ a></font>< /TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040211,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>11</ a></font>< /TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040212,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>12</ a></font>< /TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040213,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>13</ a></font>< /TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040214,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>14</ a></font>< /TD>
</TR>
<TR><TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040215,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>15</ a></font>< /TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040216,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>16</ a></font>< /TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040217,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>17</ a></font>< /TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040218,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>18</ a></font>< /TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040219,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>19</ a></font>< /TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040220,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>20</ a></font>< /TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040221,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>21</ a></font>< /TD>
</TR>
<TR><TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040222,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>22</ a></font>< /TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040223,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>23</ a></font>< /TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040224,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>24</ a></font>< /TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040225,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>25</ a></font>< /TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040226,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>26</ a></font>< /TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040227,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>27</ a></font>< /TD>
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040228,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>28</ a></font>< /TD>
</TR>
<TR><TD align='right' width='25' bgcolor='#FF0000'><font size='2' face='Arial'><a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg",2 0040229,"\ \\\acqotg\ \o$\\ACQHN B\\REPORTS ","")>29</ a></font>< /TD>
<TD height='25'> </TD>
<TD height='25'> </TD>
<TD height='25'> </TD>
<TD height='25'> </TD>
<TD height='25'> </TD>
<TD height='25'> </TD>
</TR>
<TR><TD height='25'> </TD>
<TD height='25'> </TD>
<TD height='25'> </TD>
<TD height='25'> </TD>
<TD height='25'> </TD>
<TD height='25'> </TD>
<TD height='25'> </TD>
</TR>
</TABLE>
</td>
</tr>
</table>
<table border="1" cellpadding="0" cellspacing="0">
<tr>
<td>
<table border="0" width="175" bgcolor="#FFFFFF">
<tr>
<td><font size="2" face="Arial">Month:</font> </td>
<td><font size="2" face="Arial">Day:</font></ td>
<td><font size="2" face="Arial">Year:</font>< /td>
</tr>
<tr>
<td><font size="2" face="Arial"><select name="Month" size="1">
<option value="Jan"> Jan</option>
<option value="Feb" selected> Feb</option>
<option value="Mar"> Mar</option>
<option value="Apr"> Apr</option>
<option value="May"> May</option>
<option value="Jun"> Jun</option>
<option value="Jul"> Jul</option>
<option value="Aug"> Aug</option>
<option value="Sep"> Sep</option>
<option value="Oct"> Oct</option>
<option value="Nov"> Nov</option>
<option value="Dec"> Dec</option>
</select></font></td>
<td><font size="2" face="Arial"><select name="Day" size="1">
<option value="01"> 1</option>
<option value="02"> 2</option>
<option value="03"> 3</option>
<option value="04"> 4</option>
<option value="05"> 5</option>
<option value="06"> 6</option>
<option value="07"> 7</option>
<option value="08"> 8</option>
<option value="09"> 9</option>
<option value="10"> 10</option>
<option value="11"> 11</option>
<option value="12"> 12</option>
<option value="13"> 13</option>
<option value="14"> 14</option>
<option value="15"> 15</option>
<option value="16"> 16</option>
<option value="17"> 17</option>
<option value="18"> 18</option>
<option value="19"> 19</option>
<option value="20"> 20</option>
<option value="21"> 21</option>
<option value="22"> 22</option>
<option value="23"> 23</option>
<option value="24"> 24</option>
<option value="25"> 25</option>
<option value="26"> 26</option>
<option value="27"> 27</option>
<option value="28"> 28</option>
<option value="29" selected> 29</option>
<option value="30"> 30</option>
<option value="31"> 31</option>
</select></font></td>
<td><font size="2" face="Arial"><select name="Year" size="1">
<option value="1980"> 1980</option>
<option value="1981"> 1981</option>
<option value="1982"> 1982</option>
<option value="1983"> 1983</option>
<option value="1984"> 1984</option>
<option value="1985"> 1985</option>
<option value="1986"> 1986</option>
<option value="1987"> 1987</option>
<option value="1988"> 1988</option>
<option value="1989"> 1989</option>
<option value="1990"> 1990</option>
<option value="1991"> 1991</option>
<option value="1992"> 1992</option>
<option value="1993"> 1993</option>
<option value="1994"> 1994</option>
<option value="1995"> 1995</option>
<option value="1996"> 1996</option>
<option value="1997"> 1997</option>
<option value="1998"> 1998</option>
<option value="1999"> 1999</option>
<option value="2000"> 2000</option>
<option value="2001"> 2001</option>
<option value="2002"> 2002</option>
<option value="2003"> 2003</option>
<option value="2004" selected> 2004</option>
<option value="2005"> 2005</option>
<option value="2006"> 2006</option>
<option value="2007"> 2007</option>
<option value="2008"> 2008</option>
<option value="2009"> 2009</option>
<option value="2010"> 2010</option>
</select></font></td>
</tr>
<tr>
<td colspan="3"><font size="2" face="Arial">Drive:
<select name="ReportSet" size="1">
<option value="\\acqotg\o$\ACQHNB\ REPORTS" selected> JUKEBOX</option>
<option value="Z:\TEMP\REPORTS"> TEST</option>
<option value="\\Hd-htgl19f\BuckSi xty\ACQARC \REPORTS"> BUCKSIXTY</option>
<option value="\\acquire-pr\s$\ACQ UATE\REPOR TS"> U8</option>
<option value="C:\ACQARC\REPORTS"> ICARUS</option>
<option value="\\acqotg\jukebox\re ports"> TESTING123</option>
</select></font></td>
</tr>
<tr>
<td align="center" colspan="3" bgcolor="#EEEEEE"><input type="button" value="Update" onclick="javascript:Submit CalParms(d ocument.Op enReportDl g)"></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
<form name = "ReportFilterDlg" action="http://Icarus/conversion/cgi-bin2/iacquire.exe" method="POST" target="_top" onSubmit="return SetReportFilter(ReportFilt erDlg)">
<input type="hidden" name="iAcqCmd" value="ApplyReportFilter">
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="ReportSet" value="\\ACQOTG\O$\ACQHNB\ REPORTS">
<input type="hidden" name="SelDateAppRpt" value="">
<table border="1" cellpadding="0" cellspacing="0">
<tr>
<td>
<table border="0" width="175" bgcolor="#FFFFFF">
<tr>
<td colspan="3"><font size="2" face="Arial">Report Filter:
<input type="edit" name="ReportCodeFilter" value="">
</font></td>
</tr>
<tr align="center">
<td align="center" colspan="3" bgcolor="#EEEEEE">
<input type="button" value="Scan" onclick="javascript:ApplyR eportFilte r(document .ReportFil terDlg)">
<input type="button" value="Clear" onclick="javascript:ClearR eportFilte r(document .ReportFil terDlg)">
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</td>
<td valign="top"> </td>
<td align="left" valign="top" width="100%%">
<!-- This table contains the app/reports list-->
<table>
<tr>
<td valign="top"> </td>
<td align="left" valign="top" width="100%%">
<!-- ReportList - Start -->
************************** ********** ********** ********** ********** ********** ********** ********** ********** *********
<FORM name = "HiddenData">
<input type="hidden" name="ReportList" value="<TABLE border='0' cellpadding='0' cellspacing='0'>
<TABLE border='0' cellpadding='0' cellspacing='0'>
<TR>
<TD><img src="../images/topopen.gif " alt="Top"></TD>
<TD><font size='2' face='Arial'><b>\\ACQOTG\O $\ACQHNB\R EPORTS</b> </font></T D>
</TR>
</TABLE>
<TABLE border='0' cellpadding='0' cellspacing='0'>
<TR>
<TD><img src="../images/t.gif" alt="T-Link"></TD>
<TD><img src="../images/foldericon. gif" alt="Folder"></TD>
<TD><font size='2' face='Arial'> <a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg"," 20040229\\ AM","\\\\a cqotg\\o$\ \ACQHNB\\R EPORTS","" )>AM-ADVAN CED LOANS</a></font></TD>
</TR>
<TR>
<TD><img src="../images/t.gif" alt="T-Link"></TD>
<TD><img src="../images/foldericon. gif" alt="Folder"></TD>
<TD><font size='2' face='Arial'> <a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg"," 20040229\\ ATM","\\\\ acqotg\\o$ \\ACQHNB\\ REPORTS"," ")>ATM-MPS REPORTS</a></font></TD>
</TR>
<TR>
<TD><img src="../images/t.gif" alt="T-Link"></TD>
<TD><img src="../images/foldericon. gif" alt="Folder"></TD>
<TD><font size='2' face='Arial'> <a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg"," 20040229\\ ATS","\\\\ acqotg\\o$ \\ACQHNB\\ REPORTS"," ")>ATS-TOT ALS SYSTEMS</a></font></TD>
</TR>
<TR>
<TD><img src="../images/t.gif" alt="T-Link"></TD>
<TD><img src="../images/foldericon. gif" alt="Folder"></TD>
<TD><font size='2' face='Arial'> <a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg"," 20040229\\ CML","\\\\ acqotg\\o$ \\ACQHNB\\ REPORTS"," ")>CML-COM MERCIAL LOAN</a></font></TD>
</TR>
<TR>
<TD><img src="../images/t.gif" alt="T-Link"></TD>
<TD><img src="../images/foldericon. gif" alt="Folder"></TD>
<TD><font size='2' face='Arial'> <a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg"," 20040229\\ IM","\\\\a cqotg\\o$\ \ACQHNB\\R EPORTS","" )>IM - IMPACS </a></font></TD>
</TR>
<TR>
<TD><img src="../images/t.gif" alt="T-Link"></TD>
<TD><img src="../images/foldericon. gif" alt="Folder"></TD>
<TD><font size='2' face='Arial'> <a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg"," 20040229\\ KC","\\\\a cqotg\\o$\ \ACQHNB\\R EPORTS","" )>KC-KNOW YOUR CUST</a></font></TD>
</TR>
<TR>
<TD><img src="../images/t.gif" alt="T-Link"></TD>
<TD><img src="../images/foldericon. gif" alt="Folder"></TD>
<TD><font size='2' face='Arial'> <a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg"," 20040229\\ OP","\\\\a cqotg\\o$\ \ACQHNB\\R EPORTS","" )>OP-COMPU TER OPS</a></font></TD>
</TR>
<TR>
<TD><img src="../images/t.gif" alt="T-Link"></TD>
<TD><img src="../images/foldericon. gif" alt="Folder"></TD>
<TD><font size='2' face='Arial'> <a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg"," 20040229\\ PEP","\\\\ acqotg\\o$ \\ACQHNB\\ REPORTS"," ")>PEP-PLU S</a></fon t></TD>
</TR>
<TR>
<TD><img src="../images/t.gif" alt="T-Link"></TD>
<TD><img src="../images/foldericon. gif" alt="Folder"></TD>
<TD><font size='2' face='Arial'> <a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg"," 20040229\\ RM","\\\\a cqotg\\o$\ \ACQHNB\\R EPORTS","" )>RM - CUST INFO SYST </a></font></TD>
</TR>
<TR>
<TD><img src="../images/t.gif" alt="T-Link"></TD>
<TD><img src="../images/foldericon. gif" alt="Folder"></TD>
<TD><font size='2' face='Arial'> <a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg"," 20040229\\ RP","\\\\a cqotg\\o$\ \ACQHNB\\R EPORTS","" )>RP- ACCOUNT RECON</a></font></TD>
</TR>
<TR>
<TD><img src="../images/l.gif" alt="T-Link"></TD>
<TD><img src="../images/foldericon. gif" alt="Folder"></TD>
<TD><font size='2' face='Arial'> <a href=javascript:parent.cal _pf_form1( "GetOpenRe portDlg"," 20040229\\ V3","\\\\a cqotg\\o$\ \ACQHNB\\R EPORTS","" )>V3 - VECTOR 3</a></font></TD>
</TR>
</TABLE></TABLE>">
</FORM>
<SCRIPT LANGUAGE="JavaScript"><!--
document.HiddenData.Report List.value .replace(/ ACQOTG/, "ACQPROD");
// -->
</SCRIPT>
<!-- ReportList -->
<!-- ReportList - Stop -->
</td>
</tr>
</table>
</td>
</tr>
</table>
<p align="center"><font face="Times New Roman"><img
src="../images/acquire_ico n3.jpg" alt="ACquire" width="32"
height="32"></font><font size="2" face="Times New Roman">ACquire<br>
</font><font size="2" face="Times New Roman">Copyright
© 2000-2003</font><font size="2" face="Times New Roman"><br>
Fidelity Information Services, Inc.<br>
All Rights Reserved</font></p>
</BODY>
</HTML>
I don't have access to change anything in the CGI app so I have to change the printed HTML
I marked it with a line of stars in the output below
If there is an easier way to just change the HTML code after it has been generated by the CGI that would be fine too.
Thanks,
--Mike
**************************
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.1
Date: Thu, 13 Apr 2006 20:54:00 GMT
Connection: close
Content-type: text/html
<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>Open Report</TITLE>
<script language="JavaScript"><!--
//-- This function opens an alert box and fills
//-- it with the content inside the Logon Message file.
function PopupLogonMessageWindow() {
alert(" Welcome to the\n***Conversion ACquire Server***\n\n If you have any problems\n or questions email\n\n idontcare@goaway.com\n\n Thanks\n");
}
// --></script>
<script language="Javascript"><!--
gpd="qwqHlguaODk0nIG2iCGWo
bparms="Frames=N Bver=1"
rcf=""
sda="20040229"
function stdpopulate(form)
{
with(form)
{
ReportCodeFilter.value = rcf;
SelDateAppRpt.value = sda;
Apd.value = gpd;
BrowserParms.value = bparms;
}
}
function stdsubmit(form)
{
stdpopulate(form);
form.submit();
}
function newWinAndSubmit(form)
{
with (form) {
target = "_blank"
stdsubmit(form);
}
}
function conditionalSubmit(form)
{
var str = bparms;
if (str.lastIndexOf("Frames=Y
{
stdsubmit(form);
}
else
{
newWinAndSubmit(form);
}
}
// --></script>
<form name="RptReturn" action="http://Icarus/conversion/cgi-bin2/iacquire.exe" method="POST" target="_top">
<input type="hidden" name="iAcqCmd" value="Back">
<input type="hidden" name="ReportPath" value="_ACQDEF_">
<input type="hidden" name="AqlFile" value="_ACQDEF_">
<input type="hidden" name="PageNumber" value="1">
<input type="hidden" name="ReportSet" value="\\ACQOTG\O$\ACQHNB\
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="ReportCodeFilter" value="">
<input type="hidden" name="SelDateAppRpt" value="">
</form>
<form name="AppHeaderForm1" action="http://Icarus/conversion/cgi-bin2/iacquire.exe" method="POST" target="_top">
<input type="hidden" name="iAcqCmd" value="GetOpenReportDlg">
<input type="hidden" name="ReportSet" value="\\ACQOTG\O$\ACQHNB\
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="ReportCodeFilter" value="">
<input type="hidden" name="SelDateAppRpt" value="">
</form>
<form name="AppHeaderForm2" action="http://Icarus/conversion/cgi-bin2/iacquire.exe" method="POST" target="_top">
<input type="hidden" name="iAcqCmd" value="GetFavoritesDlg">
<input type="hidden" name="ReportSet" value="\\ACQOTG\O$\ACQHNB\
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="ReportCodeFilter" value="">
<input type="hidden" name="SelDateAppRpt" value="">
</form>
<form name="AppHeaderForm3" action="http://Icarus/conversion/cgi-bin2/iacquire.exe" method="POST" target="_top">
<input type="hidden" name="iAcqCmd" value="GetOptionsDlg">
<input type="hidden" name="ReportPath" value="_ACQDEF_">
<input type="hidden" name="CurrentPage" value="1">
<input type="hidden" name="ReportSet" value="\\ACQOTG\O$\ACQHNB\
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="ReportCodeFilter" value="">
<input type="hidden" name="SelDateAppRpt" value="">
</form>
<form name="AppHeaderForm4" action="http://Icarus/conversion/cgi-bin2/iacquire.exe" method="POST" target="_top">
<input type="hidden" name="iAcqCmd" value="Logoff">
<input type="hidden" name="ResultsDir" value="//Icarus/conversion
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="ReportCodeFilter" value="">
<input type="hidden" name="SelDateAppRpt" value="">
</form>
<form name="AppHeaderForm5" action="http://Icarus/conversion/cgi-bin2/iacquire.exe" method="POST" target="_top">
<input type="hidden" name="iAcqCmd" value="GetAboutDlg">
<input type="hidden" name="ReportPath" value="_ACQDEF_">
<input type="hidden" name="CurrentPage" value="1">
<input type="hidden" name="ReportSet" value="\\ACQOTG\O$\ACQHNB\
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="ReportCodeFilter" value="">
<input type="hidden" name="SelDateAppRpt" value="">
</form>
<script language="JavaScript"><!--
function cal_pf_form1(cmd, seldateapprpt, reportset, report_code_filter)
{
var myform = document.forms.CalForm1;
with (myform) {
iAcqCmd.value = cmd;
ReportSet.value = reportset;
// must set global variables so stdsubmit works
rcf = report_code_filter;
sda = seldateapprpt;
stdsubmit(myform);
}
}
function cal_pf_form2(reportpath, report_code_filter)
{
var myform = document.forms.CalForm2;
with (myform) {
ReportPath.value = reportpath;
// must set global variable so stdsubmit works
rcf = report_code_filter;
// Really don't want full path here, but don't want to create
// more javascript to parse out what we need, so we'll send
// what we have, and assume server will fix it for us.
sda = reportpath;
stdsubmit(myform);
}
}
// --></script>
<form name="CalForm1" action="http://Icarus/conversion/cgi-bin2/iacquire.exe" method="POST">
<input type="hidden" name="iAcqCmd" value="">
<input type="hidden" name="ReportSet" value="">
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="ReportCodeFilter" value="">
<input type="hidden" name="SelDateAppRpt" value="">
</form>
<form name="CalForm2" action="http://Icarus/conversion/cgi-bin2/iacquire.exe" method="POST">
<input type="hidden" name="iAcqCmd" value="OpenReport">
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="ReportCodeFilter" value="">
<input type="hidden" name="SelDateAppRpt" value="">
<input type="hidden" name="ReportPath" value="">
<input type="hidden" name="CurrentPage" value="1">
</form>
<script language="JavaScript"><!--
function SetCalParms(form)
{
var monthStringLut = new Array(12);
monthStringLut[0] = "01"
monthStringLut[1] = "02"
monthStringLut[2] = "03"
monthStringLut[3] = "04"
monthStringLut[4] = "05"
monthStringLut[5] = "06"
monthStringLut[6] = "07"
monthStringLut[7] = "08"
monthStringLut[8] = "09"
monthStringLut[9] = "10"
monthStringLut[10] = "11"
monthStringLut[11] = "12"
with (form)
{
var monthIndex = Month.selectedIndex
var yearIndex = Year.selectedIndex
var dayIndex = Day.selectedIndex
var yearStr = Year.options[yearIndex].va
var reportDate = yearStr + monthStringLut[monthIndex]
// Must set these global variables so that stdsubmit works. Note that
// these variables, and stdpopulate() itself, are in the parent
parent.rcf = ReportCodeFilter.value;
parent.sda = reportDate;
parent.stdpopulate(form)
}
return true;
}
function SubmitCalParms(form)
{
if (SetCalParms(form))
{
parent.stdsubmit(form);
}
}
function SetReportFilter(form)
{
with (form)
{
// Must set these global variables so that stdsubmit works. Note that
// these variables, and stdpopulate() itself, are in the parent
parent.rcf = ReportCodeFilter.value;
// parent.sda = reportDate;
parent.stdpopulate(form)
}
return true;
}
function ApplyReportFilter(form)
{
if (SetReportFilter(form))
{
parent.stdsubmit(form);
}
}
function ClearReportFilter(form)
{
form.ReportCodeFilter.valu
if (SetReportFilter(form))
{
parent.stdsubmit(form);
}
}
// --></script>
</HEAD>
<BODY bgcolor="#FFFFFF" text="#000000" link="#970045" vlink="#000080" alink="#000080" topmargin="0" onLoad="PopupLogonMessageW
<table border="0" cellpadding="3" cellspacing="0" width="100%%"
bgcolor="#DDDDDD" bordercolor="#FFFFFF" style="border-bottom: 1px solid rgb(255,255,255)">
<tr>
<td width="50%%" bgcolor="#DDDDDD" valign="middle"><font color="#000000" size="4" face="Arial">Open Report by Day</font></td>
<td align="right" valign="bottom">
<a href=javascript:parent.std
<font size="2" face="Arial"> <strong>·</strong> </font>
<a href=javascript:parent.std
<font size="2" face="Arial"> <strong>·</strong> </font>
<a href=javascript:parent.std
<font size="2" face="Arial"> <strong>·</strong> </font>
<a href=javascript:parent.std
<font size="2" face="Arial"> <strong>·</strong> </font>
<a href=javascript:parent.std
<font size="2" face="Arial"> <strong>·</strong> </font>
<a href="../help.htm" target="_blank"><font size="2" face="Arial">Help</font></
</td>
</tr>
</table>
<p><font size="3">To open a report select a date in the calendar and then click on one of the reports listed to the right of the calendar.</font></p>
<!-- This table wraps the calendar and report list-->
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
<tr>
<td valign="top">
<!--Do not edit the following line!-->
<form name = "OpenReportDlg" action="http://Icarus/conversion/cgi-bin2/iacquire.exe" method="POST" target="_top" onSubmit="return SetCalParms(OpenReportDlg)
<input type="hidden" name="iAcqCmd" value="GetOpenReportDlg">
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="SelDateAppRpt" value="">
<input type="hidden" name="ReportCodeFilter" value="">
<!-- This table contains the calendar and controls below the calendar-->
<table border="1" cellpadding="0" cellspacing="0">
<tr>
<td>
<TABLE border='0' cellpadding='0' cellspacing='0'><TR><td align='center' colspan='7' width='175' bgcolor='#970045' nowrap>
<font color='#FFFFFF' size='3' face='Arial'>February 29, 2004</font></td></tr><TR><
<a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
</TR><TR><TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
</TR>
<TR><TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
</TR>
<TR><TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD align='right' width='25'><font size='2' face='Arial'><a href=javascript:parent.cal
</TR>
<TR><TD align='right' width='25' bgcolor='#FF0000'><font size='2' face='Arial'><a href=javascript:parent.cal
<TD height='25'> </TD>
<TD height='25'> </TD>
<TD height='25'> </TD>
<TD height='25'> </TD>
<TD height='25'> </TD>
<TD height='25'> </TD>
</TR>
<TR><TD height='25'> </TD>
<TD height='25'> </TD>
<TD height='25'> </TD>
<TD height='25'> </TD>
<TD height='25'> </TD>
<TD height='25'> </TD>
<TD height='25'> </TD>
</TR>
</TABLE>
</td>
</tr>
</table>
<table border="1" cellpadding="0" cellspacing="0">
<tr>
<td>
<table border="0" width="175" bgcolor="#FFFFFF">
<tr>
<td><font size="2" face="Arial">Month:</font>
<td><font size="2" face="Arial">Day:</font></
<td><font size="2" face="Arial">Year:</font><
</tr>
<tr>
<td><font size="2" face="Arial"><select name="Month" size="1">
<option value="Jan"> Jan</option>
<option value="Feb" selected> Feb</option>
<option value="Mar"> Mar</option>
<option value="Apr"> Apr</option>
<option value="May"> May</option>
<option value="Jun"> Jun</option>
<option value="Jul"> Jul</option>
<option value="Aug"> Aug</option>
<option value="Sep"> Sep</option>
<option value="Oct"> Oct</option>
<option value="Nov"> Nov</option>
<option value="Dec"> Dec</option>
</select></font></td>
<td><font size="2" face="Arial"><select name="Day" size="1">
<option value="01"> 1</option>
<option value="02"> 2</option>
<option value="03"> 3</option>
<option value="04"> 4</option>
<option value="05"> 5</option>
<option value="06"> 6</option>
<option value="07"> 7</option>
<option value="08"> 8</option>
<option value="09"> 9</option>
<option value="10"> 10</option>
<option value="11"> 11</option>
<option value="12"> 12</option>
<option value="13"> 13</option>
<option value="14"> 14</option>
<option value="15"> 15</option>
<option value="16"> 16</option>
<option value="17"> 17</option>
<option value="18"> 18</option>
<option value="19"> 19</option>
<option value="20"> 20</option>
<option value="21"> 21</option>
<option value="22"> 22</option>
<option value="23"> 23</option>
<option value="24"> 24</option>
<option value="25"> 25</option>
<option value="26"> 26</option>
<option value="27"> 27</option>
<option value="28"> 28</option>
<option value="29" selected> 29</option>
<option value="30"> 30</option>
<option value="31"> 31</option>
</select></font></td>
<td><font size="2" face="Arial"><select name="Year" size="1">
<option value="1980"> 1980</option>
<option value="1981"> 1981</option>
<option value="1982"> 1982</option>
<option value="1983"> 1983</option>
<option value="1984"> 1984</option>
<option value="1985"> 1985</option>
<option value="1986"> 1986</option>
<option value="1987"> 1987</option>
<option value="1988"> 1988</option>
<option value="1989"> 1989</option>
<option value="1990"> 1990</option>
<option value="1991"> 1991</option>
<option value="1992"> 1992</option>
<option value="1993"> 1993</option>
<option value="1994"> 1994</option>
<option value="1995"> 1995</option>
<option value="1996"> 1996</option>
<option value="1997"> 1997</option>
<option value="1998"> 1998</option>
<option value="1999"> 1999</option>
<option value="2000"> 2000</option>
<option value="2001"> 2001</option>
<option value="2002"> 2002</option>
<option value="2003"> 2003</option>
<option value="2004" selected> 2004</option>
<option value="2005"> 2005</option>
<option value="2006"> 2006</option>
<option value="2007"> 2007</option>
<option value="2008"> 2008</option>
<option value="2009"> 2009</option>
<option value="2010"> 2010</option>
</select></font></td>
</tr>
<tr>
<td colspan="3"><font size="2" face="Arial">Drive:
<select name="ReportSet" size="1">
<option value="\\acqotg\o$\ACQHNB\
<option value="Z:\TEMP\REPORTS"> TEST</option>
<option value="\\Hd-htgl19f\BuckSi
<option value="\\acquire-pr\s$\ACQ
<option value="C:\ACQARC\REPORTS">
<option value="\\acqotg\jukebox\re
</select></font></td>
</tr>
<tr>
<td align="center" colspan="3" bgcolor="#EEEEEE"><input type="button" value="Update" onclick="javascript:Submit
</tr>
</table>
</td>
</tr>
</table>
</form>
<form name = "ReportFilterDlg" action="http://Icarus/conversion/cgi-bin2/iacquire.exe" method="POST" target="_top" onSubmit="return SetReportFilter(ReportFilt
<input type="hidden" name="iAcqCmd" value="ApplyReportFilter">
<input type="hidden" name="Apd" value="">
<input type="hidden" name="BrowserParms" value="">
<input type="hidden" name="ReportSet" value="\\ACQOTG\O$\ACQHNB\
<input type="hidden" name="SelDateAppRpt" value="">
<table border="1" cellpadding="0" cellspacing="0">
<tr>
<td>
<table border="0" width="175" bgcolor="#FFFFFF">
<tr>
<td colspan="3"><font size="2" face="Arial">Report Filter:
<input type="edit" name="ReportCodeFilter" value="">
</font></td>
</tr>
<tr align="center">
<td align="center" colspan="3" bgcolor="#EEEEEE">
<input type="button" value="Scan" onclick="javascript:ApplyR
<input type="button" value="Clear" onclick="javascript:ClearR
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</td>
<td valign="top"> </td>
<td align="left" valign="top" width="100%%">
<!-- This table contains the app/reports list-->
<table>
<tr>
<td valign="top"> </td>
<td align="left" valign="top" width="100%%">
<!-- ReportList - Start -->
**************************
<FORM name = "HiddenData">
<input type="hidden" name="ReportList" value="<TABLE border='0' cellpadding='0' cellspacing='0'>
<TABLE border='0' cellpadding='0' cellspacing='0'>
<TR>
<TD><img src="../images/topopen.gif
<TD><font size='2' face='Arial'><b>\\ACQOTG\O
</TR>
</TABLE>
<TABLE border='0' cellpadding='0' cellspacing='0'>
<TR>
<TD><img src="../images/t.gif" alt="T-Link"></TD>
<TD><img src="../images/foldericon.
<TD><font size='2' face='Arial'> <a href=javascript:parent.cal
</TR>
<TR>
<TD><img src="../images/t.gif" alt="T-Link"></TD>
<TD><img src="../images/foldericon.
<TD><font size='2' face='Arial'> <a href=javascript:parent.cal
</TR>
<TR>
<TD><img src="../images/t.gif" alt="T-Link"></TD>
<TD><img src="../images/foldericon.
<TD><font size='2' face='Arial'> <a href=javascript:parent.cal
</TR>
<TR>
<TD><img src="../images/t.gif" alt="T-Link"></TD>
<TD><img src="../images/foldericon.
<TD><font size='2' face='Arial'> <a href=javascript:parent.cal
</TR>
<TR>
<TD><img src="../images/t.gif" alt="T-Link"></TD>
<TD><img src="../images/foldericon.
<TD><font size='2' face='Arial'> <a href=javascript:parent.cal
</TR>
<TR>
<TD><img src="../images/t.gif" alt="T-Link"></TD>
<TD><img src="../images/foldericon.
<TD><font size='2' face='Arial'> <a href=javascript:parent.cal
</TR>
<TR>
<TD><img src="../images/t.gif" alt="T-Link"></TD>
<TD><img src="../images/foldericon.
<TD><font size='2' face='Arial'> <a href=javascript:parent.cal
</TR>
<TR>
<TD><img src="../images/t.gif" alt="T-Link"></TD>
<TD><img src="../images/foldericon.
<TD><font size='2' face='Arial'> <a href=javascript:parent.cal
</TR>
<TR>
<TD><img src="../images/t.gif" alt="T-Link"></TD>
<TD><img src="../images/foldericon.
<TD><font size='2' face='Arial'> <a href=javascript:parent.cal
</TR>
<TR>
<TD><img src="../images/t.gif" alt="T-Link"></TD>
<TD><img src="../images/foldericon.
<TD><font size='2' face='Arial'> <a href=javascript:parent.cal
</TR>
<TR>
<TD><img src="../images/l.gif" alt="T-Link"></TD>
<TD><img src="../images/foldericon.
<TD><font size='2' face='Arial'> <a href=javascript:parent.cal
</TR>
</TABLE></TABLE>">
</FORM>
<SCRIPT LANGUAGE="JavaScript"><!--
document.HiddenData.Report
// -->
</SCRIPT>
<!-- ReportList -->
<!-- ReportList - Stop -->
</td>
</tr>
</table>
</td>
</tr>
</table>
<p align="center"><font face="Times New Roman"><img
src="../images/acquire_ico
height="32"></font><font size="2" face="Times New Roman">ACquire<br>
</font><font size="2" face="Times New Roman">Copyright
© 2000-2003</font><font size="2" face="Times New Roman"><br>
Fidelity Information Services, Inc.<br>
All Rights Reserved</font></p>
</BODY>
</HTML>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
document.HiddenData.Report
Else you will replace only first match.
Is that the problem, or is there something else i did not catch?