--- index.php 2001/06/06 08:37:01 1.4 +++ index.php 2001/06/07 06:06:05 1.8 @@ -11,7 +11,23 @@ if (count($row) <= 0) $auth = false; if ($auth) { $row = $row[0]; - if ($PHP_AUTH_PW != $row[0]) $auth = false; + if (substr($row[0], 0, 5) == "auth_") { + switch (strtoupper(substr($row[0], 5))) { + case "POP3": + include("auth_POP3.php"); + $pop = new POP3(); + $pop->connect("intranet.pliva.hr"); + $ret = $pop->checklogin($PHP_AUTH_USER, $PHP_AUTH_PW); + $pop->quit(); + if (!$ret) $auth = false; + break; + default: $auth = false; break; + } + } else { + $pw = md5($PHP_AUTH_USER.$PHP_AUTH_PW); + if ($pw != $row[0]) $auth = false; + } + # if ($PHP_AUTH_PW != $row[0]) $auth = false; } } if (!$auth || $relogin == $PHP_AUTH_USER) { @@ -152,7 +168,7 @@ if ($old_netscape) echo "\n"; else echo "\n"; ?> -<?= $product_name ?> +<?= ereg_replace("\r?\n(.*)$", " (\\1)", $product_name); ?> @@ -174,14 +190,15 @@ - + - @@ -316,7 +333,7 @@
FINE CHEMICALS
\\1", $product_name); ?>
PRODUCT MATRIX

product to

product to
  • holders of the US DMF: 0): ?>
  • -
  • API market size 1999: 0): ?> t/US$
  • +
  • API market size 1999: 0): ?>
  • CLASS="error" > 0): ?>"more data" URL: more data 

    - +
    Sales: realisation&plan / Price trend
    = 0): ?> 0): ?>Please choose an image to display here.


    NOTE: The previously specified image will be used if no image is specified. 
    = 0): ?> 0): ?>Please choose an image to display here.


    NOTE: The previously specified image will be used if no image is specified.