login first to access this page."); unset($_SESSION['sessUName']); unset($_SESSION['sessPASS']); // kill session variables unset($_SESSION['sessLOGGEDIN']); // kill session variables $_SESSION = array(); // reset session array session_destroy(); // destroy session. header("Location: user_login.php"); // redirect them to anywhere you like. } //Increase the JumpMenu variables so menu will activate for each link $posNums = array(); for ($i = 0; $i < $numRows; $i++) { $rowcount = mysql_fetch_row($nb_list); $pID = $rowcount[0]; } $nb++; $mb = $nb; $jm = $mb; // Separate the search fields into proper a SQL statement //$sort = empty($_GET['sort']) ? 10 : $_GET['sort']; //$clause = array(); //if ($nb_author != "") { // $clause[] = "nb_auth LIKE '%$nb_author%'"; //} //if ($nb_subj != "") { // $clause[] = "nb_subject LIKE '%$nb_subj%'"; //} //if ($nb_num != "") { // $clause[] = "nb_number LIKE '%$nb_num%'"; //} //if ($nb_type != "") { // $clause[] = "nb_type LIKE '%$nb_type%'"; //} $clause = array(); if ($_GET['nb_author'] != "") { $clause[] = "nb_auth LIKE '%$_GET[nb_author]%'"; } if ($_GET['nb_subj'] != "") { $clause[] = "nb_subject LIKE '%$_GET[nb_subj]%'"; } if ($_GET['nb_num'] != "") { $clause[] = "nb_number LIKE '%$_GET[nb_num]%'"; } if ($_GET['nb_type'] != "") { $clause[] = "nb_type LIKE '%$_GET[nb_type]%'"; } $clause = implode(' AND ', $clause); $sql="SELECT * FROM Notebooks WHERE $clause ORDER BY nb_number ASC"; $result=mysql_query($sql, $db_link); $nb_result = mysql_num_rows($result); include('../_resources/PaginateIt.php'); $PaginateIt = new PaginateIt(); $PaginateIt->SetItemsPerPage(10); $PaginateIt->SetPaginationMode('Slide'); $PaginateIt->SetItemCount($nb_result); $sql=mysql_query("SELECT * FROM Notebooks WHERE $clause ORDER BY nb_number ASC".$PaginateIt->GetMySqlLimit()); // Setting searched variables output if($nb_author != ""){ $d_auth = "Searched Author: $nb_author"; } if($nb_subj != ""){ $d_subj = "Searched Subject: $nb_subj"; } if($nb_num != ""){ $d_num = "Searched NB Number: $nb_num"; } if($nb_type != ""){ $d_type = "Searched NB Type: $nb_type"; } ?>
|
![]() |
Help |
|||
| Quidel Laboratory Notebooks | |||||
|
|||||
Comments or questions? This site is for the sole use of Quidel Corporation employees. |
|||||