Initial commit from online.
This commit is contained in:
5
inc/config.php
Normal file
5
inc/config.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
include "funktionen.php";
|
||||
include "variablen.php";
|
||||
include "konstanten.php";
|
||||
?>
|
||||
6
inc/funktionen.php
Normal file
6
inc/funktionen.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
// Die Datei inc/funktionen.php
|
||||
|
||||
?>
|
||||
|
||||
7
inc/konstanten - Kopie.php
Normal file
7
inc/konstanten - Kopie.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
// konstanten.php
|
||||
define('MYSQL_HOST', 'localhost');
|
||||
define('MYSQL_USER', 'root');
|
||||
define('MYSQL_PASS', 'lmaa,dw.');
|
||||
define('MYSQL_DATABASE', 'wille');
|
||||
?>
|
||||
7
inc/konstanten.php
Normal file
7
inc/konstanten.php
Normal file
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
// konstanten.php
|
||||
define('MYSQL_HOST', 'localhost');
|
||||
define('MYSQL_USER', 'web104');
|
||||
define('MYSQL_PASS', 'lmaa,dw.');
|
||||
define('MYSQL_DATABASE', 'usr_web104_1');
|
||||
?>
|
||||
20
inc/variablen.php
Normal file
20
inc/variablen.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
// Die Leeren Arrays erzeugen
|
||||
$dateien = array();
|
||||
$titel = array();
|
||||
|
||||
// Das Array für die Inhaltsseite mit den entsprechenden Dateien füllen
|
||||
$dateien['will'] = "will.php";
|
||||
$dateien['haus'] = "haus.php";
|
||||
$dateien['gaby'] = "gaby.php";
|
||||
$dateien['amelie'] = "amelie.php";
|
||||
$dateien['angebot'] = "angebot.php";
|
||||
$dateien['umgebung'] = "umgebung.php";
|
||||
$dateien['kontakt'] = "kontakt.php";
|
||||
|
||||
// Das Array mit den entsprechenden Titeln füllen
|
||||
$titel['home'] = "Willkommen beim Ferienhaus Wille";
|
||||
$titel['leist'] = "Beratung, Satz, Druck und mehr";
|
||||
$titel['anreise'] = "Kontakt zur Druckerei Martin";
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user