46 lines
1.8 KiB
PHP
46 lines
1.8 KiB
PHP
<?php
|
|
error_reporting(E_ERROR | !E_WARNING);
|
|
include "inc/config.php"; // die Konfigurationsdateien lesen
|
|
|
|
ini_set('session.gc_maxlifetime', 7200);
|
|
|
|
// Verbindung zu MySQL Aufbauen
|
|
$db = @new MySQLi(MYSQL_HOST, MYSQL_USER, MYSQL_PASS, MYSQL_DATABASE);
|
|
$db->set_charset('utf8');
|
|
if (mysqli_connect_errno())
|
|
{
|
|
die('Konnte keine Verbindung zu Datenbank aufbauen, MySQL meldete: ' . mysqli_connect_error());
|
|
}
|
|
|
|
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n";
|
|
echo " \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n";
|
|
echo "<html>\n";
|
|
echo " <head>\n";
|
|
echo " <title>RIST - CS medien- und kommunikationssysteme</title>\n";
|
|
echo " <link rel=\"stylesheet\" media=\"all\" type=\"text/css\" href=\"css/best_page.css\" />\n";
|
|
echo " <meta name=\"description\" content=\"RIST - CS medien- und kommunikationssysteme\" /> \n";
|
|
echo " <meta name=\"keywords\" content=\"RIST\" /> \n";
|
|
echo " <meta name=\"Generator\" content=\"RIST (C) 2010. All rights reserved.\" /> \n";
|
|
echo " <meta name=\"robots\" content=\"index, follow\" /> \n";
|
|
echo " <link rel=\"shortcut icon\" href=\"favicon.ico\" /> \n";
|
|
echo " <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" /> \n";
|
|
echo " <meta http-equiv=\"expires\" content=\"0\">\n";
|
|
echo " <meta http-equiv=\"cache-control\" content=\"no-cache\">\n";
|
|
echo " <meta http-equiv=\"pragma\" content=\"no-cache\">\n";
|
|
echo " </head>\n";
|
|
|
|
echo " <body>\n";
|
|
echo " <div id=\"page\">\n";
|
|
echo " <div id=\"header\">\n";
|
|
echo " Aktivierung\n";
|
|
echo " </div>\n";
|
|
echo " <div id=\"inhalt\">\n";
|
|
echo " <br />\n";
|
|
include "inhalte/aktivierung.php";
|
|
echo " </div>\n";
|
|
echo " <div id=\"footer\">\n";
|
|
include "inhalte/best_foot.php";
|
|
echo " </div>\n";
|
|
echo " </div>\n";
|
|
echo " </body>\n";
|
|
echo "</html>\n"; |