From 3256717165436e4e90bc5ca764babf1bd8d97f0a Mon Sep 17 00:00:00 2001 From: root Date: Wed, 24 Sep 2014 18:55:57 +0200 Subject: improvemend --- bootstrap/action.php | 17 ++++ bootstrap/bootstrap.php | 25 +++--- bootstrap/class/mysql.php | 24 +++-- bootstrap/config.php | 12 +-- bootstrap/functions.php | 214 ++++++++++++++++++++++++++++++++++++++++++++ bootstrap/index.php | 83 +++++++++-------- bootstrap/setup.php | 12 --- bootstrap/static/header.php | 6 +- bootstrap/static/style.css | 66 ++++++++++++++ 9 files changed, 377 insertions(+), 82 deletions(-) create mode 100644 bootstrap/action.php delete mode 100644 bootstrap/setup.php create mode 100644 bootstrap/static/style.css (limited to 'bootstrap') diff --git a/bootstrap/action.php b/bootstrap/action.php new file mode 100644 index 0000000..e6ce5c6 --- /dev/null +++ b/bootstrap/action.php @@ -0,0 +1,17 @@ +".$e->getMessage()."
", '500 Server Failure', false, 'Can't connect to the database. MySQL gave this error code: " . $this->db->connect_errno . "
", '500 Server Failure', false, 'There was a problem during bootstrapping the database schema. " . $this->db->error . "
", '500 Server Failure', false, "# |
+ Name |
+ Adresse |
+ Telefon |
+ Handynummer |
+ Geburtstag |
+ ändern |
+ |
|---|---|---|---|---|---|---|---|
| $count | +".htmlentities($row['name'])." | +".htmlentities($row['adresse'])." | +".htmlentities($row['telefonnummer'])." | +".htmlentities($row['handynummer'])." | +".htmlentities($row['email'])." | +".htmlentities($row['geburtstag'])." | ++ |
| ".$count." | ".$row[1]." | + ".$row[2]." | ".$row[3]." | ".$row[4]." | ".$row[5]." | ".$row[6]." | |
Welcome!
-Successfully created the database.
"; - -# rename this file to avoid setting up the tables twice -rename(ABSPATH . 'setup.php', ABSPATH . '_setup.php'); diff --git a/bootstrap/static/header.php b/bootstrap/static/header.php index 37c36ab..a7a5042 100644 --- a/bootstrap/static/header.php +++ b/bootstrap/static/header.php @@ -7,18 +7,18 @@ - Home + Home