Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | daniel-mar | 1 | <?php |
2 | |||
3 | error_reporting(E_ALL | E_NOTICE | E_DEPRECATED | E_STRICT); |
||
4 | |||
5 | $charset = 'ISO-8859-1'; |
||
6 | |||
7 | // Der Titel der Seite |
||
8 | $seitentitel = 'Mein Gästebuch'; |
||
9 | |||
10 | // Seitenkopf |
||
11 | $seitenkopf = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
||
12 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
||
13 | |||
14 | <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> |
||
15 | |||
16 | <head> |
||
17 | <meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" /> |
||
18 | <title>'.htmlentities($seitentitel).' Gästebuch</title> |
||
19 | </head> |
||
20 | |||
21 | <body>'; |
||
22 | |||
23 | // Seitenfuß |
||
24 | $seitenfuss = '</body></html>'; |
||
25 | |||
26 | // Farben |
||
27 | $farbe1 = '#505080'; // Rand eines Eintrags |
||
28 | $farbe2 = '#D2DAF0'; // Eintrag Segment 2 (Text) BG |
||
29 | $farbe3 = '#A0B1E0'; // Eintrag Segment 1 (Kopfzeile) BG |
||
30 | $farbe4 = '#333333'; // Erstellungsdatum Schrift |
||
31 | $farbe5 = '#E2E7F5'; // Eintrag Segment 3 (Admin-Kommentar, optional) BG |
||
32 | $farbe6 = 'red'; // Fehlermeldung |
||
33 | $farbe7 = 'blue'; // Pflichtfeld-Stern |
||
34 | $farbe8 = 'green'; // Erfolgsmeldung |
||
35 | $farbe9 = 'black'; // Segment 1 (Kopfzeile) Text |
||
36 | $farbe10 = 'black'; // Segment 2 (Text) Text |
||
37 | $farbe11 = 'black'; // Segment 3 (Admin-Kommentar, optional) Text |
||
38 | |||
39 | // Die MySQL-Zugangsdaten |
||
40 | $mysql_server = 'localhost'; |
||
41 | $mysql_user = 'root'; |
||
42 | $mysql_pass = ''; |
||
43 | $mysql_database = 'guestbook'; |
||
44 | |||
45 | // Die Datenbanktabellennamen |
||
46 | $table_entries = 'gaestebuch_entries'; |
||
47 | $table_smileys = 'gaestebuch_smileys'; |
||
48 | |||
49 | // E-Mail-Adresse |
||
50 | $adminmail = 'your_email_address@example.com'; |
||
51 | $adminmail_cc = ''; |
||
52 | |||
53 | // Einträge pro Seite |
||
54 | $eintraege_proseite = 10; |
||
55 | |||
56 | // Vorsicht: Der Server muss autorisiert sein, eine E-Mail zu über diese Domain zu senden (SPF/DKIM) |
||
57 | $cfg_from_email = 'noreply@example.com'; |
||
58 | |||
59 | // Features |
||
60 | $cfg_feature_simple_antispam = true; |
||
61 | $cfg_automatisch_freischalten = false; |
||
62 | $cfg_unfreigeschaltete_anzegen = false; |
||
63 | $cfg_vorschau = true; |
||
64 | |||
65 | // Recaptcha - This is the most secure Captcha |
||
66 | // It also helps against "F5" spamming! |
||
67 | // Get a FREE API key here: https://www.google.com/recaptcha/admin/create |
||
68 | $cfg_recaptcha_enabled = false; |
||
69 | $cfg_recaptcha_pubkey = ''; |
||
70 | $cfg_recaptcha_privkey = ''; |
||
71 | |||
72 | // see https://daniel-lange.com/archives/66-ICQ-web-status-icons.html |
||
73 | $cfg_icq_statusicon = 5; |