From 1fe76ba743a3418da9a0883b29756d442384d0bc Mon Sep 17 00:00:00 2001 From: Horus3 Date: Thu, 25 Sep 2014 10:33:47 +0200 Subject: init --- bootstrap/action.php | 211 ------------ bootstrap/bootstrap.php | 56 ---- bootstrap/class/cache.php | 69 ---- bootstrap/class/mysql.php | 153 --------- bootstrap/class/user.php | 153 --------- bootstrap/config.php | 33 -- bootstrap/functions.php | 578 -------------------------------- bootstrap/index.php | 122 ------- bootstrap/robots.txt | 2 - bootstrap/static/footer.php | 13 - bootstrap/static/header.php | 54 --- bootstrap/static/kitten-praying.jpg | Bin 326589 -> 0 bytes bootstrap/static/kitten-prays-small.jpg | Bin 51758 -> 0 bytes bootstrap/static/kitten-prays.jpg | Bin 496315 -> 0 bytes bootstrap/static/kitten.jpg | Bin 66462 -> 0 bytes bootstrap/static/style.css | 66 ---- bootstrap/static/style.min.css | 1 - 17 files changed, 1511 deletions(-) delete mode 100644 bootstrap/action.php delete mode 100644 bootstrap/bootstrap.php delete mode 100644 bootstrap/class/cache.php delete mode 100644 bootstrap/class/mysql.php delete mode 100644 bootstrap/class/user.php delete mode 100644 bootstrap/config.php delete mode 100644 bootstrap/functions.php delete mode 100644 bootstrap/index.php delete mode 100644 bootstrap/robots.txt delete mode 100755 bootstrap/static/footer.php delete mode 100644 bootstrap/static/header.php delete mode 100644 bootstrap/static/kitten-praying.jpg delete mode 100644 bootstrap/static/kitten-prays-small.jpg delete mode 100644 bootstrap/static/kitten-prays.jpg delete mode 100644 bootstrap/static/kitten.jpg delete mode 100644 bootstrap/static/style.css delete mode 100644 bootstrap/static/style.min.css (limited to 'bootstrap') diff --git a/bootstrap/action.php b/bootstrap/action.php deleted file mode 100644 index a52d471..0000000 --- a/bootstrap/action.php +++ /dev/null @@ -1,211 +0,0 @@ -login($_POST["name"], $_POST["password"]) ){ - header($_SERVER["SERVER_PROTOCOL"] . " 302 Moved"); - header("Location: /?page=" . $_GET["goto"]); - ob_clean(); - exit; - } else { - print_login("password"); - } - break; - - case("register"): - if ( $_SERVER['REQUEST_METHOD'] != 'POST' ){ - header($_SERVER["SERVER_PROTOCOL"] . " 405 Method Not Allowed"); - ob_clean(); - echo "Method not allowed"; - exit; - } - if ( ! isset($_POST["name"]) || $_POST["name"] == "" || ! isset($_POST["password"]) || $_POST["password"] == "" || ! isset($_POST["confirm"]) || $_POST["confirm"] == "" || ! isset($_POST["key"])){ - print_login("missing"); - } - else if ( $_POST["key"] != INVITEKEY ){ - print_login("key"); - } - else if ( $_POST["password"] != $_POST["confirm"]){ - print_login("password"); - } else { - if ( ! isset($_POST["email"]) || $_POST["email"] == "" ){ - $email = "null"; - $sql = $db->prepare("SELECT 1 FROM " . DBPREFIX . "user WHERE name = %s LIMIT 1;", $_POST["name"]); - } - else { - $email = $_POST["email"]; - $sql = $db->prepare("SELECT 1 FROM " . DBPREFIX . "user WHERE name = %s OR email = %s LIMIT 1", $_POST["name"], $_POST["email"]); - } - $check_db = $db->doQuery($sql); - $check_ar = $check_db->fetch_array(MYSQLI_NUM); - if ( $check_ar[0] == 1) { - print_login("double"); - } else { - if ( ! $user->register($_POST["name"], $_POST["password"], $email)) - print_login("database"); - else { - header($_SERVER["SERVER_PROTOCOL"] . " 302 Moved"); - header("Location: /?page=" . $_GET["goto"]); - ob_clean(); - exit; - } - } - } - break; - - case("update"): - if ( $_SERVER['REQUEST_METHOD'] != 'POST' ){ - header($_SERVER["SERVER_PROTOCOL"] . " 405 Method Not Allowed"); - ob_clean(); - echo "Method not allowed"; - exit; - } - if ( ! isset($_GET["id"]) || $_GET["id"] == 0 || $_GET["id"] == "" ){ - print_list("update"); - } else { - $sql = $db->prepare("UPDATE " . DBPREFIX . "member SET name = %s, adresse = %s, telefonnummer = %s, handynummer = %s, email = %s, geburtstag = %s WHERE member_id = %d;", - $_POST["name"], $_POST["adresse"], $_POST["telefonnummer"], $_POST["handynummer"], $_POST["email"], $_POST["geburtstag"], $_GET["id"] - ); - if ( ! $sql ){ - ob_clean(); - echo "SQL preparation failed."; - exit; - } - if ( $result = $db->doQuery($sql) ){ - header($_SERVER["SERVER_PROTOCOL"] . " 302 Moved"); - header("Location: /?page=" . $_GET["goto"]); - $c->flush(); - } - } - break; - - case("add"): - if ( $_SERVER['REQUEST_METHOD'] != 'POST' ){ - header($_SERVER["SERVER_PROTOCOL"] . " 405 Method Not Allowed"); - echo "Method not allowed"; - exit; - } - $sql = $db->prepare("INSERT INTO " . DBPREFIX . "member (member_id, name, adresse, telefonnummer, handynummer, email, geburtstag) VALUES (NULL, %s, %s, %s, %s, %s, %s);", - $_POST["name"], $_POST["adresse"], $_POST["telefonnummer"], $_POST["handynummer"], $_POST["email"], $_POST["geburtstag"] - ); - if ( ! $sql ){ - echo "SQL preparation failed."; - exit; - } - if ( $result = $db->doQuery($sql) ){ - header($_SERVER["SERVER_PROTOCOL"] . " 302 Moved"); - header("Location: /?page=" . $_GET["goto"]); - $c->flush($_GET["_flush"]); - } - break; - case("account"): - if ( $_SERVER['REQUEST_METHOD'] != 'POST' ){ - header($_SERVER["SERVER_PROTOCOL"] . " 405 Method Not Allowed"); - echo "Method not allowed"; - exit; - } - if ( ! isset($_POST["name"]) || $_POST["name"] == "" || ! isset($_POST["confirm"]) || $_POST["confirm"] == ""){ - print_account("info"); - } else if ( ! isset($_POST["email"]) ){ - $_POST["email"] = ""; - } else if ( ! password_verify($_POST["confirm"] . PEPPER , $user->getPassword()) ) { - print_account("password"); - } else { - $sql = false; - $check_ar[0] = 0; - if ( $_POST["name"] != $_SESSION["username"]){ - - if ( isset($_POST["email"]) && $_POST["email"] != "" && $_POST["email"] != $user->getEmail() ) - $sql = $db->prepare("SELECT 1 FROM " . DBPREFIX ."user WHERE name = %s OR email = %s ;", $_POST["name"], $_POST["email"]); - else - $sql = $db->prepare("SELECT 1 FROM " . DBPREFIX ."user WHERE name = %s ;", $_POST["name"]); - - } else if ( isset($_POST["email"]) && $_POST["email"] != "" && $_POST["email"] != $user->getEmail() ){ - $sql = $db->prepare("SELECT 1 FROM " . DBPREFIX ."user WHERE email = %s ;", $_POST["email"]); - - } else if ( $_POST["password"] == "" ){ - redirect("account"); - } - - if ( $sql ){ - $check_db = $db->doQuery($sql); - $check_ar = $check_db->fetch_array(MYSQLI_NUM); - } - - if ( $check_ar[0] == 1){ - print_account("double"); - } else { - if ( $_POST["password"] != $_POST["confirm"] && $_POST["password"] != "" ){ - $sql = $db->prepare("UPDATE " . DBPREFIX . "user SET name = %s, password = %s, email = %s WHERE id = %d;", $_POST["name"] , password_hash($_POST["password"]. PEPPER, PASSWORD_DEFAULT), $_POST["email"], $_SESSION["userid"]); - } else - $sql = $db->prepare("UPDATE " . DBPREFIX . "user SET name = %s, email = %s WHERE id = %d;", $_POST["name"], $_POST["email"], $_SESSION["userid"]); - if ( ! $db->doQuery($sql) ){ - - echo $sql; - print_account("database"); - } else - $_SESSION["username"] = $_POST["name"]; - redirect("account&success=1"); - } - } - break; - case("recover"): - if ( $_SERVER['REQUEST_METHOD'] != 'POST' ){ - header($_SERVER["SERVER_PROTOCOL"] . " 405 Method Not Allowed"); - echo "Method not allowed"; - exit; - } - $sql = $db->prepare("SELECT 1, name FROM " . DBPREFIX . "user WHERE email = %s ;", $_POST["email"]); - $result_db = $db->doQuery($sql); - $result_ar = $result_db->fetch_array(MYSQLI_NUM); - if ( $result_ar[0] == 1){ - - $arr = array("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "_", "-"); - $password = ""; - $l = count($arr) -1 ; - for ($i=0;$i<10;$i++){ - $r = mt_rand(0, $l); - $password.=$arr[$r]; - } - - $hash = password_hash($password . PEPPER, PASSWORD_DEFAULT); - $sql = $db->prepare("UPDATE " . DBPREFIX . "user SET password = %s WHERE email = %s ;", $hash, $_POST["email"]); - if ( ! $db->doQuery($sql) ) - redirect("recover&track=0"); - - $body = -"Hello, -someone requested a new password for '".$result_ar[1]."' on https://jungegemeinde.iamfabulous.de. -The new password is '". $password ."'. Remember to change it immediately at https://jungegemeinde.iamfabulous.de/?page=account after successfull login. - -Kindly regards, -JG Adlershof"; - - // header injection - mail($_POST["email"], "JG: Passwort Reset", $body, "From: JG Adlershof \r\n" ); - redirect("recover&track=1"); - } else { - redirect("recover&track=0"); - } - break; -} diff --git a/bootstrap/bootstrap.php b/bootstrap/bootstrap.php deleted file mode 100644 index aab8bbe..0000000 --- a/bootstrap/bootstrap.php +++ /dev/null @@ -1,56 +0,0 @@ -db = new Redis(); - - try { - $this->db->connect($rconnect); - } catch (Exception $e) { - return $e->getMessage(); - } - try { - $this->db->ping(); - } catch (Exception $e) { - return $e->getMessage(); - } - try { - $this->db->select($rdb); - } catch (Exception $e) { - return $e->getMessage(); - } - } - - public function check(){ - try { - return $this->db->ping(); - } catch (Exception $e) { - return $e->getMessage(); - } - } - - public function setKey($key, $value, $ttl = null){ - $this->db->set($key, $value, $ttl); - } - - public function getValue($key){ - return $this->db->get($key); - } - - public function getToken($data, $append = ""){ - $this->token = CACHEPREFIX . $append . md5(strtolower($data)); - return $this->token; - } - - public function exists($key){ - return $this->db->exists($key); - } - - public function delete($key){ - return $this->db->delete($key); - } - - public function del($key){ - return $this->db->delete($key); - } - - public function flush($token = null){ - if ( is_null($token) ) - return $this->db->flushDB(); - else - return $this->db->delete($token); - } -} - - diff --git a/bootstrap/class/mysql.php b/bootstrap/class/mysql.php deleted file mode 100644 index 8d75538..0000000 --- a/bootstrap/class/mysql.php +++ /dev/null @@ -1,153 +0,0 @@ -open(); - } - - public function open(){ - try { - $this->db = new mysqli(DBHOST, DBUSER, DBPASSWORD, DBNAME); - } catch (Exception $e){ - failure("

".$e->getMessage()."

", '500 Server Failure', false, '

Failed to open database connection.

'); - } - - if ( $this->db->connect_errno ){ - failure("

Can't connect to the database. MySQL gave this error code: " . $this->db->connect_errno . "

", '500 Server Failure', false, '

Connection to MySQL server failed.

'); - } - - if ( ! $this->db->ping() ){ - failure("

Can't reach MySQL server. Server says: " . $this->db->error . "

", '500 Server Failure', false, "

Can't reach MySQL server!

"); - } - - if ( ! $this->db->set_charset(DBCHARSET) ){ - failure("

Can't set " . DBCHARSET . " as the charset on your MySQL server.

" , '500 Server Failure', false, "

Setting Charset failed!

"); - } - - } - - public function close(){ - $this->db->close(); - } - - public function check(){ - if ( ! $this->db->ping() ){ - return false; - } - - return true; - } - - # does a single MySQL query with output (SELECT, INSERT, UPDATE... ) - public function doQuery($string){ - if ( ! $this->check() ) - return false; - - return $this->db->query($string); - } - - # does multiple queries WITHOUT output (INSERT, UPDATE, DELETE... ) - public function execMultipleQueries($sql){ - if ( ! $this->check() ) - return false; - - $result = $this->db->multi_query($sql); - if ( ! $result ) - return false; - - do { - if( ! $this->db->more_results() ) - break; - if ( ! $this->db->next_result() ){ - if ( $this->db->error != "" ){ - //$result->free(); - return false; - } - } - } while (true); - - return true; - } - - # code by WordPress. See @link https://core.trac.wordpress.org/browser/branches/4.0/src/wp-includes/wp-db.php#L1154 - # syntax like sprintf() - public function prepare( $query, $args ) { - if ( is_null( $query ) ) - return; - - // This is not meant to be foolproof -- but it will catch obviously incorrect usage. - if ( strpos( $query, '%' ) === false ) { - return false; - } - - $args = func_get_args(); - array_shift( $args ); - - // If args were passed as an array (as in vsprintf), move them up - if ( isset( $args[0] ) && is_array($args[0]) ) - $args = $args[0]; - - $query = str_replace( "'%s'", '%s', $query ); // in case someone mistakenly already singlequoted it - $query = str_replace( '"%s"', '%s', $query ); // doublequote unquoting - $query = preg_replace( '|(?_real_escape( $string ); - } - - private function _real_escape( $string ){ - return $this->db->real_escape_string($string); - } - # WordPress End - - public function createTables(){ - $user_table = - 'CREATE TABLE IF NOT EXISTS ' . DBPREFIX . 'user - ( id INTEGER AUTO_INCREMENT NOT NULL, PRIMARY KEY(id), - name VARCHAR(70), UNIQUE(name), - password VARCHAR(70), UNIQUE(password), - email VARCHAR(70), UNIQUE(email), - register INTEGER - ) ENGINE=InnoDB;'; - - $banned_user_table = - 'CREATE TABLE IF NOT EXISTS ' . DBPREFIX . 'banned_user - ( banned_id INTEGER AUTO_INCREMENT NOT NULL, PRIMARY KEY(banned_id), - login_attempts INTEGER, - ip TEXT, - session_id TEXT, - time INTEGER, - user INTEGER - ) - ENGINE=InnoDB;'; - - $jg_table = - 'CREATE TABLE IF NOT EXISTS ' . DBPREFIX . 'member - ( member_id INTEGER AUTO_INCREMENT NOT NULL, PRIMARY KEY(member_id), - name varchar(70), UNIQUE(name), - adresse TEXT, - telefonnummer TEXT, - handynummer TEXT, - email varchar(70), UNIQUE(email), - geburtstag TEXT - ) - ENGINE=InnoDB;'; - - if ( ! $this->execMultipleQueries('BEGIN; '. $user_table . ' ' . $banned_user_table . ' ' . $jg_table . ' COMMIT;') ) - failure("

There was a problem during bootstrapping the database schema. " . $this->db->error . "

", '500 Server Failure', false, "

CREATE TABLE FAILED

"); - } - - public function __destruct(){ - $this->close(); - } -} diff --git a/bootstrap/class/user.php b/bootstrap/class/user.php deleted file mode 100644 index 969d734..0000000 --- a/bootstrap/class/user.php +++ /dev/null @@ -1,153 +0,0 @@ -username = $name; - - if ( isset($_SESSION["loggedin"]) ) - $this->login = $_SESSION["loggedin"]; - - $this->_setPepper(); - - $this->_setQuery(); - } - - # get's everything from the database - private function _setQuery(){ - global $db; - - $sql = $db->prepare("SELECT * FROM " . DBPREFIX . "user WHERE name=%s;", $this->username); - $db_db = $db->doQuery($sql); - if ( is_bool($db_db) ) - $this->query = false; - else - $this->query = $db_db->fetch_array(MYSQLI_ASSOC); - } - - private function _setPepper(){ - if ( PEPPER_IS_FILE ) - $this->pepper = file_get_contents(PEPPER); - else - $this->pepper = PEPPER; - } - - public function getUser(){ - return $this->query['name']; - } - - public function getUserId(){ - return $this->query['id']; - } - - public function getPassword(){ - return $this->query['password']; - } - - public function getEmail(){ - if ( $this->query['email'] == "null" ) - return ""; - else - return $this->query['email']; - } - - public function getRegister(){ - return $this->query['register']; - } - - # check if valid user - public function isValidUser(){ - if( ( is_bool($this->query) && ! $this->query ) || is_null($this->query) ) - return false; - - return true; - } - - # check if current user is authenticated - public function isLoggedIn(){ - return $this->login; - } - - public function login($user, $password){ - if ( is_null($this->username) ) - $this->__construct($user); - - # get hashed password from the database - $hashed_password = $this->getPassword(); - - # do the password check with php function - if ( ! password_verify($password . PEPPER, $hashed_password) ) - return false; - - # set login to true - $this->login = true; - - $this->username=$user; - - # start a session if needed - if ( session_status() != PHP_SESSION_ACTIVE ) { - session_name(SESSION); - session_start(); - } - - # set session variable to true - $_SESSION["loggedin"] = true; - - # assign userid to the session variable - $_SESSION["userid"] = $this->getUserId(); - $_SESSION["username"] = $this->username; - - return true; - } - - public function logout(){ - - # no session active, so return false - if ( session_status() != PHP_SESSION_ACTIVE ) - return false; - - # set login to false - $this->login = false; - - # destroy session - if( ! session_destroy() ) - return false; - - return true; - } - - public function register($name, $password, $email){ - global $db; - - $hash = password_hash($password . PEPPER, PASSWORD_DEFAULT); - - $sql = $db->prepare(" - INSERT INTO " . DBPREFIX . "user (id, name, password, email, register) VALUES (NULL, %s, %s, %s, %d);", $name, $hash, $email, time() - ); - - if ( ! $db->doQuery($sql) ) - return false; - - # the user is successfull registered, thus already logged in - $this->username = $name; - - # redefine the class attributes - $this->_setPepper(); - $this->_setQuery(); - - $this->login($name, $password); - - return true; - } - - public function __destruct(){ - return true; - } -} diff --git a/bootstrap/config.php b/bootstrap/config.php deleted file mode 100644 index 585f34a..0000000 --- a/bootstrap/config.php +++ /dev/null @@ -1,33 +0,0 @@ -isLoggedIn() != 1){ - redirect("login&goto=".$goto); - } -} - -function redirect($goto){ - header($_SERVER["SERVER_PROTOCOL"] . " 302 Moved"); - header("Location: /?page=".$goto); - ob_clean(); - exit; -} -function failure($reason, $httpcode, $ajax = true, $heading = NULL){ - - # send header with $httpcode - header($_SERVER['SERVER_PROTOCOL'] . " " . $httpcode); - - # just echo the reason to the ajax response - if($ajax){ - echo $reason; - exit; - } - - // TODO: Put pretty HTML here, please - - # print full error page - if($heading != NULL) - echo $heading; - - echo $reason; - - # exit the script here - exit; -} - -function print_login($option = false){ -if(isset($_GET["goto"]) && $_GET["goto"] != "") - $goto = htmlentities($_GET["goto"]); -else - $goto = "index"; - - global $user; - if ( $user->isLoggedIn() ){ - redirect("index"); - } -?> -
-
- - -

Junge Gemeinde Adlershof

- -

Login required

- -

Logout erfolgreich!

- -

Nutzer/Passwort falsch

- -

Bitte fülle alle Felder aus!

- -
- - -
- -
- -
-
- - -
- -
- -
-
- - -
- -
- -
-
- -
-
-
-

Mit * markierte Felder sind Pflichtfelder.

- -
-[Passwort vergessen?] -
-logout(); - print_login("logout"); -} - -function print_index(){ -?> -

Junge Gemeinde Adlershof

-
- -
- praing kitten -
-
-
-

Wir sind die Junge Gemeinde in Adlershof.

-

Wir treffen uns immer Donnerstags um 19:30 Uhr in der Remise Arndtstraße 12a.

-

Am besten sind wir über unsere Aktiviere JavaScript um die E-Mail Adresse zu sehen! erreichbar.

-
-doQuery("SELECT * FROM " . DBPREFIX . "member;"); -?> -

Adress Liste

- -

Es existiert kein Mitglied mit dieser ID

-
- -
- - -
-
- - - - - - - - - - - - - - - fetch_array(MYSQLI_ASSOC) ){ - echo " - - - - - - - - - "; - $count++; - } - ?> - -

#

Name

Adresse

Telefon

Handynummer

E-Mail

Geburtstag

ändern

$count".htmlentities($row['name'])."".htmlentities($row['adresse'])."".htmlentities($row['telefonnummer'])."".htmlentities($row['handynummer'])."".htmlentities($row['email'])."".htmlentities($row['geburtstag'])."
-
-
- -
-
- - -prepare("SELECT * FROM " . DBPREFIX . "member WHERE member_id = %d", $id); - $result = $db->doQuery($sql); - if(!$result){ - print_list("update"); - exit; - } - if ( $row = $result->fetch_array(MYSQLI_ASSOC) ){ -?> -

Änderung für

- -
-
&goto=liste'> -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameAdresseTelefon
'>'>'>
HandynummerE-MailGeburtstag
'>'>'>
-
- -
-
- -

Füge die Daten hinzu

- -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NameAdresseTelefon
HandynummerE-MailGeburtstag
-
- -
-
-prepare("INSERT INTO " . DPREFIX . "member (id, name, adresse, telefonnummer, handynummer, email, geburtstag) VALUES (NULL. %s, %s, %s, %s, %s, %s);", $_POST['name'], $_POST['adresse'], $_POST['telefonnummer'], $_POST['handynummer'], $_POST['email'], $_POST['geburtstag']); - if( ! $db->doQuery($sql) ) - return false; - else - return true; -} - -function print_404(){ - header($_SERVER['SERVER_PROTOCOL'] . ' 404 Not Found'); -?> -

404 - Not Found

-
-

The requested page () wasn't found on this server.

- -isLoggedIn() ){ - redirect("index"); - } -?> - -
-
- - -

Junge Gemeinde Adlershof

- -

Register

- -

Passwörter stimmen nicht überein!

- -

Bitte fülle alle mit '*' markierten Felder aus!

- -

Registrierung verweigert!

- -

Nutzer/E-Mail gibt es schon!

- -

Interner Fehler!

- -
- - -
- -
- - -
-
- - -
- -
- - -
-
- - -
- -
- - -
-
- - -
- -
- - Deine E-Mail wird gebraucht, wenn du dein Passwort vergessen hast. -
-
- - -
- -
- - Du solltest den Schlüssel in einer Mail bekommen haben. -
-
- - -
- -
- -
-
- -
-
-
-

Mit * markierte Felder sind Pflichtfelder.

- - -
-
- - - -

- -

Ändere deine Daten

- -

Bitte fülle alle notwendigen Felder aus!

- -

Dein Passwort stimmt nicht!

- -

Nutzer/E-Mail schon vergeben!

- -

Interner Fehler!

- -

Erfolgreich aktualisiert!

- -
- - -
- -
- " required=""> - Wechsle deinen Namen hier. -
-
- - -
- -
- - Ändere dein Passwort. Lass das Feld leer, wenn du es nicht ändern möchtest. -
-
- - -
- -
- - Ändere deine E-Mail Adresse. -
-
- - -
- -
- - Bestätige die Angaben mit deinem gültigen Passwort. -
-
- - -
- -
- -
-
- -
-
-
-

Mit * markierte Felder sind Pflichtfelder.

- - -
-
- - -

Junge Gemeinde Adlershof

- -

Passwort zugeschickt!

- -

Fehler! Passwort konnte nicht geändert werden.

- -

Passwort wiederherstellen

- -
- - -
- -
- - Wenn deine E-Mail gespeichert ist, wird dir das neue Passwort automatisch zugestellt. -
-
- - -
- -
- -
-
- -
-
- - -[^\S ]+/s', // strip whitespaces after tags, except space - '/[^\S ]+\', - '<', - '\\1' - ); - - $buffer = preg_replace($search, $replace, $buffer); - - return $buffer; -} diff --git a/bootstrap/index.php b/bootstrap/index.php deleted file mode 100644 index 21cbda7..0000000 --- a/bootstrap/index.php +++ /dev/null @@ -1,122 +0,0 @@ -getToken($_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]. $_SERVER["QUERY_STRING"], $a); - if ( $c->exists($token)){ - header("X-Cache: Hit"); - echo $c->getValue($token); - ob_end_flush(); - exit; - } -} else { - header("X-Cache: Miss "); -} - -$db = new db(); -if ( ! isset($_SESSION["username"])) - $u = null; -else - $u = $_SESSION["username"]; - -$user = new jg($u); -?> - - - - - - - - echo " - Junge Gemeinde Adlershof - - - - - -
-
-
- -
-
-setKey($token, $html, 3600); -} -ob_end_flush(); diff --git a/bootstrap/robots.txt b/bootstrap/robots.txt deleted file mode 100644 index 1f53798..0000000 --- a/bootstrap/robots.txt +++ /dev/null @@ -1,2 +0,0 @@ -User-agent: * -Disallow: / diff --git a/bootstrap/static/footer.php b/bootstrap/static/footer.php deleted file mode 100755 index 2c6a6cf..0000000 --- a/bootstrap/static/footer.php +++ /dev/null @@ -1,13 +0,0 @@ - - - - - ?> - - - - diff --git a/bootstrap/static/header.php b/bootstrap/static/header.php deleted file mode 100644 index d20ddf9..0000000 --- a/bootstrap/static/header.php +++ /dev/null @@ -1,54 +0,0 @@ - - - diff --git a/bootstrap/static/kitten-praying.jpg b/bootstrap/static/kitten-praying.jpg deleted file mode 100644 index 7f291e0..0000000 Binary files a/bootstrap/static/kitten-praying.jpg and /dev/null differ diff --git a/bootstrap/static/kitten-prays-small.jpg b/bootstrap/static/kitten-prays-small.jpg deleted file mode 100644 index 5734aea..0000000 Binary files a/bootstrap/static/kitten-prays-small.jpg and /dev/null differ diff --git a/bootstrap/static/kitten-prays.jpg b/bootstrap/static/kitten-prays.jpg deleted file mode 100644 index 3eb6ede..0000000 Binary files a/bootstrap/static/kitten-prays.jpg and /dev/null differ diff --git a/bootstrap/static/kitten.jpg b/bootstrap/static/kitten.jpg deleted file mode 100644 index 376c195..0000000 Binary files a/bootstrap/static/kitten.jpg and /dev/null differ diff --git a/bootstrap/static/style.css b/bootstrap/static/style.css deleted file mode 100644 index 5821df4..0000000 --- a/bootstrap/static/style.css +++ /dev/null @@ -1,66 +0,0 @@ -html { - position: relative; - min-height: 100%; -} - -body { - margin-bottom: 60px; -} - -a { - color: #3083D6; -} - -/* navbar */ - -.navbar-default { - background-color: #3083D6 ; - border-color: #3083D6 ; - background: #3083D6 ; -} - -.navbar-default .navbar-brand { - color: white; -} - -.navbar-default .navbar-brand:hover, -.navbar-default .navbar-brand:focus { -} - -.navbar-default .navbar-nav > li > a { - color: white; -} - - -/* footer */ - -.footer { - background-color: #3083D6 ; - border-color: #3083D6 ; - background: #3083D6 ; - color: white ; - position: absolute; - bottom: 0; - width: 100%; -} - -#copyright-text { - color: white; -} - -/* noscript */ - -.noscript { - background-color: red; - color: white; -} - -.table-center { - margin: 0 auto !important; - float: none !important; -} - -.disabled { - color: #5E5E5E; - text-decoration: line-through; -} diff --git a/bootstrap/static/style.min.css b/bootstrap/static/style.min.css deleted file mode 100644 index dc54b0f..0000000 --- a/bootstrap/static/style.min.css +++ /dev/null @@ -1 +0,0 @@ -html{position:relative;min-height:100%}body{margin-bottom:60px}a{color:#3083D6}.navbar-default{border-color:#3083D6;background:#3083D6}.navbar-default .navbar-brand{color:#fff}.navbar-default .navbar-nav>li>a{color:#fff}.footer{border-color:#3083D6;background:#3083D6;color:#fff;position:absolute;bottom:0;width:100%}#copyright-text{color:#fff}.noscript{background-color:red;color:#fff}.table-center{margin:0 auto!important;float:none!important}.disabled{color:#5E5E5E;text-decoration:line-through} -- cgit v1.2.3