Exemple #1
0
 static function return_arrays()
 {
     $return = array();
     $MARCs = self::return_MARCs();
     foreach ($MARCs as $MARC) {
         $return[] = MARC21::to_array($MARC);
     }
     return $return;
 }
Exemple #2
0
<?php

include './includes/std.php';
validate::KOD($_POST['kod'], FALSE);
if (!is_uploaded_file($_FILES['marc']['tmp_name'])) {
    error::add('Nie wysłano pliku!');
}
$szukaj = array(MARC21::to_array(MARC21::from_string(file_get_contents($_FILES['marc']['tmp_name']))));
$i = 0;
$title = 'Dodawanie książki';
include './design/top.php';
?>

<h3> Krok 2 - wybierz żądaną książkę </h3>

<?php 
gotowe::dodaj_lista($_POST['kod'], $szukaj);
?>

<?php 
include './design/bottom.php';