Warning: Undefined variable $ub in /mnt/web623/b2/50/5943050/htdocs/admin/conf_ing.php on line 69 Warning: Undefined variable $ub in /mnt/web623/b2/50/5943050/htdocs/admin/conf_ing.php on line 76 Deprecated: strripos(): Passing null to parameter #2 ($needle) of type string is deprecated in /mnt/web623/b2/50/5943050/htdocs/admin/conf_ing.php on line 76 Einzelseiten aufruf

pdo statement

Mit Seitenwahl

Seite:123
16
Hinweis
tabelle sollte immer mit eigenem Tabellennamen ersetzt werden!
Tabelle Registrieren / Login
Tabelle in "test_db" erstellen
CREATE TABLE tabelle
(
id int (10) NOT NULL AUTO_INCREMENT,
username varchar (40) NOT NULL,
usermail varchar (80) NOT NULL,
userpass varchar (255) NOT NULL,
datum datetime NOT NULL,
code bigint (13) NOT NULL,
active int (2) NOT NULL default '0',
PRIMARY KEY (id)
);

Tabelle auf Wunsch befüllen
INSERT INTO tabelle VALUES (1,'Admin','admin@domain.de','$2y$10$KzdFjcfRd8VQSfh6BpBvK.BD6Wjk2UbYbR/vZBjkVoAw2IdyXokFW', '2025-06-11 12:21:33','17639739612',1);

Username = Admin
Passwort = Administrator_2024
Tabelle Navigation
Tabelle in "test_db" erstellen
CREATE TABLE tabelle
(
id int (11) NOT NULL AUTO_INCREMENT,
label varchar(30) NOT NULL,
title varchar(30) NOT NULL,
url varchar(50) NOT NULL,
PRIMARY KEY (id)
);
Tabelle auf Wunsch befüllen
INSERT INTO tabelle VALUES
(1, 'Home','Startseite','index.php'),
(2, 'Seite 1','Meine Seite 1','seite1.php'),
(3, 'Seite 2','Meine Seite 2', 'seite2.php');

Tabelle nicht eingeloggt
Tabelle in "test_db" erstellen
CREATE TABLE tabelle
(
id int (10) NOT NULL AUTO_INCREMENT,
lolabel varchar (40) NOT NULL,
lotitle varchar (40) NOT NULL,
lourl varchar (60) NOT NULL,
PRIMARY KEY (id)
);
Tabelle auf Wunsch befüllen
INSERT INTO tabelle VALUES
(1,'Login','Sitzung starten','login.php'),
(2,'Anmelden','Registrieren','registrieren.php'),
(3,'Aktivieren','Acount freischalten','freischalten.php'),
(4,'Passwort?','Passwort holen','passwort-vergessen.php');

Tabelle eingeloggt
Tabelle in "test_db" erstellen
CREATE TABLE tabelle
(
id int (10) NOT NULL AUTO_INCREMENT,
dlabel varchar (40) NOT NULL,
dtitle varchar (40) NOT NULL,
durl varchar (60) NOT NULL,
PRIMARY KEY (id));
);
Tabelle auf Wunsch befüllen
INSERT INTO tabelle VALUES
(1,'Administration','Adminseite','admin.php'),
(2,'UserBar','Userseite','user.php'),
(3,'Profil','Passwort ändern','passwort_refresh.php'),
(4,'Logout','Sitzungsende','logout.php');

Eine Basis Tabelle
Tabelle in "test_db" erstellen
CREATE TABLE tabelle
(
id int (2) NOT NULL,
header varchar (60) NOT NULL,
footer varchar (60) NOT NULL,
email varchar (80) NOT NULL,
description varchar (220) NOT NULL,
keywords varchar (220) NOT NULL,
PRIMARY KEY (id)
);

Tabelle auf Wunsch befüllen
INSERT INTO tabelle VALUES
(1,'Meine Webseite','locomputing.de','info@domain.de','Beschreibung der Webseite','Meine Schlüsselwörter');

Seite:123
16