The following files exists in this folder. Click to view.
Foogler_blog/pages
PAuthor.php
PCommentProcess.php
PDeleteCommentProcess.php
PDeletePost.php
PDeletePostProcess.php
PEditPost.php
PEditPostProcess.php
PErDiagramme.php
PIndex.php
PInstall.php
PInstallProcess.php
PNewPost.php
PNewPostProcess.php
PRssFeed.php
PShowPost.php
PStatistics.php
PValidate.php
login/
<?php
//--------------------------
// PInstall.php
//
// Page for resetting database
//--------------------------
$db = DB_DATABASE;
$prefix = DB_PREFIX;
//HTML
$html = <<<END
If you click the link below the database will be deleted and new tables will be created.<p />
You have chosen the database <b>{$db}</b> with the prefix <b>{$prefix}</b>.
<p />
<p />
<a href="?p=installp">Empty the database and create new content</a>
END;
//------------------------
//Shows HTML
require_once(TP_SOURCEPATH . 'CHTMLPage.php');
$page = new CHTMLPage();
$page->printHTMLHeader();
$page->printPageHeader();
$page->printPageBody($html);
//$page->printTagList();
$page->printRightColumn();