summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCranix <you@example.com>2013-03-27 18:49:28 -0400
committerCranix <you@example.com>2013-03-27 18:49:28 -0400
commitaa22abc8625829524b86786899c38c0d2cacf9bb (patch)
tree1be6acffc0c6e20917f5957c6c74e56d6327e69a
parent5144d26f36320f97f8dc2411bddf382984c5f427 (diff)
downloadBiblioteka-aa22abc8625829524b86786899c38c0d2cacf9bb.tar.gz
Biblioteka-aa22abc8625829524b86786899c38c0d2cacf9bb.tar.bz2
Biblioteka-aa22abc8625829524b86786899c38c0d2cacf9bb.zip
Dodano obsługę informajci o tym, kto wzial dana ksiazke.
Utworzono katalog tools, w ktorym znajduje sie skrypt ulatwiajacy dodawanie ksiazek, w przyszlosci prawdopodobnie znajda sie tam rowniez inne narzedzia.
-rw-r--r--bin/ksiazki.header15
-rw-r--r--bin/test_sql.pl9
-rw-r--r--ksiazki (renamed from bin/ksiazki)0
-rw-r--r--propozycja_bazy (renamed from bin/propozycja_bazy)0
-rw-r--r--schemat_bazy (renamed from bin/schemat_bazy)0
-rwxr-xr-xtools/add_book.pl (renamed from bin/add_book.pl)0
-rwxr-xr-xtools/converter.pl (renamed from bin/converter.pl)0
7 files changed, 0 insertions, 24 deletions
diff --git a/bin/ksiazki.header b/bin/ksiazki.header
deleted file mode 100644
index 159e1df..0000000
--- a/bin/ksiazki.header
+++ /dev/null
@@ -1,15 +0,0 @@
-id,isbn,tytul,autor,wlasciciel,mozna brac?
-0000000000017,9788324607686,Ruby Receptury,Lucas Carlson; Leonard Richardson,HS,Tak
-0000000000024,9788324619535,Programowanie w Ruby od podstaw,Peter Cooper,Att,Tak
-0000000000031,9788324605224,Programowanie w jezyku Ruby wydanie II,Dave Thomas;Chad Fowler;Andy Hunt,HS,Tak
-0000000000048,9788371979859,Core Java 2 Techniki zaawansowane,Cay S. Hortsmann;Gray Cornell,HS,Tak
-0000000000086,9788371973574,Linux Internet Server czarna ksiega,H. Tsuji; T. Watanabe; acrobyte,Rmk,Tak
-0000000000079,9788373610132,Delphi praktyczny kurs,Tomasz M. Sadowski,Rmk,Tak
-0000000000376,9788371975271,Java Servlet Programowanie,Jason Hunter;Wiliam Crawford,HS,Tak
-0000000000383,9788387216481,Zarzadzanie sieciami IP za pomoca ruterow Cisco,Scott M. Ballew,Antoszka,Tak
-0000000000369,9788386718559,TCP/IP,Timothy Parker,HS,Tak
-0000000000352,9788373617094,CSS,Eric A. Meyer,Rmk,Tak
-0000000000338,0000000000000,Intel 64 and IA-32 Architectures Sofware Developer's Manual,Czesiek,Tak
-0000000000345,9780470516621,The 3G IP Multimedia, Subsystem,Gonzalo Camarillo; Miguel A. Garcia-Martin,Rysiek,Tak
-0000000000055,9788387216047,Unix Administracj systemu,Aeleen Frisch,Rmk,Tak
-0000000000062,9788324616046,SQL praktyczny kurs,Danua Mendrala, Marcin Szeliga,Rmk,Tak
diff --git a/bin/test_sql.pl b/bin/test_sql.pl
deleted file mode 100644
index b4cf6e1..0000000
--- a/bin/test_sql.pl
+++ /dev/null
@@ -1,9 +0,0 @@
-use DBI;
-
-my $dbfile = 'ksiazki.db';
-my $dbh = DBI->connect("dbi:SQLite:dbname=$dbfile", "", "");
-
-my $sth = $dbh->prepare("select * from ksiazki") or die "Nie mozna spreparowac zapytania";
-$sth->execute() or die "Nie mozna wykonac zapytania";
-
-print ${$sth->fetchall_arrayref}[1][2];
diff --git a/bin/ksiazki b/ksiazki
index 496e424..496e424 100644
--- a/bin/ksiazki
+++ b/ksiazki
diff --git a/bin/propozycja_bazy b/propozycja_bazy
index 833b348..833b348 100644
--- a/bin/propozycja_bazy
+++ b/propozycja_bazy
diff --git a/bin/schemat_bazy b/schemat_bazy
index d2a9d48..d2a9d48 100644
--- a/bin/schemat_bazy
+++ b/schemat_bazy
diff --git a/bin/add_book.pl b/tools/add_book.pl
index a7364db..a7364db 100755
--- a/bin/add_book.pl
+++ b/tools/add_book.pl
diff --git a/bin/converter.pl b/tools/converter.pl
index e1a2aa9..e1a2aa9 100755
--- a/bin/converter.pl
+++ b/tools/converter.pl