* Access to all user except of guests * @author Gabriele Droege, DNA Bank Network * @version 2.0 * @package Input * @copyright Copyright © 2011 DNA Bank Network http://www.dnabank-network.org
The contents of this file are subject to the Mozilla Public License Version 1.1 * @filesource * @license http://www.mozilla.org/MPL/ MPL */ /** * calling connection to database */ include ("../config/head.php"); /** * calling authorisation script */ include ("../auth.php"); ?> DNA Module - Add new Stock Location

DNA Bank Network - Location Stock Administration

"; } else { if($formSubmitSaveBox) { if(empty($formNewBox)) { unset($formNewBox); } else { $result= mysqli_query($GLOBALS["___mysqli_ston"], "SELECT ID_Stock_Box, Stock_Box FROM stock_box " . "WHERE Stock_Box = '$formNewBox'"); if(mysqli_num_rows($result)) { echo "

Entry exists already!"; } else { $result = "INSERT INTO stock_box (Stock_Box, Created_Who)" . "VALUES ('$formNewBox','$log')"; $sql = mysqli_query($GLOBALS["___mysqli_ston"], $result); #######################################Error 1############################################################### if(!$sql) { $msg = $result."\n"; $msg .= "####Error 1####"; if($debug == '1') echo $msg; trigger_error($msg, E_USER_ERROR); /** * calling Error message */ include ("Errorreport.php"); } ############################################################################################################# else { include("../config/ChangesAccepted.php"); } } } }//if ($formSubmitSaveBox) if($formSubmitSaveRack) { if(empty($formNewRack)) { unset($formNewRack); } else { $result= mysqli_query($GLOBALS["___mysqli_ston"], "SELECT ID_Stock_Rack, Stock_Rack FROM stock_rack " . "WHERE Stock_Rack = '$formNewRack'"); if(mysqli_num_rows($result)) { echo "

Entry exists already!"; } else { $result = "INSERT INTO stock_rack (Stock_Rack, Created_Who)" . "VALUES ('$formNewRack','$log')"; $sql = mysqli_query($GLOBALS["___mysqli_ston"], $result); #######################################Error 2############################################################### if(!$sql) { $msg = $result."\n"; $msg .= "####Error 2####"; if($debug == '1') echo $msg; trigger_error($msg, E_USER_ERROR); /** * calling Error message */ include ("Errorreport.php"); } ############################################################################################################# else { echo "Changes accepted!"; } } } }//if ($formSubmitSaveRack) if($formSubmitSaveFridge) { if(empty($formNewFridge)) { unset($formNewFridge); } else { $result= mysqli_query($GLOBALS["___mysqli_ston"], "SELECT ID_Stock_Fridge, Stock_Fridge FROM stock_fridge " . "WHERE Stock_Fridge = '$formNewFridge'"); if(mysqli_num_rows($result)) { echo "

Entry exists already!"; } else { $result = "INSERT INTO stock_fridge (Stock_Fridge, Created_Who)" . "VALUES ('$formNewFridge','$log')"; $sql = mysqli_query($GLOBALS["___mysqli_ston"], $result); #######################################Error 3############################################################### if(!$sql) { $msg = $result."\n"; $msg .= "####Error 3####"; if($debug == '1') echo $msg; trigger_error($msg, E_USER_ERROR); /** * calling Error message */ include ("Errorreport.php"); } ############################################################################################################# else { echo "Changes accepted!"; } } } }//if ($formSubmitSaveFridge) } ?>

Sorry, as a guest you don't have permission for entering new data! If you want to search for existing DNA data please use the Search function!
".htmlentities(((($___mysqli_tmp = mysqli_fetch_field_direct($result, 0)->name) && (!is_null($___mysqli_tmp))) ? $___mysqli_tmp : false)).""; while ($row = mysqli_fetch_row($result)) { echo ""; for ($j=0; $j<$num_fields; $j++) echo ""; echo ""; } ((mysqli_free_result($result) || (is_object($result) && (get_class($result) == "mysqli_result"))) ? true : false); ?>
".htmlentities($row[$j])." 
".htmlentities(((($___mysqli_tmp = mysqli_fetch_field_direct($result, 0)->name) && (!is_null($___mysqli_tmp))) ? $___mysqli_tmp : false)).""; while ($row = mysqli_fetch_row($result)) { echo ""; for ($j=0; $j<$num_fields; $j++) echo ""; echo ""; } ((mysqli_free_result($result) || (is_object($result) && (get_class($result) == "mysqli_result"))) ? true : false); ?>
".htmlentities($row[$j])." 
".htmlentities(((($___mysqli_tmp = mysqli_fetch_field_direct($result, 0)->name) && (!is_null($___mysqli_tmp))) ? $___mysqli_tmp : false)).""; while ($row = mysqli_fetch_row($result)) { echo ""; for ($j=0; $j<$num_fields; $j++) echo ""; echo ""; } ((mysqli_free_result($result) || (is_object($result) && (get_class($result) == "mysqli_result"))) ? true : false); ?>
".htmlentities($row[$j])." 
Add new Box: Add new Rack:Add new fridge:

Nach Schließen des Formulares müssen Sie die Input- bzw. Suchmaske neu laden, damit die Änderungen aktiv werden.