ValidateLogin('none', 'login.html', '®=cofa'); if (isset($_GET['pname']) && isset($_GET['lotn'])) { $pname = $_GET['pname']; $lotn = $_GET['lotn']; // $is = strpos($pname, "("); // $ie = strpos($pname, ")"); // $name = substr($pname, $is + 1, $ie - $is - 1) .'-'. $lotn .'.pdf'; $name = $pname .'-'. $lotn .'.pdf'; $file = '/home/forttest/public_html/cofa/' . $name; if (file_exists($file)) { echo '1'; $query = "INSERT INTO fb_downloads_cofa (user_id, pdf) VALUES ($userid, '$name');"; $result = mysql_query($query, $link); } else { echo '0'; } echo $file; exit(); } ?> ForteBio :: Support :: Certificate of Analysis PageHeadCustom($userid); ?>
SideMenuBar($menuloc); ?>

'; echo ''; $query2 = "SELECT DISTINCT id, type, keyname, title, sort_order FROM fb_product_types WHERE type = '$keyname' ORDER BY $sort $asc"; $result2 = mysql_query($query2, $link); $rows2 = mysql_num_rows($result2); for ($j = 0; $j < $rows2; $j++) { $title = mysql_result($result2, $j, "title"); $keyname = mysql_result($result2, $j, "keyname"); $type = mysql_result($result2, $j, "type"); $is = strpos($title, "("); $ie = strpos($title, ")"); $name = str_replace ("-", " ", substr($title, $is + 1, $ie - $is - 1)); if ($type != 'bli_biosensors') $title = substr($title, 0, $is); echo ""; } echo ''; } ?>

RelatedLinks("profile_related"); ?>
PageFooter(); ?>