Can someone please tell me how to make the graphic that was submitted to the list come up along with the information
I took this out of admin_html.pl
-------------------------------------------
# Go through each hit and convert the array to hash and send to
# html_record for printing. Also add a radio button with name=modify
# and value=key.
if ($status ne "ok") { # Error searching database!
print qq|<P><FONT COLOR="RED" SIZE=4>Error: $status</FONT>|;
}
else {
print "<P>";
for (0 .. $numhits - 1) {
%tmp = &array_to_hash($_, @hits);
print qq|<TABLE BORDER=0><TR><TD><INPUT checked TYPE=CHECKBOX NAME="$tmp{$db_key}" VALUE="modify"></TD><TD>|;
&html_record_form_mult (%tmp);
print qq|</TD><td>GRAPHIC_HERE\n|;
print qq|</TD></TR></TABLE><p><hr><p>\n|;
}
if ($db_next_hits) {
print "
<$font>Pages: $db_next_hits</font>";
}
}
---------------------------------------------
Where "GRAPHIC HERE" is in the code I would like the graphic that was added to the database to come up. This will help me validate and move already validated graphics around to new directories if nessesary.
Please let me know.
Thanks.
I took this out of admin_html.pl
-------------------------------------------
# Go through each hit and convert the array to hash and send to
# html_record for printing. Also add a radio button with name=modify
# and value=key.
if ($status ne "ok") { # Error searching database!
print qq|<P><FONT COLOR="RED" SIZE=4>Error: $status</FONT>|;
}
else {
print "<P>";
for (0 .. $numhits - 1) {
%tmp = &array_to_hash($_, @hits);
print qq|<TABLE BORDER=0><TR><TD><INPUT checked TYPE=CHECKBOX NAME="$tmp{$db_key}" VALUE="modify"></TD><TD>|;
&html_record_form_mult (%tmp);
print qq|</TD><td>GRAPHIC_HERE\n|;
print qq|</TD></TR></TABLE><p><hr><p>\n|;
}
if ($db_next_hits) {
print "
<$font>Pages: $db_next_hits</font>";
}
}
---------------------------------------------
Where "GRAPHIC HERE" is in the code I would like the graphic that was added to the database to come up. This will help me validate and move already validated graphics around to new directories if nessesary.
Please let me know.
Thanks.