168 |
if ($old_netscape) echo "<LINK REL=\"StyleSheet\" HREF=\"style-ns.css\">\n"; |
if ($old_netscape) echo "<LINK REL=\"StyleSheet\" HREF=\"style-ns.css\">\n"; |
169 |
else echo "<LINK REL=\"StyleSheet\" HREF=\"style.css\">\n"; |
else echo "<LINK REL=\"StyleSheet\" HREF=\"style.css\">\n"; |
170 |
?> |
?> |
171 |
<TITLE><?= $product_name ?></TITLE> |
<TITLE><?= ereg_replace("\r?\n(.*)$", " (\\1)", $product_name); ?></TITLE> |
172 |
<?php if ($msg): ?> |
<?php if ($msg): ?> |
173 |
<META HTTP-EQUIV="Refresh" CONTENT="1; URL=?id=<?= $id ?>"> |
<META HTTP-EQUIV="Refresh" CONTENT="1; URL=?id=<?= $id ?>"> |
174 |
<?php else: ?> |
<?php else: ?> |
190 |
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" WIDTH="100%" HEIGHT="100%"> |
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" WIDTH="100%" HEIGHT="100%"> |
191 |
<TR> |
<TR> |
192 |
<TD ALIGN="left" VALIGN="top" WIDTH="33%" HEIGHT="1%"><TABLE BORDER="0" CELLSPACING="0"><TR><TD CLASS="title1"><B>FINE CHEMICALS</B></TD></TR></TABLE></TD> |
<TD ALIGN="left" VALIGN="top" WIDTH="33%" HEIGHT="1%"><TABLE BORDER="0" CELLSPACING="0"><TR><TD CLASS="title1"><B>FINE CHEMICALS</B></TD></TR></TABLE></TD> |
193 |
<TD ALIGN="center" VALIGN="top" ROWSPAN="2" WIDTH="33%" HEIGHT="1%"><TABLE BORDER="0" CELLSPACING="0"><TR><TD CLASS="title2"><B><?= $product_name ?></B></TD></TR></TABLE></TD> |
<TD ALIGN="center" VALIGN="top" ROWSPAN="2" WIDTH="33%" HEIGHT="1%"><TABLE BORDER="0" CELLSPACING="0"><TR><TD CLASS="title2"><B><?= ereg_replace("\r?\n(.*)$", "<BR><SMALL>\\1</SMALL>", $product_name); ?></B></TD></TR></TABLE></TD> |
194 |
<TD ALIGN="right" VALIGN="top" WIDTH="33%" HEIGHT="1%" COLSPAN="2"><TABLE BORDER="0" CELLSPACING="0"><TR><TD CLASS="title3"><B>PRODUCT MATRIX</B></TD></TR></TABLE></TD> |
<TD ALIGN="right" VALIGN="top" WIDTH="33%" HEIGHT="1%" COLSPAN="2"><TABLE BORDER="0" CELLSPACING="0"><TR><TD CLASS="title3"><B>PRODUCT MATRIX</B></TD></TR></TABLE></TD> |
195 |
</TR> |
</TR> |
196 |
<FORM ENCTYPE="multipart/form-data" METHOD="post" ACTION="<?= $PHP_SELF ?>"> |
<FORM ENCTYPE="multipart/form-data" METHOD="post" ACTION="<?= $PHP_SELF ?>"> |
198 |
$row = DBQuery("SELECT product_id,naziv FROM products ORDER BY naziv"); |
$row = DBQuery("SELECT product_id,naziv FROM products ORDER BY naziv"); |
199 |
while (list($key, $val) = each($row)) { |
while (list($key, $val) = each($row)) { |
200 |
list($_id, $name) = $val; |
list($_id, $name) = $val; |
201 |
|
$name = ereg_replace("\r?\n.*$", "", $name); |
202 |
$selected = ($id == $_id) ? " SELECTED" : ""; |
$selected = ($id == $_id) ? " SELECTED" : ""; |
203 |
echo "<OPTION VALUE=\"$_id\"$selected>$name</OPTION>\n"; |
echo "<OPTION VALUE=\"$_id\"$selected>$name</OPTION>\n"; |
204 |
} |
} |
228 |
<UL> |
<UL> |
229 |
<LI>relevant competitors: <?php if ($edit && $ok_competition > 0): ?><INPUT TYPE="text" CLASS="text" NAME="competitors" VALUE="<?= $competitors ?>"><?php else: ?><?= $competitors ?><?php endif; ?></LI> |
<LI>relevant competitors: <?php if ($edit && $ok_competition > 0): ?><INPUT TYPE="text" CLASS="text" NAME="competitors" VALUE="<?= $competitors ?>"><?php else: ?><?= $competitors ?><?php endif; ?></LI> |
230 |
<LI>holders of the US DMF: <?php if ($edit && $ok_competition > 0): ?><INPUT TYPE="text" CLASS="text" NAME="holders" VALUE="<?= $holders ?>"><?php else: ?><?= $holders ?><?php endif; ?></LI> |
<LI>holders of the US DMF: <?php if ($edit && $ok_competition > 0): ?><INPUT TYPE="text" CLASS="text" NAME="holders" VALUE="<?= $holders ?>"><?php else: ?><?= $holders ?><?php endif; ?></LI> |
231 |
<LI>API market size 1999: <?php if ($edit && $ok_competition > 0): ?><INPUT TYPE="text" CLASS="text" NAME="market_size" VALUE="<?= $market_size ?>"><?php else: ?><?= $market_size ?><?php endif; ?> t/US$</LI> |
<LI>API market size 1999: <?php if ($edit && $ok_competition > 0): ?><INPUT TYPE="text" CLASS="text" NAME="market_size" VALUE="<?= $market_size ?>"><?php else: ?><?= $market_size ?><?php endif; ?></LI> |
232 |
</UL> |
</UL> |
233 |
<P<?php if ($err == 2): ?> CLASS="error" <?php endif; ?>><?php if ($edit && $ok_competition > 0): ?>"<B>more data</B>" URL: <INPUT TYPE="text" CLASS="text" NAME="info_competition" VALUE="<?= $info_competition ?>"><?php elseif ($info_competition): ?><B><A HREF="<?= $info_competition ?>">more data</A></B><?php else: ?> <?php endif; ?></P> |
<P<?php if ($err == 2): ?> CLASS="error" <?php endif; ?>><?php if ($edit && $ok_competition > 0): ?>"<B>more data</B>" URL: <INPUT TYPE="text" CLASS="text" NAME="info_competition" VALUE="<?= $info_competition ?>"><?php elseif ($info_competition): ?><B><A HREF="<?= $info_competition ?>">more data</A></B><?php else: ?> <?php endif; ?></P> |
234 |
</TD><?php else: ?><TD CLASS="cell1" ALIGN="center" VALIGN="middle"><?= $msg_no_data ?></TD><?php endif; ?></TR> |
</TD><?php else: ?><TD CLASS="cell1" ALIGN="center" VALIGN="middle"><?= $msg_no_data ?></TD><?php endif; ?></TR> |