commit | author | age
|
175a52
|
1 |
<?php |
JK |
2 |
include('./includes/std.php'); |
|
3 |
|
|
4 |
validate::KOD($_POST['kod'], FALSE); |
|
5 |
|
|
6 |
if(!is_uploaded_file($_FILES['marc']['tmp_name'])) { |
adfb2d
|
7 |
errorclass::add('Nie wysłano pliku!'); |
175a52
|
8 |
} |
JK |
9 |
|
|
10 |
$szukaj = array( MARC21::to_array( MARC21::from_string( file_get_contents( $_FILES['marc']['tmp_name'] ) ) ) ); |
|
11 |
$i = 0; |
|
12 |
|
|
13 |
$title = 'Dodawanie książki'; |
|
14 |
include('./design/top.php'); |
|
15 |
?> |
|
16 |
|
|
17 |
<h3> Krok 2 - wybierz żądaną książkę </h3> |
|
18 |
|
|
19 |
<?php |
|
20 |
gotowe::dodaj_lista($_POST['kod'], $szukaj); |
|
21 |
?> |
|
22 |
|
|
23 |
<?php |
|
24 |
include('./design/bottom.php'); |
|
25 |
?> |